]> git.saurik.com Git - wxWidgets.git/blob - configure
Add wxHL_* styles
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 fi
27 BIN_SH=xpg4; export BIN_SH # for Tru64
28 DUALCASE=1; export DUALCASE # for MKS sh
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
38
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
57 fi
58
59
60 # IFS
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
67 IFS=" "" $as_nl"
68
69 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
71 *[\\/]* ) as_myself=$0 ;;
72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 for as_dir in $PATH
74 do
75 IFS=$as_save_IFS
76 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
79 IFS=$as_save_IFS
80
81 ;;
82 esac
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
86 as_myself=$0
87 fi
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
96 done
97 PS1='$ '
98 PS2='> '
99 PS4='+ '
100
101 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
106 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
109 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 fi
112 done
113
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117 as_expr=expr
118 else
119 as_expr=false
120 fi
121
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
123 as_basename=basename
124 else
125 as_basename=false
126 fi
127
128
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
136 s//\1/
137 q
138 }
139 /^X\/\(\/\/\)$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\).*/{
144 s//\1/
145 q
146 }
147 s/.*/./; q'`
148
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 fi
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
252
253 :
254 _ASEOF
255 }; then
256 CONFIG_SHELL=$as_shell
257 as_have_required=yes
258 if { "$as_shell" 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 fi
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
272
273 :
274 (as_func_return () {
275 (exit $1)
276 }
277 as_func_success () {
278 as_func_return 0
279 }
280 as_func_failure () {
281 as_func_return 1
282 }
283 as_func_ret_success () {
284 return 0
285 }
286 as_func_ret_failure () {
287 return 1
288 }
289
290 exitcode=0
291 if as_func_success; then
292 :
293 else
294 exitcode=1
295 echo as_func_success failed.
296 fi
297
298 if as_func_failure; then
299 exitcode=1
300 echo as_func_failure succeeded.
301 fi
302
303 if as_func_ret_success; then
304 :
305 else
306 exitcode=1
307 echo as_func_ret_success failed.
308 fi
309
310 if as_func_ret_failure; then
311 exitcode=1
312 echo as_func_ret_failure succeeded.
313 fi
314
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 :
317 else
318 exitcode=1
319 echo positional parameters were not saved.
320 fi
321
322 test $exitcode = 0) || { (exit 1); exit 1; }
323
324 (
325 as_lineno_1=$LINENO
326 as_lineno_2=$LINENO
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329
330 _ASEOF
331 }; then
332 break
333 fi
334
335 fi
336
337 done
338
339 if test "x$CONFIG_SHELL" != x; then
340 for as_var in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342 done
343 export CONFIG_SHELL
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 fi
346
347
348 if test $as_have_required = no; then
349 echo This script requires a shell more modern than all the
350 echo shells that I found on your system. Please install a
351 echo modern shell, or manually run the script under such a
352 echo shell if you do have one.
353 { (exit 1); exit 1; }
354 fi
355
356
357 fi
358
359 fi
360
361
362
363 (eval "as_func_return () {
364 (exit \$1)
365 }
366 as_func_success () {
367 as_func_return 0
368 }
369 as_func_failure () {
370 as_func_return 1
371 }
372 as_func_ret_success () {
373 return 0
374 }
375 as_func_ret_failure () {
376 return 1
377 }
378
379 exitcode=0
380 if as_func_success; then
381 :
382 else
383 exitcode=1
384 echo as_func_success failed.
385 fi
386
387 if as_func_failure; then
388 exitcode=1
389 echo as_func_failure succeeded.
390 fi
391
392 if as_func_ret_success; then
393 :
394 else
395 exitcode=1
396 echo as_func_ret_success failed.
397 fi
398
399 if as_func_ret_failure; then
400 exitcode=1
401 echo as_func_ret_failure succeeded.
402 fi
403
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 :
406 else
407 exitcode=1
408 echo positional parameters were not saved.
409 fi
410
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system,
414 echo including any error possibly output before this
415 echo message
416 }
417
418
419
420 as_lineno_1=$LINENO
421 as_lineno_2=$LINENO
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
431 # case at line end.
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
435 sed -n '
436 p
437 /[$]LINENO/=
438 ' <$as_myself |
439 sed '
440 s/[$]LINENO.*/&-/
441 t lineno
442 b
443 :lineno
444 N
445 :loop
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 t loop
448 s/-\n.*//
449 ' >$as_me.lineno &&
450 chmod +x "$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
453
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
457 . "./$as_me.lineno"
458 # Exit status is that of the last command.
459 exit
460 }
461
462
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464 as_dirname=dirname
465 else
466 as_dirname=false
467 fi
468
469 ECHO_C= ECHO_N= ECHO_T=
470 case `echo -n x` in
471 -n*)
472 case `echo 'x\c'` in
473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) ECHO_C='\c';;
475 esac;;
476 *)
477 ECHO_N='-n';;
478 esac
479
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
482 as_expr=expr
483 else
484 as_expr=false
485 fi
486
487 rm -f conf$$ conf$$.exe conf$$.file
488 if test -d conf$$.dir; then
489 rm -f conf$$.dir/conf$$.file
490 else
491 rm -f conf$$.dir
492 mkdir conf$$.dir
493 fi
494 echo >conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 as_ln_s='ln -s'
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502 as_ln_s='cp -p'
503 elif ln conf$$.file conf$$ 2>/dev/null; then
504 as_ln_s=ln
505 else
506 as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p=:
513 else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
516 fi
517
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
521 #! /bin/sh
522 exit 0
523 _ASEOF
524 chmod +x conf$$.file
525 if test -x conf$$.file >/dev/null 2>&1; then
526 as_executable_p="test -x"
527 else
528 as_executable_p=:
529 fi
530 rm -f conf$$.file
531
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
538
539
540 exec 7<&0 </dev/null 6>&1
541
542 # Name of the host.
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
546
547 #
548 # Initializations.
549 #
550 ac_default_prefix=/usr/local
551 ac_clean_files=
552 ac_config_libobj_dir=.
553 LIBOBJS=
554 cross_compiling=no
555 subdirs=
556 MFLAGS=
557 MAKEFLAGS=
558 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 # Identity of this package.
561 PACKAGE_NAME='wxWidgets'
562 PACKAGE_TARNAME='wxwidgets'
563 PACKAGE_VERSION='2.9.0'
564 PACKAGE_STRING='wxWidgets 2.9.0'
565 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
566
567 ac_unique_file="wx-config.in"
568 # Factoring default headers for most tests.
569 ac_includes_default="\
570 #include <stdio.h>
571 #if HAVE_SYS_TYPES_H
572 # include <sys/types.h>
573 #endif
574 #if HAVE_SYS_STAT_H
575 # include <sys/stat.h>
576 #endif
577 #if STDC_HEADERS
578 # include <stdlib.h>
579 # include <stddef.h>
580 #else
581 # if HAVE_STDLIB_H
582 # include <stdlib.h>
583 # endif
584 #endif
585 #if HAVE_STRING_H
586 # if !STDC_HEADERS && HAVE_MEMORY_H
587 # include <memory.h>
588 # endif
589 # include <string.h>
590 #endif
591 #if HAVE_STRINGS_H
592 # include <strings.h>
593 #endif
594 #if HAVE_INTTYPES_H
595 # include <inttypes.h>
596 #endif
597 #if HAVE_STDINT_H
598 # include <stdint.h>
599 #endif
600 #if HAVE_UNISTD_H
601 # include <unistd.h>
602 #endif"
603
604 ac_subst_vars='SHELL
605 PATH_SEPARATOR
606 PACKAGE_NAME
607 PACKAGE_TARNAME
608 PACKAGE_VERSION
609 PACKAGE_STRING
610 PACKAGE_BUGREPORT
611 exec_prefix
612 prefix
613 program_transform_name
614 bindir
615 sbindir
616 libexecdir
617 datarootdir
618 datadir
619 sysconfdir
620 sharedstatedir
621 localstatedir
622 includedir
623 oldincludedir
624 docdir
625 infodir
626 htmldir
627 dvidir
628 pdfdir
629 psdir
630 libdir
631 localedir
632 mandir
633 DEFS
634 ECHO_C
635 ECHO_N
636 ECHO_T
637 LIBS
638 build_alias
639 host_alias
640 target_alias
641 build
642 build_cpu
643 build_vendor
644 build_os
645 host
646 host_cpu
647 host_vendor
648 host_os
649 target
650 target_cpu
651 target_vendor
652 target_os
653 wx_top_builddir
654 CC
655 CFLAGS
656 LDFLAGS
657 CPPFLAGS
658 ac_ct_CC
659 EXEEXT
660 OBJEXT
661 CPP
662 GREP
663 EGREP
664 CXX
665 CXXFLAGS
666 ac_ct_CXX
667 RANLIB
668 AR
669 INSTALL_PROGRAM
670 INSTALL_SCRIPT
671 INSTALL_DATA
672 STRIP
673 WINDRES
674 DLLTOOL
675 IF_GNU_MAKE
676 LN_S
677 CXXCPP
678 subdirs
679 PKG_CONFIG
680 GTK_CFLAGS
681 GTK_LIBS
682 GTK_CONFIG
683 DIRECTFB_CFLAGS
684 DIRECTFB_LIBS
685 XMKMF
686 X_CFLAGS
687 X_PRE_LIBS
688 X_LIBS
689 X_EXTRA_LIBS
690 PANGOX_CFLAGS
691 PANGOX_LIBS
692 PANGOFT2_CFLAGS
693 PANGOFT2_LIBS
694 PANGOXFT_CFLAGS
695 PANGOXFT_LIBS
696 REZ
697 DEREZ
698 SETFILE
699 LIBICONV
700 EXTRALIBS_ESD
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 LIBGNOMEPRINTUI_CFLAGS
705 LIBGNOMEPRINTUI_LIBS
706 GNOMEVFS_CFLAGS
707 GNOMEVFS_LIBS
708 HILDON_CFLAGS
709 HILDON_LIBS
710 CAIRO_CFLAGS
711 CAIRO_LIBS
712 GST_CFLAGS
713 GST_LIBS
714 CORE_BASE_LIBS
715 CORE_GUI_LIBS
716 wxUSE_ZLIB
717 wxUSE_REGEX
718 wxUSE_EXPAT
719 wxUSE_ODBC
720 wxUSE_LIBJPEG
721 wxUSE_LIBPNG
722 wxUSE_LIBTIFF
723 VENDOR
724 OFFICIAL_BUILD
725 WX_FLAVOUR
726 WX_LIB_FLAVOUR
727 WXUNIV
728 MONOLITHIC
729 USE_PLUGINS
730 EXTRALIBS
731 EXTRALIBS_XML
732 EXTRALIBS_HTML
733 EXTRALIBS_ODBC
734 EXTRALIBS_GUI
735 EXTRALIBS_OPENGL
736 EXTRALIBS_SDL
737 WITH_PLUGIN_SDL
738 EXTRALIBS_GNOMEPRINT
739 EXTRALIBS_GNOMEVFS
740 EXTRALIBS_HILDON
741 UNICODE
742 BUILD
743 DEBUG_INFO
744 DEBUG_FLAG
745 TOOLKIT_LOWERCASE
746 TOOLKIT_VERSION
747 SAMPLES_RPATH_FLAG
748 SAMPLES_RPATH_POSTLINK
749 HOST_SUFFIX
750 CPPUNIT_CFLAGS
751 CPPUNIT_LIBS
752 SET_MAKE
753 MAKE_SET
754 AROPTIONS
755 NM
756 INSTALL_DIR
757 LDFLAGS_GUI
758 PLATFORM_UNIX
759 PLATFORM_WIN32
760 PLATFORM_MSDOS
761 PLATFORM_MAC
762 PLATFORM_MACOS
763 PLATFORM_MACOSX
764 PLATFORM_OS2
765 PLATFORM_BEOS
766 SO_SUFFIX
767 SO_SUFFIX_MODULE
768 DLLIMP_SUFFIX
769 LIBPREFIX
770 LIBEXT
771 DLLPREFIX
772 DLLPREFIX_MODULE
773 dlldir
774 AIX_CXX_LD
775 SHARED_LD_CC
776 SHARED_LD_CXX
777 SHARED_LD_MODULE_CC
778 SHARED_LD_MODULE_CXX
779 PIC_FLAG
780 WINDOWS_IMPLIB
781 USE_SOVERSION
782 USE_SOVERLINUX
783 USE_SOVERSOLARIS
784 USE_SOVERCYGWIN
785 USE_MACVERSION
786 USE_SOSYMLINKS
787 SONAME_FLAG
788 DEPS_TRACKING
789 BK_DEPS
790 GCC_PCH
791 ICC_PCH
792 BK_MAKE_PCH
793 COND_BUILD_DEBUG
794 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
795 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
796 COND_BUILD_DEBUG_UNICODE_0
797 COND_BUILD_DEBUG_UNICODE_1
798 COND_BUILD_RELEASE
799 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
800 COND_BUILD_RELEASE_UNICODE_0
801 COND_BUILD_RELEASE_UNICODE_1
802 COND_DEBUG_FLAG_1
803 COND_DEBUG_INFO_0
804 COND_DEBUG_INFO_1
805 COND_DEPS_TRACKING_0
806 COND_DEPS_TRACKING_1
807 COND_GCC_PCH_1
808 COND_ICC_PCH_1
809 COND_MONOLITHIC_0
810 COND_MONOLITHIC_0_SHARED_0
811 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
817 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
818 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
820 COND_MONOLITHIC_0_SHARED_1
821 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
827 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
829 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
830 COND_MONOLITHIC_0_USE_MEDIA_1
831 COND_MONOLITHIC_0_USE_ODBC_1
832 COND_MONOLITHIC_1
833 COND_MONOLITHIC_1_SHARED_0
834 COND_MONOLITHIC_1_SHARED_1
835 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
836 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
837 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
838 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
839 COND_PLATFORM_MACOSX_1
840 COND_PLATFORM_MACOSX_1_TOOLKIT_
841 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
842 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
843 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
844 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
845 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
846 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
847 COND_PLATFORM_MACOSX_1_USE_GUI_1
848 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
849 COND_PLATFORM_MACOS_1
850 COND_PLATFORM_MAC_1
851 COND_PLATFORM_MSDOS_0
852 COND_PLATFORM_MSDOS_1
853 COND_PLATFORM_OS2_1
854 COND_PLATFORM_UNIX_0
855 COND_PLATFORM_UNIX_1
856 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
857 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
858 COND_PLATFORM_UNIX_1_USE_GUI_1
859 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
860 COND_PLATFORM_WIN32_0
861 COND_PLATFORM_WIN32_1
862 COND_SHARED_0
863 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
864 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
865 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
866 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
867 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
868 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
869 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
870 COND_SHARED_0_USE_XRC_1
871 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
872 COND_SHARED_0_WXUSE_ODBC_BUILTIN
873 COND_SHARED_0_WXUSE_REGEX_BUILTIN
874 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
875 COND_SHARED_1
876 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
877 COND_SHARED_1_USE_XRC_1
878 COND_TOOLKIT_
879 COND_TOOLKIT_COCOA
880 COND_TOOLKIT_COCOA_USE_GUI_1
881 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
882 COND_TOOLKIT_DFB
883 COND_TOOLKIT_DFB_USE_GUI_1
884 COND_TOOLKIT_GTK
885 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
886 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
887 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
888 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
889 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
890 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
891 COND_TOOLKIT_GTK_USE_GUI_1
892 COND_TOOLKIT_MAC
893 COND_TOOLKIT_MAC_USE_GUI_1
894 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
895 COND_TOOLKIT_MGL
896 COND_TOOLKIT_MGL_USE_GUI_1
897 COND_TOOLKIT_MOTIF
898 COND_TOOLKIT_MOTIF_USE_GUI_1
899 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
900 COND_TOOLKIT_MSW
901 COND_TOOLKIT_MSW_USE_GUI_1
902 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_MSW_WXUNIV_0
904 COND_TOOLKIT_PM
905 COND_TOOLKIT_PM_USE_GUI_1
906 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
907 COND_TOOLKIT_WINCE
908 COND_TOOLKIT_WINCE_USE_GUI_1
909 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_WINCE_WXUNIV_0
911 COND_TOOLKIT_X11
912 COND_TOOLKIT_X11_USE_GUI_1
913 COND_UNICODE_1
914 COND_USE_EXCEPTIONS_0
915 COND_USE_EXCEPTIONS_1
916 COND_USE_GUI_0
917 COND_USE_GUI_1
918 COND_USE_GUI_1_WXUNIV_0
919 COND_USE_GUI_1_WXUNIV_1
920 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
921 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
922 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
923 COND_USE_ODBC_1
924 COND_USE_OPENGL_1
925 COND_USE_PCH_1
926 COND_USE_PLUGINS_0
927 COND_USE_RTTI_0
928 COND_USE_RTTI_1
929 COND_USE_SOSYMLINKS_1
930 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
931 COND_USE_SOVERLINUX_1
932 COND_USE_SOVERSION_0
933 COND_USE_SOVERSOLARIS_1
934 COND_USE_THREADS_0
935 COND_USE_THREADS_1
936 COND_USE_XRC_1
937 COND_WINDOWS_IMPLIB_1
938 COND_WITH_PLUGIN_SDL_1
939 COND_WXUNIV_0
940 COND_WXUNIV_1
941 COND_WXUSE_EXPAT_BUILTIN
942 COND_WXUSE_LIBJPEG_BUILTIN
943 COND_WXUSE_LIBPNG_BUILTIN
944 COND_WXUSE_LIBTIFF_BUILTIN
945 COND_WXUSE_ODBC_BUILTIN
946 COND_WXUSE_REGEX_BUILTIN
947 COND_WXUSE_ZLIB_BUILTIN
948 SHARED
949 WX_LIBRARY_BASENAME_NOGUI
950 WX_LIBRARY_BASENAME_GUI
951 USE_GUI
952 AFMINSTALL
953 WIN32INSTALL
954 TOOLKIT
955 TOOLKIT_DIR
956 TOOLCHAIN_NAME
957 TOOLCHAIN_FULLNAME
958 cross_compiling
959 WIDGET_SET
960 WX_RELEASE
961 WX_VERSION
962 WX_SUBVERSION
963 WX_CHARTYPE
964 WX_DEBUGTYPE
965 WXCONFIG_CPPFLAGS
966 WXCONFIG_CFLAGS
967 WXCONFIG_CXXFLAGS
968 WXCONFIG_LIBS
969 WXCONFIG_RPATH
970 WXCONFIG_LDFLAGS_GUI
971 WXCONFIG_RESFLAGS
972 EXE_LINKER
973 GUIDIST
974 DISTDIR
975 SAMPLES_SUBDIRS
976 LDFLAGS_GL
977 OPENGL_LIBS
978 DMALLOC_LIBS
979 WX_VERSION_TAG
980 RESCOMP
981 RESFLAGS
982 RESPROGRAMOBJ
983 WX_RESOURCES_MACOSX_ASCII
984 WX_RESOURCES_MACOSX_DATA
985 LIBWXMACRES
986 POSTLINK_COMMAND
987 MACSETFILE
988 GCC
989 CPPUNIT_CONFIG
990 LIBOBJS
991 LTLIBOBJS'
992 ac_subst_files=''
993 ac_precious_vars='build_alias
994 host_alias
995 target_alias
996 CC
997 CFLAGS
998 LDFLAGS
999 CPPFLAGS
1000 CPP
1001 CXX
1002 CXXFLAGS
1003 CCC
1004 CXXCPP
1005 PKG_CONFIG
1006 DIRECTFB_CFLAGS
1007 DIRECTFB_LIBS
1008 XMKMF
1009 PANGOX_CFLAGS
1010 PANGOX_LIBS
1011 PANGOFT2_CFLAGS
1012 PANGOFT2_LIBS
1013 PANGOXFT_CFLAGS
1014 PANGOXFT_LIBS
1015 LIBGNOMEPRINTUI_CFLAGS
1016 LIBGNOMEPRINTUI_LIBS
1017 GNOMEVFS_CFLAGS
1018 GNOMEVFS_LIBS
1019 HILDON_CFLAGS
1020 HILDON_LIBS
1021 CAIRO_CFLAGS
1022 CAIRO_LIBS
1023 GST_CFLAGS
1024 GST_LIBS'
1025 ac_subdirs_all='src/expat'
1026
1027 # Initialize some variables set by options.
1028 ac_init_help=
1029 ac_init_version=false
1030 # The variables have the same names as the options, with
1031 # dashes changed to underlines.
1032 cache_file=/dev/null
1033 exec_prefix=NONE
1034 no_create=
1035 no_recursion=
1036 prefix=NONE
1037 program_prefix=NONE
1038 program_suffix=NONE
1039 program_transform_name=s,x,x,
1040 silent=
1041 site=
1042 srcdir=
1043 verbose=
1044 x_includes=NONE
1045 x_libraries=NONE
1046
1047 # Installation directory options.
1048 # These are left unexpanded so users can "make install exec_prefix=/foo"
1049 # and all the variables that are supposed to be based on exec_prefix
1050 # by default will actually change.
1051 # Use braces instead of parens because sh, perl, etc. also accept them.
1052 # (The list follows the same order as the GNU Coding Standards.)
1053 bindir='${exec_prefix}/bin'
1054 sbindir='${exec_prefix}/sbin'
1055 libexecdir='${exec_prefix}/libexec'
1056 datarootdir='${prefix}/share'
1057 datadir='${datarootdir}'
1058 sysconfdir='${prefix}/etc'
1059 sharedstatedir='${prefix}/com'
1060 localstatedir='${prefix}/var'
1061 includedir='${prefix}/include'
1062 oldincludedir='/usr/include'
1063 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1064 infodir='${datarootdir}/info'
1065 htmldir='${docdir}'
1066 dvidir='${docdir}'
1067 pdfdir='${docdir}'
1068 psdir='${docdir}'
1069 libdir='${exec_prefix}/lib'
1070 localedir='${datarootdir}/locale'
1071 mandir='${datarootdir}/man'
1072
1073 ac_prev=
1074 ac_dashdash=
1075 for ac_option
1076 do
1077 # If the previous option needs an argument, assign it.
1078 if test -n "$ac_prev"; then
1079 eval $ac_prev=\$ac_option
1080 ac_prev=
1081 continue
1082 fi
1083
1084 case $ac_option in
1085 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1086 *) ac_optarg=yes ;;
1087 esac
1088
1089 # Accept the important Cygnus configure options, so we can diagnose typos.
1090
1091 case $ac_dashdash$ac_option in
1092 --)
1093 ac_dashdash=yes ;;
1094
1095 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1096 ac_prev=bindir ;;
1097 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1098 bindir=$ac_optarg ;;
1099
1100 -build | --build | --buil | --bui | --bu)
1101 ac_prev=build_alias ;;
1102 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1103 build_alias=$ac_optarg ;;
1104
1105 -cache-file | --cache-file | --cache-fil | --cache-fi \
1106 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1107 ac_prev=cache_file ;;
1108 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1109 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1110 cache_file=$ac_optarg ;;
1111
1112 --config-cache | -C)
1113 cache_file=config.cache ;;
1114
1115 -datadir | --datadir | --datadi | --datad)
1116 ac_prev=datadir ;;
1117 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1118 datadir=$ac_optarg ;;
1119
1120 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1121 | --dataroo | --dataro | --datar)
1122 ac_prev=datarootdir ;;
1123 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1124 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1125 datarootdir=$ac_optarg ;;
1126
1127 -disable-* | --disable-*)
1128 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1131 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1132 { (exit 1); exit 1; }; }
1133 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1134 eval enable_$ac_feature=no ;;
1135
1136 -docdir | --docdir | --docdi | --doc | --do)
1137 ac_prev=docdir ;;
1138 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1139 docdir=$ac_optarg ;;
1140
1141 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1142 ac_prev=dvidir ;;
1143 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1144 dvidir=$ac_optarg ;;
1145
1146 -enable-* | --enable-*)
1147 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1150 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1151 { (exit 1); exit 1; }; }
1152 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1153 eval enable_$ac_feature=\$ac_optarg ;;
1154
1155 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1156 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1157 | --exec | --exe | --ex)
1158 ac_prev=exec_prefix ;;
1159 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1160 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1161 | --exec=* | --exe=* | --ex=*)
1162 exec_prefix=$ac_optarg ;;
1163
1164 -gas | --gas | --ga | --g)
1165 # Obsolete; use --with-gas.
1166 with_gas=yes ;;
1167
1168 -help | --help | --hel | --he | -h)
1169 ac_init_help=long ;;
1170 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1171 ac_init_help=recursive ;;
1172 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1173 ac_init_help=short ;;
1174
1175 -host | --host | --hos | --ho)
1176 ac_prev=host_alias ;;
1177 -host=* | --host=* | --hos=* | --ho=*)
1178 host_alias=$ac_optarg ;;
1179
1180 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1181 ac_prev=htmldir ;;
1182 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1183 | --ht=*)
1184 htmldir=$ac_optarg ;;
1185
1186 -includedir | --includedir | --includedi | --included | --include \
1187 | --includ | --inclu | --incl | --inc)
1188 ac_prev=includedir ;;
1189 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1190 | --includ=* | --inclu=* | --incl=* | --inc=*)
1191 includedir=$ac_optarg ;;
1192
1193 -infodir | --infodir | --infodi | --infod | --info | --inf)
1194 ac_prev=infodir ;;
1195 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1196 infodir=$ac_optarg ;;
1197
1198 -libdir | --libdir | --libdi | --libd)
1199 ac_prev=libdir ;;
1200 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1201 libdir=$ac_optarg ;;
1202
1203 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1204 | --libexe | --libex | --libe)
1205 ac_prev=libexecdir ;;
1206 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1207 | --libexe=* | --libex=* | --libe=*)
1208 libexecdir=$ac_optarg ;;
1209
1210 -localedir | --localedir | --localedi | --localed | --locale)
1211 ac_prev=localedir ;;
1212 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1213 localedir=$ac_optarg ;;
1214
1215 -localstatedir | --localstatedir | --localstatedi | --localstated \
1216 | --localstate | --localstat | --localsta | --localst | --locals)
1217 ac_prev=localstatedir ;;
1218 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1219 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1220 localstatedir=$ac_optarg ;;
1221
1222 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1223 ac_prev=mandir ;;
1224 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1225 mandir=$ac_optarg ;;
1226
1227 -nfp | --nfp | --nf)
1228 # Obsolete; use --without-fp.
1229 with_fp=no ;;
1230
1231 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1232 | --no-cr | --no-c | -n)
1233 no_create=yes ;;
1234
1235 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1236 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1237 no_recursion=yes ;;
1238
1239 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1240 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1241 | --oldin | --oldi | --old | --ol | --o)
1242 ac_prev=oldincludedir ;;
1243 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1244 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1245 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1246 oldincludedir=$ac_optarg ;;
1247
1248 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1249 ac_prev=prefix ;;
1250 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1251 prefix=$ac_optarg ;;
1252
1253 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1254 | --program-pre | --program-pr | --program-p)
1255 ac_prev=program_prefix ;;
1256 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1257 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1258 program_prefix=$ac_optarg ;;
1259
1260 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1261 | --program-suf | --program-su | --program-s)
1262 ac_prev=program_suffix ;;
1263 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1264 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1265 program_suffix=$ac_optarg ;;
1266
1267 -program-transform-name | --program-transform-name \
1268 | --program-transform-nam | --program-transform-na \
1269 | --program-transform-n | --program-transform- \
1270 | --program-transform | --program-transfor \
1271 | --program-transfo | --program-transf \
1272 | --program-trans | --program-tran \
1273 | --progr-tra | --program-tr | --program-t)
1274 ac_prev=program_transform_name ;;
1275 -program-transform-name=* | --program-transform-name=* \
1276 | --program-transform-nam=* | --program-transform-na=* \
1277 | --program-transform-n=* | --program-transform-=* \
1278 | --program-transform=* | --program-transfor=* \
1279 | --program-transfo=* | --program-transf=* \
1280 | --program-trans=* | --program-tran=* \
1281 | --progr-tra=* | --program-tr=* | --program-t=*)
1282 program_transform_name=$ac_optarg ;;
1283
1284 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1285 ac_prev=pdfdir ;;
1286 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1287 pdfdir=$ac_optarg ;;
1288
1289 -psdir | --psdir | --psdi | --psd | --ps)
1290 ac_prev=psdir ;;
1291 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1292 psdir=$ac_optarg ;;
1293
1294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1295 | -silent | --silent | --silen | --sile | --sil)
1296 silent=yes ;;
1297
1298 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1299 ac_prev=sbindir ;;
1300 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1301 | --sbi=* | --sb=*)
1302 sbindir=$ac_optarg ;;
1303
1304 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1305 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1306 | --sharedst | --shareds | --shared | --share | --shar \
1307 | --sha | --sh)
1308 ac_prev=sharedstatedir ;;
1309 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1310 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1311 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1312 | --sha=* | --sh=*)
1313 sharedstatedir=$ac_optarg ;;
1314
1315 -site | --site | --sit)
1316 ac_prev=site ;;
1317 -site=* | --site=* | --sit=*)
1318 site=$ac_optarg ;;
1319
1320 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1321 ac_prev=srcdir ;;
1322 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1323 srcdir=$ac_optarg ;;
1324
1325 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1326 | --syscon | --sysco | --sysc | --sys | --sy)
1327 ac_prev=sysconfdir ;;
1328 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1329 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1330 sysconfdir=$ac_optarg ;;
1331
1332 -target | --target | --targe | --targ | --tar | --ta | --t)
1333 ac_prev=target_alias ;;
1334 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1335 target_alias=$ac_optarg ;;
1336
1337 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1338 verbose=yes ;;
1339
1340 -version | --version | --versio | --versi | --vers | -V)
1341 ac_init_version=: ;;
1342
1343 -with-* | --with-*)
1344 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1345 # Reject names that are not valid shell variable names.
1346 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1347 { echo "$as_me: error: invalid package name: $ac_package" >&2
1348 { (exit 1); exit 1; }; }
1349 ac_package=`echo $ac_package| sed 's/-/_/g'`
1350 eval with_$ac_package=\$ac_optarg ;;
1351
1352 -without-* | --without-*)
1353 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1354 # Reject names that are not valid shell variable names.
1355 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1356 { echo "$as_me: error: invalid package name: $ac_package" >&2
1357 { (exit 1); exit 1; }; }
1358 ac_package=`echo $ac_package | sed 's/-/_/g'`
1359 eval with_$ac_package=no ;;
1360
1361 --x)
1362 # Obsolete; use --with-x.
1363 with_x=yes ;;
1364
1365 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1366 | --x-incl | --x-inc | --x-in | --x-i)
1367 ac_prev=x_includes ;;
1368 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1369 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1370 x_includes=$ac_optarg ;;
1371
1372 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1373 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1374 ac_prev=x_libraries ;;
1375 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1376 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1377 x_libraries=$ac_optarg ;;
1378
1379 -*) { echo "$as_me: error: unrecognized option: $ac_option
1380 Try \`$0 --help' for more information." >&2
1381 { (exit 1); exit 1; }; }
1382 ;;
1383
1384 *=*)
1385 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1389 { (exit 1); exit 1; }; }
1390 eval $ac_envvar=\$ac_optarg
1391 export $ac_envvar ;;
1392
1393 *)
1394 # FIXME: should be removed in autoconf 3.0.
1395 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1396 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1397 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1398 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1399 ;;
1400
1401 esac
1402 done
1403
1404 if test -n "$ac_prev"; then
1405 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1406 { echo "$as_me: error: missing argument to $ac_option" >&2
1407 { (exit 1); exit 1; }; }
1408 fi
1409
1410 # Be sure to have absolute directory names.
1411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1415 do
1416 eval ac_val=\$$ac_var
1417 case $ac_val in
1418 [\\/$]* | ?:[\\/]* ) continue;;
1419 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1420 esac
1421 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1422 { (exit 1); exit 1; }; }
1423 done
1424
1425 # There might be people who depend on the old broken behavior: `$host'
1426 # used to hold the argument of --host etc.
1427 # FIXME: To remove some day.
1428 build=$build_alias
1429 host=$host_alias
1430 target=$target_alias
1431
1432 # FIXME: To remove some day.
1433 if test "x$host_alias" != x; then
1434 if test "x$build_alias" = x; then
1435 cross_compiling=maybe
1436 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1437 If a cross compiler is detected then cross compile mode will be used." >&2
1438 elif test "x$build_alias" != "x$host_alias"; then
1439 cross_compiling=yes
1440 fi
1441 fi
1442
1443 ac_tool_prefix=
1444 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1445
1446 test "$silent" = yes && exec 6>/dev/null
1447
1448
1449 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1450 ac_ls_di=`ls -di .` &&
1451 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1452 { echo "$as_me: error: Working directory cannot be determined" >&2
1453 { (exit 1); exit 1; }; }
1454 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1455 { echo "$as_me: error: pwd does not report name of working directory" >&2
1456 { (exit 1); exit 1; }; }
1457
1458
1459 # Find the source files, if location was not specified.
1460 if test -z "$srcdir"; then
1461 ac_srcdir_defaulted=yes
1462 # Try the directory containing this script, then the parent directory.
1463 ac_confdir=`$as_dirname -- "$0" ||
1464 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1465 X"$0" : 'X\(//\)[^/]' \| \
1466 X"$0" : 'X\(//\)$' \| \
1467 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1468 echo X"$0" |
1469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1470 s//\1/
1471 q
1472 }
1473 /^X\(\/\/\)[^/].*/{
1474 s//\1/
1475 q
1476 }
1477 /^X\(\/\/\)$/{
1478 s//\1/
1479 q
1480 }
1481 /^X\(\/\).*/{
1482 s//\1/
1483 q
1484 }
1485 s/.*/./; q'`
1486 srcdir=$ac_confdir
1487 if test ! -r "$srcdir/$ac_unique_file"; then
1488 srcdir=..
1489 fi
1490 else
1491 ac_srcdir_defaulted=no
1492 fi
1493 if test ! -r "$srcdir/$ac_unique_file"; then
1494 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1495 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1496 { (exit 1); exit 1; }; }
1497 fi
1498 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1499 ac_abs_confdir=`(
1500 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1501 { (exit 1); exit 1; }; }
1502 pwd)`
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1505 srcdir=.
1506 fi
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1510 case $srcdir in
1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 esac
1513 for ac_var in $ac_precious_vars; do
1514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_env_${ac_var}_value=\$${ac_var}
1516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 done
1519
1520 #
1521 # Report the --help message.
1522 #
1523 if test "$ac_init_help" = "long"; then
1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.
1526 cat <<_ACEOF
1527 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1528
1529 Usage: $0 [OPTION]... [VAR=VALUE]...
1530
1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532 VAR=VALUE. See below for descriptions of some of the useful variables.
1533
1534 Defaults for the options are specified in brackets.
1535
1536 Configuration:
1537 -h, --help display this help and exit
1538 --help=short display options specific to this package
1539 --help=recursive display the short help of all the included packages
1540 -V, --version display version information and exit
1541 -q, --quiet, --silent do not print \`checking...' messages
1542 --cache-file=FILE cache test results in FILE [disabled]
1543 -C, --config-cache alias for \`--cache-file=config.cache'
1544 -n, --no-create do not create output files
1545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1546
1547 Installation directories:
1548 --prefix=PREFIX install architecture-independent files in PREFIX
1549 [$ac_default_prefix]
1550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1551 [PREFIX]
1552
1553 By default, \`make install' will install all the files in
1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556 for instance \`--prefix=\$HOME'.
1557
1558 For better control, use the options below.
1559
1560 Fine tuning of the installation directories:
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --libdir=DIR object code libraries [EPREFIX/lib]
1568 --includedir=DIR C header files [PREFIX/include]
1569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572 --infodir=DIR info documentation [DATAROOTDIR/info]
1573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574 --mandir=DIR man documentation [DATAROOTDIR/man]
1575 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1576 --htmldir=DIR html documentation [DOCDIR]
1577 --dvidir=DIR dvi documentation [DOCDIR]
1578 --pdfdir=DIR pdf documentation [DOCDIR]
1579 --psdir=DIR ps documentation [DOCDIR]
1580 _ACEOF
1581
1582 cat <<\_ACEOF
1583
1584 X features:
1585 --x-includes=DIR X include files are in DIR
1586 --x-libraries=DIR X library files are in DIR
1587
1588 System types:
1589 --build=BUILD configure for building on BUILD [guessed]
1590 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1591 --target=TARGET configure for building compilers for TARGET [HOST]
1592 _ACEOF
1593 fi
1594
1595 if test -n "$ac_init_help"; then
1596 case $ac_init_help in
1597 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1598 esac
1599 cat <<\_ACEOF
1600
1601 Optional Features:
1602 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1603 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1604 --enable-gui use GUI classes
1605 --enable-monolithic build wxWidgets as single library
1606 --enable-plugins build parts of wxWidgets as loadable components
1607 --enable-universal use wxWidgets GUI controls instead of native ones
1608 --enable-nanox use NanoX
1609 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1610 --enable-gpe use GNOME PDA Environment features if possible
1611 --enable-shared create shared library code
1612 --enable-optimise create optimised code
1613 --enable-debug same as debug_flag and debug_info
1614 --enable-stl use STL for containers
1615 --enable-omf use OMF object format
1616 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1617 --enable-debug_info create code with debugging information
1618 --enable-debug_gdb create code with extra GDB debugging information
1619 --enable-debug_cntxt use wxDebugContext
1620 --enable-mem_tracing create code with memory tracing
1621 --enable-profile create code with profiling information
1622 --enable-no_rtti create code without RTTI information
1623 --enable-no_exceptions create code without C++ exceptions handling
1624 --enable-permissive compile code disregarding strict ANSI
1625 --enable-no_deps create code without dependency information
1626 --disable-vararg_macros don't use vararg macros, even if they are supported
1627 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1628 --enable-compat24 enable wxWidgets 2.4 compatibility
1629 --disable-compat26 disable wxWidgets 2.6 compatibility
1630 --disable-rpath disable use of rpath for uninstalled builds
1631 --enable-intl use internationalization system
1632 --enable-config use wxConfig (and derived) classes
1633 --enable-protocols use wxProtocol and derived classes
1634 --enable-ftp use wxFTP (requires wxProtocol
1635 --enable-http use wxHTTP (requires wxProtocol
1636 --enable-fileproto use wxFileProto class (requires wxProtocol
1637 --enable-sockets use socket/network classes
1638 --enable-ole use OLE classes (Win32 only)
1639 --enable-dataobj use data object classes
1640 --enable-ipc use interprocess communication (wxSocket etc.)
1641 --enable-apple_ieee use the Apple IEEE codec
1642 --enable-arcstream use wxArchive streams
1643 --enable-backtrace use wxStackWalker class for getting backtraces
1644 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1645 --enable-cmdline use wxCmdLineParser class
1646 --enable-datetime use wxDateTime class
1647 --enable-debugreport use wxDebugReport class
1648 --enable-dialupman use dialup network classes
1649 --enable-dynlib use wxLibrary class for DLL loading
1650 --enable-dynamicloader use (new) wxDynamicLibrary class
1651 --enable-exceptions build exception-safe library
1652 --enable-ffile use wxFFile class
1653 --enable-file use wxFile class
1654 --enable-filesystem use virtual file systems classes
1655 --enable-fontmap use font encodings conversion classes
1656 --enable-fs_archive use virtual archive filesystems
1657 --enable-fs_inet use virtual HTTP/FTP filesystems
1658 --enable-fs_zip now replaced by fs_archive
1659 --enable-geometry use geometry class
1660 --enable-log use logging system
1661 --enable-longlong use wxLongLong class
1662 --enable-mimetype use wxMimeTypesManager
1663 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1664 --enable-snglinst use wxSingleInstanceChecker class
1665 --enable-std_iostreams use standard C++ stream classes
1666 --enable-std_string use standard C++ string classes
1667 --enable-stdpaths use wxStandardPaths class
1668 --enable-stopwatch use wxStopWatch class
1669 --enable-streams use wxStream etc classes
1670 --enable-sysoptions use wxSystemOptions
1671 --enable-tarstream use wxTar streams
1672 --enable-textbuf use wxTextBuffer class
1673 --enable-textfile use wxTextFile class
1674 --enable-timer use wxTimer class
1675 --enable-unicode compile wxString with Unicode support
1676 --enable-sound use wxSound class
1677 --enable-mediactrl use wxMediaCtrl class
1678 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1679 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1680 --enable-zipstream use wxZip streams
1681 --enable-url use wxURL class
1682 --enable-variant use wxVariant class
1683 --enable-protocol use wxProtocol class
1684 --enable-protocol-http HTTP support in wxProtocol
1685 --enable-protocol-ftp FTP support in wxProtocol
1686 --enable-protocol-file FILE support in wxProtocol
1687 --enable-threads use threads
1688 --enable-docview use document view architecture
1689 --enable-help use help subsystem
1690 --enable-mshtmlhelp use MS HTML Help (win32)
1691 --enable-html use wxHTML sub-library
1692 --enable-htmlhelp use wxHTML-based help
1693 --enable-xrc use XRC resources sub-library
1694 --enable-aui use AUI docking library
1695 --enable-constraints use layout-constraints system
1696 --enable-printarch use printing architecture
1697 --enable-mdi use multiple document interface architecture
1698 --enable-mdidoc use docview architecture with MDI
1699 --enable-loggui use standard GUI logger
1700 --enable-logwin use wxLogWindow
1701 --enable-logdialog use wxLogDialog
1702 --enable-webkit use wxWebKitCtrl (Mac)
1703 --enable-richtext use wxRichTextCtrl
1704 --enable-graphics_ctx use graphics context 2D drawing API
1705 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1706 --enable-prologio not available; see contrib
1707 --enable-resources not available; see contrib
1708 --enable-clipboard use wxClipboard class
1709 --enable-dnd use Drag'n'Drop classes
1710 --enable-metafile use win32 metafiles
1711 --enable-controls use all usual controls
1712 --enable-accel use accelerators
1713 --enable-animatectrl use wxAnimationCtrl class
1714 --enable-button use wxButton class
1715 --enable-bmpbutton use wxBitmapButton class
1716 --enable-bmpcombobox use wxBitmapComboBox class
1717 --enable-calendar use wxCalendarCtrl class
1718 --enable-caret use wxCaret class
1719 --enable-checkbox use wxCheckBox class
1720 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1721 --enable-choice use wxChoice class
1722 --enable-choicebook use wxChoicebook class
1723 --enable-collpane use wxCollapsiblePane class
1724 --enable-colourpicker use wxColourPickerCtrl class
1725 --enable-combobox use wxComboBox class
1726 --enable-comboctrl use wxComboCtrl class
1727 --enable-datepick use wxDatePickerCtrl class
1728 --enable-dirpicker use wxDirPickerCtrl class
1729 --enable-display use wxDisplay class
1730 --enable-detect_sm use code to detect X11 session manager
1731 --enable-filepicker use wxFilePickerCtrl class
1732 --enable-fontpicker use wxFontPickerCtrl class
1733 --enable-gauge use wxGauge class
1734 --enable-grid use wxGrid class
1735 --enable-dataviewctrl use wxDataViewCtrl class
1736 --enable-hyperlink use wxHyperlinkCtrl class
1737 --enable-imaglist use wxImageList class
1738 --enable-listbook use wxListbook class
1739 --enable-listbox use wxListBox class
1740 --enable-listctrl use wxListCtrl class
1741 --enable-notebook use wxNotebook class
1742 --enable-odcombobox use wxOwnerDrawnComboBox class
1743 --enable-radiobox use wxRadioBox class
1744 --enable-radiobtn use wxRadioButton class
1745 --enable-sash use wxSashWindow class
1746 --enable-scrollbar use wxScrollBar class and scrollable windows
1747 --enable-searchctrl use wxSearchCtrl class
1748 --enable-slider use wxSlider class
1749 --enable-spinbtn use wxSpinButton class
1750 --enable-spinctrl use wxSpinCtrl class
1751 --enable-splitter use wxSplitterWindow class
1752 --enable-statbmp use wxStaticBitmap class
1753 --enable-statbox use wxStaticBox class
1754 --enable-statline use wxStaticLine class
1755 --enable-stattext use wxStaticText class
1756 --enable-statusbar use wxStatusBar class
1757 --enable-tabdialog use wxTabControl class
1758 --enable-textctrl use wxTextCtrl class
1759 --enable-togglebtn use wxToggleButton class
1760 --enable-toolbar use wxToolBar class
1761 --enable-tbarnative use native wxToolBar class
1762 --enable-treebook use wxTreebook class
1763 --enable-toolbook use wxToolbook class
1764 --enable-treectrl use wxTreeCtrl class
1765 --enable-tipwindow use wxTipWindow class
1766 --enable-popupwin use wxPopUpWindow class
1767 --enable-commondlg use all common dialogs
1768 --enable-aboutdlg use wxAboutBox
1769 --enable-choicedlg use wxChoiceDialog
1770 --enable-coldlg use wxColourDialog
1771 --enable-filedlg use wxFileDialog
1772 --enable-finddlg use wxFindReplaceDialog
1773 --enable-fontdlg use wxFontDialog
1774 --enable-dirdlg use wxDirDialog
1775 --enable-msgdlg use wxMessageDialog
1776 --enable-numberdlg use wxNumberEntryDialog
1777 --enable-splash use wxSplashScreen
1778 --enable-textdlg use wxTextDialog
1779 --enable-tipdlg use startup tips
1780 --enable-progressdlg use wxProgressDialog
1781 --enable-wizarddlg use wxWizard
1782 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1783 --enable-miniframe use wxMiniFrame class
1784 --enable-tooltips use wxToolTip class
1785 --enable-splines use spline drawing code
1786 --enable-mousewheel use mousewheel
1787 --enable-validators use wxValidator and derived classes
1788 --enable-busyinfo use wxBusyInfo
1789 --enable-joystick use wxJoystick
1790 --enable-metafiles use wxMetaFile (Win32 only)
1791 --enable-dragimage use wxDragImage
1792 --enable-accessibility enable accessibility support
1793 --enable-dccache cache temporary wxDC objects (Win32 only)
1794 --enable-palette use wxPalette class
1795 --enable-image use wxImage class
1796 --enable-gif use gif images (GIF file format)
1797 --enable-pcx use pcx images (PCX file format)
1798 --enable-tga use tga images (TGA file format)
1799 --enable-iff use iff images (IFF file format)
1800 --enable-pnm use pnm images (PNM file format)
1801 --enable-xpm use xpm images (XPM file format)
1802 --enable-icocur use Windows ICO and CUR formats
1803 --enable-official_build official build of wxWidgets (win32 DLL only)
1804 --enable-vendor=VENDOR vendor name (win32 DLL only)
1805 --disable-largefile omit support for large files
1806 --disable-gtktest do not try to compile and run a test GTK+ program
1807 --disable-gtktest Do not try to compile and run a test GTK program
1808 --disable-sdltest Do not try to compile and run a test SDL program
1809 --enable-omf use OMF object format (OS/2)
1810 --disable-dependency-tracking
1811 don't use dependency tracking even if the compiler
1812 can
1813 --disable-precomp-headers
1814 don't use precompiled headers even if compiler can
1815
1816 Optional Packages:
1817 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1818 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1819 --without-subdirs don't generate makefiles for samples/demos/...
1820 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1821 --with-motif use Motif/Lesstif
1822 --with-mac use Mac OS X
1823 --with-cocoa use Cocoa
1824 --with-wine use Wine
1825 --with-msw use MS-Windows
1826 --with-pm use OS/2 Presentation Manager
1827 --with-mgl use SciTech MGL
1828 --with-directfb use DirectFB
1829 --with-microwin use MicroWindows
1830 --with-x11 use X11
1831 --with-libpng use libpng (PNG image format)
1832 --with-libjpeg use libjpeg (JPEG file format)
1833 --with-libtiff use libtiff (TIFF file format)
1834 --with-libxpm use libxpm (XPM file format)
1835 --with-libmspack use libmspack (CHM help files loading)
1836 --with-sdl use SDL for audio on Unix
1837 --with-gnomeprint use GNOME print for printing under GNOME
1838 --with-gnomevfs use GNOME VFS for associating MIME types
1839 --with-hildon use Hildon framework for Nokia 770
1840 --with-opengl use OpenGL (or Mesa)
1841 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1842 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1843 --with-regex enable support for wxRegEx class
1844 --with-zlib use zlib for LZW compression
1845 --with-odbc use the IODBC and wxODBC classes
1846 --with-expat enable XML support using expat parser
1847 --with-flavour=NAME specify a name to identify this build
1848 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1849 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1850 --with-x use the X Window System
1851 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1852 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1853 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1854 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1855 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1856
1857 Some influential environment variables:
1858 CC C compiler command
1859 CFLAGS C compiler flags
1860 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1861 nonstandard directory <lib dir>
1862 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1863 you have headers in a nonstandard directory <include dir>
1864 CPP C preprocessor
1865 CXX C++ compiler command
1866 CXXFLAGS C++ compiler flags
1867 CXXCPP C++ preprocessor
1868 PKG_CONFIG path to pkg-config utility
1869 DIRECTFB_CFLAGS
1870 C compiler flags for DIRECTFB, overriding pkg-config
1871 DIRECTFB_LIBS
1872 linker flags for DIRECTFB, overriding pkg-config
1873 XMKMF Path to xmkmf, Makefile generator for X Window System
1874 PANGOX_CFLAGS
1875 C compiler flags for PANGOX, overriding pkg-config
1876 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1877 PANGOFT2_CFLAGS
1878 C compiler flags for PANGOFT2, overriding pkg-config
1879 PANGOFT2_LIBS
1880 linker flags for PANGOFT2, overriding pkg-config
1881 PANGOXFT_CFLAGS
1882 C compiler flags for PANGOXFT, overriding pkg-config
1883 PANGOXFT_LIBS
1884 linker flags for PANGOXFT, overriding pkg-config
1885 LIBGNOMEPRINTUI_CFLAGS
1886 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1887 LIBGNOMEPRINTUI_LIBS
1888 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1889 GNOMEVFS_CFLAGS
1890 C compiler flags for GNOMEVFS, overriding pkg-config
1891 GNOMEVFS_LIBS
1892 linker flags for GNOMEVFS, overriding pkg-config
1893 HILDON_CFLAGS
1894 C compiler flags for HILDON, overriding pkg-config
1895 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1896 CAIRO_CFLAGS
1897 C compiler flags for CAIRO, overriding pkg-config
1898 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1899 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1900 GST_LIBS linker flags for GST, overriding pkg-config
1901
1902 Use these variables to override the choices made by `configure' or to help
1903 it to find libraries and programs with nonstandard names/locations.
1904
1905 Report bugs to <wx-dev@lists.wxwidgets.org>.
1906 _ACEOF
1907 ac_status=$?
1908 fi
1909
1910 if test "$ac_init_help" = "recursive"; then
1911 # If there are subdirs, report their specific --help.
1912 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1913 test -d "$ac_dir" || continue
1914 ac_builddir=.
1915
1916 case "$ac_dir" in
1917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1918 *)
1919 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1920 # A ".." for each directory in $ac_dir_suffix.
1921 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1922 case $ac_top_builddir_sub in
1923 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1924 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1925 esac ;;
1926 esac
1927 ac_abs_top_builddir=$ac_pwd
1928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1929 # for backward compatibility:
1930 ac_top_builddir=$ac_top_build_prefix
1931
1932 case $srcdir in
1933 .) # We are building in place.
1934 ac_srcdir=.
1935 ac_top_srcdir=$ac_top_builddir_sub
1936 ac_abs_top_srcdir=$ac_pwd ;;
1937 [\\/]* | ?:[\\/]* ) # Absolute name.
1938 ac_srcdir=$srcdir$ac_dir_suffix;
1939 ac_top_srcdir=$srcdir
1940 ac_abs_top_srcdir=$srcdir ;;
1941 *) # Relative name.
1942 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1943 ac_top_srcdir=$ac_top_build_prefix$srcdir
1944 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1945 esac
1946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1947
1948 cd "$ac_dir" || { ac_status=$?; continue; }
1949 # Check for guested configure.
1950 if test -f "$ac_srcdir/configure.gnu"; then
1951 echo &&
1952 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1953 elif test -f "$ac_srcdir/configure"; then
1954 echo &&
1955 $SHELL "$ac_srcdir/configure" --help=recursive
1956 else
1957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1958 fi || ac_status=$?
1959 cd "$ac_pwd" || { ac_status=$?; break; }
1960 done
1961 fi
1962
1963 test -n "$ac_init_help" && exit $ac_status
1964 if $ac_init_version; then
1965 cat <<\_ACEOF
1966 wxWidgets configure 2.9.0
1967 generated by GNU Autoconf 2.60
1968
1969 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1970 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1971 This configure script is free software; the Free Software Foundation
1972 gives unlimited permission to copy, distribute and modify it.
1973 _ACEOF
1974 exit
1975 fi
1976 cat >config.log <<_ACEOF
1977 This file contains any messages produced by compilers while
1978 running configure, to aid debugging if configure makes a mistake.
1979
1980 It was created by wxWidgets $as_me 2.9.0, which was
1981 generated by GNU Autoconf 2.60. Invocation command line was
1982
1983 $ $0 $@
1984
1985 _ACEOF
1986 exec 5>>config.log
1987 {
1988 cat <<_ASUNAME
1989 ## --------- ##
1990 ## Platform. ##
1991 ## --------- ##
1992
1993 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1994 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1995 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1996 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1997 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1998
1999 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2000 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2001
2002 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2003 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2005 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2006 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2007 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2008 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2009
2010 _ASUNAME
2011
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013 for as_dir in $PATH
2014 do
2015 IFS=$as_save_IFS
2016 test -z "$as_dir" && as_dir=.
2017 echo "PATH: $as_dir"
2018 done
2019 IFS=$as_save_IFS
2020
2021 } >&5
2022
2023 cat >&5 <<_ACEOF
2024
2025
2026 ## ----------- ##
2027 ## Core tests. ##
2028 ## ----------- ##
2029
2030 _ACEOF
2031
2032
2033 # Keep a trace of the command line.
2034 # Strip out --no-create and --no-recursion so they do not pile up.
2035 # Strip out --silent because we don't want to record it for future runs.
2036 # Also quote any args containing shell meta-characters.
2037 # Make two passes to allow for proper duplicate-argument suppression.
2038 ac_configure_args=
2039 ac_configure_args0=
2040 ac_configure_args1=
2041 ac_must_keep_next=false
2042 for ac_pass in 1 2
2043 do
2044 for ac_arg
2045 do
2046 case $ac_arg in
2047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2049 | -silent | --silent | --silen | --sile | --sil)
2050 continue ;;
2051 *\'*)
2052 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2053 esac
2054 case $ac_pass in
2055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2056 2)
2057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2058 if test $ac_must_keep_next = true; then
2059 ac_must_keep_next=false # Got value, back to normal.
2060 else
2061 case $ac_arg in
2062 *=* | --config-cache | -C | -disable-* | --disable-* \
2063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2065 | -with-* | --with-* | -without-* | --without-* | --x)
2066 case "$ac_configure_args0 " in
2067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2068 esac
2069 ;;
2070 -* ) ac_must_keep_next=true ;;
2071 esac
2072 fi
2073 ac_configure_args="$ac_configure_args '$ac_arg'"
2074 ;;
2075 esac
2076 done
2077 done
2078 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2079 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2080
2081 # When interrupted or exit'd, cleanup temporary files, and complete
2082 # config.log. We remove comments because anyway the quotes in there
2083 # would cause problems or look ugly.
2084 # WARNING: Use '\'' to represent an apostrophe within the trap.
2085 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2086 trap 'exit_status=$?
2087 # Save into config.log some information that might help in debugging.
2088 {
2089 echo
2090
2091 cat <<\_ASBOX
2092 ## ---------------- ##
2093 ## Cache variables. ##
2094 ## ---------------- ##
2095 _ASBOX
2096 echo
2097 # The following way of writing the cache mishandles newlines in values,
2098 (
2099 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2100 eval ac_val=\$$ac_var
2101 case $ac_val in #(
2102 *${as_nl}*)
2103 case $ac_var in #(
2104 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2105 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2106 esac
2107 case $ac_var in #(
2108 _ | IFS | as_nl) ;; #(
2109 *) $as_unset $ac_var ;;
2110 esac ;;
2111 esac
2112 done
2113 (set) 2>&1 |
2114 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2115 *${as_nl}ac_space=\ *)
2116 sed -n \
2117 "s/'\''/'\''\\\\'\'''\''/g;
2118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2119 ;; #(
2120 *)
2121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2122 ;;
2123 esac |
2124 sort
2125 )
2126 echo
2127
2128 cat <<\_ASBOX
2129 ## ----------------- ##
2130 ## Output variables. ##
2131 ## ----------------- ##
2132 _ASBOX
2133 echo
2134 for ac_var in $ac_subst_vars
2135 do
2136 eval ac_val=\$$ac_var
2137 case $ac_val in
2138 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2139 esac
2140 echo "$ac_var='\''$ac_val'\''"
2141 done | sort
2142 echo
2143
2144 if test -n "$ac_subst_files"; then
2145 cat <<\_ASBOX
2146 ## ------------------- ##
2147 ## File substitutions. ##
2148 ## ------------------- ##
2149 _ASBOX
2150 echo
2151 for ac_var in $ac_subst_files
2152 do
2153 eval ac_val=\$$ac_var
2154 case $ac_val in
2155 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 esac
2157 echo "$ac_var='\''$ac_val'\''"
2158 done | sort
2159 echo
2160 fi
2161
2162 if test -s confdefs.h; then
2163 cat <<\_ASBOX
2164 ## ----------- ##
2165 ## confdefs.h. ##
2166 ## ----------- ##
2167 _ASBOX
2168 echo
2169 cat confdefs.h
2170 echo
2171 fi
2172 test "$ac_signal" != 0 &&
2173 echo "$as_me: caught signal $ac_signal"
2174 echo "$as_me: exit $exit_status"
2175 } >&5
2176 rm -f core *.core core.conftest.* &&
2177 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2178 exit $exit_status
2179 ' 0
2180 for ac_signal in 1 2 13 15; do
2181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2182 done
2183 ac_signal=0
2184
2185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2186 rm -f -r conftest* confdefs.h
2187
2188 # Predefined preprocessor variables.
2189
2190 cat >>confdefs.h <<_ACEOF
2191 #define PACKAGE_NAME "$PACKAGE_NAME"
2192 _ACEOF
2193
2194
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2197 _ACEOF
2198
2199
2200 cat >>confdefs.h <<_ACEOF
2201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2202 _ACEOF
2203
2204
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_STRING "$PACKAGE_STRING"
2207 _ACEOF
2208
2209
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2212 _ACEOF
2213
2214
2215 # Let the site file select an alternate cache file if it wants to.
2216 # Prefer explicitly selected file to automatically selected ones.
2217 if test -n "$CONFIG_SITE"; then
2218 set x "$CONFIG_SITE"
2219 elif test "x$prefix" != xNONE; then
2220 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2221 else
2222 set x "$ac_default_prefix/share/config.site" \
2223 "$ac_default_prefix/etc/config.site"
2224 fi
2225 shift
2226 for ac_site_file
2227 do
2228 if test -r "$ac_site_file"; then
2229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2230 echo "$as_me: loading site script $ac_site_file" >&6;}
2231 sed 's/^/| /' "$ac_site_file" >&5
2232 . "$ac_site_file"
2233 fi
2234 done
2235
2236 if test -r "$cache_file"; then
2237 # Some versions of bash will fail to source /dev/null (special
2238 # files actually), so we avoid doing that.
2239 if test -f "$cache_file"; then
2240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2241 echo "$as_me: loading cache $cache_file" >&6;}
2242 case $cache_file in
2243 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2244 *) . "./$cache_file";;
2245 esac
2246 fi
2247 else
2248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2249 echo "$as_me: creating cache $cache_file" >&6;}
2250 >$cache_file
2251 fi
2252
2253 # Check that the precious variables saved in the cache have kept the same
2254 # value.
2255 ac_cache_corrupted=false
2256 for ac_var in $ac_precious_vars; do
2257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2258 eval ac_new_set=\$ac_env_${ac_var}_set
2259 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2260 eval ac_new_val=\$ac_env_${ac_var}_value
2261 case $ac_old_set,$ac_new_set in
2262 set,)
2263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2265 ac_cache_corrupted=: ;;
2266 ,set)
2267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2269 ac_cache_corrupted=: ;;
2270 ,);;
2271 *)
2272 if test "x$ac_old_val" != "x$ac_new_val"; then
2273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2276 echo "$as_me: former value: $ac_old_val" >&2;}
2277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2278 echo "$as_me: current value: $ac_new_val" >&2;}
2279 ac_cache_corrupted=:
2280 fi;;
2281 esac
2282 # Pass precious variables to config.status.
2283 if test "$ac_new_set" = set; then
2284 case $ac_new_val in
2285 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2286 *) ac_arg=$ac_var=$ac_new_val ;;
2287 esac
2288 case " $ac_configure_args " in
2289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2290 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2291 esac
2292 fi
2293 done
2294 if $ac_cache_corrupted; then
2295 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2296 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2297 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2298 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2299 { (exit 1); exit 1; }; }
2300 fi
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326 ac_ext=c
2327 ac_cpp='$CPP $CPPFLAGS'
2328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2331
2332
2333
2334
2335
2336 ac_aux_dir=
2337 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2338 if test -f "$ac_dir/install-sh"; then
2339 ac_aux_dir=$ac_dir
2340 ac_install_sh="$ac_aux_dir/install-sh -c"
2341 break
2342 elif test -f "$ac_dir/install.sh"; then
2343 ac_aux_dir=$ac_dir
2344 ac_install_sh="$ac_aux_dir/install.sh -c"
2345 break
2346 elif test -f "$ac_dir/shtool"; then
2347 ac_aux_dir=$ac_dir
2348 ac_install_sh="$ac_aux_dir/shtool install -c"
2349 break
2350 fi
2351 done
2352 if test -z "$ac_aux_dir"; then
2353 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2354 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2355 { (exit 1); exit 1; }; }
2356 fi
2357
2358 # These three variables are undocumented and unsupported,
2359 # and are intended to be withdrawn in a future Autoconf release.
2360 # They can cause serious problems if a builder's source tree is in a directory
2361 # whose full name contains unusual characters.
2362 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2363 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2364 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2365
2366
2367 # Make sure we can run config.sub.
2368 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2369 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2370 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2371 { (exit 1); exit 1; }; }
2372
2373 { echo "$as_me:$LINENO: checking build system type" >&5
2374 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2375 if test "${ac_cv_build+set}" = set; then
2376 echo $ECHO_N "(cached) $ECHO_C" >&6
2377 else
2378 ac_build_alias=$build_alias
2379 test "x$ac_build_alias" = x &&
2380 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2381 test "x$ac_build_alias" = x &&
2382 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2383 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2384 { (exit 1); exit 1; }; }
2385 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2386 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2387 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2388 { (exit 1); exit 1; }; }
2389
2390 fi
2391 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2392 echo "${ECHO_T}$ac_cv_build" >&6; }
2393 case $ac_cv_build in
2394 *-*-*) ;;
2395 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2396 echo "$as_me: error: invalid value of canonical build" >&2;}
2397 { (exit 1); exit 1; }; };;
2398 esac
2399 build=$ac_cv_build
2400 ac_save_IFS=$IFS; IFS='-'
2401 set x $ac_cv_build
2402 shift
2403 build_cpu=$1
2404 build_vendor=$2
2405 shift; shift
2406 # Remember, the first character of IFS is used to create $*,
2407 # except with old shells:
2408 build_os=$*
2409 IFS=$ac_save_IFS
2410 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2411
2412
2413 { echo "$as_me:$LINENO: checking host system type" >&5
2414 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2415 if test "${ac_cv_host+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 else
2418 if test "x$host_alias" = x; then
2419 ac_cv_host=$ac_cv_build
2420 else
2421 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2422 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2423 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2424 { (exit 1); exit 1; }; }
2425 fi
2426
2427 fi
2428 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2429 echo "${ECHO_T}$ac_cv_host" >&6; }
2430 case $ac_cv_host in
2431 *-*-*) ;;
2432 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2433 echo "$as_me: error: invalid value of canonical host" >&2;}
2434 { (exit 1); exit 1; }; };;
2435 esac
2436 host=$ac_cv_host
2437 ac_save_IFS=$IFS; IFS='-'
2438 set x $ac_cv_host
2439 shift
2440 host_cpu=$1
2441 host_vendor=$2
2442 shift; shift
2443 # Remember, the first character of IFS is used to create $*,
2444 # except with old shells:
2445 host_os=$*
2446 IFS=$ac_save_IFS
2447 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2448
2449
2450 { echo "$as_me:$LINENO: checking target system type" >&5
2451 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2452 if test "${ac_cv_target+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 else
2455 if test "x$target_alias" = x; then
2456 ac_cv_target=$ac_cv_host
2457 else
2458 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2459 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2460 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2461 { (exit 1); exit 1; }; }
2462 fi
2463
2464 fi
2465 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2466 echo "${ECHO_T}$ac_cv_target" >&6; }
2467 case $ac_cv_target in
2468 *-*-*) ;;
2469 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2470 echo "$as_me: error: invalid value of canonical target" >&2;}
2471 { (exit 1); exit 1; }; };;
2472 esac
2473 target=$ac_cv_target
2474 ac_save_IFS=$IFS; IFS='-'
2475 set x $ac_cv_target
2476 shift
2477 target_cpu=$1
2478 target_vendor=$2
2479 shift; shift
2480 # Remember, the first character of IFS is used to create $*,
2481 # except with old shells:
2482 target_os=$*
2483 IFS=$ac_save_IFS
2484 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2485
2486
2487 # The aliases save the names the user supplied, while $host etc.
2488 # will get canonicalized.
2489 test -n "$target_alias" &&
2490 test "$program_prefix$program_suffix$program_transform_name" = \
2491 NONENONEs,x,x, &&
2492 program_prefix=${target_alias}-
2493
2494
2495
2496 wx_major_version_number=2
2497 wx_minor_version_number=9
2498 wx_release_number=0
2499 wx_subrelease_number=0
2500
2501 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2502 WX_VERSION=$WX_RELEASE.$wx_release_number
2503 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2504
2505 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2506
2507
2508 wx_top_builddir="`pwd`"
2509
2510
2511
2512
2513 USE_UNIX=1
2514 USE_OS2=0
2515 USE_WIN32=0
2516 USE_DOS=0
2517 USE_BEOS=0
2518 USE_MAC=0
2519
2520 USE_AIX=
2521 USE_BSD= USE_DARWIN= USE_FREEBSD=
2522 USE_GNU= USE_HPUX=
2523 USE_LINUX=
2524 USE_NETBSD=
2525 USE_OPENBSD=
2526 USE_OSF= USE_SGI=
2527 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2528 USE_ULTRIX=
2529 USE_UNIXWARE=
2530
2531 USE_ALPHA=
2532
2533 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2534
2535 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2536
2537 DEFAULT_wxUSE_COCOA=0
2538 DEFAULT_wxUSE_GTK=0
2539 DEFAULT_wxUSE_MAC=0
2540 DEFAULT_wxUSE_MGL=0
2541 DEFAULT_wxUSE_MICROWIN=0
2542 DEFAULT_wxUSE_MOTIF=0
2543 DEFAULT_wxUSE_MSW=0
2544 DEFAULT_wxUSE_PM=0
2545 DEFAULT_wxUSE_X11=0
2546 DEFAULT_wxUSE_DFB=0
2547
2548 DEFAULT_DEFAULT_wxUSE_COCOA=0
2549 DEFAULT_DEFAULT_wxUSE_GTK=0
2550 DEFAULT_DEFAULT_wxUSE_MAC=0
2551 DEFAULT_DEFAULT_wxUSE_MGL=0
2552 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2553 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2554 DEFAULT_DEFAULT_wxUSE_MSW=0
2555 DEFAULT_DEFAULT_wxUSE_PM=0
2556 DEFAULT_DEFAULT_wxUSE_X11=0
2557 DEFAULT_DEFAULT_wxUSE_DFB=0
2558
2559 PROGRAM_EXT=
2560 SO_SUFFIX=so
2561 SAMPLES_RPATH_FLAG=
2562 SAMPLES_RPATH_POSTLINK=
2563
2564 DEFAULT_STD_FLAG=yes
2565
2566 case "${host}" in
2567 *-hp-hpux* )
2568 USE_HPUX=1
2569 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2570 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2571 SO_SUFFIX=sl
2572 cat >>confdefs.h <<\_ACEOF
2573 #define __HPUX__ 1
2574 _ACEOF
2575
2576
2577 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2578 ;;
2579 *-*-linux* )
2580 USE_LINUX=1
2581 cat >>confdefs.h <<\_ACEOF
2582 #define __LINUX__ 1
2583 _ACEOF
2584
2585 TMP=`uname -m`
2586 if test "x$TMP" = "xalpha"; then
2587 USE_ALPHA=1
2588 cat >>confdefs.h <<\_ACEOF
2589 #define __ALPHA__ 1
2590 _ACEOF
2591
2592 fi
2593 DEFAULT_DEFAULT_wxUSE_GTK=1
2594 ;;
2595 *-*-gnu* | *-*-k*bsd*-gnu )
2596 USE_GNU=1
2597 TMP=`uname -m`
2598 if test "x$TMP" = "xalpha"; then
2599 USE_ALPHA=1
2600 cat >>confdefs.h <<\_ACEOF
2601 #define __ALPHA__ 1
2602 _ACEOF
2603
2604 fi
2605 DEFAULT_DEFAULT_wxUSE_GTK=1
2606 ;;
2607 *-*-irix5* | *-*-irix6* )
2608 USE_SGI=1
2609 USE_SVR4=1
2610 cat >>confdefs.h <<\_ACEOF
2611 #define __SGI__ 1
2612 _ACEOF
2613
2614 cat >>confdefs.h <<\_ACEOF
2615 #define __SVR4__ 1
2616 _ACEOF
2617
2618 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2619 ;;
2620 *-*-solaris2* )
2621 USE_SUN=1
2622 USE_SOLARIS=1
2623 USE_SVR4=1
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __SUN__ 1
2626 _ACEOF
2627
2628 cat >>confdefs.h <<\_ACEOF
2629 #define __SOLARIS__ 1
2630 _ACEOF
2631
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __SVR4__ 1
2634 _ACEOF
2635
2636 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2637 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2638 ;;
2639 *-*-sunos4* )
2640 USE_SUN=1
2641 USE_SUNOS=1
2642 USE_BSD=1
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __SUN__ 1
2645 _ACEOF
2646
2647 cat >>confdefs.h <<\_ACEOF
2648 #define __SUNOS__ 1
2649 _ACEOF
2650
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __BSD__ 1
2653 _ACEOF
2654
2655 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2656 ;;
2657 *-*-freebsd*)
2658 USE_BSD=1
2659 USE_FREEBSD=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __FREEBSD__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __BSD__ 1
2666 _ACEOF
2667
2668 DEFAULT_DEFAULT_wxUSE_GTK=1
2669 ;;
2670 *-*-openbsd*|*-*-mirbsd*)
2671 USE_BSD=1
2672 USE_OPENBSD=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __OPENBSD__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __BSD__ 1
2679 _ACEOF
2680
2681 DEFAULT_DEFAULT_wxUSE_GTK=1
2682 ;;
2683 *-*-netbsd*)
2684 USE_BSD=1
2685 USE_NETBSD=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __NETBSD__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __BSD__ 1
2692 _ACEOF
2693
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2696
2697 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2698 ;;
2699 *-*-osf* )
2700 USE_ALPHA=1
2701 USE_OSF=1
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __ALPHA__ 1
2704 _ACEOF
2705
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __OSF__ 1
2708 _ACEOF
2709
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2711 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2712 ;;
2713 *-*-dgux5* )
2714 USE_ALPHA=1
2715 USE_SVR4=1
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __ALPHA__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __SVR4__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2725 ;;
2726 *-*-sysv5* )
2727 USE_SYSV=1
2728 USE_SVR4=1
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __SYSV__ 1
2731 _ACEOF
2732
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __SVR4__ 1
2735 _ACEOF
2736
2737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2738 ;;
2739 *-*-aix* )
2740 USE_AIX=1
2741 USE_SYSV=1
2742 USE_SVR4=1
2743 SO_SUFFIX=a
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __AIX__ 1
2746 _ACEOF
2747
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __SYSV__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __SVR4__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2757 ;;
2758
2759 *-*-*UnixWare*)
2760 USE_SYSV=1
2761 USE_SVR4=1
2762 USE_UNIXWARE=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __UNIXWARE__ 1
2765 _ACEOF
2766
2767 ;;
2768
2769 *-*-cygwin* | *-*-mingw32* )
2770 SO_SUFFIX=dll
2771 PROGRAM_EXT=".exe"
2772 DEFAULT_DEFAULT_wxUSE_MSW=1
2773 ;;
2774
2775 *-pc-msdosdjgpp )
2776 USE_UNIX=0
2777 USE_DOS=1
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __DOS__ 1
2780 _ACEOF
2781
2782 PROGRAM_EXT=".exe"
2783 DEFAULT_DEFAULT_wxUSE_MGL=1
2784 ;;
2785
2786 *-pc-os2_emx | *-pc-os2-emx )
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __EMX__ 1
2789 _ACEOF
2790
2791 USE_OS2=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __OS2__ 1
2794 _ACEOF
2795
2796 PROGRAM_EXT=".exe"
2797 DEFAULT_DEFAULT_wxUSE_PM=1
2798 CXX=gcc
2799 LDFLAGS="$LDFLAGS -Zcrtdll"
2800 ac_executable_extensions=".exe"
2801 export ac_executable_extensions
2802 ac_save_IFS="$IFS"
2803 IFS='\\'
2804 ac_TEMP_PATH=
2805 for ac_dir in $PATH; do
2806 IFS=$ac_save_IFS
2807 if test -z "$ac_TEMP_PATH"; then
2808 ac_TEMP_PATH="$ac_dir"
2809 else
2810 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2811 fi
2812 done
2813 export PATH="$ac_TEMP_PATH"
2814 unset ac_TEMP_PATH
2815 DEFAULT_STD_FLAG=no
2816 ;;
2817
2818 *-*-darwin* )
2819 USE_BSD=1
2820 USE_DARWIN=1
2821 SO_SUFFIX=dylib
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __BSD__ 1
2824 _ACEOF
2825
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __DARWIN__ 1
2828 _ACEOF
2829
2830 cat >>confdefs.h <<\_ACEOF
2831 #define TARGET_CARBON 1
2832 _ACEOF
2833
2834 DEFAULT_DEFAULT_wxUSE_MAC=1
2835 DEFAULT_STD_FLAG=no
2836 ;;
2837 powerpc-apple-macos* )
2838 USE_UNIX=0
2839 ac_cv_c_bigendian=yes
2840 SO_SUFFIX=shlib
2841 DEFAULT_DEFAULT_wxUSE_MAC=1
2842 DEFAULT_STD_FLAG=no
2843 ;;
2844
2845 *-*-beos* )
2846 USE_BEOS=1
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __BEOS__ 1
2849 _ACEOF
2850
2851 ;;
2852
2853 *)
2854 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2855 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2856 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2857 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2858
2859 DEFAULT_DEFAULT_wxUSE_X11=1
2860 DEFAULT_wxUSE_SHARED=no
2861 esac
2862
2863
2864
2865
2866 wx_arg_cache_file="configarg.cache"
2867 echo "loading argument cache $wx_arg_cache_file"
2868 rm -f ${wx_arg_cache_file}.tmp
2869 touch ${wx_arg_cache_file}.tmp
2870 touch ${wx_arg_cache_file}
2871
2872
2873 DEBUG_CONFIGURE=0
2874 if test $DEBUG_CONFIGURE = 1; then
2875 DEFAULT_wxUSE_UNIVERSAL=no
2876 DEFAULT_wxUSE_STL=no
2877
2878 DEFAULT_wxUSE_NANOX=no
2879
2880 DEFAULT_wxUSE_THREADS=yes
2881
2882 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2883 DEFAULT_wxUSE_OPTIMISE=no
2884 DEFAULT_wxUSE_PROFILE=no
2885 DEFAULT_wxUSE_NO_DEPS=no
2886 DEFAULT_wxUSE_VARARG_MACROS=no
2887 DEFAULT_wxUSE_NO_RTTI=no
2888 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2889 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2890 DEFAULT_wxUSE_RPATH=yes
2891 DEFAULT_wxUSE_PERMISSIVE=no
2892 DEFAULT_wxUSE_DEBUG_FLAG=yes
2893 DEFAULT_wxUSE_DEBUG_INFO=yes
2894 DEFAULT_wxUSE_DEBUG_GDB=yes
2895 DEFAULT_wxUSE_MEM_TRACING=no
2896 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2897 DEFAULT_wxUSE_DMALLOC=no
2898 DEFAULT_wxUSE_APPLE_IEEE=no
2899
2900 DEFAULT_wxUSE_EXCEPTIONS=no
2901 DEFAULT_wxUSE_LOG=yes
2902 DEFAULT_wxUSE_LOGWINDOW=no
2903 DEFAULT_wxUSE_LOGGUI=no
2904 DEFAULT_wxUSE_LOGDIALOG=no
2905
2906 DEFAULT_wxUSE_GUI=yes
2907 DEFAULT_wxUSE_CONTROLS=no
2908
2909 DEFAULT_wxUSE_REGEX=no
2910 DEFAULT_wxUSE_XML=no
2911 DEFAULT_wxUSE_EXPAT=no
2912 DEFAULT_wxUSE_ZLIB=no
2913 DEFAULT_wxUSE_LIBPNG=no
2914 DEFAULT_wxUSE_LIBJPEG=no
2915 DEFAULT_wxUSE_LIBTIFF=no
2916 DEFAULT_wxUSE_LIBXPM=no
2917 DEFAULT_wxUSE_LIBMSPACK=no
2918 DEFAULT_wxUSE_LIBSDL=no
2919 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2920 DEFAULT_wxUSE_LIBGNOMEVFS=no
2921 DEFAULT_wxUSE_LIBHILDON=no
2922 DEFAULT_wxUSE_ODBC=no
2923 DEFAULT_wxUSE_OPENGL=no
2924
2925 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2926 DEFAULT_wxUSE_STACKWALKER=no
2927 DEFAULT_wxUSE_DEBUGREPORT=no
2928 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2929 DEFAULT_wxUSE_STD_IOSTREAM=no
2930 DEFAULT_wxUSE_STD_STRING=no
2931 DEFAULT_wxUSE_CMDLINE_PARSER=no
2932 DEFAULT_wxUSE_DATETIME=no
2933 DEFAULT_wxUSE_TIMER=no
2934 DEFAULT_wxUSE_STOPWATCH=no
2935 DEFAULT_wxUSE_FILE=no
2936 DEFAULT_wxUSE_FFILE=no
2937 DEFAULT_wxUSE_STDPATHS=no
2938 DEFAULT_wxUSE_TEXTBUFFER=no
2939 DEFAULT_wxUSE_TEXTFILE=no
2940 DEFAULT_wxUSE_SOUND=no
2941 DEFAULT_wxUSE_MEDIACTRL=no
2942 DEFAULT_wxUSE_GSTREAMER8=no
2943 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2944 DEFAULT_wxUSE_INTL=no
2945 DEFAULT_wxUSE_CONFIG=no
2946 DEFAULT_wxUSE_FONTMAP=no
2947 DEFAULT_wxUSE_STREAMS=no
2948 DEFAULT_wxUSE_SOCKETS=no
2949 DEFAULT_wxUSE_OLE=no
2950 DEFAULT_wxUSE_DATAOBJ=no
2951 DEFAULT_wxUSE_DIALUP_MANAGER=no
2952 DEFAULT_wxUSE_JOYSTICK=no
2953 DEFAULT_wxUSE_DYNLIB_CLASS=no
2954 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2955 DEFAULT_wxUSE_LONGLONG=no
2956 DEFAULT_wxUSE_GEOMETRY=no
2957
2958 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2959 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2960 DEFAULT_wxUSE_POSTSCRIPT=no
2961
2962 DEFAULT_wxUSE_CLIPBOARD=no
2963 DEFAULT_wxUSE_TOOLTIPS=no
2964 DEFAULT_wxUSE_DRAG_AND_DROP=no
2965 DEFAULT_wxUSE_DRAGIMAGE=no
2966 DEFAULT_wxUSE_SPLINES=no
2967 DEFAULT_wxUSE_MOUSEWHEEL=no
2968
2969 DEFAULT_wxUSE_MDI=no
2970 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2971 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2972 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2973
2974 DEFAULT_wxUSE_RESOURCES=no
2975 DEFAULT_wxUSE_CONSTRAINTS=no
2976 DEFAULT_wxUSE_IPC=no
2977 DEFAULT_wxUSE_HELP=no
2978 DEFAULT_wxUSE_MS_HTML_HELP=no
2979 DEFAULT_wxUSE_WXHTML_HELP=no
2980 DEFAULT_wxUSE_TREELAYOUT=no
2981 DEFAULT_wxUSE_METAFILE=no
2982 DEFAULT_wxUSE_MIMETYPE=no
2983 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2984 DEFAULT_wxUSE_PROTOCOL=no
2985 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2986 DEFAULT_wxUSE_PROTOCOL_FTP=no
2987 DEFAULT_wxUSE_PROTOCOL_FILE=no
2988 DEFAULT_wxUSE_URL=no
2989 DEFAULT_wxUSE_VARIANT=no
2990
2991 DEFAULT_wxUSE_ABOUTDLG=no
2992 DEFAULT_wxUSE_COMMONDLGS=no
2993 DEFAULT_wxUSE_CHOICEDLG=no
2994 DEFAULT_wxUSE_COLOURDLG=no
2995 DEFAULT_wxUSE_DIRDLG=no
2996 DEFAULT_wxUSE_FILEDLG=no
2997 DEFAULT_wxUSE_FINDREPLDLG=no
2998 DEFAULT_wxUSE_FONTDLG=no
2999 DEFAULT_wxUSE_MSGDLG=no
3000 DEFAULT_wxUSE_NUMBERDLG=no
3001 DEFAULT_wxUSE_TEXTDLG=no
3002 DEFAULT_wxUSE_SPLASH=no
3003 DEFAULT_wxUSE_STARTUP_TIPS=no
3004 DEFAULT_wxUSE_PROGRESSDLG=no
3005 DEFAULT_wxUSE_WIZARDDLG=no
3006
3007 DEFAULT_wxUSE_MENUS=no
3008 DEFAULT_wxUSE_MINIFRAME=no
3009 DEFAULT_wxUSE_HTML=no
3010 DEFAULT_wxUSE_RICHTEXT=no
3011 DEFAULT_wxUSE_XRC=no
3012 DEFAULT_wxUSE_AUI=no
3013 DEFAULT_wxUSE_WEBKIT=no
3014 DEFAULT_wxUSE_FILESYSTEM=no
3015 DEFAULT_wxUSE_FS_INET=no
3016 DEFAULT_wxUSE_FS_ZIP=no
3017 DEFAULT_wxUSE_FS_ARCHIVE=no
3018 DEFAULT_wxUSE_BUSYINFO=no
3019 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3020 DEFAULT_wxUSE_ZIPSTREAM=no
3021 DEFAULT_wxUSE_TARSTREAM=no
3022 DEFAULT_wxUSE_VALIDATORS=no
3023
3024 DEFAULT_wxUSE_ACCEL=no
3025 DEFAULT_wxUSE_ANIMATIONCTRL=no
3026 DEFAULT_wxUSE_BUTTON=no
3027 DEFAULT_wxUSE_BMPBUTTON=no
3028 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3029 DEFAULT_wxUSE_CALCTRL=no
3030 DEFAULT_wxUSE_CARET=no
3031 DEFAULT_wxUSE_CHECKBOX=no
3032 DEFAULT_wxUSE_CHECKLST=no
3033 DEFAULT_wxUSE_CHOICE=no
3034 DEFAULT_wxUSE_CHOICEBOOK=no
3035 DEFAULT_wxUSE_COLLPANE=no
3036 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3037 DEFAULT_wxUSE_COMBOBOX=no
3038 DEFAULT_wxUSE_COMBOCTRL=no
3039 DEFAULT_wxUSE_DATEPICKCTRL=no
3040 DEFAULT_wxUSE_DISPLAY=no
3041 DEFAULT_wxUSE_DETECT_SM=no
3042 DEFAULT_wxUSE_DIRPICKERCTRL=no
3043 DEFAULT_wxUSE_FILEPICKERCTRL=no
3044 DEFAULT_wxUSE_FONTPICKERCTRL=no
3045 DEFAULT_wxUSE_GAUGE=no
3046 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3047 DEFAULT_wxUSE_GRID=no
3048 DEFAULT_wxUSE_HYPERLINKCTRL=no
3049 DEFAULT_wxUSE_DATAVIEWCTRL=no
3050 DEFAULT_wxUSE_IMAGLIST=no
3051 DEFAULT_wxUSE_LISTBOOK=no
3052 DEFAULT_wxUSE_LISTBOX=no
3053 DEFAULT_wxUSE_LISTCTRL=no
3054 DEFAULT_wxUSE_NOTEBOOK=no
3055 DEFAULT_wxUSE_ODCOMBOBOX=no
3056 DEFAULT_wxUSE_RADIOBOX=no
3057 DEFAULT_wxUSE_RADIOBTN=no
3058 DEFAULT_wxUSE_SASH=no
3059 DEFAULT_wxUSE_SCROLLBAR=no
3060 DEFAULT_wxUSE_SEARCHCTRL=no
3061 DEFAULT_wxUSE_SLIDER=no
3062 DEFAULT_wxUSE_SPINBTN=no
3063 DEFAULT_wxUSE_SPINCTRL=no
3064 DEFAULT_wxUSE_SPLITTER=no
3065 DEFAULT_wxUSE_STATBMP=no
3066 DEFAULT_wxUSE_STATBOX=no
3067 DEFAULT_wxUSE_STATLINE=no
3068 DEFAULT_wxUSE_STATTEXT=no
3069 DEFAULT_wxUSE_STATUSBAR=yes
3070 DEFAULT_wxUSE_TAB_DIALOG=no
3071 DEFAULT_wxUSE_TEXTCTRL=no
3072 DEFAULT_wxUSE_TOGGLEBTN=no
3073 DEFAULT_wxUSE_TOOLBAR=no
3074 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3075 DEFAULT_wxUSE_TREEBOOK=no
3076 DEFAULT_wxUSE_TOOLBOOK=no
3077 DEFAULT_wxUSE_TREECTRL=no
3078 DEFAULT_wxUSE_POPUPWIN=no
3079 DEFAULT_wxUSE_TIPWINDOW=no
3080
3081 DEFAULT_wxUSE_UNICODE=no
3082 DEFAULT_wxUSE_UNICODE_MSLU=no
3083 DEFAULT_wxUSE_WCSRTOMBS=no
3084
3085 DEFAULT_wxUSE_PALETTE=no
3086 DEFAULT_wxUSE_IMAGE=no
3087 DEFAULT_wxUSE_GIF=no
3088 DEFAULT_wxUSE_PCX=no
3089 DEFAULT_wxUSE_TGA=no
3090 DEFAULT_wxUSE_PNM=no
3091 DEFAULT_wxUSE_IFF=no
3092 DEFAULT_wxUSE_XPM=no
3093 DEFAULT_wxUSE_ICO_CUR=no
3094 DEFAULT_wxUSE_ACCESSIBILITY=no
3095
3096 DEFAULT_wxUSE_MONOLITHIC=no
3097 DEFAULT_wxUSE_PLUGINS=no
3098 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3099 else
3100 DEFAULT_wxUSE_UNIVERSAL=no
3101 DEFAULT_wxUSE_STL=no
3102
3103 DEFAULT_wxUSE_NANOX=no
3104
3105 DEFAULT_wxUSE_THREADS=yes
3106
3107 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3108 DEFAULT_wxUSE_OPTIMISE=yes
3109 DEFAULT_wxUSE_PROFILE=no
3110 DEFAULT_wxUSE_NO_DEPS=no
3111 DEFAULT_wxUSE_VARARG_MACROS=yes
3112 DEFAULT_wxUSE_NO_RTTI=no
3113 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3114 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3115 DEFAULT_wxUSE_RPATH=yes
3116 DEFAULT_wxUSE_PERMISSIVE=no
3117 DEFAULT_wxUSE_DEBUG_FLAG=no
3118 DEFAULT_wxUSE_DEBUG_INFO=no
3119 DEFAULT_wxUSE_DEBUG_GDB=no
3120 DEFAULT_wxUSE_MEM_TRACING=no
3121 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3122 DEFAULT_wxUSE_DMALLOC=no
3123 DEFAULT_wxUSE_APPLE_IEEE=yes
3124
3125 DEFAULT_wxUSE_EXCEPTIONS=yes
3126 DEFAULT_wxUSE_LOG=yes
3127 DEFAULT_wxUSE_LOGWINDOW=yes
3128 DEFAULT_wxUSE_LOGGUI=yes
3129 DEFAULT_wxUSE_LOGDIALOG=yes
3130
3131 DEFAULT_wxUSE_GUI=yes
3132
3133 DEFAULT_wxUSE_REGEX=yes
3134 DEFAULT_wxUSE_XML=yes
3135 DEFAULT_wxUSE_EXPAT=yes
3136 DEFAULT_wxUSE_ZLIB=yes
3137 DEFAULT_wxUSE_LIBPNG=yes
3138 DEFAULT_wxUSE_LIBJPEG=yes
3139 DEFAULT_wxUSE_LIBTIFF=yes
3140 DEFAULT_wxUSE_LIBXPM=yes
3141 DEFAULT_wxUSE_LIBMSPACK=yes
3142 DEFAULT_wxUSE_LIBSDL=no
3143 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3144 DEFAULT_wxUSE_LIBGNOMEVFS=no
3145 DEFAULT_wxUSE_LIBHILDON=no
3146 DEFAULT_wxUSE_ODBC=no
3147 DEFAULT_wxUSE_OPENGL=no
3148
3149 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3150 DEFAULT_wxUSE_STACKWALKER=yes
3151 DEFAULT_wxUSE_DEBUGREPORT=yes
3152 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3153 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3154 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3155 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3156 DEFAULT_wxUSE_DATETIME=yes
3157 DEFAULT_wxUSE_TIMER=yes
3158 DEFAULT_wxUSE_STOPWATCH=yes
3159 DEFAULT_wxUSE_FILE=yes
3160 DEFAULT_wxUSE_FFILE=yes
3161 DEFAULT_wxUSE_STDPATHS=yes
3162 DEFAULT_wxUSE_TEXTBUFFER=yes
3163 DEFAULT_wxUSE_TEXTFILE=yes
3164 DEFAULT_wxUSE_SOUND=yes
3165 DEFAULT_wxUSE_MEDIACTRL=no
3166 DEFAULT_wxUSE_GSTREAMER8=no
3167 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3168 DEFAULT_wxUSE_INTL=yes
3169 DEFAULT_wxUSE_CONFIG=yes
3170 DEFAULT_wxUSE_FONTMAP=yes
3171 DEFAULT_wxUSE_STREAMS=yes
3172 DEFAULT_wxUSE_SOCKETS=yes
3173 DEFAULT_wxUSE_OLE=yes
3174 DEFAULT_wxUSE_DATAOBJ=yes
3175 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3176 DEFAULT_wxUSE_JOYSTICK=yes
3177 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3178 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3179 DEFAULT_wxUSE_LONGLONG=yes
3180 DEFAULT_wxUSE_GEOMETRY=yes
3181
3182 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3183 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3184 DEFAULT_wxUSE_POSTSCRIPT=yes
3185
3186 DEFAULT_wxUSE_CLIPBOARD=yes
3187 DEFAULT_wxUSE_TOOLTIPS=yes
3188 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3189 DEFAULT_wxUSE_DRAGIMAGE=yes
3190 DEFAULT_wxUSE_SPLINES=yes
3191 DEFAULT_wxUSE_MOUSEWHEEL=yes
3192
3193 DEFAULT_wxUSE_MDI=yes
3194 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3195 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3196 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3197
3198 DEFAULT_wxUSE_RESOURCES=no
3199 DEFAULT_wxUSE_CONSTRAINTS=yes
3200 DEFAULT_wxUSE_IPC=yes
3201 DEFAULT_wxUSE_HELP=yes
3202 DEFAULT_wxUSE_MS_HTML_HELP=yes
3203 DEFAULT_wxUSE_WXHTML_HELP=yes
3204 DEFAULT_wxUSE_TREELAYOUT=yes
3205 DEFAULT_wxUSE_METAFILE=yes
3206 DEFAULT_wxUSE_MIMETYPE=yes
3207 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3208 DEFAULT_wxUSE_PROTOCOL=yes
3209 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3210 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3211 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3212 DEFAULT_wxUSE_URL=yes
3213 DEFAULT_wxUSE_VARIANT=yes
3214
3215 DEFAULT_wxUSE_ABOUTDLG=yes
3216 DEFAULT_wxUSE_COMMONDLGS=yes
3217 DEFAULT_wxUSE_CHOICEDLG=yes
3218 DEFAULT_wxUSE_COLOURDLG=yes
3219 DEFAULT_wxUSE_DIRDLG=yes
3220 DEFAULT_wxUSE_FILEDLG=yes
3221 DEFAULT_wxUSE_FINDREPLDLG=yes
3222 DEFAULT_wxUSE_FONTDLG=yes
3223 DEFAULT_wxUSE_MSGDLG=yes
3224 DEFAULT_wxUSE_NUMBERDLG=yes
3225 DEFAULT_wxUSE_TEXTDLG=yes
3226 DEFAULT_wxUSE_SPLASH=yes
3227 DEFAULT_wxUSE_STARTUP_TIPS=yes
3228 DEFAULT_wxUSE_PROGRESSDLG=yes
3229 DEFAULT_wxUSE_WIZARDDLG=yes
3230
3231 DEFAULT_wxUSE_MENUS=yes
3232 DEFAULT_wxUSE_MINIFRAME=yes
3233 DEFAULT_wxUSE_HTML=yes
3234 DEFAULT_wxUSE_RICHTEXT=yes
3235 DEFAULT_wxUSE_XRC=yes
3236 DEFAULT_wxUSE_AUI=yes
3237 DEFAULT_wxUSE_WEBKIT=yes
3238 DEFAULT_wxUSE_FILESYSTEM=yes
3239 DEFAULT_wxUSE_FS_INET=yes
3240 DEFAULT_wxUSE_FS_ZIP=yes
3241 DEFAULT_wxUSE_FS_ARCHIVE=yes
3242 DEFAULT_wxUSE_BUSYINFO=yes
3243 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3244 DEFAULT_wxUSE_ZIPSTREAM=yes
3245 DEFAULT_wxUSE_TARSTREAM=yes
3246 DEFAULT_wxUSE_VALIDATORS=yes
3247
3248 DEFAULT_wxUSE_ACCEL=yes
3249 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3250 DEFAULT_wxUSE_BUTTON=yes
3251 DEFAULT_wxUSE_BMPBUTTON=yes
3252 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3253 DEFAULT_wxUSE_CALCTRL=yes
3254 DEFAULT_wxUSE_CARET=yes
3255 DEFAULT_wxUSE_CHECKBOX=yes
3256 DEFAULT_wxUSE_CHECKLST=yes
3257 DEFAULT_wxUSE_CHOICE=yes
3258 DEFAULT_wxUSE_CHOICEBOOK=yes
3259 DEFAULT_wxUSE_COLLPANE=yes
3260 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3261 DEFAULT_wxUSE_COMBOBOX=yes
3262 DEFAULT_wxUSE_COMBOCTRL=yes
3263 DEFAULT_wxUSE_DATEPICKCTRL=yes
3264 DEFAULT_wxUSE_DISPLAY=yes
3265 DEFAULT_wxUSE_DETECT_SM=yes
3266 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3267 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3268 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3269 DEFAULT_wxUSE_GAUGE=yes
3270 DEFAULT_wxUSE_GRID=yes
3271 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3272 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3273 DEFAULT_wxUSE_DATAVIEWCTRL=no
3274 DEFAULT_wxUSE_IMAGLIST=yes
3275 DEFAULT_wxUSE_LISTBOOK=yes
3276 DEFAULT_wxUSE_LISTBOX=yes
3277 DEFAULT_wxUSE_LISTCTRL=yes
3278 DEFAULT_wxUSE_NOTEBOOK=yes
3279 DEFAULT_wxUSE_ODCOMBOBOX=yes
3280 DEFAULT_wxUSE_RADIOBOX=yes
3281 DEFAULT_wxUSE_RADIOBTN=yes
3282 DEFAULT_wxUSE_SASH=yes
3283 DEFAULT_wxUSE_SCROLLBAR=yes
3284 DEFAULT_wxUSE_SEARCHCTRL=yes
3285 DEFAULT_wxUSE_SLIDER=yes
3286 DEFAULT_wxUSE_SPINBTN=yes
3287 DEFAULT_wxUSE_SPINCTRL=yes
3288 DEFAULT_wxUSE_SPLITTER=yes
3289 DEFAULT_wxUSE_STATBMP=yes
3290 DEFAULT_wxUSE_STATBOX=yes
3291 DEFAULT_wxUSE_STATLINE=yes
3292 DEFAULT_wxUSE_STATTEXT=yes
3293 DEFAULT_wxUSE_STATUSBAR=yes
3294 DEFAULT_wxUSE_TAB_DIALOG=no
3295 DEFAULT_wxUSE_TEXTCTRL=yes
3296 DEFAULT_wxUSE_TOGGLEBTN=yes
3297 DEFAULT_wxUSE_TOOLBAR=yes
3298 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3299 DEFAULT_wxUSE_TREEBOOK=yes
3300 DEFAULT_wxUSE_TOOLBOOK=yes
3301 DEFAULT_wxUSE_TREECTRL=yes
3302 DEFAULT_wxUSE_POPUPWIN=yes
3303 DEFAULT_wxUSE_TIPWINDOW=yes
3304
3305 DEFAULT_wxUSE_UNICODE=no
3306 DEFAULT_wxUSE_UNICODE_MSLU=yes
3307 DEFAULT_wxUSE_WCSRTOMBS=no
3308
3309 DEFAULT_wxUSE_PALETTE=yes
3310 DEFAULT_wxUSE_IMAGE=yes
3311 DEFAULT_wxUSE_GIF=yes
3312 DEFAULT_wxUSE_PCX=yes
3313 DEFAULT_wxUSE_TGA=yes
3314 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3315 DEFAULT_wxUSE_XPM=yes
3316 DEFAULT_wxUSE_ICO_CUR=yes
3317 DEFAULT_wxUSE_ACCESSIBILITY=no
3318
3319 DEFAULT_wxUSE_MONOLITHIC=no
3320 DEFAULT_wxUSE_PLUGINS=no
3321 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3322
3323 DEFAULT_wxUSE_GTK2=yes
3324 fi
3325
3326
3327
3328
3329 for toolkit in `echo $ALL_TOOLKITS`; do
3330 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3331 if test "x$LINE" != "x" ; then
3332 has_toolkit_in_cache=1
3333 eval "DEFAULT_$LINE"
3334 eval "CACHE_$toolkit=1"
3335
3336 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3337 if test "x$LINE" != "x" ; then
3338 eval "DEFAULT_$LINE"
3339 fi
3340 fi
3341 done
3342
3343
3344
3345 enablestring=
3346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3347 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3348 no_cache=0
3349 # Check whether --enable-gui was given.
3350 if test "${enable_gui+set}" = set; then
3351 enableval=$enable_gui;
3352 if test "$enableval" = yes; then
3353 ac_cv_use_gui='wxUSE_GUI=yes'
3354 else
3355 ac_cv_use_gui='wxUSE_GUI=no'
3356 fi
3357
3358 else
3359
3360 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3361 if test "x$LINE" != x ; then
3362 eval "DEFAULT_$LINE"
3363 else
3364 no_cache=1
3365 fi
3366
3367 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3368
3369 fi
3370
3371
3372 eval "$ac_cv_use_gui"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3375 fi
3376
3377 if test "$wxUSE_GUI" = yes; then
3378 { echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6; }
3380 else
3381 { echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6; }
3383 fi
3384
3385
3386 enablestring=
3387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3388 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3389 no_cache=0
3390 # Check whether --enable-monolithic was given.
3391 if test "${enable_monolithic+set}" = set; then
3392 enableval=$enable_monolithic;
3393 if test "$enableval" = yes; then
3394 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3395 else
3396 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3397 fi
3398
3399 else
3400
3401 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3404 else
3405 no_cache=1
3406 fi
3407
3408 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3409
3410 fi
3411
3412
3413 eval "$ac_cv_use_monolithic"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3416 fi
3417
3418 if test "$wxUSE_MONOLITHIC" = yes; then
3419 { echo "$as_me:$LINENO: result: yes" >&5
3420 echo "${ECHO_T}yes" >&6; }
3421 else
3422 { echo "$as_me:$LINENO: result: no" >&5
3423 echo "${ECHO_T}no" >&6; }
3424 fi
3425
3426
3427 enablestring=
3428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3429 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3430 no_cache=0
3431 # Check whether --enable-plugins was given.
3432 if test "${enable_plugins+set}" = set; then
3433 enableval=$enable_plugins;
3434 if test "$enableval" = yes; then
3435 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3436 else
3437 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3438 fi
3439
3440 else
3441
3442 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x ; then
3444 eval "DEFAULT_$LINE"
3445 else
3446 no_cache=1
3447 fi
3448
3449 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3450
3451 fi
3452
3453
3454 eval "$ac_cv_use_plugins"
3455 if test "$no_cache" != 1; then
3456 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3457 fi
3458
3459 if test "$wxUSE_PLUGINS" = yes; then
3460 { echo "$as_me:$LINENO: result: yes" >&5
3461 echo "${ECHO_T}yes" >&6; }
3462 else
3463 { echo "$as_me:$LINENO: result: no" >&5
3464 echo "${ECHO_T}no" >&6; }
3465 fi
3466
3467
3468 withstring=without
3469 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3470 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3471 no_cache=0
3472
3473 # Check whether --with-subdirs was given.
3474 if test "${with_subdirs+set}" = set; then
3475 withval=$with_subdirs;
3476 if test "$withval" = yes; then
3477 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3478 else
3479 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3480 fi
3481
3482 else
3483
3484 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3487 else
3488 no_cache=1
3489 fi
3490
3491 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3492
3493 fi
3494
3495
3496 eval "$ac_cv_use_subdirs"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3499 fi
3500
3501 if test "$wxWITH_SUBDIRS" = yes; then
3502 { echo "$as_me:$LINENO: result: yes" >&5
3503 echo "${ECHO_T}yes" >&6; }
3504 else
3505 { echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6; }
3507 fi
3508
3509
3510 if test "$wxUSE_GUI" = "yes"; then
3511
3512
3513 enablestring=
3514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3516 no_cache=0
3517 # Check whether --enable-universal was given.
3518 if test "${enable_universal+set}" = set; then
3519 enableval=$enable_universal;
3520 if test "$enableval" = yes; then
3521 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3522 else
3523 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3524 fi
3525
3526 else
3527
3528 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3531 else
3532 no_cache=1
3533 fi
3534
3535 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3536
3537 fi
3538
3539
3540 eval "$ac_cv_use_universal"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_UNIVERSAL" = yes; then
3546 { echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6; }
3548 else
3549 { echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6; }
3551 fi
3552
3553
3554 # Check whether --with-gtk was given.
3555 if test "${with_gtk+set}" = set; then
3556 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3557 fi
3558
3559
3560 # Check whether --with-motif was given.
3561 if test "${with_motif+set}" = set; then
3562 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3563 fi
3564
3565
3566 # Check whether --with-mac was given.
3567 if test "${with_mac+set}" = set; then
3568 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3569 fi
3570
3571
3572 # Check whether --with-cocoa was given.
3573 if test "${with_cocoa+set}" = set; then
3574 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3575 fi
3576
3577
3578 # Check whether --with-wine was given.
3579 if test "${with_wine+set}" = set; then
3580 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3581 fi
3582
3583
3584 # Check whether --with-msw was given.
3585 if test "${with_msw+set}" = set; then
3586 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3587 fi
3588
3589
3590 # Check whether --with-pm was given.
3591 if test "${with_pm+set}" = set; then
3592 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3593 fi
3594
3595
3596 # Check whether --with-mgl was given.
3597 if test "${with_mgl+set}" = set; then
3598 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3599 fi
3600
3601
3602 # Check whether --with-directfb was given.
3603 if test "${with_directfb+set}" = set; then
3604 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3605 fi
3606
3607
3608 # Check whether --with-microwin was given.
3609 if test "${with_microwin+set}" = set; then
3610 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3611 fi
3612
3613
3614 # Check whether --with-x11 was given.
3615 if test "${with_x11+set}" = set; then
3616 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3617 fi
3618
3619
3620 enablestring=
3621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3622 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3623 no_cache=0
3624 # Check whether --enable-nanox was given.
3625 if test "${enable_nanox+set}" = set; then
3626 enableval=$enable_nanox;
3627 if test "$enableval" = yes; then
3628 ac_cv_use_nanox='wxUSE_NANOX=yes'
3629 else
3630 ac_cv_use_nanox='wxUSE_NANOX=no'
3631 fi
3632
3633 else
3634
3635 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x ; then
3637 eval "DEFAULT_$LINE"
3638 else
3639 no_cache=1
3640 fi
3641
3642 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3643
3644 fi
3645
3646
3647 eval "$ac_cv_use_nanox"
3648 if test "$no_cache" != 1; then
3649 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3650 fi
3651
3652 if test "$wxUSE_NANOX" = yes; then
3653 { echo "$as_me:$LINENO: result: yes" >&5
3654 echo "${ECHO_T}yes" >&6; }
3655 else
3656 { echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6; }
3658 fi
3659
3660
3661 # Check whether --enable-gtk2 was given.
3662 if test "${enable_gtk2+set}" = set; then
3663 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3664 fi
3665
3666
3667 enablestring=
3668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3669 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3670 no_cache=0
3671 # Check whether --enable-gpe was given.
3672 if test "${enable_gpe+set}" = set; then
3673 enableval=$enable_gpe;
3674 if test "$enableval" = yes; then
3675 ac_cv_use_gpe='wxUSE_GPE=yes'
3676 else
3677 ac_cv_use_gpe='wxUSE_GPE=no'
3678 fi
3679
3680 else
3681
3682 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x ; then
3684 eval "DEFAULT_$LINE"
3685 else
3686 no_cache=1
3687 fi
3688
3689 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3690
3691 fi
3692
3693
3694 eval "$ac_cv_use_gpe"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3697 fi
3698
3699 if test "$wxUSE_GPE" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3702 else
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3705 fi
3706
3707
3708
3709 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3710 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3711 no_cache=0
3712
3713 # Check whether --with-libpng was given.
3714 if test "${with_libpng+set}" = set; then
3715 withval=$with_libpng;
3716 if test "$withval" = yes; then
3717 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3718 elif test "$withval" = no; then
3719 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3720 elif test "$withval" = sys; then
3721 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3722 elif test "$withval" = builtin; then
3723 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730 else
3731
3732 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x ; then
3734 eval "DEFAULT_$LINE"
3735 else
3736 no_cache=1
3737 fi
3738
3739 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3740
3741 fi
3742
3743
3744 eval "$ac_cv_use_libpng"
3745 if test "$no_cache" != 1; then
3746 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3747 fi
3748
3749 if test "$wxUSE_LIBPNG" = yes; then
3750 { echo "$as_me:$LINENO: result: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBPNG" = no; then
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3755 elif test "$wxUSE_LIBPNG" = sys; then
3756 { echo "$as_me:$LINENO: result: system version" >&5
3757 echo "${ECHO_T}system version" >&6; }
3758 elif test "$wxUSE_LIBPNG" = builtin; then
3759 { echo "$as_me:$LINENO: result: builtin version" >&5
3760 echo "${ECHO_T}builtin version" >&6; }
3761 else
3762 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3763 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3765 fi
3766
3767
3768 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3769 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3770 no_cache=0
3771
3772 # Check whether --with-libjpeg was given.
3773 if test "${with_libjpeg+set}" = set; then
3774 withval=$with_libjpeg;
3775 if test "$withval" = yes; then
3776 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3777 elif test "$withval" = no; then
3778 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3779 elif test "$withval" = sys; then
3780 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3781 elif test "$withval" = builtin; then
3782 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789 else
3790
3791 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x ; then
3793 eval "DEFAULT_$LINE"
3794 else
3795 no_cache=1
3796 fi
3797
3798 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3799
3800 fi
3801
3802
3803 eval "$ac_cv_use_libjpeg"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3806 fi
3807
3808 if test "$wxUSE_LIBJPEG" = yes; then
3809 { echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6; }
3811 elif test "$wxUSE_LIBJPEG" = no; then
3812 { echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6; }
3814 elif test "$wxUSE_LIBJPEG" = sys; then
3815 { echo "$as_me:$LINENO: result: system version" >&5
3816 echo "${ECHO_T}system version" >&6; }
3817 elif test "$wxUSE_LIBJPEG" = builtin; then
3818 { echo "$as_me:$LINENO: result: builtin version" >&5
3819 echo "${ECHO_T}builtin version" >&6; }
3820 else
3821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3822 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3823 { (exit 1); exit 1; }; }
3824 fi
3825
3826
3827 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3828 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3829 no_cache=0
3830
3831 # Check whether --with-libtiff was given.
3832 if test "${with_libtiff+set}" = set; then
3833 withval=$with_libtiff;
3834 if test "$withval" = yes; then
3835 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3836 elif test "$withval" = no; then
3837 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3838 elif test "$withval" = sys; then
3839 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3840 elif test "$withval" = builtin; then
3841 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3842 else
3843 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3844 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3845 { (exit 1); exit 1; }; }
3846 fi
3847
3848 else
3849
3850 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3853 else
3854 no_cache=1
3855 fi
3856
3857 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3858
3859 fi
3860
3861
3862 eval "$ac_cv_use_libtiff"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3865 fi
3866
3867 if test "$wxUSE_LIBTIFF" = yes; then
3868 { echo "$as_me:$LINENO: result: yes" >&5
3869 echo "${ECHO_T}yes" >&6; }
3870 elif test "$wxUSE_LIBTIFF" = no; then
3871 { echo "$as_me:$LINENO: result: no" >&5
3872 echo "${ECHO_T}no" >&6; }
3873 elif test "$wxUSE_LIBTIFF" = sys; then
3874 { echo "$as_me:$LINENO: result: system version" >&5
3875 echo "${ECHO_T}system version" >&6; }
3876 elif test "$wxUSE_LIBTIFF" = builtin; then
3877 { echo "$as_me:$LINENO: result: builtin version" >&5
3878 echo "${ECHO_T}builtin version" >&6; }
3879 else
3880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3881 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3882 { (exit 1); exit 1; }; }
3883 fi
3884
3885
3886 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3887 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3888 no_cache=0
3889
3890 # Check whether --with-libxpm was given.
3891 if test "${with_libxpm+set}" = set; then
3892 withval=$with_libxpm;
3893 if test "$withval" = yes; then
3894 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3895 elif test "$withval" = no; then
3896 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3897 elif test "$withval" = sys; then
3898 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3899 elif test "$withval" = builtin; then
3900 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3901 else
3902 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3903 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3904 { (exit 1); exit 1; }; }
3905 fi
3906
3907 else
3908
3909 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3910 if test "x$LINE" != x ; then
3911 eval "DEFAULT_$LINE"
3912 else
3913 no_cache=1
3914 fi
3915
3916 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3917
3918 fi
3919
3920
3921 eval "$ac_cv_use_libxpm"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3924 fi
3925
3926 if test "$wxUSE_LIBXPM" = yes; then
3927 { echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6; }
3929 elif test "$wxUSE_LIBXPM" = no; then
3930 { echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6; }
3932 elif test "$wxUSE_LIBXPM" = sys; then
3933 { echo "$as_me:$LINENO: result: system version" >&5
3934 echo "${ECHO_T}system version" >&6; }
3935 elif test "$wxUSE_LIBXPM" = builtin; then
3936 { echo "$as_me:$LINENO: result: builtin version" >&5
3937 echo "${ECHO_T}builtin version" >&6; }
3938 else
3939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3940 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3941 { (exit 1); exit 1; }; }
3942 fi
3943
3944
3945 withstring=
3946 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3947 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3948 no_cache=0
3949
3950 # Check whether --with-libmspack was given.
3951 if test "${with_libmspack+set}" = set; then
3952 withval=$with_libmspack;
3953 if test "$withval" = yes; then
3954 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3955 else
3956 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3957 fi
3958
3959 else
3960
3961 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x ; then
3963 eval "DEFAULT_$LINE"
3964 else
3965 no_cache=1
3966 fi
3967
3968 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3969
3970 fi
3971
3972
3973 eval "$ac_cv_use_libmspack"
3974 if test "$no_cache" != 1; then
3975 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3976 fi
3977
3978 if test "$wxUSE_LIBMSPACK" = yes; then
3979 { echo "$as_me:$LINENO: result: yes" >&5
3980 echo "${ECHO_T}yes" >&6; }
3981 else
3982 { echo "$as_me:$LINENO: result: no" >&5
3983 echo "${ECHO_T}no" >&6; }
3984 fi
3985
3986
3987 withstring=
3988 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3989 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3990 no_cache=0
3991
3992 # Check whether --with-sdl was given.
3993 if test "${with_sdl+set}" = set; then
3994 withval=$with_sdl;
3995 if test "$withval" = yes; then
3996 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3997 else
3998 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3999 fi
4000
4001 else
4002
4003 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x ; then
4005 eval "DEFAULT_$LINE"
4006 else
4007 no_cache=1
4008 fi
4009
4010 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4011
4012 fi
4013
4014
4015 eval "$ac_cv_use_sdl"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4018 fi
4019
4020 if test "$wxUSE_LIBSDL" = yes; then
4021 { echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6; }
4023 else
4024 { echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6; }
4026 fi
4027
4028
4029 withstring=
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4032 no_cache=0
4033
4034 # Check whether --with-gnomeprint was given.
4035 if test "${with_gnomeprint+set}" = set; then
4036 withval=$with_gnomeprint;
4037 if test "$withval" = yes; then
4038 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4039 else
4040 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4041 fi
4042
4043 else
4044
4045 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 else
4049 no_cache=1
4050 fi
4051
4052 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4053
4054 fi
4055
4056
4057 eval "$ac_cv_use_gnomeprint"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4060 fi
4061
4062 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4063 { echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6; }
4065 else
4066 { echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6; }
4068 fi
4069
4070
4071 withstring=
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4074 no_cache=0
4075
4076 # Check whether --with-gnomevfs was given.
4077 if test "${with_gnomevfs+set}" = set; then
4078 withval=$with_gnomevfs;
4079 if test "$withval" = yes; then
4080 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4081 else
4082 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4083 fi
4084
4085 else
4086
4087 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x ; then
4089 eval "DEFAULT_$LINE"
4090 else
4091 no_cache=1
4092 fi
4093
4094 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4095
4096 fi
4097
4098
4099 eval "$ac_cv_use_gnomevfs"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4102 fi
4103
4104 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4105 { echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6; }
4107 else
4108 { echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6; }
4110 fi
4111
4112
4113 withstring=
4114 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4115 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4116 no_cache=0
4117
4118 # Check whether --with-hildon was given.
4119 if test "${with_hildon+set}" = set; then
4120 withval=$with_hildon;
4121 if test "$withval" = yes; then
4122 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4123 else
4124 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4137
4138 fi
4139
4140
4141 eval "$ac_cv_use_hildon"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$wxUSE_LIBHILDON" = yes; then
4147 { echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6; }
4149 else
4150 { echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6; }
4152 fi
4153
4154
4155 withstring=
4156 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4157 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4158 no_cache=0
4159
4160 # Check whether --with-opengl was given.
4161 if test "${with_opengl+set}" = set; then
4162 withval=$with_opengl;
4163 if test "$withval" = yes; then
4164 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4165 else
4166 ac_cv_use_opengl='wxUSE_OPENGL=no'
4167 fi
4168
4169 else
4170
4171 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4174 else
4175 no_cache=1
4176 fi
4177
4178 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4179
4180 fi
4181
4182
4183 eval "$ac_cv_use_opengl"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4186 fi
4187
4188 if test "$wxUSE_OPENGL" = yes; then
4189 { echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6; }
4191 else
4192 { echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6; }
4194 fi
4195
4196
4197 if test "$wxUSE_UNIVERSAL" = "yes"; then
4198
4199 # Check whether --with-themes was given.
4200 if test "${with_themes+set}" = set; then
4201 withval=$with_themes; wxUNIV_THEMES="$withval"
4202 fi
4203
4204 fi
4205
4206 fi
4207
4208
4209 withstring=
4210 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4211 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4212 no_cache=0
4213
4214 # Check whether --with-dmalloc was given.
4215 if test "${with_dmalloc+set}" = set; then
4216 withval=$with_dmalloc;
4217 if test "$withval" = yes; then
4218 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4219 else
4220 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4221 fi
4222
4223 else
4224
4225 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4226 if test "x$LINE" != x ; then
4227 eval "DEFAULT_$LINE"
4228 else
4229 no_cache=1
4230 fi
4231
4232 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4233
4234 fi
4235
4236
4237 eval "$ac_cv_use_dmalloc"
4238 if test "$no_cache" != 1; then
4239 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4240 fi
4241
4242 if test "$wxUSE_DMALLOC" = yes; then
4243 { echo "$as_me:$LINENO: result: yes" >&5
4244 echo "${ECHO_T}yes" >&6; }
4245 else
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4248 fi
4249
4250
4251 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4252 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4253 no_cache=0
4254
4255 # Check whether --with-regex was given.
4256 if test "${with_regex+set}" = set; then
4257 withval=$with_regex;
4258 if test "$withval" = yes; then
4259 ac_cv_use_regex='wxUSE_REGEX=yes'
4260 elif test "$withval" = no; then
4261 ac_cv_use_regex='wxUSE_REGEX=no'
4262 elif test "$withval" = sys; then
4263 ac_cv_use_regex='wxUSE_REGEX=sys'
4264 elif test "$withval" = builtin; then
4265 ac_cv_use_regex='wxUSE_REGEX=builtin'
4266 else
4267 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4268 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4269 { (exit 1); exit 1; }; }
4270 fi
4271
4272 else
4273
4274 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4277 else
4278 no_cache=1
4279 fi
4280
4281 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4282
4283 fi
4284
4285
4286 eval "$ac_cv_use_regex"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4289 fi
4290
4291 if test "$wxUSE_REGEX" = yes; then
4292 { echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6; }
4294 elif test "$wxUSE_REGEX" = no; then
4295 { echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6; }
4297 elif test "$wxUSE_REGEX" = sys; then
4298 { echo "$as_me:$LINENO: result: system version" >&5
4299 echo "${ECHO_T}system version" >&6; }
4300 elif test "$wxUSE_REGEX" = builtin; then
4301 { echo "$as_me:$LINENO: result: builtin version" >&5
4302 echo "${ECHO_T}builtin version" >&6; }
4303 else
4304 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4305 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4307 fi
4308
4309
4310 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4311 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4312 no_cache=0
4313
4314 # Check whether --with-zlib was given.
4315 if test "${with_zlib+set}" = set; then
4316 withval=$with_zlib;
4317 if test "$withval" = yes; then
4318 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4319 elif test "$withval" = no; then
4320 ac_cv_use_zlib='wxUSE_ZLIB=no'
4321 elif test "$withval" = sys; then
4322 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4323 elif test "$withval" = builtin; then
4324 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4325 else
4326 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4327 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4328 { (exit 1); exit 1; }; }
4329 fi
4330
4331 else
4332
4333 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4334 if test "x$LINE" != x ; then
4335 eval "DEFAULT_$LINE"
4336 else
4337 no_cache=1
4338 fi
4339
4340 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4341
4342 fi
4343
4344
4345 eval "$ac_cv_use_zlib"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4348 fi
4349
4350 if test "$wxUSE_ZLIB" = yes; then
4351 { echo "$as_me:$LINENO: result: yes" >&5
4352 echo "${ECHO_T}yes" >&6; }
4353 elif test "$wxUSE_ZLIB" = no; then
4354 { echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6; }
4356 elif test "$wxUSE_ZLIB" = sys; then
4357 { echo "$as_me:$LINENO: result: system version" >&5
4358 echo "${ECHO_T}system version" >&6; }
4359 elif test "$wxUSE_ZLIB" = builtin; then
4360 { echo "$as_me:$LINENO: result: builtin version" >&5
4361 echo "${ECHO_T}builtin version" >&6; }
4362 else
4363 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4364 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4365 { (exit 1); exit 1; }; }
4366 fi
4367
4368
4369 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4370 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4371 no_cache=0
4372
4373 # Check whether --with-odbc was given.
4374 if test "${with_odbc+set}" = set; then
4375 withval=$with_odbc;
4376 if test "$withval" = yes; then
4377 ac_cv_use_odbc='wxUSE_ODBC=yes'
4378 elif test "$withval" = no; then
4379 ac_cv_use_odbc='wxUSE_ODBC=no'
4380 elif test "$withval" = sys; then
4381 ac_cv_use_odbc='wxUSE_ODBC=sys'
4382 elif test "$withval" = builtin; then
4383 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4384 else
4385 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4386 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4387 { (exit 1); exit 1; }; }
4388 fi
4389
4390 else
4391
4392 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4393 if test "x$LINE" != x ; then
4394 eval "DEFAULT_$LINE"
4395 else
4396 no_cache=1
4397 fi
4398
4399 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4400
4401 fi
4402
4403
4404 eval "$ac_cv_use_odbc"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4407 fi
4408
4409 if test "$wxUSE_ODBC" = yes; then
4410 { echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6; }
4412 elif test "$wxUSE_ODBC" = no; then
4413 { echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6; }
4415 elif test "$wxUSE_ODBC" = sys; then
4416 { echo "$as_me:$LINENO: result: system version" >&5
4417 echo "${ECHO_T}system version" >&6; }
4418 elif test "$wxUSE_ODBC" = builtin; then
4419 { echo "$as_me:$LINENO: result: builtin version" >&5
4420 echo "${ECHO_T}builtin version" >&6; }
4421 else
4422 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4423 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4424 { (exit 1); exit 1; }; }
4425 fi
4426
4427
4428 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4429 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4430 no_cache=0
4431
4432 # Check whether --with-expat was given.
4433 if test "${with_expat+set}" = set; then
4434 withval=$with_expat;
4435 if test "$withval" = yes; then
4436 ac_cv_use_expat='wxUSE_EXPAT=yes'
4437 elif test "$withval" = no; then
4438 ac_cv_use_expat='wxUSE_EXPAT=no'
4439 elif test "$withval" = sys; then
4440 ac_cv_use_expat='wxUSE_EXPAT=sys'
4441 elif test "$withval" = builtin; then
4442 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4443 else
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4447 fi
4448
4449 else
4450
4451 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x ; then
4453 eval "DEFAULT_$LINE"
4454 else
4455 no_cache=1
4456 fi
4457
4458 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4459
4460 fi
4461
4462
4463 eval "$ac_cv_use_expat"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4466 fi
4467
4468 if test "$wxUSE_EXPAT" = yes; then
4469 { echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6; }
4471 elif test "$wxUSE_EXPAT" = no; then
4472 { echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6; }
4474 elif test "$wxUSE_EXPAT" = sys; then
4475 { echo "$as_me:$LINENO: result: system version" >&5
4476 echo "${ECHO_T}system version" >&6; }
4477 elif test "$wxUSE_EXPAT" = builtin; then
4478 { echo "$as_me:$LINENO: result: builtin version" >&5
4479 echo "${ECHO_T}builtin version" >&6; }
4480 else
4481 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4482 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4483 { (exit 1); exit 1; }; }
4484 fi
4485
4486
4487
4488
4489 enablestring=
4490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4492 no_cache=0
4493 # Check whether --enable-shared was given.
4494 if test "${enable_shared+set}" = set; then
4495 enableval=$enable_shared;
4496 if test "$enableval" = yes; then
4497 ac_cv_use_shared='wxUSE_SHARED=yes'
4498 else
4499 ac_cv_use_shared='wxUSE_SHARED=no'
4500 fi
4501
4502 else
4503
4504 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4507 else
4508 no_cache=1
4509 fi
4510
4511 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4512
4513 fi
4514
4515
4516 eval "$ac_cv_use_shared"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4519 fi
4520
4521 if test "$wxUSE_SHARED" = yes; then
4522 { echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6; }
4524 else
4525 { echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6; }
4527 fi
4528
4529
4530 enablestring=
4531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4533 no_cache=0
4534 # Check whether --enable-optimise was given.
4535 if test "${enable_optimise+set}" = set; then
4536 enableval=$enable_optimise;
4537 if test "$enableval" = yes; then
4538 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4539 else
4540 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4553
4554 fi
4555
4556
4557 eval "$ac_cv_use_optimise"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4560 fi
4561
4562 if test "$wxUSE_OPTIMISE" = yes; then
4563 { echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6; }
4565 else
4566 { echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6; }
4568 fi
4569
4570
4571 enablestring=
4572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4574 no_cache=0
4575 # Check whether --enable-debug was given.
4576 if test "${enable_debug+set}" = set; then
4577 enableval=$enable_debug;
4578 if test "$enableval" = yes; then
4579 ac_cv_use_debug='wxUSE_DEBUG=yes'
4580 else
4581 ac_cv_use_debug='wxUSE_DEBUG=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4594
4595 fi
4596
4597
4598 eval "$ac_cv_use_debug"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4601 fi
4602
4603 if test "$wxUSE_DEBUG" = yes; then
4604 { echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6; }
4606 else
4607 { echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6; }
4609 fi
4610
4611
4612 enablestring=
4613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4615 no_cache=0
4616 # Check whether --enable-stl was given.
4617 if test "${enable_stl+set}" = set; then
4618 enableval=$enable_stl;
4619 if test "$enableval" = yes; then
4620 ac_cv_use_stl='wxUSE_STL=yes'
4621 else
4622 ac_cv_use_stl='wxUSE_STL=no'
4623 fi
4624
4625 else
4626
4627 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4630 else
4631 no_cache=1
4632 fi
4633
4634 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4635
4636 fi
4637
4638
4639 eval "$ac_cv_use_stl"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4642 fi
4643
4644 if test "$wxUSE_STL" = yes; then
4645 { echo "$as_me:$LINENO: result: yes" >&5
4646 echo "${ECHO_T}yes" >&6; }
4647 else
4648 { echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6; }
4650 fi
4651
4652 if test "$USE_OS2" = "1"; then
4653 DEFAULT_wxUSE_OMF=no
4654
4655 enablestring=
4656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4658 no_cache=0
4659 # Check whether --enable-omf was given.
4660 if test "${enable_omf+set}" = set; then
4661 enableval=$enable_omf;
4662 if test "$enableval" = yes; then
4663 ac_cv_use_omf='wxUSE_OMF=yes'
4664 else
4665 ac_cv_use_omf='wxUSE_OMF=no'
4666 fi
4667
4668 else
4669
4670 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x ; then
4672 eval "DEFAULT_$LINE"
4673 else
4674 no_cache=1
4675 fi
4676
4677 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4678
4679 fi
4680
4681
4682 eval "$ac_cv_use_omf"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4685 fi
4686
4687 if test "$wxUSE_OMF" = yes; then
4688 { echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6; }
4690 else
4691 { echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6; }
4693 fi
4694
4695 fi
4696
4697 if test "$wxUSE_DEBUG" = "yes"; then
4698 DEFAULT_wxUSE_DEBUG_FLAG=yes
4699 DEFAULT_wxUSE_DEBUG_INFO=yes
4700 BUILD=debug
4701 elif test "$wxUSE_DEBUG" = "no"; then
4702 DEFAULT_wxUSE_DEBUG_FLAG=no
4703 DEFAULT_wxUSE_DEBUG_INFO=no
4704 BUILD=release
4705 fi
4706
4707
4708 enablestring=
4709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4711 no_cache=0
4712 # Check whether --enable-debug_flag was given.
4713 if test "${enable_debug_flag+set}" = set; then
4714 enableval=$enable_debug_flag;
4715 if test "$enableval" = yes; then
4716 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4717 else
4718 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4719 fi
4720
4721 else
4722
4723 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4726 else
4727 no_cache=1
4728 fi
4729
4730 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4731
4732 fi
4733
4734
4735 eval "$ac_cv_use_debug_flag"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4738 fi
4739
4740 if test "$wxUSE_DEBUG_FLAG" = yes; then
4741 { echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6; }
4743 else
4744 { echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6; }
4746 fi
4747
4748
4749 enablestring=
4750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4752 no_cache=0
4753 # Check whether --enable-debug_info was given.
4754 if test "${enable_debug_info+set}" = set; then
4755 enableval=$enable_debug_info;
4756 if test "$enableval" = yes; then
4757 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4758 else
4759 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4760 fi
4761
4762 else
4763
4764 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4767 else
4768 no_cache=1
4769 fi
4770
4771 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4772
4773 fi
4774
4775
4776 eval "$ac_cv_use_debug_info"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4779 fi
4780
4781 if test "$wxUSE_DEBUG_INFO" = yes; then
4782 { echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6; }
4784 else
4785 { echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6; }
4787 fi
4788
4789
4790 enablestring=
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4793 no_cache=0
4794 # Check whether --enable-debug_gdb was given.
4795 if test "${enable_debug_gdb+set}" = set; then
4796 enableval=$enable_debug_gdb;
4797 if test "$enableval" = yes; then
4798 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4799 else
4800 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4801 fi
4802
4803 else
4804
4805 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4808 else
4809 no_cache=1
4810 fi
4811
4812 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4813
4814 fi
4815
4816
4817 eval "$ac_cv_use_debug_gdb"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4820 fi
4821
4822 if test "$wxUSE_DEBUG_GDB" = yes; then
4823 { echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6; }
4825 else
4826 { echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6; }
4828 fi
4829
4830
4831 enablestring=
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4834 no_cache=0
4835 # Check whether --enable-debug_cntxt was given.
4836 if test "${enable_debug_cntxt+set}" = set; then
4837 enableval=$enable_debug_cntxt;
4838 if test "$enableval" = yes; then
4839 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4840 else
4841 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4842 fi
4843
4844 else
4845
4846 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4849 else
4850 no_cache=1
4851 fi
4852
4853 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4854
4855 fi
4856
4857
4858 eval "$ac_cv_use_debug_cntxt"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4861 fi
4862
4863 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4864 { echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6; }
4866 else
4867 { echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6; }
4869 fi
4870
4871
4872 enablestring=
4873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4875 no_cache=0
4876 # Check whether --enable-mem_tracing was given.
4877 if test "${enable_mem_tracing+set}" = set; then
4878 enableval=$enable_mem_tracing;
4879 if test "$enableval" = yes; then
4880 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4881 else
4882 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4883 fi
4884
4885 else
4886
4887 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x ; then
4889 eval "DEFAULT_$LINE"
4890 else
4891 no_cache=1
4892 fi
4893
4894 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4895
4896 fi
4897
4898
4899 eval "$ac_cv_use_mem_tracing"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4902 fi
4903
4904 if test "$wxUSE_MEM_TRACING" = yes; then
4905 { echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6; }
4907 else
4908 { echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6; }
4910 fi
4911
4912
4913 enablestring=
4914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4916 no_cache=0
4917 # Check whether --enable-profile was given.
4918 if test "${enable_profile+set}" = set; then
4919 enableval=$enable_profile;
4920 if test "$enableval" = yes; then
4921 ac_cv_use_profile='wxUSE_PROFILE=yes'
4922 else
4923 ac_cv_use_profile='wxUSE_PROFILE=no'
4924 fi
4925
4926 else
4927
4928 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x ; then
4930 eval "DEFAULT_$LINE"
4931 else
4932 no_cache=1
4933 fi
4934
4935 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4936
4937 fi
4938
4939
4940 eval "$ac_cv_use_profile"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4943 fi
4944
4945 if test "$wxUSE_PROFILE" = yes; then
4946 { echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6; }
4948 else
4949 { echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6; }
4951 fi
4952
4953
4954 enablestring=
4955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4957 no_cache=0
4958 # Check whether --enable-no_rtti was given.
4959 if test "${enable_no_rtti+set}" = set; then
4960 enableval=$enable_no_rtti;
4961 if test "$enableval" = yes; then
4962 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4963 else
4964 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4965 fi
4966
4967 else
4968
4969 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x ; then
4971 eval "DEFAULT_$LINE"
4972 else
4973 no_cache=1
4974 fi
4975
4976 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4977
4978 fi
4979
4980
4981 eval "$ac_cv_use_no_rtti"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4984 fi
4985
4986 if test "$wxUSE_NO_RTTI" = yes; then
4987 { echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6; }
4989 else
4990 { echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6; }
4992 fi
4993
4994
4995 enablestring=
4996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4997 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
4998 no_cache=0
4999 # Check whether --enable-no_exceptions was given.
5000 if test "${enable_no_exceptions+set}" = set; then
5001 enableval=$enable_no_exceptions;
5002 if test "$enableval" = yes; then
5003 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5004 else
5005 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5018
5019 fi
5020
5021
5022 eval "$ac_cv_use_no_exceptions"
5023 if test "$no_cache" != 1; then
5024 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5025 fi
5026
5027 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5028 { echo "$as_me:$LINENO: result: yes" >&5
5029 echo "${ECHO_T}yes" >&6; }
5030 else
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5033 fi
5034
5035
5036 enablestring=
5037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5039 no_cache=0
5040 # Check whether --enable-permissive was given.
5041 if test "${enable_permissive+set}" = set; then
5042 enableval=$enable_permissive;
5043 if test "$enableval" = yes; then
5044 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5045 else
5046 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5059
5060 fi
5061
5062
5063 eval "$ac_cv_use_permissive"
5064 if test "$no_cache" != 1; then
5065 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5066 fi
5067
5068 if test "$wxUSE_PERMISSIVE" = yes; then
5069 { echo "$as_me:$LINENO: result: yes" >&5
5070 echo "${ECHO_T}yes" >&6; }
5071 else
5072 { echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6; }
5074 fi
5075
5076
5077 enablestring=
5078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5079 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5080 no_cache=0
5081 # Check whether --enable-no_deps was given.
5082 if test "${enable_no_deps+set}" = set; then
5083 enableval=$enable_no_deps;
5084 if test "$enableval" = yes; then
5085 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5086 else
5087 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5100
5101 fi
5102
5103
5104 eval "$ac_cv_use_no_deps"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5107 fi
5108
5109 if test "$wxUSE_NO_DEPS" = yes; then
5110 { echo "$as_me:$LINENO: result: yes" >&5
5111 echo "${ECHO_T}yes" >&6; }
5112 else
5113 { echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6; }
5115 fi
5116
5117
5118 enablestring=
5119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5121 no_cache=0
5122 # Check whether --enable-vararg_macros was given.
5123 if test "${enable_vararg_macros+set}" = set; then
5124 enableval=$enable_vararg_macros;
5125 if test "$enableval" = yes; then
5126 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5127 else
5128 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5141
5142 fi
5143
5144
5145 eval "$ac_cv_use_vararg_macros"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5148 fi
5149
5150 if test "$wxUSE_VARARG_MACROS" = yes; then
5151 { echo "$as_me:$LINENO: result: yes" >&5
5152 echo "${ECHO_T}yes" >&6; }
5153 else
5154 { echo "$as_me:$LINENO: result: no" >&5
5155 echo "${ECHO_T}no" >&6; }
5156 fi
5157
5158
5159 enablestring=
5160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5161 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5162 no_cache=0
5163 # Check whether --enable-universal_binary was given.
5164 if test "${enable_universal_binary+set}" = set; then
5165 enableval=$enable_universal_binary;
5166 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5167
5168 else
5169
5170 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x ; then
5172 eval "DEFAULT_$LINE"
5173 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5174 else
5175 no_cache=1
5176 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5177 fi
5178
5179 fi
5180
5181
5182 eval "$wx_cv_use_universal_binary"
5183 if test "$no_cache" != 1; then
5184 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5185 fi
5186
5187 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5188 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5189
5190
5191
5192 enablestring=enable
5193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6; }
5195 no_cache=0
5196 # Check whether --enable-compat24 was given.
5197 if test "${enable_compat24+set}" = set; then
5198 enableval=$enable_compat24;
5199 if test "$enableval" = yes; then
5200 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
5201 else
5202 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
5203 fi
5204
5205 else
5206
5207 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5210 else
5211 no_cache=1
5212 fi
5213
5214 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
5215
5216 fi
5217
5218
5219 eval "$ac_cv_use_compat24"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
5222 fi
5223
5224 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
5225 { echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6; }
5227 else
5228 { echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6; }
5230 fi
5231
5232
5233 enablestring=disable
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5236 no_cache=0
5237 # Check whether --enable-compat26 was given.
5238 if test "${enable_compat26+set}" = set; then
5239 enableval=$enable_compat26;
5240 if test "$enableval" = yes; then
5241 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5242 else
5243 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5244 fi
5245
5246 else
5247
5248 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x ; then
5250 eval "DEFAULT_$LINE"
5251 else
5252 no_cache=1
5253 fi
5254
5255 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5256
5257 fi
5258
5259
5260 eval "$ac_cv_use_compat26"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5263 fi
5264
5265 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5266 { echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6; }
5268 else
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5271 fi
5272
5273
5274
5275 enablestring=
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5278 no_cache=0
5279 # Check whether --enable-rpath was given.
5280 if test "${enable_rpath+set}" = set; then
5281 enableval=$enable_rpath;
5282 if test "$enableval" = yes; then
5283 ac_cv_use_rpath='wxUSE_RPATH=yes'
5284 else
5285 ac_cv_use_rpath='wxUSE_RPATH=no'
5286 fi
5287
5288 else
5289
5290 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5298
5299 fi
5300
5301
5302 eval "$ac_cv_use_rpath"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5305 fi
5306
5307 if test "$wxUSE_RPATH" = yes; then
5308 { echo "$as_me:$LINENO: result: yes" >&5
5309 echo "${ECHO_T}yes" >&6; }
5310 else
5311 { echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6; }
5313 fi
5314
5315
5316
5317
5318
5319 enablestring=
5320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5322 no_cache=0
5323 # Check whether --enable-intl was given.
5324 if test "${enable_intl+set}" = set; then
5325 enableval=$enable_intl;
5326 if test "$enableval" = yes; then
5327 ac_cv_use_intl='wxUSE_INTL=yes'
5328 else
5329 ac_cv_use_intl='wxUSE_INTL=no'
5330 fi
5331
5332 else
5333
5334 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5335 if test "x$LINE" != x ; then
5336 eval "DEFAULT_$LINE"
5337 else
5338 no_cache=1
5339 fi
5340
5341 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5342
5343 fi
5344
5345
5346 eval "$ac_cv_use_intl"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5349 fi
5350
5351 if test "$wxUSE_INTL" = yes; then
5352 { echo "$as_me:$LINENO: result: yes" >&5
5353 echo "${ECHO_T}yes" >&6; }
5354 else
5355 { echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6; }
5357 fi
5358
5359
5360 enablestring=
5361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5363 no_cache=0
5364 # Check whether --enable-config was given.
5365 if test "${enable_config+set}" = set; then
5366 enableval=$enable_config;
5367 if test "$enableval" = yes; then
5368 ac_cv_use_config='wxUSE_CONFIG=yes'
5369 else
5370 ac_cv_use_config='wxUSE_CONFIG=no'
5371 fi
5372
5373 else
5374
5375 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x ; then
5377 eval "DEFAULT_$LINE"
5378 else
5379 no_cache=1
5380 fi
5381
5382 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5383
5384 fi
5385
5386
5387 eval "$ac_cv_use_config"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5390 fi
5391
5392 if test "$wxUSE_CONFIG" = yes; then
5393 { echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6; }
5395 else
5396 { echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6; }
5398 fi
5399
5400
5401
5402 enablestring=
5403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5404 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5405 no_cache=0
5406 # Check whether --enable-protocols was given.
5407 if test "${enable_protocols+set}" = set; then
5408 enableval=$enable_protocols;
5409 if test "$enableval" = yes; then
5410 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5411 else
5412 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5413 fi
5414
5415 else
5416
5417 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5420 else
5421 no_cache=1
5422 fi
5423
5424 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5425
5426 fi
5427
5428
5429 eval "$ac_cv_use_protocols"
5430 if test "$no_cache" != 1; then
5431 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5432 fi
5433
5434 if test "$wxUSE_PROTOCOL" = yes; then
5435 { echo "$as_me:$LINENO: result: yes" >&5
5436 echo "${ECHO_T}yes" >&6; }
5437 else
5438 { echo "$as_me:$LINENO: result: no" >&5
5439 echo "${ECHO_T}no" >&6; }
5440 fi
5441
5442
5443 enablestring=
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5446 no_cache=0
5447 # Check whether --enable-ftp was given.
5448 if test "${enable_ftp+set}" = set; then
5449 enableval=$enable_ftp;
5450 if test "$enableval" = yes; then
5451 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5452 else
5453 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5454 fi
5455
5456 else
5457
5458 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x ; then
5460 eval "DEFAULT_$LINE"
5461 else
5462 no_cache=1
5463 fi
5464
5465 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5466
5467 fi
5468
5469
5470 eval "$ac_cv_use_ftp"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5473 fi
5474
5475 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5476 { echo "$as_me:$LINENO: result: yes" >&5
5477 echo "${ECHO_T}yes" >&6; }
5478 else
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5481 fi
5482
5483
5484 enablestring=
5485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5486 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5487 no_cache=0
5488 # Check whether --enable-http was given.
5489 if test "${enable_http+set}" = set; then
5490 enableval=$enable_http;
5491 if test "$enableval" = yes; then
5492 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5493 else
5494 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5495 fi
5496
5497 else
5498
5499 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x ; then
5501 eval "DEFAULT_$LINE"
5502 else
5503 no_cache=1
5504 fi
5505
5506 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5507
5508 fi
5509
5510
5511 eval "$ac_cv_use_http"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5514 fi
5515
5516 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5517 { echo "$as_me:$LINENO: result: yes" >&5
5518 echo "${ECHO_T}yes" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5522 fi
5523
5524
5525 enablestring=
5526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5527 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5528 no_cache=0
5529 # Check whether --enable-fileproto was given.
5530 if test "${enable_fileproto+set}" = set; then
5531 enableval=$enable_fileproto;
5532 if test "$enableval" = yes; then
5533 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5534 else
5535 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5536 fi
5537
5538 else
5539
5540 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5543 else
5544 no_cache=1
5545 fi
5546
5547 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5548
5549 fi
5550
5551
5552 eval "$ac_cv_use_fileproto"
5553 if test "$no_cache" != 1; then
5554 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5555 fi
5556
5557 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5558 { echo "$as_me:$LINENO: result: yes" >&5
5559 echo "${ECHO_T}yes" >&6; }
5560 else
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5563 fi
5564
5565
5566 enablestring=
5567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5568 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5569 no_cache=0
5570 # Check whether --enable-sockets was given.
5571 if test "${enable_sockets+set}" = set; then
5572 enableval=$enable_sockets;
5573 if test "$enableval" = yes; then
5574 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5575 else
5576 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5577 fi
5578
5579 else
5580
5581 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x ; then
5583 eval "DEFAULT_$LINE"
5584 else
5585 no_cache=1
5586 fi
5587
5588 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5589
5590 fi
5591
5592
5593 eval "$ac_cv_use_sockets"
5594 if test "$no_cache" != 1; then
5595 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5596 fi
5597
5598 if test "$wxUSE_SOCKETS" = yes; then
5599 { echo "$as_me:$LINENO: result: yes" >&5
5600 echo "${ECHO_T}yes" >&6; }
5601 else
5602 { echo "$as_me:$LINENO: result: no" >&5
5603 echo "${ECHO_T}no" >&6; }
5604 fi
5605
5606
5607 enablestring=
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5610 no_cache=0
5611 # Check whether --enable-ole was given.
5612 if test "${enable_ole+set}" = set; then
5613 enableval=$enable_ole;
5614 if test "$enableval" = yes; then
5615 ac_cv_use_ole='wxUSE_OLE=yes'
5616 else
5617 ac_cv_use_ole='wxUSE_OLE=no'
5618 fi
5619
5620 else
5621
5622 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5625 else
5626 no_cache=1
5627 fi
5628
5629 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5630
5631 fi
5632
5633
5634 eval "$ac_cv_use_ole"
5635 if test "$no_cache" != 1; then
5636 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5637 fi
5638
5639 if test "$wxUSE_OLE" = yes; then
5640 { echo "$as_me:$LINENO: result: yes" >&5
5641 echo "${ECHO_T}yes" >&6; }
5642 else
5643 { echo "$as_me:$LINENO: result: no" >&5
5644 echo "${ECHO_T}no" >&6; }
5645 fi
5646
5647
5648 enablestring=
5649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5650 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5651 no_cache=0
5652 # Check whether --enable-dataobj was given.
5653 if test "${enable_dataobj+set}" = set; then
5654 enableval=$enable_dataobj;
5655 if test "$enableval" = yes; then
5656 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5657 else
5658 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5659 fi
5660
5661 else
5662
5663 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x ; then
5665 eval "DEFAULT_$LINE"
5666 else
5667 no_cache=1
5668 fi
5669
5670 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5671
5672 fi
5673
5674
5675 eval "$ac_cv_use_dataobj"
5676 if test "$no_cache" != 1; then
5677 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5678 fi
5679
5680 if test "$wxUSE_DATAOBJ" = yes; then
5681 { echo "$as_me:$LINENO: result: yes" >&5
5682 echo "${ECHO_T}yes" >&6; }
5683 else
5684 { echo "$as_me:$LINENO: result: no" >&5
5685 echo "${ECHO_T}no" >&6; }
5686 fi
5687
5688
5689
5690 enablestring=
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5693 no_cache=0
5694 # Check whether --enable-ipc was given.
5695 if test "${enable_ipc+set}" = set; then
5696 enableval=$enable_ipc;
5697 if test "$enableval" = yes; then
5698 ac_cv_use_ipc='wxUSE_IPC=yes'
5699 else
5700 ac_cv_use_ipc='wxUSE_IPC=no'
5701 fi
5702
5703 else
5704
5705 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5708 else
5709 no_cache=1
5710 fi
5711
5712 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5713
5714 fi
5715
5716
5717 eval "$ac_cv_use_ipc"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5720 fi
5721
5722 if test "$wxUSE_IPC" = yes; then
5723 { echo "$as_me:$LINENO: result: yes" >&5
5724 echo "${ECHO_T}yes" >&6; }
5725 else
5726 { echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6; }
5728 fi
5729
5730
5731
5732 enablestring=
5733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5735 no_cache=0
5736 # Check whether --enable-apple_ieee was given.
5737 if test "${enable_apple_ieee+set}" = set; then
5738 enableval=$enable_apple_ieee;
5739 if test "$enableval" = yes; then
5740 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5741 else
5742 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5743 fi
5744
5745 else
5746
5747 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5748 if test "x$LINE" != x ; then
5749 eval "DEFAULT_$LINE"
5750 else
5751 no_cache=1
5752 fi
5753
5754 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5755
5756 fi
5757
5758
5759 eval "$ac_cv_use_apple_ieee"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_APPLE_IEEE" = yes; then
5765 { echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6; }
5767 else
5768 { echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6; }
5770 fi
5771
5772
5773 enablestring=
5774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5776 no_cache=0
5777 # Check whether --enable-arcstream was given.
5778 if test "${enable_arcstream+set}" = set; then
5779 enableval=$enable_arcstream;
5780 if test "$enableval" = yes; then
5781 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5782 else
5783 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5784 fi
5785
5786 else
5787
5788 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5791 else
5792 no_cache=1
5793 fi
5794
5795 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5796
5797 fi
5798
5799
5800 eval "$ac_cv_use_arcstream"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5806 { echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6; }
5808 else
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5811 fi
5812
5813
5814 enablestring=
5815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5817 no_cache=0
5818 # Check whether --enable-backtrace was given.
5819 if test "${enable_backtrace+set}" = set; then
5820 enableval=$enable_backtrace;
5821 if test "$enableval" = yes; then
5822 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5823 else
5824 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5825 fi
5826
5827 else
5828
5829 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5832 else
5833 no_cache=1
5834 fi
5835
5836 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5837
5838 fi
5839
5840
5841 eval "$ac_cv_use_backtrace"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_STACKWALKER" = yes; then
5847 { echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6; }
5849 else
5850 { echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6; }
5852 fi
5853
5854
5855 enablestring=
5856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5858 no_cache=0
5859 # Check whether --enable-catch_segvs was given.
5860 if test "${enable_catch_segvs+set}" = set; then
5861 enableval=$enable_catch_segvs;
5862 if test "$enableval" = yes; then
5863 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5864 else
5865 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5866 fi
5867
5868 else
5869
5870 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x ; then
5872 eval "DEFAULT_$LINE"
5873 else
5874 no_cache=1
5875 fi
5876
5877 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5878
5879 fi
5880
5881
5882 eval "$ac_cv_use_catch_segvs"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5888 { echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6; }
5890 else
5891 { echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6; }
5893 fi
5894
5895
5896 enablestring=
5897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5899 no_cache=0
5900 # Check whether --enable-cmdline was given.
5901 if test "${enable_cmdline+set}" = set; then
5902 enableval=$enable_cmdline;
5903 if test "$enableval" = yes; then
5904 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5905 else
5906 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5907 fi
5908
5909 else
5910
5911 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x ; then
5913 eval "DEFAULT_$LINE"
5914 else
5915 no_cache=1
5916 fi
5917
5918 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5919
5920 fi
5921
5922
5923 eval "$ac_cv_use_cmdline"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5929 { echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6; }
5931 else
5932 { echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6; }
5934 fi
5935
5936
5937 enablestring=
5938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5940 no_cache=0
5941 # Check whether --enable-datetime was given.
5942 if test "${enable_datetime+set}" = set; then
5943 enableval=$enable_datetime;
5944 if test "$enableval" = yes; then
5945 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5946 else
5947 ac_cv_use_datetime='wxUSE_DATETIME=no'
5948 fi
5949
5950 else
5951
5952 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5953 if test "x$LINE" != x ; then
5954 eval "DEFAULT_$LINE"
5955 else
5956 no_cache=1
5957 fi
5958
5959 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5960
5961 fi
5962
5963
5964 eval "$ac_cv_use_datetime"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5967 fi
5968
5969 if test "$wxUSE_DATETIME" = yes; then
5970 { echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6; }
5972 else
5973 { echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6; }
5975 fi
5976
5977
5978 enablestring=
5979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5981 no_cache=0
5982 # Check whether --enable-debugreport was given.
5983 if test "${enable_debugreport+set}" = set; then
5984 enableval=$enable_debugreport;
5985 if test "$enableval" = yes; then
5986 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5987 else
5988 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5989 fi
5990
5991 else
5992
5993 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5994 if test "x$LINE" != x ; then
5995 eval "DEFAULT_$LINE"
5996 else
5997 no_cache=1
5998 fi
5999
6000 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6001
6002 fi
6003
6004
6005 eval "$ac_cv_use_debugreport"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6008 fi
6009
6010 if test "$wxUSE_DEBUGREPORT" = yes; then
6011 { echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6; }
6013 else
6014 { echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6; }
6016 fi
6017
6018
6019 enablestring=
6020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6022 no_cache=0
6023 # Check whether --enable-dialupman was given.
6024 if test "${enable_dialupman+set}" = set; then
6025 enableval=$enable_dialupman;
6026 if test "$enableval" = yes; then
6027 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6028 else
6029 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6030 fi
6031
6032 else
6033
6034 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6035 if test "x$LINE" != x ; then
6036 eval "DEFAULT_$LINE"
6037 else
6038 no_cache=1
6039 fi
6040
6041 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6042
6043 fi
6044
6045
6046 eval "$ac_cv_use_dialupman"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6049 fi
6050
6051 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6052 { echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6; }
6054 else
6055 { echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6; }
6057 fi
6058
6059
6060 enablestring=
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6063 no_cache=0
6064 # Check whether --enable-dynlib was given.
6065 if test "${enable_dynlib+set}" = set; then
6066 enableval=$enable_dynlib;
6067 if test "$enableval" = yes; then
6068 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6069 else
6070 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6071 fi
6072
6073 else
6074
6075 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6078 else
6079 no_cache=1
6080 fi
6081
6082 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6083
6084 fi
6085
6086
6087 eval "$ac_cv_use_dynlib"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6090 fi
6091
6092 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6093 { echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6; }
6095 else
6096 { echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6; }
6098 fi
6099
6100
6101 enablestring=
6102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6104 no_cache=0
6105 # Check whether --enable-dynamicloader was given.
6106 if test "${enable_dynamicloader+set}" = set; then
6107 enableval=$enable_dynamicloader;
6108 if test "$enableval" = yes; then
6109 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6110 else
6111 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6112 fi
6113
6114 else
6115
6116 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x ; then
6118 eval "DEFAULT_$LINE"
6119 else
6120 no_cache=1
6121 fi
6122
6123 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6124
6125 fi
6126
6127
6128 eval "$ac_cv_use_dynamicloader"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6131 fi
6132
6133 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6134 { echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6; }
6136 else
6137 { echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6; }
6139 fi
6140
6141
6142 enablestring=
6143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6145 no_cache=0
6146 # Check whether --enable-exceptions was given.
6147 if test "${enable_exceptions+set}" = set; then
6148 enableval=$enable_exceptions;
6149 if test "$enableval" = yes; then
6150 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6151 else
6152 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6153 fi
6154
6155 else
6156
6157 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6160 else
6161 no_cache=1
6162 fi
6163
6164 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6165
6166 fi
6167
6168
6169 eval "$ac_cv_use_exceptions"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6172 fi
6173
6174 if test "$wxUSE_EXCEPTIONS" = yes; then
6175 { echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6; }
6177 else
6178 { echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6; }
6180 fi
6181
6182
6183 enablestring=
6184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6186 no_cache=0
6187 # Check whether --enable-ffile was given.
6188 if test "${enable_ffile+set}" = set; then
6189 enableval=$enable_ffile;
6190 if test "$enableval" = yes; then
6191 ac_cv_use_ffile='wxUSE_FFILE=yes'
6192 else
6193 ac_cv_use_ffile='wxUSE_FFILE=no'
6194 fi
6195
6196 else
6197
6198 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6199 if test "x$LINE" != x ; then
6200 eval "DEFAULT_$LINE"
6201 else
6202 no_cache=1
6203 fi
6204
6205 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6206
6207 fi
6208
6209
6210 eval "$ac_cv_use_ffile"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6213 fi
6214
6215 if test "$wxUSE_FFILE" = yes; then
6216 { echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6; }
6218 else
6219 { echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6; }
6221 fi
6222
6223
6224 enablestring=
6225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6227 no_cache=0
6228 # Check whether --enable-file was given.
6229 if test "${enable_file+set}" = set; then
6230 enableval=$enable_file;
6231 if test "$enableval" = yes; then
6232 ac_cv_use_file='wxUSE_FILE=yes'
6233 else
6234 ac_cv_use_file='wxUSE_FILE=no'
6235 fi
6236
6237 else
6238
6239 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6240 if test "x$LINE" != x ; then
6241 eval "DEFAULT_$LINE"
6242 else
6243 no_cache=1
6244 fi
6245
6246 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6247
6248 fi
6249
6250
6251 eval "$ac_cv_use_file"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_FILE" = yes; then
6257 { echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6; }
6259 else
6260 { echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6; }
6262 fi
6263
6264
6265 enablestring=
6266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6268 no_cache=0
6269 # Check whether --enable-filesystem was given.
6270 if test "${enable_filesystem+set}" = set; then
6271 enableval=$enable_filesystem;
6272 if test "$enableval" = yes; then
6273 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6274 else
6275 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6276 fi
6277
6278 else
6279
6280 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6281 if test "x$LINE" != x ; then
6282 eval "DEFAULT_$LINE"
6283 else
6284 no_cache=1
6285 fi
6286
6287 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6288
6289 fi
6290
6291
6292 eval "$ac_cv_use_filesystem"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6295 fi
6296
6297 if test "$wxUSE_FILESYSTEM" = yes; then
6298 { echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6; }
6300 else
6301 { echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6; }
6303 fi
6304
6305
6306 enablestring=
6307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6309 no_cache=0
6310 # Check whether --enable-fontmap was given.
6311 if test "${enable_fontmap+set}" = set; then
6312 enableval=$enable_fontmap;
6313 if test "$enableval" = yes; then
6314 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6315 else
6316 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6317 fi
6318
6319 else
6320
6321 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6322 if test "x$LINE" != x ; then
6323 eval "DEFAULT_$LINE"
6324 else
6325 no_cache=1
6326 fi
6327
6328 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6329
6330 fi
6331
6332
6333 eval "$ac_cv_use_fontmap"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test "$wxUSE_FONTMAP" = yes; then
6339 { echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6; }
6341 else
6342 { echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6; }
6344 fi
6345
6346
6347 enablestring=
6348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6350 no_cache=0
6351 # Check whether --enable-fs_archive was given.
6352 if test "${enable_fs_archive+set}" = set; then
6353 enableval=$enable_fs_archive;
6354 if test "$enableval" = yes; then
6355 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6356 else
6357 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6358 fi
6359
6360 else
6361
6362 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6363 if test "x$LINE" != x ; then
6364 eval "DEFAULT_$LINE"
6365 else
6366 no_cache=1
6367 fi
6368
6369 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6370
6371 fi
6372
6373
6374 eval "$ac_cv_use_fs_archive"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test "$wxUSE_FS_ARCHIVE" = yes; then
6380 { echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6; }
6382 else
6383 { echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6; }
6385 fi
6386
6387
6388 enablestring=
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6391 no_cache=0
6392 # Check whether --enable-fs_inet was given.
6393 if test "${enable_fs_inet+set}" = set; then
6394 enableval=$enable_fs_inet;
6395 if test "$enableval" = yes; then
6396 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6397 else
6398 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6399 fi
6400
6401 else
6402
6403 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 else
6407 no_cache=1
6408 fi
6409
6410 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6411
6412 fi
6413
6414
6415 eval "$ac_cv_use_fs_inet"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test "$wxUSE_FS_INET" = yes; then
6421 { echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6; }
6423 else
6424 { echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6; }
6426 fi
6427
6428
6429 enablestring=
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6432 no_cache=0
6433 # Check whether --enable-fs_zip was given.
6434 if test "${enable_fs_zip+set}" = set; then
6435 enableval=$enable_fs_zip;
6436 if test "$enableval" = yes; then
6437 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6438 else
6439 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6440 fi
6441
6442 else
6443
6444 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6447 else
6448 no_cache=1
6449 fi
6450
6451 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6452
6453 fi
6454
6455
6456 eval "$ac_cv_use_fs_zip"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6459 fi
6460
6461 if test "$wxUSE_FS_ZIP" = yes; then
6462 { echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6; }
6464 else
6465 { echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6; }
6467 fi
6468
6469
6470 enablestring=
6471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6473 no_cache=0
6474 # Check whether --enable-geometry was given.
6475 if test "${enable_geometry+set}" = set; then
6476 enableval=$enable_geometry;
6477 if test "$enableval" = yes; then
6478 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6479 else
6480 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6481 fi
6482
6483 else
6484
6485 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x ; then
6487 eval "DEFAULT_$LINE"
6488 else
6489 no_cache=1
6490 fi
6491
6492 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6493
6494 fi
6495
6496
6497 eval "$ac_cv_use_geometry"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6500 fi
6501
6502 if test "$wxUSE_GEOMETRY" = yes; then
6503 { echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6; }
6505 else
6506 { echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6; }
6508 fi
6509
6510
6511 enablestring=
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6514 no_cache=0
6515 # Check whether --enable-log was given.
6516 if test "${enable_log+set}" = set; then
6517 enableval=$enable_log;
6518 if test "$enableval" = yes; then
6519 ac_cv_use_log='wxUSE_LOG=yes'
6520 else
6521 ac_cv_use_log='wxUSE_LOG=no'
6522 fi
6523
6524 else
6525
6526 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6529 else
6530 no_cache=1
6531 fi
6532
6533 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6534
6535 fi
6536
6537
6538 eval "$ac_cv_use_log"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6541 fi
6542
6543 if test "$wxUSE_LOG" = yes; then
6544 { echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6; }
6546 else
6547 { echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6; }
6549 fi
6550
6551
6552 enablestring=
6553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6555 no_cache=0
6556 # Check whether --enable-longlong was given.
6557 if test "${enable_longlong+set}" = set; then
6558 enableval=$enable_longlong;
6559 if test "$enableval" = yes; then
6560 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6561 else
6562 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6563 fi
6564
6565 else
6566
6567 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6570 else
6571 no_cache=1
6572 fi
6573
6574 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6575
6576 fi
6577
6578
6579 eval "$ac_cv_use_longlong"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6582 fi
6583
6584 if test "$wxUSE_LONGLONG" = yes; then
6585 { echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6; }
6587 else
6588 { echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6; }
6590 fi
6591
6592
6593 enablestring=
6594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6596 no_cache=0
6597 # Check whether --enable-mimetype was given.
6598 if test "${enable_mimetype+set}" = set; then
6599 enableval=$enable_mimetype;
6600 if test "$enableval" = yes; then
6601 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6602 else
6603 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6604 fi
6605
6606 else
6607
6608 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6611 else
6612 no_cache=1
6613 fi
6614
6615 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6616
6617 fi
6618
6619
6620 eval "$ac_cv_use_mimetype"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6623 fi
6624
6625 if test "$wxUSE_MIMETYPE" = yes; then
6626 { echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6; }
6628 else
6629 { echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6; }
6631 fi
6632
6633
6634 enablestring=
6635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6637 no_cache=0
6638 # Check whether --enable-mslu was given.
6639 if test "${enable_mslu+set}" = set; then
6640 enableval=$enable_mslu;
6641 if test "$enableval" = yes; then
6642 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6643 else
6644 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6645 fi
6646
6647 else
6648
6649 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6652 else
6653 no_cache=1
6654 fi
6655
6656 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6657
6658 fi
6659
6660
6661 eval "$ac_cv_use_mslu"
6662 if test "$no_cache" != 1; then
6663 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6664 fi
6665
6666 if test "$wxUSE_UNICODE_MSLU" = yes; then
6667 { echo "$as_me:$LINENO: result: yes" >&5
6668 echo "${ECHO_T}yes" >&6; }
6669 else
6670 { echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6; }
6672 fi
6673
6674
6675 enablestring=
6676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6678 no_cache=0
6679 # Check whether --enable-snglinst was given.
6680 if test "${enable_snglinst+set}" = set; then
6681 enableval=$enable_snglinst;
6682 if test "$enableval" = yes; then
6683 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6684 else
6685 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6686 fi
6687
6688 else
6689
6690 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x ; then
6692 eval "DEFAULT_$LINE"
6693 else
6694 no_cache=1
6695 fi
6696
6697 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6698
6699 fi
6700
6701
6702 eval "$ac_cv_use_snglinst"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6705 fi
6706
6707 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6708 { echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6; }
6710 else
6711 { echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6; }
6713 fi
6714
6715
6716 enablestring=
6717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6719 no_cache=0
6720 # Check whether --enable-std_iostreams was given.
6721 if test "${enable_std_iostreams+set}" = set; then
6722 enableval=$enable_std_iostreams;
6723 if test "$enableval" = yes; then
6724 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6725 else
6726 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6727 fi
6728
6729 else
6730
6731 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6734 else
6735 no_cache=1
6736 fi
6737
6738 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6739
6740 fi
6741
6742
6743 eval "$ac_cv_use_std_iostreams"
6744 if test "$no_cache" != 1; then
6745 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6746 fi
6747
6748 if test "$wxUSE_STD_IOSTREAM" = yes; then
6749 { echo "$as_me:$LINENO: result: yes" >&5
6750 echo "${ECHO_T}yes" >&6; }
6751 else
6752 { echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6; }
6754 fi
6755
6756
6757 enablestring=
6758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6760 no_cache=0
6761 # Check whether --enable-std_string was given.
6762 if test "${enable_std_string+set}" = set; then
6763 enableval=$enable_std_string;
6764 if test "$enableval" = yes; then
6765 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6766 else
6767 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6768 fi
6769
6770 else
6771
6772 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6780
6781 fi
6782
6783
6784 eval "$ac_cv_use_std_string"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6787 fi
6788
6789 if test "$wxUSE_STD_STRING" = yes; then
6790 { echo "$as_me:$LINENO: result: yes" >&5
6791 echo "${ECHO_T}yes" >&6; }
6792 else
6793 { echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6; }
6795 fi
6796
6797
6798 enablestring=
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6801 no_cache=0
6802 # Check whether --enable-stdpaths was given.
6803 if test "${enable_stdpaths+set}" = set; then
6804 enableval=$enable_stdpaths;
6805 if test "$enableval" = yes; then
6806 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6807 else
6808 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6809 fi
6810
6811 else
6812
6813 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6816 else
6817 no_cache=1
6818 fi
6819
6820 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6821
6822 fi
6823
6824
6825 eval "$ac_cv_use_stdpaths"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6828 fi
6829
6830 if test "$wxUSE_STDPATHS" = yes; then
6831 { echo "$as_me:$LINENO: result: yes" >&5
6832 echo "${ECHO_T}yes" >&6; }
6833 else
6834 { echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6; }
6836 fi
6837
6838
6839 enablestring=
6840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6842 no_cache=0
6843 # Check whether --enable-stopwatch was given.
6844 if test "${enable_stopwatch+set}" = set; then
6845 enableval=$enable_stopwatch;
6846 if test "$enableval" = yes; then
6847 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6848 else
6849 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6850 fi
6851
6852 else
6853
6854 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6857 else
6858 no_cache=1
6859 fi
6860
6861 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6862
6863 fi
6864
6865
6866 eval "$ac_cv_use_stopwatch"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6869 fi
6870
6871 if test "$wxUSE_STOPWATCH" = yes; then
6872 { echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6; }
6874 else
6875 { echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6; }
6877 fi
6878
6879
6880 enablestring=
6881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6883 no_cache=0
6884 # Check whether --enable-streams was given.
6885 if test "${enable_streams+set}" = set; then
6886 enableval=$enable_streams;
6887 if test "$enableval" = yes; then
6888 ac_cv_use_streams='wxUSE_STREAMS=yes'
6889 else
6890 ac_cv_use_streams='wxUSE_STREAMS=no'
6891 fi
6892
6893 else
6894
6895 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6903
6904 fi
6905
6906
6907 eval "$ac_cv_use_streams"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6910 fi
6911
6912 if test "$wxUSE_STREAMS" = yes; then
6913 { echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6; }
6915 else
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6918 fi
6919
6920
6921 enablestring=
6922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6924 no_cache=0
6925 # Check whether --enable-system_options was given.
6926 if test "${enable_system_options+set}" = set; then
6927 enableval=$enable_system_options;
6928 if test "$enableval" = yes; then
6929 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6930 else
6931 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6944
6945 fi
6946
6947
6948 eval "$ac_cv_use_system_options"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6951 fi
6952
6953 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6954 { echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6; }
6956 else
6957 { echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6; }
6959 fi
6960
6961
6962 enablestring=
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6965 no_cache=0
6966 # Check whether --enable-tarstream was given.
6967 if test "${enable_tarstream+set}" = set; then
6968 enableval=$enable_tarstream;
6969 if test "$enableval" = yes; then
6970 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6971 else
6972 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6973 fi
6974
6975 else
6976
6977 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 else
6981 no_cache=1
6982 fi
6983
6984 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6985
6986 fi
6987
6988
6989 eval "$ac_cv_use_tarstream"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_TARSTREAM" = yes; then
6995 { echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6; }
6997 else
6998 { echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6; }
7000 fi
7001
7002
7003 enablestring=
7004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7006 no_cache=0
7007 # Check whether --enable-textbuf was given.
7008 if test "${enable_textbuf+set}" = set; then
7009 enableval=$enable_textbuf;
7010 if test "$enableval" = yes; then
7011 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7012 else
7013 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7014 fi
7015
7016 else
7017
7018 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7021 else
7022 no_cache=1
7023 fi
7024
7025 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7026
7027 fi
7028
7029
7030 eval "$ac_cv_use_textbuf"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7033 fi
7034
7035 if test "$wxUSE_TEXTBUFFER" = yes; then
7036 { echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6; }
7038 else
7039 { echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6; }
7041 fi
7042
7043
7044 enablestring=
7045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7047 no_cache=0
7048 # Check whether --enable-textfile was given.
7049 if test "${enable_textfile+set}" = set; then
7050 enableval=$enable_textfile;
7051 if test "$enableval" = yes; then
7052 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7053 else
7054 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7055 fi
7056
7057 else
7058
7059 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7062 else
7063 no_cache=1
7064 fi
7065
7066 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7067
7068 fi
7069
7070
7071 eval "$ac_cv_use_textfile"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7074 fi
7075
7076 if test "$wxUSE_TEXTFILE" = yes; then
7077 { echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6; }
7079 else
7080 { echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6; }
7082 fi
7083
7084
7085 enablestring=
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7088 no_cache=0
7089 # Check whether --enable-timer was given.
7090 if test "${enable_timer+set}" = set; then
7091 enableval=$enable_timer;
7092 if test "$enableval" = yes; then
7093 ac_cv_use_timer='wxUSE_TIMER=yes'
7094 else
7095 ac_cv_use_timer='wxUSE_TIMER=no'
7096 fi
7097
7098 else
7099
7100 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7103 else
7104 no_cache=1
7105 fi
7106
7107 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7108
7109 fi
7110
7111
7112 eval "$ac_cv_use_timer"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7115 fi
7116
7117 if test "$wxUSE_TIMER" = yes; then
7118 { echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6; }
7120 else
7121 { echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6; }
7123 fi
7124
7125
7126 enablestring=
7127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7129 no_cache=0
7130 # Check whether --enable-unicode was given.
7131 if test "${enable_unicode+set}" = set; then
7132 enableval=$enable_unicode;
7133 if test "$enableval" = yes; then
7134 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7135 else
7136 ac_cv_use_unicode='wxUSE_UNICODE=no'
7137 fi
7138
7139 else
7140
7141 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7144 else
7145 no_cache=1
7146 fi
7147
7148 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7149
7150 fi
7151
7152
7153 eval "$ac_cv_use_unicode"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7156 fi
7157
7158 if test "$wxUSE_UNICODE" = yes; then
7159 { echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6; }
7161 else
7162 { echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6; }
7164 fi
7165
7166
7167 enablestring=
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7170 no_cache=0
7171 # Check whether --enable-sound was given.
7172 if test "${enable_sound+set}" = set; then
7173 enableval=$enable_sound;
7174 if test "$enableval" = yes; then
7175 ac_cv_use_sound='wxUSE_SOUND=yes'
7176 else
7177 ac_cv_use_sound='wxUSE_SOUND=no'
7178 fi
7179
7180 else
7181
7182 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7185 else
7186 no_cache=1
7187 fi
7188
7189 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7190
7191 fi
7192
7193
7194 eval "$ac_cv_use_sound"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7197 fi
7198
7199 if test "$wxUSE_SOUND" = yes; then
7200 { echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6; }
7202 else
7203 { echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6; }
7205 fi
7206
7207
7208 enablestring=
7209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7211 no_cache=0
7212 # Check whether --enable-mediactrl was given.
7213 if test "${enable_mediactrl+set}" = set; then
7214 enableval=$enable_mediactrl;
7215 if test "$enableval" = yes; then
7216 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7217 else
7218 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7219 fi
7220
7221 else
7222
7223 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7226 else
7227 no_cache=1
7228 fi
7229
7230 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7231
7232 fi
7233
7234
7235 eval "$ac_cv_use_mediactrl"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7238 fi
7239
7240 if test "$wxUSE_MEDIACTRL" = yes; then
7241 { echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6; }
7243 else
7244 { echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6; }
7246 fi
7247
7248
7249 enablestring=
7250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7252 no_cache=0
7253 # Check whether --enable-gstreamer8 was given.
7254 if test "${enable_gstreamer8+set}" = set; then
7255 enableval=$enable_gstreamer8;
7256 if test "$enableval" = yes; then
7257 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7258 else
7259 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7260 fi
7261
7262 else
7263
7264 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7267 else
7268 no_cache=1
7269 fi
7270
7271 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7272
7273 fi
7274
7275
7276 eval "$ac_cv_use_gstreamer8"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7279 fi
7280
7281 if test "$wxUSE_GSTREAMER8" = yes; then
7282 { echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6; }
7284 else
7285 { echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6; }
7287 fi
7288
7289
7290 enablestring=
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7293 no_cache=0
7294 # Check whether --enable-printfposparam was given.
7295 if test "${enable_printfposparam+set}" = set; then
7296 enableval=$enable_printfposparam;
7297 if test "$enableval" = yes; then
7298 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7299 else
7300 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7301 fi
7302
7303 else
7304
7305 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7308 else
7309 no_cache=1
7310 fi
7311
7312 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7313
7314 fi
7315
7316
7317 eval "$ac_cv_use_printfposparam"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7320 fi
7321
7322 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7323 { echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6; }
7325 else
7326 { echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6; }
7328 fi
7329
7330
7331 enablestring=
7332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7334 no_cache=0
7335 # Check whether --enable-zipstream was given.
7336 if test "${enable_zipstream+set}" = set; then
7337 enableval=$enable_zipstream;
7338 if test "$enableval" = yes; then
7339 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7340 else
7341 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7342 fi
7343
7344 else
7345
7346 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7349 else
7350 no_cache=1
7351 fi
7352
7353 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7354
7355 fi
7356
7357
7358 eval "$ac_cv_use_zipstream"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7361 fi
7362
7363 if test "$wxUSE_ZIPSTREAM" = yes; then
7364 { echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6; }
7366 else
7367 { echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6; }
7369 fi
7370
7371
7372
7373 enablestring=
7374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7375 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7376 no_cache=0
7377 # Check whether --enable-url was given.
7378 if test "${enable_url+set}" = set; then
7379 enableval=$enable_url;
7380 if test "$enableval" = yes; then
7381 ac_cv_use_url='wxUSE_URL=yes'
7382 else
7383 ac_cv_use_url='wxUSE_URL=no'
7384 fi
7385
7386 else
7387
7388 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x ; then
7390 eval "DEFAULT_$LINE"
7391 else
7392 no_cache=1
7393 fi
7394
7395 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7396
7397 fi
7398
7399
7400 eval "$ac_cv_use_url"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7403 fi
7404
7405 if test "$wxUSE_URL" = yes; then
7406 { echo "$as_me:$LINENO: result: yes" >&5
7407 echo "${ECHO_T}yes" >&6; }
7408 else
7409 { echo "$as_me:$LINENO: result: no" >&5
7410 echo "${ECHO_T}no" >&6; }
7411 fi
7412
7413
7414 enablestring=
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7417 no_cache=0
7418 # Check whether --enable-variant was given.
7419 if test "${enable_variant+set}" = set; then
7420 enableval=$enable_variant;
7421 if test "$enableval" = yes; then
7422 ac_cv_use_variant='wxUSE_VARIANT=yes'
7423 else
7424 ac_cv_use_variant='wxUSE_VARIANT=no'
7425 fi
7426
7427 else
7428
7429 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x ; then
7431 eval "DEFAULT_$LINE"
7432 else
7433 no_cache=1
7434 fi
7435
7436 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7437
7438 fi
7439
7440
7441 eval "$ac_cv_use_variant"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7444 fi
7445
7446 if test "$wxUSE_VARIANT" = yes; then
7447 { echo "$as_me:$LINENO: result: yes" >&5
7448 echo "${ECHO_T}yes" >&6; }
7449 else
7450 { echo "$as_me:$LINENO: result: no" >&5
7451 echo "${ECHO_T}no" >&6; }
7452 fi
7453
7454
7455 enablestring=
7456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7458 no_cache=0
7459 # Check whether --enable-protocol was given.
7460 if test "${enable_protocol+set}" = set; then
7461 enableval=$enable_protocol;
7462 if test "$enableval" = yes; then
7463 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7464 else
7465 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7466 fi
7467
7468 else
7469
7470 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x ; then
7472 eval "DEFAULT_$LINE"
7473 else
7474 no_cache=1
7475 fi
7476
7477 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7478
7479 fi
7480
7481
7482 eval "$ac_cv_use_protocol"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7485 fi
7486
7487 if test "$wxUSE_PROTOCOL" = yes; then
7488 { echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6; }
7490 else
7491 { echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6; }
7493 fi
7494
7495
7496 enablestring=
7497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7499 no_cache=0
7500 # Check whether --enable-protocol_http was given.
7501 if test "${enable_protocol_http+set}" = set; then
7502 enableval=$enable_protocol_http;
7503 if test "$enableval" = yes; then
7504 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7505 else
7506 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7507 fi
7508
7509 else
7510
7511 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x ; then
7513 eval "DEFAULT_$LINE"
7514 else
7515 no_cache=1
7516 fi
7517
7518 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7519
7520 fi
7521
7522
7523 eval "$ac_cv_use_protocol_http"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7526 fi
7527
7528 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7529 { echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6; }
7531 else
7532 { echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6; }
7534 fi
7535
7536
7537 enablestring=
7538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7539 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7540 no_cache=0
7541 # Check whether --enable-protocol_ftp was given.
7542 if test "${enable_protocol_ftp+set}" = set; then
7543 enableval=$enable_protocol_ftp;
7544 if test "$enableval" = yes; then
7545 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7546 else
7547 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7548 fi
7549
7550 else
7551
7552 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x ; then
7554 eval "DEFAULT_$LINE"
7555 else
7556 no_cache=1
7557 fi
7558
7559 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7560
7561 fi
7562
7563
7564 eval "$ac_cv_use_protocol_ftp"
7565 if test "$no_cache" != 1; then
7566 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7567 fi
7568
7569 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7570 { echo "$as_me:$LINENO: result: yes" >&5
7571 echo "${ECHO_T}yes" >&6; }
7572 else
7573 { echo "$as_me:$LINENO: result: no" >&5
7574 echo "${ECHO_T}no" >&6; }
7575 fi
7576
7577
7578 enablestring=
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7581 no_cache=0
7582 # Check whether --enable-protocol_file was given.
7583 if test "${enable_protocol_file+set}" = set; then
7584 enableval=$enable_protocol_file;
7585 if test "$enableval" = yes; then
7586 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7587 else
7588 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7589 fi
7590
7591 else
7592
7593 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7596 else
7597 no_cache=1
7598 fi
7599
7600 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7601
7602 fi
7603
7604
7605 eval "$ac_cv_use_protocol_file"
7606 if test "$no_cache" != 1; then
7607 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7608 fi
7609
7610 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7611 { echo "$as_me:$LINENO: result: yes" >&5
7612 echo "${ECHO_T}yes" >&6; }
7613 else
7614 { echo "$as_me:$LINENO: result: no" >&5
7615 echo "${ECHO_T}no" >&6; }
7616 fi
7617
7618
7619
7620
7621
7622 enablestring=
7623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7624 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7625 no_cache=0
7626 # Check whether --enable-threads was given.
7627 if test "${enable_threads+set}" = set; then
7628 enableval=$enable_threads;
7629 if test "$enableval" = yes; then
7630 ac_cv_use_threads='wxUSE_THREADS=yes'
7631 else
7632 ac_cv_use_threads='wxUSE_THREADS=no'
7633 fi
7634
7635 else
7636
7637 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7645
7646 fi
7647
7648
7649 eval "$ac_cv_use_threads"
7650 if test "$no_cache" != 1; then
7651 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7652 fi
7653
7654 if test "$wxUSE_THREADS" = yes; then
7655 { echo "$as_me:$LINENO: result: yes" >&5
7656 echo "${ECHO_T}yes" >&6; }
7657 else
7658 { echo "$as_me:$LINENO: result: no" >&5
7659 echo "${ECHO_T}no" >&6; }
7660 fi
7661
7662
7663 if test "$wxUSE_GUI" = "yes"; then
7664
7665
7666
7667 enablestring=
7668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7670 no_cache=0
7671 # Check whether --enable-docview was given.
7672 if test "${enable_docview+set}" = set; then
7673 enableval=$enable_docview;
7674 if test "$enableval" = yes; then
7675 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7676 else
7677 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7678 fi
7679
7680 else
7681
7682 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x ; then
7684 eval "DEFAULT_$LINE"
7685 else
7686 no_cache=1
7687 fi
7688
7689 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7690
7691 fi
7692
7693
7694 eval "$ac_cv_use_docview"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7697 fi
7698
7699 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7700 { echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6; }
7702 else
7703 { echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6; }
7705 fi
7706
7707
7708 enablestring=
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7711 no_cache=0
7712 # Check whether --enable-help was given.
7713 if test "${enable_help+set}" = set; then
7714 enableval=$enable_help;
7715 if test "$enableval" = yes; then
7716 ac_cv_use_help='wxUSE_HELP=yes'
7717 else
7718 ac_cv_use_help='wxUSE_HELP=no'
7719 fi
7720
7721 else
7722
7723 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x ; then
7725 eval "DEFAULT_$LINE"
7726 else
7727 no_cache=1
7728 fi
7729
7730 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7731
7732 fi
7733
7734
7735 eval "$ac_cv_use_help"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7738 fi
7739
7740 if test "$wxUSE_HELP" = yes; then
7741 { echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6; }
7743 else
7744 { echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6; }
7746 fi
7747
7748
7749 enablestring=
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7752 no_cache=0
7753 # Check whether --enable-mshtmlhelp was given.
7754 if test "${enable_mshtmlhelp+set}" = set; then
7755 enableval=$enable_mshtmlhelp;
7756 if test "$enableval" = yes; then
7757 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7758 else
7759 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7760 fi
7761
7762 else
7763
7764 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7767 else
7768 no_cache=1
7769 fi
7770
7771 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7772
7773 fi
7774
7775
7776 eval "$ac_cv_use_mshtmlhelp"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7779 fi
7780
7781 if test "$wxUSE_MS_HTML_HELP" = yes; then
7782 { echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6; }
7784 else
7785 { echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6; }
7787 fi
7788
7789
7790 enablestring=
7791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7793 no_cache=0
7794 # Check whether --enable-html was given.
7795 if test "${enable_html+set}" = set; then
7796 enableval=$enable_html;
7797 if test "$enableval" = yes; then
7798 ac_cv_use_html='wxUSE_HTML=yes'
7799 else
7800 ac_cv_use_html='wxUSE_HTML=no'
7801 fi
7802
7803 else
7804
7805 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x ; then
7807 eval "DEFAULT_$LINE"
7808 else
7809 no_cache=1
7810 fi
7811
7812 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7813
7814 fi
7815
7816
7817 eval "$ac_cv_use_html"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7820 fi
7821
7822 if test "$wxUSE_HTML" = yes; then
7823 { echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6; }
7825 else
7826 { echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6; }
7828 fi
7829
7830
7831 enablestring=
7832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7834 no_cache=0
7835 # Check whether --enable-htmlhelp was given.
7836 if test "${enable_htmlhelp+set}" = set; then
7837 enableval=$enable_htmlhelp;
7838 if test "$enableval" = yes; then
7839 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7840 else
7841 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7842 fi
7843
7844 else
7845
7846 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x ; then
7848 eval "DEFAULT_$LINE"
7849 else
7850 no_cache=1
7851 fi
7852
7853 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7854
7855 fi
7856
7857
7858 eval "$ac_cv_use_htmlhelp"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7861 fi
7862
7863 if test "$wxUSE_WXHTML_HELP" = yes; then
7864 { echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6; }
7866 else
7867 { echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6; }
7869 fi
7870
7871
7872 enablestring=
7873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7875 no_cache=0
7876 # Check whether --enable-xrc was given.
7877 if test "${enable_xrc+set}" = set; then
7878 enableval=$enable_xrc;
7879 if test "$enableval" = yes; then
7880 ac_cv_use_xrc='wxUSE_XRC=yes'
7881 else
7882 ac_cv_use_xrc='wxUSE_XRC=no'
7883 fi
7884
7885 else
7886
7887 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x ; then
7889 eval "DEFAULT_$LINE"
7890 else
7891 no_cache=1
7892 fi
7893
7894 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7895
7896 fi
7897
7898
7899 eval "$ac_cv_use_xrc"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7902 fi
7903
7904 if test "$wxUSE_XRC" = yes; then
7905 { echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6; }
7907 else
7908 { echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6; }
7910 fi
7911
7912
7913 enablestring=
7914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7916 no_cache=0
7917 # Check whether --enable-aui was given.
7918 if test "${enable_aui+set}" = set; then
7919 enableval=$enable_aui;
7920 if test "$enableval" = yes; then
7921 ac_cv_use_aui='wxUSE_AUI=yes'
7922 else
7923 ac_cv_use_aui='wxUSE_AUI=no'
7924 fi
7925
7926 else
7927
7928 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x ; then
7930 eval "DEFAULT_$LINE"
7931 else
7932 no_cache=1
7933 fi
7934
7935 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7936
7937 fi
7938
7939
7940 eval "$ac_cv_use_aui"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7943 fi
7944
7945 if test "$wxUSE_AUI" = yes; then
7946 { echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6; }
7948 else
7949 { echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6; }
7951 fi
7952
7953
7954 enablestring=
7955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7957 no_cache=0
7958 # Check whether --enable-constraints was given.
7959 if test "${enable_constraints+set}" = set; then
7960 enableval=$enable_constraints;
7961 if test "$enableval" = yes; then
7962 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7963 else
7964 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7965 fi
7966
7967 else
7968
7969 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x ; then
7971 eval "DEFAULT_$LINE"
7972 else
7973 no_cache=1
7974 fi
7975
7976 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7977
7978 fi
7979
7980
7981 eval "$ac_cv_use_constraints"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7984 fi
7985
7986 if test "$wxUSE_CONSTRAINTS" = yes; then
7987 { echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6; }
7989 else
7990 { echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6; }
7992 fi
7993
7994
7995 enablestring=
7996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
7998 no_cache=0
7999 # Check whether --enable-printarch was given.
8000 if test "${enable_printarch+set}" = set; then
8001 enableval=$enable_printarch;
8002 if test "$enableval" = yes; then
8003 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8004 else
8005 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8006 fi
8007
8008 else
8009
8010 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x ; then
8012 eval "DEFAULT_$LINE"
8013 else
8014 no_cache=1
8015 fi
8016
8017 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8018
8019 fi
8020
8021
8022 eval "$ac_cv_use_printarch"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8025 fi
8026
8027 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8028 { echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6; }
8030 else
8031 { echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6; }
8033 fi
8034
8035
8036 enablestring=
8037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8039 no_cache=0
8040 # Check whether --enable-mdi was given.
8041 if test "${enable_mdi+set}" = set; then
8042 enableval=$enable_mdi;
8043 if test "$enableval" = yes; then
8044 ac_cv_use_mdi='wxUSE_MDI=yes'
8045 else
8046 ac_cv_use_mdi='wxUSE_MDI=no'
8047 fi
8048
8049 else
8050
8051 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x ; then
8053 eval "DEFAULT_$LINE"
8054 else
8055 no_cache=1
8056 fi
8057
8058 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8059
8060 fi
8061
8062
8063 eval "$ac_cv_use_mdi"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8066 fi
8067
8068 if test "$wxUSE_MDI" = yes; then
8069 { echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6; }
8071 else
8072 { echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6; }
8074 fi
8075
8076
8077 enablestring=
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8080 no_cache=0
8081 # Check whether --enable-mdidoc was given.
8082 if test "${enable_mdidoc+set}" = set; then
8083 enableval=$enable_mdidoc;
8084 if test "$enableval" = yes; then
8085 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8086 else
8087 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8088 fi
8089
8090 else
8091
8092 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x ; then
8094 eval "DEFAULT_$LINE"
8095 else
8096 no_cache=1
8097 fi
8098
8099 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8100
8101 fi
8102
8103
8104 eval "$ac_cv_use_mdidoc"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8107 fi
8108
8109 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8110 { echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6; }
8112 else
8113 { echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6; }
8115 fi
8116
8117
8118 enablestring=
8119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8121 no_cache=0
8122 # Check whether --enable-loggui was given.
8123 if test "${enable_loggui+set}" = set; then
8124 enableval=$enable_loggui;
8125 if test "$enableval" = yes; then
8126 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8127 else
8128 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8129 fi
8130
8131 else
8132
8133 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x ; then
8135 eval "DEFAULT_$LINE"
8136 else
8137 no_cache=1
8138 fi
8139
8140 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8141
8142 fi
8143
8144
8145 eval "$ac_cv_use_loggui"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8148 fi
8149
8150 if test "$wxUSE_LOGGUI" = yes; then
8151 { echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6; }
8153 else
8154 { echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6; }
8156 fi
8157
8158
8159 enablestring=
8160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8161 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8162 no_cache=0
8163 # Check whether --enable-logwin was given.
8164 if test "${enable_logwin+set}" = set; then
8165 enableval=$enable_logwin;
8166 if test "$enableval" = yes; then
8167 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8168 else
8169 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8170 fi
8171
8172 else
8173
8174 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x ; then
8176 eval "DEFAULT_$LINE"
8177 else
8178 no_cache=1
8179 fi
8180
8181 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8182
8183 fi
8184
8185
8186 eval "$ac_cv_use_logwin"
8187 if test "$no_cache" != 1; then
8188 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8189 fi
8190
8191 if test "$wxUSE_LOGWINDOW" = yes; then
8192 { echo "$as_me:$LINENO: result: yes" >&5
8193 echo "${ECHO_T}yes" >&6; }
8194 else
8195 { echo "$as_me:$LINENO: result: no" >&5
8196 echo "${ECHO_T}no" >&6; }
8197 fi
8198
8199
8200 enablestring=
8201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8202 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8203 no_cache=0
8204 # Check whether --enable-logdialog was given.
8205 if test "${enable_logdialog+set}" = set; then
8206 enableval=$enable_logdialog;
8207 if test "$enableval" = yes; then
8208 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8209 else
8210 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8211 fi
8212
8213 else
8214
8215 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x ; then
8217 eval "DEFAULT_$LINE"
8218 else
8219 no_cache=1
8220 fi
8221
8222 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8223
8224 fi
8225
8226
8227 eval "$ac_cv_use_logdialog"
8228 if test "$no_cache" != 1; then
8229 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8230 fi
8231
8232 if test "$wxUSE_LOGDIALOG" = yes; then
8233 { echo "$as_me:$LINENO: result: yes" >&5
8234 echo "${ECHO_T}yes" >&6; }
8235 else
8236 { echo "$as_me:$LINENO: result: no" >&5
8237 echo "${ECHO_T}no" >&6; }
8238 fi
8239
8240
8241 enablestring=
8242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8243 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8244 no_cache=0
8245 # Check whether --enable-webkit was given.
8246 if test "${enable_webkit+set}" = set; then
8247 enableval=$enable_webkit;
8248 if test "$enableval" = yes; then
8249 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8250 else
8251 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8252 fi
8253
8254 else
8255
8256 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x ; then
8258 eval "DEFAULT_$LINE"
8259 else
8260 no_cache=1
8261 fi
8262
8263 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8264
8265 fi
8266
8267
8268 eval "$ac_cv_use_webkit"
8269 if test "$no_cache" != 1; then
8270 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8271 fi
8272
8273 if test "$wxUSE_WEBKIT" = yes; then
8274 { echo "$as_me:$LINENO: result: yes" >&5
8275 echo "${ECHO_T}yes" >&6; }
8276 else
8277 { echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6; }
8279 fi
8280
8281
8282 enablestring=
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8285 no_cache=0
8286 # Check whether --enable-richtext was given.
8287 if test "${enable_richtext+set}" = set; then
8288 enableval=$enable_richtext;
8289 if test "$enableval" = yes; then
8290 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8291 else
8292 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8293 fi
8294
8295 else
8296
8297 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x ; then
8299 eval "DEFAULT_$LINE"
8300 else
8301 no_cache=1
8302 fi
8303
8304 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8305
8306 fi
8307
8308
8309 eval "$ac_cv_use_richtext"
8310 if test "$no_cache" != 1; then
8311 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8312 fi
8313
8314 if test "$wxUSE_RICHTEXT" = yes; then
8315 { echo "$as_me:$LINENO: result: yes" >&5
8316 echo "${ECHO_T}yes" >&6; }
8317 else
8318 { echo "$as_me:$LINENO: result: no" >&5
8319 echo "${ECHO_T}no" >&6; }
8320 fi
8321
8322
8323 enablestring=
8324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8325 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8326 no_cache=0
8327 # Check whether --enable-graphics_ctx was given.
8328 if test "${enable_graphics_ctx+set}" = set; then
8329 enableval=$enable_graphics_ctx;
8330 if test "$enableval" = yes; then
8331 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8332 else
8333 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8334 fi
8335
8336 else
8337
8338 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x ; then
8340 eval "DEFAULT_$LINE"
8341 else
8342 no_cache=1
8343 fi
8344
8345 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8346
8347 fi
8348
8349
8350 eval "$ac_cv_use_graphics_ctx"
8351 if test "$no_cache" != 1; then
8352 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8353 fi
8354
8355 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8356 { echo "$as_me:$LINENO: result: yes" >&5
8357 echo "${ECHO_T}yes" >&6; }
8358 else
8359 { echo "$as_me:$LINENO: result: no" >&5
8360 echo "${ECHO_T}no" >&6; }
8361 fi
8362
8363
8364
8365 enablestring=
8366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8368 no_cache=0
8369 # Check whether --enable-postscript was given.
8370 if test "${enable_postscript+set}" = set; then
8371 enableval=$enable_postscript;
8372 if test "$enableval" = yes; then
8373 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8374 else
8375 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8376 fi
8377
8378 else
8379
8380 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8383 else
8384 no_cache=1
8385 fi
8386
8387 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8388
8389 fi
8390
8391
8392 eval "$ac_cv_use_postscript"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8395 fi
8396
8397 if test "$wxUSE_POSTSCRIPT" = yes; then
8398 { echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6; }
8400 else
8401 { echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6; }
8403 fi
8404
8405
8406
8407
8408
8409 enablestring=
8410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8412 no_cache=0
8413 # Check whether --enable-prologio was given.
8414 if test "${enable_prologio+set}" = set; then
8415 enableval=$enable_prologio;
8416 if test "$enableval" = yes; then
8417 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8418 else
8419 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8420 fi
8421
8422 else
8423
8424 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8427 else
8428 no_cache=1
8429 fi
8430
8431 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8432
8433 fi
8434
8435
8436 eval "$ac_cv_use_prologio"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8439 fi
8440
8441 if test "$wxUSE_PROLOGIO" = yes; then
8442 { echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6; }
8444 else
8445 { echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6; }
8447 fi
8448
8449
8450 enablestring=
8451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8453 no_cache=0
8454 # Check whether --enable-resources was given.
8455 if test "${enable_resources+set}" = set; then
8456 enableval=$enable_resources;
8457 if test "$enableval" = yes; then
8458 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8459 else
8460 ac_cv_use_resources='wxUSE_RESOURCES=no'
8461 fi
8462
8463 else
8464
8465 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8468 else
8469 no_cache=1
8470 fi
8471
8472 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8473
8474 fi
8475
8476
8477 eval "$ac_cv_use_resources"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8480 fi
8481
8482 if test "$wxUSE_RESOURCES" = yes; then
8483 { echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6; }
8485 else
8486 { echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6; }
8488 fi
8489
8490
8491
8492
8493 enablestring=
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8496 no_cache=0
8497 # Check whether --enable-clipboard was given.
8498 if test "${enable_clipboard+set}" = set; then
8499 enableval=$enable_clipboard;
8500 if test "$enableval" = yes; then
8501 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8502 else
8503 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8504 fi
8505
8506 else
8507
8508 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8511 else
8512 no_cache=1
8513 fi
8514
8515 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8516
8517 fi
8518
8519
8520 eval "$ac_cv_use_clipboard"
8521 if test "$no_cache" != 1; then
8522 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8523 fi
8524
8525 if test "$wxUSE_CLIPBOARD" = yes; then
8526 { echo "$as_me:$LINENO: result: yes" >&5
8527 echo "${ECHO_T}yes" >&6; }
8528 else
8529 { echo "$as_me:$LINENO: result: no" >&5
8530 echo "${ECHO_T}no" >&6; }
8531 fi
8532
8533
8534 enablestring=
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8537 no_cache=0
8538 # Check whether --enable-dnd was given.
8539 if test "${enable_dnd+set}" = set; then
8540 enableval=$enable_dnd;
8541 if test "$enableval" = yes; then
8542 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8543 else
8544 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8545 fi
8546
8547 else
8548
8549 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8552 else
8553 no_cache=1
8554 fi
8555
8556 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8557
8558 fi
8559
8560
8561 eval "$ac_cv_use_dnd"
8562 if test "$no_cache" != 1; then
8563 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8564 fi
8565
8566 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8567 { echo "$as_me:$LINENO: result: yes" >&5
8568 echo "${ECHO_T}yes" >&6; }
8569 else
8570 { echo "$as_me:$LINENO: result: no" >&5
8571 echo "${ECHO_T}no" >&6; }
8572 fi
8573
8574
8575 enablestring=
8576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8577 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8578 no_cache=0
8579 # Check whether --enable-metafile was given.
8580 if test "${enable_metafile+set}" = set; then
8581 enableval=$enable_metafile;
8582 if test "$enableval" = yes; then
8583 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8584 else
8585 ac_cv_use_metafile='wxUSE_METAFILE=no'
8586 fi
8587
8588 else
8589
8590 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8593 else
8594 no_cache=1
8595 fi
8596
8597 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8598
8599 fi
8600
8601
8602 eval "$ac_cv_use_metafile"
8603 if test "$no_cache" != 1; then
8604 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8605 fi
8606
8607 if test "$wxUSE_METAFILE" = yes; then
8608 { echo "$as_me:$LINENO: result: yes" >&5
8609 echo "${ECHO_T}yes" >&6; }
8610 else
8611 { echo "$as_me:$LINENO: result: no" >&5
8612 echo "${ECHO_T}no" >&6; }
8613 fi
8614
8615
8616
8617
8618
8619 enablestring=
8620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8621 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8622 no_cache=0
8623 # Check whether --enable-controls was given.
8624 if test "${enable_controls+set}" = set; then
8625 enableval=$enable_controls;
8626 if test "$enableval" = yes; then
8627 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8628 else
8629 ac_cv_use_controls='wxUSE_CONTROLS=no'
8630 fi
8631
8632 else
8633
8634 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x ; then
8636 eval "DEFAULT_$LINE"
8637 else
8638 no_cache=1
8639 fi
8640
8641 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8642
8643 fi
8644
8645
8646 eval "$ac_cv_use_controls"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8649 fi
8650
8651 if test "$wxUSE_CONTROLS" = yes; then
8652 { echo "$as_me:$LINENO: result: yes" >&5
8653 echo "${ECHO_T}yes" >&6; }
8654 else
8655 { echo "$as_me:$LINENO: result: no" >&5
8656 echo "${ECHO_T}no" >&6; }
8657 fi
8658
8659
8660 if test "$wxUSE_CONTROLS" = "yes"; then
8661 DEFAULT_wxUSE_ACCEL=yes
8662 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8663 DEFAULT_wxUSE_BMPBUTTON=yes
8664 DEFAULT_wxUSE_BUTTON=yes
8665 DEFAULT_wxUSE_CALCTRL=yes
8666 DEFAULT_wxUSE_CARET=yes
8667 DEFAULT_wxUSE_COMBOBOX=yes
8668 DEFAULT_wxUSE_CHECKBOX=yes
8669 DEFAULT_wxUSE_CHECKLISTBOX=yes
8670 DEFAULT_wxUSE_CHOICE=yes
8671 DEFAULT_wxUSE_CHOICEBOOK=yes
8672 DEFAULT_wxUSE_COLLPANE=yes
8673 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8674 DEFAULT_wxUSE_COMBOBOX=yes
8675 DEFAULT_wxUSE_DATEPICKCTRL=yes
8676 DEFAULT_wxUSE_DISPLAY=yes
8677 DEFAULT_wxUSE_DETECT_SM=yes
8678 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8679 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8680 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8681 DEFAULT_wxUSE_GAUGE=yes
8682 DEFAULT_wxUSE_GRID=yes
8683 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8684 DEFAULT_wxUSE_DATAVIEWCTRL=no
8685 DEFAULT_wxUSE_IMAGLIST=yes
8686 DEFAULT_wxUSE_LISTBOOK=yes
8687 DEFAULT_wxUSE_LISTBOX=yes
8688 DEFAULT_wxUSE_LISTCTRL=yes
8689 DEFAULT_wxUSE_NOTEBOOK=yes
8690 DEFAULT_wxUSE_RADIOBOX=yes
8691 DEFAULT_wxUSE_RADIOBTN=yes
8692 DEFAULT_wxUSE_SASH=yes
8693 DEFAULT_wxUSE_SCROLLBAR=yes
8694 DEFAULT_wxUSE_SEARCHCTRL=yes
8695 DEFAULT_wxUSE_SLIDER=yes
8696 DEFAULT_wxUSE_SPINBTN=yes
8697 DEFAULT_wxUSE_SPINCTRL=yes
8698 DEFAULT_wxUSE_SPLITTER=yes
8699 DEFAULT_wxUSE_STATBMP=yes
8700 DEFAULT_wxUSE_STATBOX=yes
8701 DEFAULT_wxUSE_STATLINE=yes
8702 DEFAULT_wxUSE_STATUSBAR=yes
8703 DEFAULT_wxUSE_TAB_DIALOG=yes
8704 DEFAULT_wxUSE_TOGGLEBTN=yes
8705 DEFAULT_wxUSE_TOOLBAR=yes
8706 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8707 DEFAULT_wxUSE_TOOLTIPS=yes
8708 DEFAULT_wxUSE_TREEBOOK=yes
8709 DEFAULT_wxUSE_TOOLBOOK=yes
8710 DEFAULT_wxUSE_TREECTRL=yes
8711 DEFAULT_wxUSE_POPUPWIN=yes
8712 DEFAULT_wxUSE_TIPWINDOW=yes
8713 elif test "$wxUSE_CONTROLS" = "no"; then
8714 DEFAULT_wxUSE_ACCEL=no
8715 DEFAULT_wxUSE_ANIMATIONCTRL=no
8716 DEFAULT_wxUSE_BMPBUTTON=no
8717 DEFAULT_wxUSE_BUTTON=no
8718 DEFAULT_wxUSE_CALCTRL=no
8719 DEFAULT_wxUSE_CARET=no
8720 DEFAULT_wxUSE_COLLPANE=no
8721 DEFAULT_wxUSE_COMBOBOX=no
8722 DEFAULT_wxUSE_CHECKBOX=no
8723 DEFAULT_wxUSE_CHECKLISTBOX=no
8724 DEFAULT_wxUSE_CHOICE=no
8725 DEFAULT_wxUSE_CHOICEBOOK=no
8726 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8727 DEFAULT_wxUSE_COMBOBOX=no
8728 DEFAULT_wxUSE_DATEPICKCTRL=no
8729 DEFAULT_wxUSE_DISPLAY=no
8730 DEFAULT_wxUSE_DETECT_SM=no
8731 DEFAULT_wxUSE_DIRPICKERCTRL=no
8732 DEFAULT_wxUSE_FILEPICKERCTRL=no
8733 DEFAULT_wxUSE_FONTPICKERCTRL=no
8734 DEFAULT_wxUSE_GAUGE=no
8735 DEFAULT_wxUSE_GRID=no
8736 DEFAULT_wxUSE_HYPERLINKCTRL=no
8737 DEFAULT_wxUSE_DATAVIEWCTRL=no
8738 DEFAULT_wxUSE_IMAGLIST=no
8739 DEFAULT_wxUSE_LISTBOOK=no
8740 DEFAULT_wxUSE_LISTBOX=no
8741 DEFAULT_wxUSE_LISTCTRL=no
8742 DEFAULT_wxUSE_NOTEBOOK=no
8743 DEFAULT_wxUSE_RADIOBOX=no
8744 DEFAULT_wxUSE_RADIOBTN=no
8745 DEFAULT_wxUSE_SASH=no
8746 DEFAULT_wxUSE_SCROLLBAR=no
8747 DEFAULT_wxUSE_SEARCHCTRL=no
8748 DEFAULT_wxUSE_SLIDER=no
8749 DEFAULT_wxUSE_SPINBTN=no
8750 DEFAULT_wxUSE_SPINCTRL=no
8751 DEFAULT_wxUSE_SPLITTER=no
8752 DEFAULT_wxUSE_STATBMP=no
8753 DEFAULT_wxUSE_STATBOX=no
8754 DEFAULT_wxUSE_STATLINE=no
8755 DEFAULT_wxUSE_STATUSBAR=no
8756 DEFAULT_wxUSE_TAB_DIALOG=no
8757 DEFAULT_wxUSE_TOGGLEBTN=no
8758 DEFAULT_wxUSE_TOOLBAR=no
8759 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8760 DEFAULT_wxUSE_TOOLTIPS=no
8761 DEFAULT_wxUSE_TREEBOOK=no
8762 DEFAULT_wxUSE_TOOLBOOK=no
8763 DEFAULT_wxUSE_TREECTRL=no
8764 DEFAULT_wxUSE_POPUPWIN=no
8765 DEFAULT_wxUSE_TIPWINDOW=no
8766 fi
8767
8768
8769 enablestring=
8770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8772 no_cache=0
8773 # Check whether --enable-accel was given.
8774 if test "${enable_accel+set}" = set; then
8775 enableval=$enable_accel;
8776 if test "$enableval" = yes; then
8777 ac_cv_use_accel='wxUSE_ACCEL=yes'
8778 else
8779 ac_cv_use_accel='wxUSE_ACCEL=no'
8780 fi
8781
8782 else
8783
8784 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x ; then
8786 eval "DEFAULT_$LINE"
8787 else
8788 no_cache=1
8789 fi
8790
8791 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8792
8793 fi
8794
8795
8796 eval "$ac_cv_use_accel"
8797 if test "$no_cache" != 1; then
8798 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8799 fi
8800
8801 if test "$wxUSE_ACCEL" = yes; then
8802 { echo "$as_me:$LINENO: result: yes" >&5
8803 echo "${ECHO_T}yes" >&6; }
8804 else
8805 { echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6; }
8807 fi
8808
8809
8810 enablestring=
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8813 no_cache=0
8814 # Check whether --enable-animatectrl was given.
8815 if test "${enable_animatectrl+set}" = set; then
8816 enableval=$enable_animatectrl;
8817 if test "$enableval" = yes; then
8818 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8819 else
8820 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8821 fi
8822
8823 else
8824
8825 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8828 else
8829 no_cache=1
8830 fi
8831
8832 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8833
8834 fi
8835
8836
8837 eval "$ac_cv_use_animatectrl"
8838 if test "$no_cache" != 1; then
8839 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8840 fi
8841
8842 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8843 { echo "$as_me:$LINENO: result: yes" >&5
8844 echo "${ECHO_T}yes" >&6; }
8845 else
8846 { echo "$as_me:$LINENO: result: no" >&5
8847 echo "${ECHO_T}no" >&6; }
8848 fi
8849
8850
8851 enablestring=
8852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8854 no_cache=0
8855 # Check whether --enable-button was given.
8856 if test "${enable_button+set}" = set; then
8857 enableval=$enable_button;
8858 if test "$enableval" = yes; then
8859 ac_cv_use_button='wxUSE_BUTTON=yes'
8860 else
8861 ac_cv_use_button='wxUSE_BUTTON=no'
8862 fi
8863
8864 else
8865
8866 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x ; then
8868 eval "DEFAULT_$LINE"
8869 else
8870 no_cache=1
8871 fi
8872
8873 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8874
8875 fi
8876
8877
8878 eval "$ac_cv_use_button"
8879 if test "$no_cache" != 1; then
8880 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8881 fi
8882
8883 if test "$wxUSE_BUTTON" = yes; then
8884 { echo "$as_me:$LINENO: result: yes" >&5
8885 echo "${ECHO_T}yes" >&6; }
8886 else
8887 { echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6; }
8889 fi
8890
8891
8892 enablestring=
8893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8895 no_cache=0
8896 # Check whether --enable-bmpbutton was given.
8897 if test "${enable_bmpbutton+set}" = set; then
8898 enableval=$enable_bmpbutton;
8899 if test "$enableval" = yes; then
8900 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8901 else
8902 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8903 fi
8904
8905 else
8906
8907 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8910 else
8911 no_cache=1
8912 fi
8913
8914 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8915
8916 fi
8917
8918
8919 eval "$ac_cv_use_bmpbutton"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8922 fi
8923
8924 if test "$wxUSE_BMPBUTTON" = yes; then
8925 { echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6; }
8927 else
8928 { echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6; }
8930 fi
8931
8932
8933 enablestring=
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8936 no_cache=0
8937 # Check whether --enable-bmpcombobox was given.
8938 if test "${enable_bmpcombobox+set}" = set; then
8939 enableval=$enable_bmpcombobox;
8940 if test "$enableval" = yes; then
8941 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8942 else
8943 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8944 fi
8945
8946 else
8947
8948 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8951 else
8952 no_cache=1
8953 fi
8954
8955 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8956
8957 fi
8958
8959
8960 eval "$ac_cv_use_bmpcombobox"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8963 fi
8964
8965 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8966 { echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6; }
8968 else
8969 { echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6; }
8971 fi
8972
8973
8974 enablestring=
8975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8977 no_cache=0
8978 # Check whether --enable-calendar was given.
8979 if test "${enable_calendar+set}" = set; then
8980 enableval=$enable_calendar;
8981 if test "$enableval" = yes; then
8982 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8983 else
8984 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8985 fi
8986
8987 else
8988
8989 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8992 else
8993 no_cache=1
8994 fi
8995
8996 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8997
8998 fi
8999
9000
9001 eval "$ac_cv_use_calendar"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9004 fi
9005
9006 if test "$wxUSE_CALCTRL" = yes; then
9007 { echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6; }
9009 else
9010 { echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6; }
9012 fi
9013
9014
9015 enablestring=
9016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9018 no_cache=0
9019 # Check whether --enable-caret was given.
9020 if test "${enable_caret+set}" = set; then
9021 enableval=$enable_caret;
9022 if test "$enableval" = yes; then
9023 ac_cv_use_caret='wxUSE_CARET=yes'
9024 else
9025 ac_cv_use_caret='wxUSE_CARET=no'
9026 fi
9027
9028 else
9029
9030 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x ; then
9032 eval "DEFAULT_$LINE"
9033 else
9034 no_cache=1
9035 fi
9036
9037 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9038
9039 fi
9040
9041
9042 eval "$ac_cv_use_caret"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9045 fi
9046
9047 if test "$wxUSE_CARET" = yes; then
9048 { echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6; }
9050 else
9051 { echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6; }
9053 fi
9054
9055
9056 enablestring=
9057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9059 no_cache=0
9060 # Check whether --enable-checkbox was given.
9061 if test "${enable_checkbox+set}" = set; then
9062 enableval=$enable_checkbox;
9063 if test "$enableval" = yes; then
9064 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9065 else
9066 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9067 fi
9068
9069 else
9070
9071 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9072 if test "x$LINE" != x ; then
9073 eval "DEFAULT_$LINE"
9074 else
9075 no_cache=1
9076 fi
9077
9078 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9079
9080 fi
9081
9082
9083 eval "$ac_cv_use_checkbox"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9086 fi
9087
9088 if test "$wxUSE_CHECKBOX" = yes; then
9089 { echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6; }
9091 else
9092 { echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6; }
9094 fi
9095
9096
9097 enablestring=
9098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9100 no_cache=0
9101 # Check whether --enable-checklst was given.
9102 if test "${enable_checklst+set}" = set; then
9103 enableval=$enable_checklst;
9104 if test "$enableval" = yes; then
9105 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9106 else
9107 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9108 fi
9109
9110 else
9111
9112 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9115 else
9116 no_cache=1
9117 fi
9118
9119 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9120
9121 fi
9122
9123
9124 eval "$ac_cv_use_checklst"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9127 fi
9128
9129 if test "$wxUSE_CHECKLST" = yes; then
9130 { echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6; }
9132 else
9133 { echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6; }
9135 fi
9136
9137
9138 enablestring=
9139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9141 no_cache=0
9142 # Check whether --enable-choice was given.
9143 if test "${enable_choice+set}" = set; then
9144 enableval=$enable_choice;
9145 if test "$enableval" = yes; then
9146 ac_cv_use_choice='wxUSE_CHOICE=yes'
9147 else
9148 ac_cv_use_choice='wxUSE_CHOICE=no'
9149 fi
9150
9151 else
9152
9153 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x ; then
9155 eval "DEFAULT_$LINE"
9156 else
9157 no_cache=1
9158 fi
9159
9160 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9161
9162 fi
9163
9164
9165 eval "$ac_cv_use_choice"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9168 fi
9169
9170 if test "$wxUSE_CHOICE" = yes; then
9171 { echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6; }
9173 else
9174 { echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6; }
9176 fi
9177
9178
9179 enablestring=
9180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9182 no_cache=0
9183 # Check whether --enable-choicebook was given.
9184 if test "${enable_choicebook+set}" = set; then
9185 enableval=$enable_choicebook;
9186 if test "$enableval" = yes; then
9187 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9188 else
9189 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9190 fi
9191
9192 else
9193
9194 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x ; then
9196 eval "DEFAULT_$LINE"
9197 else
9198 no_cache=1
9199 fi
9200
9201 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9202
9203 fi
9204
9205
9206 eval "$ac_cv_use_choicebook"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9209 fi
9210
9211 if test "$wxUSE_CHOICEBOOK" = yes; then
9212 { echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6; }
9214 else
9215 { echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6; }
9217 fi
9218
9219
9220 enablestring=
9221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9223 no_cache=0
9224 # Check whether --enable-collpane was given.
9225 if test "${enable_collpane+set}" = set; then
9226 enableval=$enable_collpane;
9227 if test "$enableval" = yes; then
9228 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9229 else
9230 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9231 fi
9232
9233 else
9234
9235 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x ; then
9237 eval "DEFAULT_$LINE"
9238 else
9239 no_cache=1
9240 fi
9241
9242 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9243
9244 fi
9245
9246
9247 eval "$ac_cv_use_collpane"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9250 fi
9251
9252 if test "$wxUSE_COLLPANE" = yes; then
9253 { echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6; }
9255 else
9256 { echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6; }
9258 fi
9259
9260
9261 enablestring=
9262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9264 no_cache=0
9265 # Check whether --enable-colourpicker was given.
9266 if test "${enable_colourpicker+set}" = set; then
9267 enableval=$enable_colourpicker;
9268 if test "$enableval" = yes; then
9269 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9270 else
9271 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9272 fi
9273
9274 else
9275
9276 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9279 else
9280 no_cache=1
9281 fi
9282
9283 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9284
9285 fi
9286
9287
9288 eval "$ac_cv_use_colourpicker"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9291 fi
9292
9293 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9294 { echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6; }
9296 else
9297 { echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6; }
9299 fi
9300
9301
9302 enablestring=
9303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9304 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9305 no_cache=0
9306 # Check whether --enable-combobox was given.
9307 if test "${enable_combobox+set}" = set; then
9308 enableval=$enable_combobox;
9309 if test "$enableval" = yes; then
9310 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9311 else
9312 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9313 fi
9314
9315 else
9316
9317 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9318 if test "x$LINE" != x ; then
9319 eval "DEFAULT_$LINE"
9320 else
9321 no_cache=1
9322 fi
9323
9324 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9325
9326 fi
9327
9328
9329 eval "$ac_cv_use_combobox"
9330 if test "$no_cache" != 1; then
9331 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9332 fi
9333
9334 if test "$wxUSE_COMBOBOX" = yes; then
9335 { echo "$as_me:$LINENO: result: yes" >&5
9336 echo "${ECHO_T}yes" >&6; }
9337 else
9338 { echo "$as_me:$LINENO: result: no" >&5
9339 echo "${ECHO_T}no" >&6; }
9340 fi
9341
9342
9343 enablestring=
9344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9346 no_cache=0
9347 # Check whether --enable-comboctrl was given.
9348 if test "${enable_comboctrl+set}" = set; then
9349 enableval=$enable_comboctrl;
9350 if test "$enableval" = yes; then
9351 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9352 else
9353 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9354 fi
9355
9356 else
9357
9358 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9359 if test "x$LINE" != x ; then
9360 eval "DEFAULT_$LINE"
9361 else
9362 no_cache=1
9363 fi
9364
9365 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9366
9367 fi
9368
9369
9370 eval "$ac_cv_use_comboctrl"
9371 if test "$no_cache" != 1; then
9372 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9373 fi
9374
9375 if test "$wxUSE_COMBOCTRL" = yes; then
9376 { echo "$as_me:$LINENO: result: yes" >&5
9377 echo "${ECHO_T}yes" >&6; }
9378 else
9379 { echo "$as_me:$LINENO: result: no" >&5
9380 echo "${ECHO_T}no" >&6; }
9381 fi
9382
9383
9384 enablestring=
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9387 no_cache=0
9388 # Check whether --enable-datepick was given.
9389 if test "${enable_datepick+set}" = set; then
9390 enableval=$enable_datepick;
9391 if test "$enableval" = yes; then
9392 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9393 else
9394 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9395 fi
9396
9397 else
9398
9399 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9400 if test "x$LINE" != x ; then
9401 eval "DEFAULT_$LINE"
9402 else
9403 no_cache=1
9404 fi
9405
9406 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9407
9408 fi
9409
9410
9411 eval "$ac_cv_use_datepick"
9412 if test "$no_cache" != 1; then
9413 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9414 fi
9415
9416 if test "$wxUSE_DATEPICKCTRL" = yes; then
9417 { echo "$as_me:$LINENO: result: yes" >&5
9418 echo "${ECHO_T}yes" >&6; }
9419 else
9420 { echo "$as_me:$LINENO: result: no" >&5
9421 echo "${ECHO_T}no" >&6; }
9422 fi
9423
9424
9425 enablestring=
9426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9428 no_cache=0
9429 # Check whether --enable-dirpicker was given.
9430 if test "${enable_dirpicker+set}" = set; then
9431 enableval=$enable_dirpicker;
9432 if test "$enableval" = yes; then
9433 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9434 else
9435 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9436 fi
9437
9438 else
9439
9440 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9441 if test "x$LINE" != x ; then
9442 eval "DEFAULT_$LINE"
9443 else
9444 no_cache=1
9445 fi
9446
9447 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9448
9449 fi
9450
9451
9452 eval "$ac_cv_use_dirpicker"
9453 if test "$no_cache" != 1; then
9454 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9455 fi
9456
9457 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9458 { echo "$as_me:$LINENO: result: yes" >&5
9459 echo "${ECHO_T}yes" >&6; }
9460 else
9461 { echo "$as_me:$LINENO: result: no" >&5
9462 echo "${ECHO_T}no" >&6; }
9463 fi
9464
9465
9466 enablestring=
9467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9469 no_cache=0
9470 # Check whether --enable-display was given.
9471 if test "${enable_display+set}" = set; then
9472 enableval=$enable_display;
9473 if test "$enableval" = yes; then
9474 ac_cv_use_display='wxUSE_DISPLAY=yes'
9475 else
9476 ac_cv_use_display='wxUSE_DISPLAY=no'
9477 fi
9478
9479 else
9480
9481 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9482 if test "x$LINE" != x ; then
9483 eval "DEFAULT_$LINE"
9484 else
9485 no_cache=1
9486 fi
9487
9488 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9489
9490 fi
9491
9492
9493 eval "$ac_cv_use_display"
9494 if test "$no_cache" != 1; then
9495 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9496 fi
9497
9498 if test "$wxUSE_DISPLAY" = yes; then
9499 { echo "$as_me:$LINENO: result: yes" >&5
9500 echo "${ECHO_T}yes" >&6; }
9501 else
9502 { echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6; }
9504 fi
9505
9506
9507 enablestring=
9508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9509 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9510 no_cache=0
9511 # Check whether --enable-detect_sm was given.
9512 if test "${enable_detect_sm+set}" = set; then
9513 enableval=$enable_detect_sm;
9514 if test "$enableval" = yes; then
9515 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9516 else
9517 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9518 fi
9519
9520 else
9521
9522 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9523 if test "x$LINE" != x ; then
9524 eval "DEFAULT_$LINE"
9525 else
9526 no_cache=1
9527 fi
9528
9529 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9530
9531 fi
9532
9533
9534 eval "$ac_cv_use_detect_sm"
9535 if test "$no_cache" != 1; then
9536 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9537 fi
9538
9539 if test "$wxUSE_DETECT_SM" = yes; then
9540 { echo "$as_me:$LINENO: result: yes" >&5
9541 echo "${ECHO_T}yes" >&6; }
9542 else
9543 { echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6; }
9545 fi
9546
9547
9548 enablestring=
9549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9551 no_cache=0
9552 # Check whether --enable-filepicker was given.
9553 if test "${enable_filepicker+set}" = set; then
9554 enableval=$enable_filepicker;
9555 if test "$enableval" = yes; then
9556 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9557 else
9558 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9559 fi
9560
9561 else
9562
9563 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9564 if test "x$LINE" != x ; then
9565 eval "DEFAULT_$LINE"
9566 else
9567 no_cache=1
9568 fi
9569
9570 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9571
9572 fi
9573
9574
9575 eval "$ac_cv_use_filepicker"
9576 if test "$no_cache" != 1; then
9577 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9578 fi
9579
9580 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9581 { echo "$as_me:$LINENO: result: yes" >&5
9582 echo "${ECHO_T}yes" >&6; }
9583 else
9584 { echo "$as_me:$LINENO: result: no" >&5
9585 echo "${ECHO_T}no" >&6; }
9586 fi
9587
9588
9589 enablestring=
9590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9591 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9592 no_cache=0
9593 # Check whether --enable-fontpicker was given.
9594 if test "${enable_fontpicker+set}" = set; then
9595 enableval=$enable_fontpicker;
9596 if test "$enableval" = yes; then
9597 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9598 else
9599 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9600 fi
9601
9602 else
9603
9604 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9605 if test "x$LINE" != x ; then
9606 eval "DEFAULT_$LINE"
9607 else
9608 no_cache=1
9609 fi
9610
9611 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9612
9613 fi
9614
9615
9616 eval "$ac_cv_use_fontpicker"
9617 if test "$no_cache" != 1; then
9618 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9619 fi
9620
9621 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9622 { echo "$as_me:$LINENO: result: yes" >&5
9623 echo "${ECHO_T}yes" >&6; }
9624 else
9625 { echo "$as_me:$LINENO: result: no" >&5
9626 echo "${ECHO_T}no" >&6; }
9627 fi
9628
9629
9630 enablestring=
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9633 no_cache=0
9634 # Check whether --enable-gauge was given.
9635 if test "${enable_gauge+set}" = set; then
9636 enableval=$enable_gauge;
9637 if test "$enableval" = yes; then
9638 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9639 else
9640 ac_cv_use_gauge='wxUSE_GAUGE=no'
9641 fi
9642
9643 else
9644
9645 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9646 if test "x$LINE" != x ; then
9647 eval "DEFAULT_$LINE"
9648 else
9649 no_cache=1
9650 fi
9651
9652 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9653
9654 fi
9655
9656
9657 eval "$ac_cv_use_gauge"
9658 if test "$no_cache" != 1; then
9659 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9660 fi
9661
9662 if test "$wxUSE_GAUGE" = yes; then
9663 { echo "$as_me:$LINENO: result: yes" >&5
9664 echo "${ECHO_T}yes" >&6; }
9665 else
9666 { echo "$as_me:$LINENO: result: no" >&5
9667 echo "${ECHO_T}no" >&6; }
9668 fi
9669
9670
9671 enablestring=
9672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9673 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9674 no_cache=0
9675 # Check whether --enable-grid was given.
9676 if test "${enable_grid+set}" = set; then
9677 enableval=$enable_grid;
9678 if test "$enableval" = yes; then
9679 ac_cv_use_grid='wxUSE_GRID=yes'
9680 else
9681 ac_cv_use_grid='wxUSE_GRID=no'
9682 fi
9683
9684 else
9685
9686 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9687 if test "x$LINE" != x ; then
9688 eval "DEFAULT_$LINE"
9689 else
9690 no_cache=1
9691 fi
9692
9693 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9694
9695 fi
9696
9697
9698 eval "$ac_cv_use_grid"
9699 if test "$no_cache" != 1; then
9700 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9701 fi
9702
9703 if test "$wxUSE_GRID" = yes; then
9704 { echo "$as_me:$LINENO: result: yes" >&5
9705 echo "${ECHO_T}yes" >&6; }
9706 else
9707 { echo "$as_me:$LINENO: result: no" >&5
9708 echo "${ECHO_T}no" >&6; }
9709 fi
9710
9711
9712 enablestring=
9713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9714 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9715 no_cache=0
9716 # Check whether --enable-dataviewctrl was given.
9717 if test "${enable_dataviewctrl+set}" = set; then
9718 enableval=$enable_dataviewctrl;
9719 if test "$enableval" = yes; then
9720 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9721 else
9722 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9723 fi
9724
9725 else
9726
9727 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9728 if test "x$LINE" != x ; then
9729 eval "DEFAULT_$LINE"
9730 else
9731 no_cache=1
9732 fi
9733
9734 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9735
9736 fi
9737
9738
9739 eval "$ac_cv_use_dataviewctrl"
9740 if test "$no_cache" != 1; then
9741 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9742 fi
9743
9744 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9745 { echo "$as_me:$LINENO: result: yes" >&5
9746 echo "${ECHO_T}yes" >&6; }
9747 else
9748 { echo "$as_me:$LINENO: result: no" >&5
9749 echo "${ECHO_T}no" >&6; }
9750 fi
9751
9752
9753 enablestring=
9754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9756 no_cache=0
9757 # Check whether --enable-hyperlink was given.
9758 if test "${enable_hyperlink+set}" = set; then
9759 enableval=$enable_hyperlink;
9760 if test "$enableval" = yes; then
9761 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9762 else
9763 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9764 fi
9765
9766 else
9767
9768 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9769 if test "x$LINE" != x ; then
9770 eval "DEFAULT_$LINE"
9771 else
9772 no_cache=1
9773 fi
9774
9775 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9776
9777 fi
9778
9779
9780 eval "$ac_cv_use_hyperlink"
9781 if test "$no_cache" != 1; then
9782 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9783 fi
9784
9785 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9786 { echo "$as_me:$LINENO: result: yes" >&5
9787 echo "${ECHO_T}yes" >&6; }
9788 else
9789 { echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6; }
9791 fi
9792
9793
9794 enablestring=
9795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9797 no_cache=0
9798 # Check whether --enable-imaglist was given.
9799 if test "${enable_imaglist+set}" = set; then
9800 enableval=$enable_imaglist;
9801 if test "$enableval" = yes; then
9802 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9803 else
9804 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9805 fi
9806
9807 else
9808
9809 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9810 if test "x$LINE" != x ; then
9811 eval "DEFAULT_$LINE"
9812 else
9813 no_cache=1
9814 fi
9815
9816 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9817
9818 fi
9819
9820
9821 eval "$ac_cv_use_imaglist"
9822 if test "$no_cache" != 1; then
9823 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9824 fi
9825
9826 if test "$wxUSE_IMAGLIST" = yes; then
9827 { echo "$as_me:$LINENO: result: yes" >&5
9828 echo "${ECHO_T}yes" >&6; }
9829 else
9830 { echo "$as_me:$LINENO: result: no" >&5
9831 echo "${ECHO_T}no" >&6; }
9832 fi
9833
9834
9835 enablestring=
9836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9837 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9838 no_cache=0
9839 # Check whether --enable-listbook was given.
9840 if test "${enable_listbook+set}" = set; then
9841 enableval=$enable_listbook;
9842 if test "$enableval" = yes; then
9843 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9844 else
9845 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9846 fi
9847
9848 else
9849
9850 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9851 if test "x$LINE" != x ; then
9852 eval "DEFAULT_$LINE"
9853 else
9854 no_cache=1
9855 fi
9856
9857 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9858
9859 fi
9860
9861
9862 eval "$ac_cv_use_listbook"
9863 if test "$no_cache" != 1; then
9864 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9865 fi
9866
9867 if test "$wxUSE_LISTBOOK" = yes; then
9868 { echo "$as_me:$LINENO: result: yes" >&5
9869 echo "${ECHO_T}yes" >&6; }
9870 else
9871 { echo "$as_me:$LINENO: result: no" >&5
9872 echo "${ECHO_T}no" >&6; }
9873 fi
9874
9875
9876 enablestring=
9877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9878 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9879 no_cache=0
9880 # Check whether --enable-listbox was given.
9881 if test "${enable_listbox+set}" = set; then
9882 enableval=$enable_listbox;
9883 if test "$enableval" = yes; then
9884 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9885 else
9886 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9887 fi
9888
9889 else
9890
9891 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9892 if test "x$LINE" != x ; then
9893 eval "DEFAULT_$LINE"
9894 else
9895 no_cache=1
9896 fi
9897
9898 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9899
9900 fi
9901
9902
9903 eval "$ac_cv_use_listbox"
9904 if test "$no_cache" != 1; then
9905 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9906 fi
9907
9908 if test "$wxUSE_LISTBOX" = yes; then
9909 { echo "$as_me:$LINENO: result: yes" >&5
9910 echo "${ECHO_T}yes" >&6; }
9911 else
9912 { echo "$as_me:$LINENO: result: no" >&5
9913 echo "${ECHO_T}no" >&6; }
9914 fi
9915
9916
9917 enablestring=
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9920 no_cache=0
9921 # Check whether --enable-listctrl was given.
9922 if test "${enable_listctrl+set}" = set; then
9923 enableval=$enable_listctrl;
9924 if test "$enableval" = yes; then
9925 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9926 else
9927 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9928 fi
9929
9930 else
9931
9932 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9933 if test "x$LINE" != x ; then
9934 eval "DEFAULT_$LINE"
9935 else
9936 no_cache=1
9937 fi
9938
9939 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9940
9941 fi
9942
9943
9944 eval "$ac_cv_use_listctrl"
9945 if test "$no_cache" != 1; then
9946 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9947 fi
9948
9949 if test "$wxUSE_LISTCTRL" = yes; then
9950 { echo "$as_me:$LINENO: result: yes" >&5
9951 echo "${ECHO_T}yes" >&6; }
9952 else
9953 { echo "$as_me:$LINENO: result: no" >&5
9954 echo "${ECHO_T}no" >&6; }
9955 fi
9956
9957
9958 enablestring=
9959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9960 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9961 no_cache=0
9962 # Check whether --enable-notebook was given.
9963 if test "${enable_notebook+set}" = set; then
9964 enableval=$enable_notebook;
9965 if test "$enableval" = yes; then
9966 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9967 else
9968 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9969 fi
9970
9971 else
9972
9973 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9974 if test "x$LINE" != x ; then
9975 eval "DEFAULT_$LINE"
9976 else
9977 no_cache=1
9978 fi
9979
9980 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9981
9982 fi
9983
9984
9985 eval "$ac_cv_use_notebook"
9986 if test "$no_cache" != 1; then
9987 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9988 fi
9989
9990 if test "$wxUSE_NOTEBOOK" = yes; then
9991 { echo "$as_me:$LINENO: result: yes" >&5
9992 echo "${ECHO_T}yes" >&6; }
9993 else
9994 { echo "$as_me:$LINENO: result: no" >&5
9995 echo "${ECHO_T}no" >&6; }
9996 fi
9997
9998
9999 enablestring=
10000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10001 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10002 no_cache=0
10003 # Check whether --enable-odcombobox was given.
10004 if test "${enable_odcombobox+set}" = set; then
10005 enableval=$enable_odcombobox;
10006 if test "$enableval" = yes; then
10007 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10008 else
10009 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10010 fi
10011
10012 else
10013
10014 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10015 if test "x$LINE" != x ; then
10016 eval "DEFAULT_$LINE"
10017 else
10018 no_cache=1
10019 fi
10020
10021 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10022
10023 fi
10024
10025
10026 eval "$ac_cv_use_odcombobox"
10027 if test "$no_cache" != 1; then
10028 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10029 fi
10030
10031 if test "$wxUSE_ODCOMBOBOX" = yes; then
10032 { echo "$as_me:$LINENO: result: yes" >&5
10033 echo "${ECHO_T}yes" >&6; }
10034 else
10035 { echo "$as_me:$LINENO: result: no" >&5
10036 echo "${ECHO_T}no" >&6; }
10037 fi
10038
10039
10040 enablestring=
10041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10042 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10043 no_cache=0
10044 # Check whether --enable-radiobox was given.
10045 if test "${enable_radiobox+set}" = set; then
10046 enableval=$enable_radiobox;
10047 if test "$enableval" = yes; then
10048 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10049 else
10050 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10051 fi
10052
10053 else
10054
10055 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10056 if test "x$LINE" != x ; then
10057 eval "DEFAULT_$LINE"
10058 else
10059 no_cache=1
10060 fi
10061
10062 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10063
10064 fi
10065
10066
10067 eval "$ac_cv_use_radiobox"
10068 if test "$no_cache" != 1; then
10069 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10070 fi
10071
10072 if test "$wxUSE_RADIOBOX" = yes; then
10073 { echo "$as_me:$LINENO: result: yes" >&5
10074 echo "${ECHO_T}yes" >&6; }
10075 else
10076 { echo "$as_me:$LINENO: result: no" >&5
10077 echo "${ECHO_T}no" >&6; }
10078 fi
10079
10080
10081 enablestring=
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10084 no_cache=0
10085 # Check whether --enable-radiobtn was given.
10086 if test "${enable_radiobtn+set}" = set; then
10087 enableval=$enable_radiobtn;
10088 if test "$enableval" = yes; then
10089 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10090 else
10091 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10092 fi
10093
10094 else
10095
10096 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10097 if test "x$LINE" != x ; then
10098 eval "DEFAULT_$LINE"
10099 else
10100 no_cache=1
10101 fi
10102
10103 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10104
10105 fi
10106
10107
10108 eval "$ac_cv_use_radiobtn"
10109 if test "$no_cache" != 1; then
10110 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10111 fi
10112
10113 if test "$wxUSE_RADIOBTN" = yes; then
10114 { echo "$as_me:$LINENO: result: yes" >&5
10115 echo "${ECHO_T}yes" >&6; }
10116 else
10117 { echo "$as_me:$LINENO: result: no" >&5
10118 echo "${ECHO_T}no" >&6; }
10119 fi
10120
10121
10122 enablestring=
10123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10124 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10125 no_cache=0
10126 # Check whether --enable-sash was given.
10127 if test "${enable_sash+set}" = set; then
10128 enableval=$enable_sash;
10129 if test "$enableval" = yes; then
10130 ac_cv_use_sash='wxUSE_SASH=yes'
10131 else
10132 ac_cv_use_sash='wxUSE_SASH=no'
10133 fi
10134
10135 else
10136
10137 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10138 if test "x$LINE" != x ; then
10139 eval "DEFAULT_$LINE"
10140 else
10141 no_cache=1
10142 fi
10143
10144 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10145
10146 fi
10147
10148
10149 eval "$ac_cv_use_sash"
10150 if test "$no_cache" != 1; then
10151 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10152 fi
10153
10154 if test "$wxUSE_SASH" = yes; then
10155 { echo "$as_me:$LINENO: result: yes" >&5
10156 echo "${ECHO_T}yes" >&6; }
10157 else
10158 { echo "$as_me:$LINENO: result: no" >&5
10159 echo "${ECHO_T}no" >&6; }
10160 fi
10161
10162
10163 enablestring=
10164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10165 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10166 no_cache=0
10167 # Check whether --enable-scrollbar was given.
10168 if test "${enable_scrollbar+set}" = set; then
10169 enableval=$enable_scrollbar;
10170 if test "$enableval" = yes; then
10171 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10172 else
10173 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10174 fi
10175
10176 else
10177
10178 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10179 if test "x$LINE" != x ; then
10180 eval "DEFAULT_$LINE"
10181 else
10182 no_cache=1
10183 fi
10184
10185 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10186
10187 fi
10188
10189
10190 eval "$ac_cv_use_scrollbar"
10191 if test "$no_cache" != 1; then
10192 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10193 fi
10194
10195 if test "$wxUSE_SCROLLBAR" = yes; then
10196 { echo "$as_me:$LINENO: result: yes" >&5
10197 echo "${ECHO_T}yes" >&6; }
10198 else
10199 { echo "$as_me:$LINENO: result: no" >&5
10200 echo "${ECHO_T}no" >&6; }
10201 fi
10202
10203
10204 enablestring=
10205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10206 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10207 no_cache=0
10208 # Check whether --enable-searchctrl was given.
10209 if test "${enable_searchctrl+set}" = set; then
10210 enableval=$enable_searchctrl;
10211 if test "$enableval" = yes; then
10212 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10213 else
10214 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10215 fi
10216
10217 else
10218
10219 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10220 if test "x$LINE" != x ; then
10221 eval "DEFAULT_$LINE"
10222 else
10223 no_cache=1
10224 fi
10225
10226 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10227
10228 fi
10229
10230
10231 eval "$ac_cv_use_searchctrl"
10232 if test "$no_cache" != 1; then
10233 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10234 fi
10235
10236 if test "$wxUSE_SEARCHCTRL" = yes; then
10237 { echo "$as_me:$LINENO: result: yes" >&5
10238 echo "${ECHO_T}yes" >&6; }
10239 else
10240 { echo "$as_me:$LINENO: result: no" >&5
10241 echo "${ECHO_T}no" >&6; }
10242 fi
10243
10244
10245 enablestring=
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10248 no_cache=0
10249 # Check whether --enable-slider was given.
10250 if test "${enable_slider+set}" = set; then
10251 enableval=$enable_slider;
10252 if test "$enableval" = yes; then
10253 ac_cv_use_slider='wxUSE_SLIDER=yes'
10254 else
10255 ac_cv_use_slider='wxUSE_SLIDER=no'
10256 fi
10257
10258 else
10259
10260 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10261 if test "x$LINE" != x ; then
10262 eval "DEFAULT_$LINE"
10263 else
10264 no_cache=1
10265 fi
10266
10267 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10268
10269 fi
10270
10271
10272 eval "$ac_cv_use_slider"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10275 fi
10276
10277 if test "$wxUSE_SLIDER" = yes; then
10278 { echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6; }
10280 else
10281 { echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6; }
10283 fi
10284
10285
10286 enablestring=
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10289 no_cache=0
10290 # Check whether --enable-spinbtn was given.
10291 if test "${enable_spinbtn+set}" = set; then
10292 enableval=$enable_spinbtn;
10293 if test "$enableval" = yes; then
10294 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10295 else
10296 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10297 fi
10298
10299 else
10300
10301 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10302 if test "x$LINE" != x ; then
10303 eval "DEFAULT_$LINE"
10304 else
10305 no_cache=1
10306 fi
10307
10308 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10309
10310 fi
10311
10312
10313 eval "$ac_cv_use_spinbtn"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10316 fi
10317
10318 if test "$wxUSE_SPINBTN" = yes; then
10319 { echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6; }
10321 else
10322 { echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6; }
10324 fi
10325
10326
10327 enablestring=
10328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10330 no_cache=0
10331 # Check whether --enable-spinctrl was given.
10332 if test "${enable_spinctrl+set}" = set; then
10333 enableval=$enable_spinctrl;
10334 if test "$enableval" = yes; then
10335 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10336 else
10337 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10338 fi
10339
10340 else
10341
10342 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10343 if test "x$LINE" != x ; then
10344 eval "DEFAULT_$LINE"
10345 else
10346 no_cache=1
10347 fi
10348
10349 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10350
10351 fi
10352
10353
10354 eval "$ac_cv_use_spinctrl"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10357 fi
10358
10359 if test "$wxUSE_SPINCTRL" = yes; then
10360 { echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6; }
10362 else
10363 { echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6; }
10365 fi
10366
10367
10368 enablestring=
10369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10371 no_cache=0
10372 # Check whether --enable-splitter was given.
10373 if test "${enable_splitter+set}" = set; then
10374 enableval=$enable_splitter;
10375 if test "$enableval" = yes; then
10376 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10377 else
10378 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10379 fi
10380
10381 else
10382
10383 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10384 if test "x$LINE" != x ; then
10385 eval "DEFAULT_$LINE"
10386 else
10387 no_cache=1
10388 fi
10389
10390 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10391
10392 fi
10393
10394
10395 eval "$ac_cv_use_splitter"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10398 fi
10399
10400 if test "$wxUSE_SPLITTER" = yes; then
10401 { echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6; }
10403 else
10404 { echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6; }
10406 fi
10407
10408
10409 enablestring=
10410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10412 no_cache=0
10413 # Check whether --enable-statbmp was given.
10414 if test "${enable_statbmp+set}" = set; then
10415 enableval=$enable_statbmp;
10416 if test "$enableval" = yes; then
10417 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10418 else
10419 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10420 fi
10421
10422 else
10423
10424 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10425 if test "x$LINE" != x ; then
10426 eval "DEFAULT_$LINE"
10427 else
10428 no_cache=1
10429 fi
10430
10431 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10432
10433 fi
10434
10435
10436 eval "$ac_cv_use_statbmp"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10439 fi
10440
10441 if test "$wxUSE_STATBMP" = yes; then
10442 { echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6; }
10444 else
10445 { echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6; }
10447 fi
10448
10449
10450 enablestring=
10451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10453 no_cache=0
10454 # Check whether --enable-statbox was given.
10455 if test "${enable_statbox+set}" = set; then
10456 enableval=$enable_statbox;
10457 if test "$enableval" = yes; then
10458 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10459 else
10460 ac_cv_use_statbox='wxUSE_STATBOX=no'
10461 fi
10462
10463 else
10464
10465 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10466 if test "x$LINE" != x ; then
10467 eval "DEFAULT_$LINE"
10468 else
10469 no_cache=1
10470 fi
10471
10472 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10473
10474 fi
10475
10476
10477 eval "$ac_cv_use_statbox"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10480 fi
10481
10482 if test "$wxUSE_STATBOX" = yes; then
10483 { echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6; }
10485 else
10486 { echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6; }
10488 fi
10489
10490
10491 enablestring=
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10494 no_cache=0
10495 # Check whether --enable-statline was given.
10496 if test "${enable_statline+set}" = set; then
10497 enableval=$enable_statline;
10498 if test "$enableval" = yes; then
10499 ac_cv_use_statline='wxUSE_STATLINE=yes'
10500 else
10501 ac_cv_use_statline='wxUSE_STATLINE=no'
10502 fi
10503
10504 else
10505
10506 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10507 if test "x$LINE" != x ; then
10508 eval "DEFAULT_$LINE"
10509 else
10510 no_cache=1
10511 fi
10512
10513 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10514
10515 fi
10516
10517
10518 eval "$ac_cv_use_statline"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10521 fi
10522
10523 if test "$wxUSE_STATLINE" = yes; then
10524 { echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6; }
10526 else
10527 { echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6; }
10529 fi
10530
10531
10532 enablestring=
10533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10535 no_cache=0
10536 # Check whether --enable-stattext was given.
10537 if test "${enable_stattext+set}" = set; then
10538 enableval=$enable_stattext;
10539 if test "$enableval" = yes; then
10540 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10541 else
10542 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10543 fi
10544
10545 else
10546
10547 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10548 if test "x$LINE" != x ; then
10549 eval "DEFAULT_$LINE"
10550 else
10551 no_cache=1
10552 fi
10553
10554 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10555
10556 fi
10557
10558
10559 eval "$ac_cv_use_stattext"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10562 fi
10563
10564 if test "$wxUSE_STATTEXT" = yes; then
10565 { echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6; }
10567 else
10568 { echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6; }
10570 fi
10571
10572
10573 enablestring=
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10576 no_cache=0
10577 # Check whether --enable-statusbar was given.
10578 if test "${enable_statusbar+set}" = set; then
10579 enableval=$enable_statusbar;
10580 if test "$enableval" = yes; then
10581 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10582 else
10583 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10584 fi
10585
10586 else
10587
10588 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10589 if test "x$LINE" != x ; then
10590 eval "DEFAULT_$LINE"
10591 else
10592 no_cache=1
10593 fi
10594
10595 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10596
10597 fi
10598
10599
10600 eval "$ac_cv_use_statusbar"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10603 fi
10604
10605 if test "$wxUSE_STATUSBAR" = yes; then
10606 { echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6; }
10608 else
10609 { echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6; }
10611 fi
10612
10613
10614 enablestring=
10615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10617 no_cache=0
10618 # Check whether --enable-tabdialog was given.
10619 if test "${enable_tabdialog+set}" = set; then
10620 enableval=$enable_tabdialog;
10621 if test "$enableval" = yes; then
10622 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10623 else
10624 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10625 fi
10626
10627 else
10628
10629 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10630 if test "x$LINE" != x ; then
10631 eval "DEFAULT_$LINE"
10632 else
10633 no_cache=1
10634 fi
10635
10636 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10637
10638 fi
10639
10640
10641 eval "$ac_cv_use_tabdialog"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10644 fi
10645
10646 if test "$wxUSE_TAB_DIALOG" = yes; then
10647 { echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6; }
10649 else
10650 { echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6; }
10652 fi
10653
10654
10655 enablestring=
10656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10658 no_cache=0
10659 # Check whether --enable-textctrl was given.
10660 if test "${enable_textctrl+set}" = set; then
10661 enableval=$enable_textctrl;
10662 if test "$enableval" = yes; then
10663 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10664 else
10665 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10666 fi
10667
10668 else
10669
10670 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10671 if test "x$LINE" != x ; then
10672 eval "DEFAULT_$LINE"
10673 else
10674 no_cache=1
10675 fi
10676
10677 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10678
10679 fi
10680
10681
10682 eval "$ac_cv_use_textctrl"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10685 fi
10686
10687 if test "$wxUSE_TEXTCTRL" = yes; then
10688 { echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6; }
10690 else
10691 { echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6; }
10693 fi
10694
10695
10696 enablestring=
10697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10699 no_cache=0
10700 # Check whether --enable-togglebtn was given.
10701 if test "${enable_togglebtn+set}" = set; then
10702 enableval=$enable_togglebtn;
10703 if test "$enableval" = yes; then
10704 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10705 else
10706 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10707 fi
10708
10709 else
10710
10711 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10712 if test "x$LINE" != x ; then
10713 eval "DEFAULT_$LINE"
10714 else
10715 no_cache=1
10716 fi
10717
10718 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10719
10720 fi
10721
10722
10723 eval "$ac_cv_use_togglebtn"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10726 fi
10727
10728 if test "$wxUSE_TOGGLEBTN" = yes; then
10729 { echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6; }
10731 else
10732 { echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6; }
10734 fi
10735
10736
10737 enablestring=
10738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10740 no_cache=0
10741 # Check whether --enable-toolbar was given.
10742 if test "${enable_toolbar+set}" = set; then
10743 enableval=$enable_toolbar;
10744 if test "$enableval" = yes; then
10745 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10746 else
10747 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10748 fi
10749
10750 else
10751
10752 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10753 if test "x$LINE" != x ; then
10754 eval "DEFAULT_$LINE"
10755 else
10756 no_cache=1
10757 fi
10758
10759 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10760
10761 fi
10762
10763
10764 eval "$ac_cv_use_toolbar"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10767 fi
10768
10769 if test "$wxUSE_TOOLBAR" = yes; then
10770 { echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6; }
10772 else
10773 { echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6; }
10775 fi
10776
10777
10778 enablestring=
10779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10781 no_cache=0
10782 # Check whether --enable-tbarnative was given.
10783 if test "${enable_tbarnative+set}" = set; then
10784 enableval=$enable_tbarnative;
10785 if test "$enableval" = yes; then
10786 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10787 else
10788 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10789 fi
10790
10791 else
10792
10793 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10794 if test "x$LINE" != x ; then
10795 eval "DEFAULT_$LINE"
10796 else
10797 no_cache=1
10798 fi
10799
10800 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10801
10802 fi
10803
10804
10805 eval "$ac_cv_use_tbarnative"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10808 fi
10809
10810 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10811 { echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6; }
10813 else
10814 { echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6; }
10816 fi
10817
10818
10819 enablestring=
10820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10822 no_cache=0
10823 # Check whether --enable-treebook was given.
10824 if test "${enable_treebook+set}" = set; then
10825 enableval=$enable_treebook;
10826 if test "$enableval" = yes; then
10827 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10828 else
10829 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10830 fi
10831
10832 else
10833
10834 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10835 if test "x$LINE" != x ; then
10836 eval "DEFAULT_$LINE"
10837 else
10838 no_cache=1
10839 fi
10840
10841 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10842
10843 fi
10844
10845
10846 eval "$ac_cv_use_treebook"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10849 fi
10850
10851 if test "$wxUSE_TREEBOOK" = yes; then
10852 { echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6; }
10854 else
10855 { echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6; }
10857 fi
10858
10859
10860 enablestring=
10861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10862 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10863 no_cache=0
10864 # Check whether --enable-toolbook was given.
10865 if test "${enable_toolbook+set}" = set; then
10866 enableval=$enable_toolbook;
10867 if test "$enableval" = yes; then
10868 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10869 else
10870 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10871 fi
10872
10873 else
10874
10875 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10876 if test "x$LINE" != x ; then
10877 eval "DEFAULT_$LINE"
10878 else
10879 no_cache=1
10880 fi
10881
10882 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10883
10884 fi
10885
10886
10887 eval "$ac_cv_use_toolbook"
10888 if test "$no_cache" != 1; then
10889 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10890 fi
10891
10892 if test "$wxUSE_TOOLBOOK" = yes; then
10893 { echo "$as_me:$LINENO: result: yes" >&5
10894 echo "${ECHO_T}yes" >&6; }
10895 else
10896 { echo "$as_me:$LINENO: result: no" >&5
10897 echo "${ECHO_T}no" >&6; }
10898 fi
10899
10900
10901 enablestring=
10902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10903 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10904 no_cache=0
10905 # Check whether --enable-treectrl was given.
10906 if test "${enable_treectrl+set}" = set; then
10907 enableval=$enable_treectrl;
10908 if test "$enableval" = yes; then
10909 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10910 else
10911 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10912 fi
10913
10914 else
10915
10916 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10917 if test "x$LINE" != x ; then
10918 eval "DEFAULT_$LINE"
10919 else
10920 no_cache=1
10921 fi
10922
10923 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10924
10925 fi
10926
10927
10928 eval "$ac_cv_use_treectrl"
10929 if test "$no_cache" != 1; then
10930 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10931 fi
10932
10933 if test "$wxUSE_TREECTRL" = yes; then
10934 { echo "$as_me:$LINENO: result: yes" >&5
10935 echo "${ECHO_T}yes" >&6; }
10936 else
10937 { echo "$as_me:$LINENO: result: no" >&5
10938 echo "${ECHO_T}no" >&6; }
10939 fi
10940
10941
10942 enablestring=
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10945 no_cache=0
10946 # Check whether --enable-tipwindow was given.
10947 if test "${enable_tipwindow+set}" = set; then
10948 enableval=$enable_tipwindow;
10949 if test "$enableval" = yes; then
10950 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10951 else
10952 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10953 fi
10954
10955 else
10956
10957 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10958 if test "x$LINE" != x ; then
10959 eval "DEFAULT_$LINE"
10960 else
10961 no_cache=1
10962 fi
10963
10964 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10965
10966 fi
10967
10968
10969 eval "$ac_cv_use_tipwindow"
10970 if test "$no_cache" != 1; then
10971 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10972 fi
10973
10974 if test "$wxUSE_TIPWINDOW" = yes; then
10975 { echo "$as_me:$LINENO: result: yes" >&5
10976 echo "${ECHO_T}yes" >&6; }
10977 else
10978 { echo "$as_me:$LINENO: result: no" >&5
10979 echo "${ECHO_T}no" >&6; }
10980 fi
10981
10982
10983 enablestring=
10984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10985 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10986 no_cache=0
10987 # Check whether --enable-popupwin was given.
10988 if test "${enable_popupwin+set}" = set; then
10989 enableval=$enable_popupwin;
10990 if test "$enableval" = yes; then
10991 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10992 else
10993 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10994 fi
10995
10996 else
10997
10998 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10999 if test "x$LINE" != x ; then
11000 eval "DEFAULT_$LINE"
11001 else
11002 no_cache=1
11003 fi
11004
11005 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11006
11007 fi
11008
11009
11010 eval "$ac_cv_use_popupwin"
11011 if test "$no_cache" != 1; then
11012 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11013 fi
11014
11015 if test "$wxUSE_POPUPWIN" = yes; then
11016 { echo "$as_me:$LINENO: result: yes" >&5
11017 echo "${ECHO_T}yes" >&6; }
11018 else
11019 { echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6; }
11021 fi
11022
11023
11024
11025
11026 enablestring=
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11029 no_cache=0
11030 # Check whether --enable-commondlg was given.
11031 if test "${enable_commondlg+set}" = set; then
11032 enableval=$enable_commondlg;
11033 if test "$enableval" = yes; then
11034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11035 else
11036 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11037 fi
11038
11039 else
11040
11041 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11042 if test "x$LINE" != x ; then
11043 eval "DEFAULT_$LINE"
11044 else
11045 no_cache=1
11046 fi
11047
11048 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11049
11050 fi
11051
11052
11053 eval "$ac_cv_use_commondlg"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11056 fi
11057
11058 if test "$wxUSE_COMMONDLGS" = yes; then
11059 { echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6; }
11061 else
11062 { echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6; }
11064 fi
11065
11066
11067 enablestring=
11068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11070 no_cache=0
11071 # Check whether --enable-aboutdlg was given.
11072 if test "${enable_aboutdlg+set}" = set; then
11073 enableval=$enable_aboutdlg;
11074 if test "$enableval" = yes; then
11075 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11076 else
11077 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11078 fi
11079
11080 else
11081
11082 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11083 if test "x$LINE" != x ; then
11084 eval "DEFAULT_$LINE"
11085 else
11086 no_cache=1
11087 fi
11088
11089 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11090
11091 fi
11092
11093
11094 eval "$ac_cv_use_aboutdlg"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11097 fi
11098
11099 if test "$wxUSE_ABOUTDLG" = yes; then
11100 { echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6; }
11102 else
11103 { echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6; }
11105 fi
11106
11107
11108 enablestring=
11109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11111 no_cache=0
11112 # Check whether --enable-choicedlg was given.
11113 if test "${enable_choicedlg+set}" = set; then
11114 enableval=$enable_choicedlg;
11115 if test "$enableval" = yes; then
11116 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11117 else
11118 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11119 fi
11120
11121 else
11122
11123 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11124 if test "x$LINE" != x ; then
11125 eval "DEFAULT_$LINE"
11126 else
11127 no_cache=1
11128 fi
11129
11130 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11131
11132 fi
11133
11134
11135 eval "$ac_cv_use_choicedlg"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11138 fi
11139
11140 if test "$wxUSE_CHOICEDLG" = yes; then
11141 { echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6; }
11143 else
11144 { echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6; }
11146 fi
11147
11148
11149 enablestring=
11150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11152 no_cache=0
11153 # Check whether --enable-coldlg was given.
11154 if test "${enable_coldlg+set}" = set; then
11155 enableval=$enable_coldlg;
11156 if test "$enableval" = yes; then
11157 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11158 else
11159 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11160 fi
11161
11162 else
11163
11164 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11165 if test "x$LINE" != x ; then
11166 eval "DEFAULT_$LINE"
11167 else
11168 no_cache=1
11169 fi
11170
11171 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11172
11173 fi
11174
11175
11176 eval "$ac_cv_use_coldlg"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11179 fi
11180
11181 if test "$wxUSE_COLOURDLG" = yes; then
11182 { echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6; }
11184 else
11185 { echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6; }
11187 fi
11188
11189
11190 enablestring=
11191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11193 no_cache=0
11194 # Check whether --enable-filedlg was given.
11195 if test "${enable_filedlg+set}" = set; then
11196 enableval=$enable_filedlg;
11197 if test "$enableval" = yes; then
11198 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11199 else
11200 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11201 fi
11202
11203 else
11204
11205 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11206 if test "x$LINE" != x ; then
11207 eval "DEFAULT_$LINE"
11208 else
11209 no_cache=1
11210 fi
11211
11212 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11213
11214 fi
11215
11216
11217 eval "$ac_cv_use_filedlg"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11220 fi
11221
11222 if test "$wxUSE_FILEDLG" = yes; then
11223 { echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6; }
11225 else
11226 { echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6; }
11228 fi
11229
11230
11231 enablestring=
11232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11234 no_cache=0
11235 # Check whether --enable-finddlg was given.
11236 if test "${enable_finddlg+set}" = set; then
11237 enableval=$enable_finddlg;
11238 if test "$enableval" = yes; then
11239 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11240 else
11241 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11242 fi
11243
11244 else
11245
11246 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11247 if test "x$LINE" != x ; then
11248 eval "DEFAULT_$LINE"
11249 else
11250 no_cache=1
11251 fi
11252
11253 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11254
11255 fi
11256
11257
11258 eval "$ac_cv_use_finddlg"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11261 fi
11262
11263 if test "$wxUSE_FINDREPLDLG" = yes; then
11264 { echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6; }
11266 else
11267 { echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6; }
11269 fi
11270
11271
11272 enablestring=
11273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11275 no_cache=0
11276 # Check whether --enable-fontdlg was given.
11277 if test "${enable_fontdlg+set}" = set; then
11278 enableval=$enable_fontdlg;
11279 if test "$enableval" = yes; then
11280 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11281 else
11282 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11283 fi
11284
11285 else
11286
11287 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11288 if test "x$LINE" != x ; then
11289 eval "DEFAULT_$LINE"
11290 else
11291 no_cache=1
11292 fi
11293
11294 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11295
11296 fi
11297
11298
11299 eval "$ac_cv_use_fontdlg"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_FONTDLG" = yes; then
11305 { echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6; }
11307 else
11308 { echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6; }
11310 fi
11311
11312
11313 enablestring=
11314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11315 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11316 no_cache=0
11317 # Check whether --enable-dirdlg was given.
11318 if test "${enable_dirdlg+set}" = set; then
11319 enableval=$enable_dirdlg;
11320 if test "$enableval" = yes; then
11321 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11322 else
11323 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11324 fi
11325
11326 else
11327
11328 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11329 if test "x$LINE" != x ; then
11330 eval "DEFAULT_$LINE"
11331 else
11332 no_cache=1
11333 fi
11334
11335 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11336
11337 fi
11338
11339
11340 eval "$ac_cv_use_dirdlg"
11341 if test "$no_cache" != 1; then
11342 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11343 fi
11344
11345 if test "$wxUSE_DIRDLG" = yes; then
11346 { echo "$as_me:$LINENO: result: yes" >&5
11347 echo "${ECHO_T}yes" >&6; }
11348 else
11349 { echo "$as_me:$LINENO: result: no" >&5
11350 echo "${ECHO_T}no" >&6; }
11351 fi
11352
11353
11354 enablestring=
11355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11356 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11357 no_cache=0
11358 # Check whether --enable-msgdlg was given.
11359 if test "${enable_msgdlg+set}" = set; then
11360 enableval=$enable_msgdlg;
11361 if test "$enableval" = yes; then
11362 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11363 else
11364 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11365 fi
11366
11367 else
11368
11369 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11370 if test "x$LINE" != x ; then
11371 eval "DEFAULT_$LINE"
11372 else
11373 no_cache=1
11374 fi
11375
11376 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11377
11378 fi
11379
11380
11381 eval "$ac_cv_use_msgdlg"
11382 if test "$no_cache" != 1; then
11383 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11384 fi
11385
11386 if test "$wxUSE_MSGDLG" = yes; then
11387 { echo "$as_me:$LINENO: result: yes" >&5
11388 echo "${ECHO_T}yes" >&6; }
11389 else
11390 { echo "$as_me:$LINENO: result: no" >&5
11391 echo "${ECHO_T}no" >&6; }
11392 fi
11393
11394
11395 enablestring=
11396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11397 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11398 no_cache=0
11399 # Check whether --enable-numberdlg was given.
11400 if test "${enable_numberdlg+set}" = set; then
11401 enableval=$enable_numberdlg;
11402 if test "$enableval" = yes; then
11403 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11404 else
11405 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11406 fi
11407
11408 else
11409
11410 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11411 if test "x$LINE" != x ; then
11412 eval "DEFAULT_$LINE"
11413 else
11414 no_cache=1
11415 fi
11416
11417 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11418
11419 fi
11420
11421
11422 eval "$ac_cv_use_numberdlg"
11423 if test "$no_cache" != 1; then
11424 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11425 fi
11426
11427 if test "$wxUSE_NUMBERDLG" = yes; then
11428 { echo "$as_me:$LINENO: result: yes" >&5
11429 echo "${ECHO_T}yes" >&6; }
11430 else
11431 { echo "$as_me:$LINENO: result: no" >&5
11432 echo "${ECHO_T}no" >&6; }
11433 fi
11434
11435
11436 enablestring=
11437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11438 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11439 no_cache=0
11440 # Check whether --enable-splash was given.
11441 if test "${enable_splash+set}" = set; then
11442 enableval=$enable_splash;
11443 if test "$enableval" = yes; then
11444 ac_cv_use_splash='wxUSE_SPLASH=yes'
11445 else
11446 ac_cv_use_splash='wxUSE_SPLASH=no'
11447 fi
11448
11449 else
11450
11451 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11452 if test "x$LINE" != x ; then
11453 eval "DEFAULT_$LINE"
11454 else
11455 no_cache=1
11456 fi
11457
11458 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11459
11460 fi
11461
11462
11463 eval "$ac_cv_use_splash"
11464 if test "$no_cache" != 1; then
11465 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11466 fi
11467
11468 if test "$wxUSE_SPLASH" = yes; then
11469 { echo "$as_me:$LINENO: result: yes" >&5
11470 echo "${ECHO_T}yes" >&6; }
11471 else
11472 { echo "$as_me:$LINENO: result: no" >&5
11473 echo "${ECHO_T}no" >&6; }
11474 fi
11475
11476
11477 enablestring=
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11480 no_cache=0
11481 # Check whether --enable-textdlg was given.
11482 if test "${enable_textdlg+set}" = set; then
11483 enableval=$enable_textdlg;
11484 if test "$enableval" = yes; then
11485 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11486 else
11487 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11488 fi
11489
11490 else
11491
11492 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11493 if test "x$LINE" != x ; then
11494 eval "DEFAULT_$LINE"
11495 else
11496 no_cache=1
11497 fi
11498
11499 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11500
11501 fi
11502
11503
11504 eval "$ac_cv_use_textdlg"
11505 if test "$no_cache" != 1; then
11506 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11507 fi
11508
11509 if test "$wxUSE_TEXTDLG" = yes; then
11510 { echo "$as_me:$LINENO: result: yes" >&5
11511 echo "${ECHO_T}yes" >&6; }
11512 else
11513 { echo "$as_me:$LINENO: result: no" >&5
11514 echo "${ECHO_T}no" >&6; }
11515 fi
11516
11517
11518 enablestring=
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11521 no_cache=0
11522 # Check whether --enable-tipdlg was given.
11523 if test "${enable_tipdlg+set}" = set; then
11524 enableval=$enable_tipdlg;
11525 if test "$enableval" = yes; then
11526 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11527 else
11528 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11529 fi
11530
11531 else
11532
11533 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11534 if test "x$LINE" != x ; then
11535 eval "DEFAULT_$LINE"
11536 else
11537 no_cache=1
11538 fi
11539
11540 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11541
11542 fi
11543
11544
11545 eval "$ac_cv_use_tipdlg"
11546 if test "$no_cache" != 1; then
11547 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11548 fi
11549
11550 if test "$wxUSE_STARTUP_TIPS" = yes; then
11551 { echo "$as_me:$LINENO: result: yes" >&5
11552 echo "${ECHO_T}yes" >&6; }
11553 else
11554 { echo "$as_me:$LINENO: result: no" >&5
11555 echo "${ECHO_T}no" >&6; }
11556 fi
11557
11558
11559 enablestring=
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11562 no_cache=0
11563 # Check whether --enable-progressdlg was given.
11564 if test "${enable_progressdlg+set}" = set; then
11565 enableval=$enable_progressdlg;
11566 if test "$enableval" = yes; then
11567 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11568 else
11569 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11570 fi
11571
11572 else
11573
11574 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11575 if test "x$LINE" != x ; then
11576 eval "DEFAULT_$LINE"
11577 else
11578 no_cache=1
11579 fi
11580
11581 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11582
11583 fi
11584
11585
11586 eval "$ac_cv_use_progressdlg"
11587 if test "$no_cache" != 1; then
11588 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11589 fi
11590
11591 if test "$wxUSE_PROGRESSDLG" = yes; then
11592 { echo "$as_me:$LINENO: result: yes" >&5
11593 echo "${ECHO_T}yes" >&6; }
11594 else
11595 { echo "$as_me:$LINENO: result: no" >&5
11596 echo "${ECHO_T}no" >&6; }
11597 fi
11598
11599
11600 enablestring=
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11603 no_cache=0
11604 # Check whether --enable-wizarddlg was given.
11605 if test "${enable_wizarddlg+set}" = set; then
11606 enableval=$enable_wizarddlg;
11607 if test "$enableval" = yes; then
11608 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11609 else
11610 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11611 fi
11612
11613 else
11614
11615 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11616 if test "x$LINE" != x ; then
11617 eval "DEFAULT_$LINE"
11618 else
11619 no_cache=1
11620 fi
11621
11622 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11623
11624 fi
11625
11626
11627 eval "$ac_cv_use_wizarddlg"
11628 if test "$no_cache" != 1; then
11629 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11630 fi
11631
11632 if test "$wxUSE_WIZARDDLG" = yes; then
11633 { echo "$as_me:$LINENO: result: yes" >&5
11634 echo "${ECHO_T}yes" >&6; }
11635 else
11636 { echo "$as_me:$LINENO: result: no" >&5
11637 echo "${ECHO_T}no" >&6; }
11638 fi
11639
11640
11641
11642
11643 enablestring=
11644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11645 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11646 no_cache=0
11647 # Check whether --enable-menus was given.
11648 if test "${enable_menus+set}" = set; then
11649 enableval=$enable_menus;
11650 if test "$enableval" = yes; then
11651 ac_cv_use_menus='wxUSE_MENUS=yes'
11652 else
11653 ac_cv_use_menus='wxUSE_MENUS=no'
11654 fi
11655
11656 else
11657
11658 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11659 if test "x$LINE" != x ; then
11660 eval "DEFAULT_$LINE"
11661 else
11662 no_cache=1
11663 fi
11664
11665 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11666
11667 fi
11668
11669
11670 eval "$ac_cv_use_menus"
11671 if test "$no_cache" != 1; then
11672 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11673 fi
11674
11675 if test "$wxUSE_MENUS" = yes; then
11676 { echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6; }
11678 else
11679 { echo "$as_me:$LINENO: result: no" >&5
11680 echo "${ECHO_T}no" >&6; }
11681 fi
11682
11683
11684 enablestring=
11685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11687 no_cache=0
11688 # Check whether --enable-miniframe was given.
11689 if test "${enable_miniframe+set}" = set; then
11690 enableval=$enable_miniframe;
11691 if test "$enableval" = yes; then
11692 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11693 else
11694 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11695 fi
11696
11697 else
11698
11699 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11700 if test "x$LINE" != x ; then
11701 eval "DEFAULT_$LINE"
11702 else
11703 no_cache=1
11704 fi
11705
11706 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11707
11708 fi
11709
11710
11711 eval "$ac_cv_use_miniframe"
11712 if test "$no_cache" != 1; then
11713 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11714 fi
11715
11716 if test "$wxUSE_MINIFRAME" = yes; then
11717 { echo "$as_me:$LINENO: result: yes" >&5
11718 echo "${ECHO_T}yes" >&6; }
11719 else
11720 { echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6; }
11722 fi
11723
11724
11725 enablestring=
11726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11727 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11728 no_cache=0
11729 # Check whether --enable-tooltips was given.
11730 if test "${enable_tooltips+set}" = set; then
11731 enableval=$enable_tooltips;
11732 if test "$enableval" = yes; then
11733 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11734 else
11735 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11736 fi
11737
11738 else
11739
11740 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11741 if test "x$LINE" != x ; then
11742 eval "DEFAULT_$LINE"
11743 else
11744 no_cache=1
11745 fi
11746
11747 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11748
11749 fi
11750
11751
11752 eval "$ac_cv_use_tooltips"
11753 if test "$no_cache" != 1; then
11754 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11755 fi
11756
11757 if test "$wxUSE_TOOLTIPS" = yes; then
11758 { echo "$as_me:$LINENO: result: yes" >&5
11759 echo "${ECHO_T}yes" >&6; }
11760 else
11761 { echo "$as_me:$LINENO: result: no" >&5
11762 echo "${ECHO_T}no" >&6; }
11763 fi
11764
11765
11766 enablestring=
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11769 no_cache=0
11770 # Check whether --enable-splines was given.
11771 if test "${enable_splines+set}" = set; then
11772 enableval=$enable_splines;
11773 if test "$enableval" = yes; then
11774 ac_cv_use_splines='wxUSE_SPLINES=yes'
11775 else
11776 ac_cv_use_splines='wxUSE_SPLINES=no'
11777 fi
11778
11779 else
11780
11781 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11782 if test "x$LINE" != x ; then
11783 eval "DEFAULT_$LINE"
11784 else
11785 no_cache=1
11786 fi
11787
11788 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11789
11790 fi
11791
11792
11793 eval "$ac_cv_use_splines"
11794 if test "$no_cache" != 1; then
11795 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11796 fi
11797
11798 if test "$wxUSE_SPLINES" = yes; then
11799 { echo "$as_me:$LINENO: result: yes" >&5
11800 echo "${ECHO_T}yes" >&6; }
11801 else
11802 { echo "$as_me:$LINENO: result: no" >&5
11803 echo "${ECHO_T}no" >&6; }
11804 fi
11805
11806
11807 enablestring=
11808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11809 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11810 no_cache=0
11811 # Check whether --enable-mousewheel was given.
11812 if test "${enable_mousewheel+set}" = set; then
11813 enableval=$enable_mousewheel;
11814 if test "$enableval" = yes; then
11815 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11816 else
11817 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11818 fi
11819
11820 else
11821
11822 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11823 if test "x$LINE" != x ; then
11824 eval "DEFAULT_$LINE"
11825 else
11826 no_cache=1
11827 fi
11828
11829 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11830
11831 fi
11832
11833
11834 eval "$ac_cv_use_mousewheel"
11835 if test "$no_cache" != 1; then
11836 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11837 fi
11838
11839 if test "$wxUSE_MOUSEWHEEL" = yes; then
11840 { echo "$as_me:$LINENO: result: yes" >&5
11841 echo "${ECHO_T}yes" >&6; }
11842 else
11843 { echo "$as_me:$LINENO: result: no" >&5
11844 echo "${ECHO_T}no" >&6; }
11845 fi
11846
11847
11848 enablestring=
11849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11850 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11851 no_cache=0
11852 # Check whether --enable-validators was given.
11853 if test "${enable_validators+set}" = set; then
11854 enableval=$enable_validators;
11855 if test "$enableval" = yes; then
11856 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11857 else
11858 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11859 fi
11860
11861 else
11862
11863 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11864 if test "x$LINE" != x ; then
11865 eval "DEFAULT_$LINE"
11866 else
11867 no_cache=1
11868 fi
11869
11870 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11871
11872 fi
11873
11874
11875 eval "$ac_cv_use_validators"
11876 if test "$no_cache" != 1; then
11877 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11878 fi
11879
11880 if test "$wxUSE_VALIDATORS" = yes; then
11881 { echo "$as_me:$LINENO: result: yes" >&5
11882 echo "${ECHO_T}yes" >&6; }
11883 else
11884 { echo "$as_me:$LINENO: result: no" >&5
11885 echo "${ECHO_T}no" >&6; }
11886 fi
11887
11888
11889 enablestring=
11890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11891 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11892 no_cache=0
11893 # Check whether --enable-busyinfo was given.
11894 if test "${enable_busyinfo+set}" = set; then
11895 enableval=$enable_busyinfo;
11896 if test "$enableval" = yes; then
11897 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11898 else
11899 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11900 fi
11901
11902 else
11903
11904 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11905 if test "x$LINE" != x ; then
11906 eval "DEFAULT_$LINE"
11907 else
11908 no_cache=1
11909 fi
11910
11911 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11912
11913 fi
11914
11915
11916 eval "$ac_cv_use_busyinfo"
11917 if test "$no_cache" != 1; then
11918 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11919 fi
11920
11921 if test "$wxUSE_BUSYINFO" = yes; then
11922 { echo "$as_me:$LINENO: result: yes" >&5
11923 echo "${ECHO_T}yes" >&6; }
11924 else
11925 { echo "$as_me:$LINENO: result: no" >&5
11926 echo "${ECHO_T}no" >&6; }
11927 fi
11928
11929
11930 enablestring=
11931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11932 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11933 no_cache=0
11934 # Check whether --enable-joystick was given.
11935 if test "${enable_joystick+set}" = set; then
11936 enableval=$enable_joystick;
11937 if test "$enableval" = yes; then
11938 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11939 else
11940 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11941 fi
11942
11943 else
11944
11945 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11946 if test "x$LINE" != x ; then
11947 eval "DEFAULT_$LINE"
11948 else
11949 no_cache=1
11950 fi
11951
11952 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11953
11954 fi
11955
11956
11957 eval "$ac_cv_use_joystick"
11958 if test "$no_cache" != 1; then
11959 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11960 fi
11961
11962 if test "$wxUSE_JOYSTICK" = yes; then
11963 { echo "$as_me:$LINENO: result: yes" >&5
11964 echo "${ECHO_T}yes" >&6; }
11965 else
11966 { echo "$as_me:$LINENO: result: no" >&5
11967 echo "${ECHO_T}no" >&6; }
11968 fi
11969
11970
11971 enablestring=
11972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11973 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11974 no_cache=0
11975 # Check whether --enable-metafile was given.
11976 if test "${enable_metafile+set}" = set; then
11977 enableval=$enable_metafile;
11978 if test "$enableval" = yes; then
11979 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11980 else
11981 ac_cv_use_metafile='wxUSE_METAFILE=no'
11982 fi
11983
11984 else
11985
11986 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11987 if test "x$LINE" != x ; then
11988 eval "DEFAULT_$LINE"
11989 else
11990 no_cache=1
11991 fi
11992
11993 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11994
11995 fi
11996
11997
11998 eval "$ac_cv_use_metafile"
11999 if test "$no_cache" != 1; then
12000 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12001 fi
12002
12003 if test "$wxUSE_METAFILE" = yes; then
12004 { echo "$as_me:$LINENO: result: yes" >&5
12005 echo "${ECHO_T}yes" >&6; }
12006 else
12007 { echo "$as_me:$LINENO: result: no" >&5
12008 echo "${ECHO_T}no" >&6; }
12009 fi
12010
12011
12012 enablestring=
12013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12014 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12015 no_cache=0
12016 # Check whether --enable-dragimage was given.
12017 if test "${enable_dragimage+set}" = set; then
12018 enableval=$enable_dragimage;
12019 if test "$enableval" = yes; then
12020 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12021 else
12022 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12023 fi
12024
12025 else
12026
12027 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12028 if test "x$LINE" != x ; then
12029 eval "DEFAULT_$LINE"
12030 else
12031 no_cache=1
12032 fi
12033
12034 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12035
12036 fi
12037
12038
12039 eval "$ac_cv_use_dragimage"
12040 if test "$no_cache" != 1; then
12041 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12042 fi
12043
12044 if test "$wxUSE_DRAGIMAGE" = yes; then
12045 { echo "$as_me:$LINENO: result: yes" >&5
12046 echo "${ECHO_T}yes" >&6; }
12047 else
12048 { echo "$as_me:$LINENO: result: no" >&5
12049 echo "${ECHO_T}no" >&6; }
12050 fi
12051
12052
12053 enablestring=
12054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12055 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12056 no_cache=0
12057 # Check whether --enable-accessibility was given.
12058 if test "${enable_accessibility+set}" = set; then
12059 enableval=$enable_accessibility;
12060 if test "$enableval" = yes; then
12061 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12062 else
12063 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12064 fi
12065
12066 else
12067
12068 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12069 if test "x$LINE" != x ; then
12070 eval "DEFAULT_$LINE"
12071 else
12072 no_cache=1
12073 fi
12074
12075 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12076
12077 fi
12078
12079
12080 eval "$ac_cv_use_accessibility"
12081 if test "$no_cache" != 1; then
12082 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12083 fi
12084
12085 if test "$wxUSE_ACCESSIBILITY" = yes; then
12086 { echo "$as_me:$LINENO: result: yes" >&5
12087 echo "${ECHO_T}yes" >&6; }
12088 else
12089 { echo "$as_me:$LINENO: result: no" >&5
12090 echo "${ECHO_T}no" >&6; }
12091 fi
12092
12093
12094 if test "$wxUSE_MSW" = "1"; then
12095
12096 enablestring=
12097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12098 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12099 no_cache=0
12100 # Check whether --enable-dccache was given.
12101 if test "${enable_dccache+set}" = set; then
12102 enableval=$enable_dccache;
12103 if test "$enableval" = yes; then
12104 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12105 else
12106 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12107 fi
12108
12109 else
12110
12111 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12112 if test "x$LINE" != x ; then
12113 eval "DEFAULT_$LINE"
12114 else
12115 no_cache=1
12116 fi
12117
12118 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12119
12120 fi
12121
12122
12123 eval "$ac_cv_use_dccache"
12124 if test "$no_cache" != 1; then
12125 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12126 fi
12127
12128 if test "$wxUSE_DC_CACHEING" = yes; then
12129 { echo "$as_me:$LINENO: result: yes" >&5
12130 echo "${ECHO_T}yes" >&6; }
12131 else
12132 { echo "$as_me:$LINENO: result: no" >&5
12133 echo "${ECHO_T}no" >&6; }
12134 fi
12135
12136 fi
12137
12138
12139
12140 enablestring=
12141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12142 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12143 no_cache=0
12144 # Check whether --enable-palette was given.
12145 if test "${enable_palette+set}" = set; then
12146 enableval=$enable_palette;
12147 if test "$enableval" = yes; then
12148 ac_cv_use_palette='wxUSE_PALETTE=yes'
12149 else
12150 ac_cv_use_palette='wxUSE_PALETTE=no'
12151 fi
12152
12153 else
12154
12155 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12156 if test "x$LINE" != x ; then
12157 eval "DEFAULT_$LINE"
12158 else
12159 no_cache=1
12160 fi
12161
12162 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12163
12164 fi
12165
12166
12167 eval "$ac_cv_use_palette"
12168 if test "$no_cache" != 1; then
12169 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12170 fi
12171
12172 if test "$wxUSE_PALETTE" = yes; then
12173 { echo "$as_me:$LINENO: result: yes" >&5
12174 echo "${ECHO_T}yes" >&6; }
12175 else
12176 { echo "$as_me:$LINENO: result: no" >&5
12177 echo "${ECHO_T}no" >&6; }
12178 fi
12179
12180
12181 enablestring=
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12184 no_cache=0
12185 # Check whether --enable-image was given.
12186 if test "${enable_image+set}" = set; then
12187 enableval=$enable_image;
12188 if test "$enableval" = yes; then
12189 ac_cv_use_image='wxUSE_IMAGE=yes'
12190 else
12191 ac_cv_use_image='wxUSE_IMAGE=no'
12192 fi
12193
12194 else
12195
12196 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12197 if test "x$LINE" != x ; then
12198 eval "DEFAULT_$LINE"
12199 else
12200 no_cache=1
12201 fi
12202
12203 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12204
12205 fi
12206
12207
12208 eval "$ac_cv_use_image"
12209 if test "$no_cache" != 1; then
12210 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12211 fi
12212
12213 if test "$wxUSE_IMAGE" = yes; then
12214 { echo "$as_me:$LINENO: result: yes" >&5
12215 echo "${ECHO_T}yes" >&6; }
12216 else
12217 { echo "$as_me:$LINENO: result: no" >&5
12218 echo "${ECHO_T}no" >&6; }
12219 fi
12220
12221
12222 enablestring=
12223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12224 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12225 no_cache=0
12226 # Check whether --enable-gif was given.
12227 if test "${enable_gif+set}" = set; then
12228 enableval=$enable_gif;
12229 if test "$enableval" = yes; then
12230 ac_cv_use_gif='wxUSE_GIF=yes'
12231 else
12232 ac_cv_use_gif='wxUSE_GIF=no'
12233 fi
12234
12235 else
12236
12237 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12238 if test "x$LINE" != x ; then
12239 eval "DEFAULT_$LINE"
12240 else
12241 no_cache=1
12242 fi
12243
12244 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12245
12246 fi
12247
12248
12249 eval "$ac_cv_use_gif"
12250 if test "$no_cache" != 1; then
12251 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12252 fi
12253
12254 if test "$wxUSE_GIF" = yes; then
12255 { echo "$as_me:$LINENO: result: yes" >&5
12256 echo "${ECHO_T}yes" >&6; }
12257 else
12258 { echo "$as_me:$LINENO: result: no" >&5
12259 echo "${ECHO_T}no" >&6; }
12260 fi
12261
12262
12263 enablestring=
12264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12265 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12266 no_cache=0
12267 # Check whether --enable-pcx was given.
12268 if test "${enable_pcx+set}" = set; then
12269 enableval=$enable_pcx;
12270 if test "$enableval" = yes; then
12271 ac_cv_use_pcx='wxUSE_PCX=yes'
12272 else
12273 ac_cv_use_pcx='wxUSE_PCX=no'
12274 fi
12275
12276 else
12277
12278 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12279 if test "x$LINE" != x ; then
12280 eval "DEFAULT_$LINE"
12281 else
12282 no_cache=1
12283 fi
12284
12285 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12286
12287 fi
12288
12289
12290 eval "$ac_cv_use_pcx"
12291 if test "$no_cache" != 1; then
12292 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12293 fi
12294
12295 if test "$wxUSE_PCX" = yes; then
12296 { echo "$as_me:$LINENO: result: yes" >&5
12297 echo "${ECHO_T}yes" >&6; }
12298 else
12299 { echo "$as_me:$LINENO: result: no" >&5
12300 echo "${ECHO_T}no" >&6; }
12301 fi
12302
12303
12304 enablestring=
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12307 no_cache=0
12308 # Check whether --enable-tga was given.
12309 if test "${enable_tga+set}" = set; then
12310 enableval=$enable_tga;
12311 if test "$enableval" = yes; then
12312 ac_cv_use_tga='wxUSE_TGA=yes'
12313 else
12314 ac_cv_use_tga='wxUSE_TGA=no'
12315 fi
12316
12317 else
12318
12319 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12320 if test "x$LINE" != x ; then
12321 eval "DEFAULT_$LINE"
12322 else
12323 no_cache=1
12324 fi
12325
12326 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12327
12328 fi
12329
12330
12331 eval "$ac_cv_use_tga"
12332 if test "$no_cache" != 1; then
12333 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12334 fi
12335
12336 if test "$wxUSE_TGA" = yes; then
12337 { echo "$as_me:$LINENO: result: yes" >&5
12338 echo "${ECHO_T}yes" >&6; }
12339 else
12340 { echo "$as_me:$LINENO: result: no" >&5
12341 echo "${ECHO_T}no" >&6; }
12342 fi
12343
12344
12345 enablestring=
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12348 no_cache=0
12349 # Check whether --enable-iff was given.
12350 if test "${enable_iff+set}" = set; then
12351 enableval=$enable_iff;
12352 if test "$enableval" = yes; then
12353 ac_cv_use_iff='wxUSE_IFF=yes'
12354 else
12355 ac_cv_use_iff='wxUSE_IFF=no'
12356 fi
12357
12358 else
12359
12360 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12361 if test "x$LINE" != x ; then
12362 eval "DEFAULT_$LINE"
12363 else
12364 no_cache=1
12365 fi
12366
12367 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12368
12369 fi
12370
12371
12372 eval "$ac_cv_use_iff"
12373 if test "$no_cache" != 1; then
12374 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12375 fi
12376
12377 if test "$wxUSE_IFF" = yes; then
12378 { echo "$as_me:$LINENO: result: yes" >&5
12379 echo "${ECHO_T}yes" >&6; }
12380 else
12381 { echo "$as_me:$LINENO: result: no" >&5
12382 echo "${ECHO_T}no" >&6; }
12383 fi
12384
12385
12386 enablestring=
12387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12388 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12389 no_cache=0
12390 # Check whether --enable-pnm was given.
12391 if test "${enable_pnm+set}" = set; then
12392 enableval=$enable_pnm;
12393 if test "$enableval" = yes; then
12394 ac_cv_use_pnm='wxUSE_PNM=yes'
12395 else
12396 ac_cv_use_pnm='wxUSE_PNM=no'
12397 fi
12398
12399 else
12400
12401 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12402 if test "x$LINE" != x ; then
12403 eval "DEFAULT_$LINE"
12404 else
12405 no_cache=1
12406 fi
12407
12408 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12409
12410 fi
12411
12412
12413 eval "$ac_cv_use_pnm"
12414 if test "$no_cache" != 1; then
12415 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12416 fi
12417
12418 if test "$wxUSE_PNM" = yes; then
12419 { echo "$as_me:$LINENO: result: yes" >&5
12420 echo "${ECHO_T}yes" >&6; }
12421 else
12422 { echo "$as_me:$LINENO: result: no" >&5
12423 echo "${ECHO_T}no" >&6; }
12424 fi
12425
12426
12427 enablestring=
12428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12429 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12430 no_cache=0
12431 # Check whether --enable-xpm was given.
12432 if test "${enable_xpm+set}" = set; then
12433 enableval=$enable_xpm;
12434 if test "$enableval" = yes; then
12435 ac_cv_use_xpm='wxUSE_XPM=yes'
12436 else
12437 ac_cv_use_xpm='wxUSE_XPM=no'
12438 fi
12439
12440 else
12441
12442 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12443 if test "x$LINE" != x ; then
12444 eval "DEFAULT_$LINE"
12445 else
12446 no_cache=1
12447 fi
12448
12449 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12450
12451 fi
12452
12453
12454 eval "$ac_cv_use_xpm"
12455 if test "$no_cache" != 1; then
12456 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12457 fi
12458
12459 if test "$wxUSE_XPM" = yes; then
12460 { echo "$as_me:$LINENO: result: yes" >&5
12461 echo "${ECHO_T}yes" >&6; }
12462 else
12463 { echo "$as_me:$LINENO: result: no" >&5
12464 echo "${ECHO_T}no" >&6; }
12465 fi
12466
12467
12468 enablestring=
12469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12470 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12471 no_cache=0
12472 # Check whether --enable-ico_cur was given.
12473 if test "${enable_ico_cur+set}" = set; then
12474 enableval=$enable_ico_cur;
12475 if test "$enableval" = yes; then
12476 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12477 else
12478 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12479 fi
12480
12481 else
12482
12483 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12484 if test "x$LINE" != x ; then
12485 eval "DEFAULT_$LINE"
12486 else
12487 no_cache=1
12488 fi
12489
12490 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12491
12492 fi
12493
12494
12495 eval "$ac_cv_use_ico_cur"
12496 if test "$no_cache" != 1; then
12497 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12498 fi
12499
12500 if test "$wxUSE_ICO_CUR" = yes; then
12501 { echo "$as_me:$LINENO: result: yes" >&5
12502 echo "${ECHO_T}yes" >&6; }
12503 else
12504 { echo "$as_me:$LINENO: result: no" >&5
12505 echo "${ECHO_T}no" >&6; }
12506 fi
12507
12508
12509 fi
12510
12511
12512
12513 # Check whether --with-flavour was given.
12514 if test "${with_flavour+set}" = set; then
12515 withval=$with_flavour; WX_FLAVOUR="$withval"
12516 fi
12517
12518
12519
12520
12521 enablestring=
12522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12523 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12524 no_cache=0
12525 # Check whether --enable-official_build was given.
12526 if test "${enable_official_build+set}" = set; then
12527 enableval=$enable_official_build;
12528 if test "$enableval" = yes; then
12529 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12530 else
12531 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12532 fi
12533
12534 else
12535
12536 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12537 if test "x$LINE" != x ; then
12538 eval "DEFAULT_$LINE"
12539 else
12540 no_cache=1
12541 fi
12542
12543 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12544
12545 fi
12546
12547
12548 eval "$ac_cv_use_official_build"
12549 if test "$no_cache" != 1; then
12550 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12551 fi
12552
12553 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12554 { echo "$as_me:$LINENO: result: yes" >&5
12555 echo "${ECHO_T}yes" >&6; }
12556 else
12557 { echo "$as_me:$LINENO: result: no" >&5
12558 echo "${ECHO_T}no" >&6; }
12559 fi
12560
12561 # Check whether --enable-vendor was given.
12562 if test "${enable_vendor+set}" = set; then
12563 enableval=$enable_vendor; VENDOR="$enableval"
12564 fi
12565
12566 if test "x$VENDOR" = "x"; then
12567 VENDOR="custom"
12568 fi
12569
12570
12571
12572
12573 echo "saving argument cache $wx_arg_cache_file"
12574 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12575
12576
12577
12578 { echo "$as_me:$LINENO: checking for toolkit" >&5
12579 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12580
12581 # In Wine, we need to default to MSW, not GTK or MOTIF
12582 if test "$wxUSE_WINE" = "yes"; then
12583 DEFAULT_DEFAULT_wxUSE_GTK=0
12584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12585 DEFAULT_DEFAULT_wxUSE_MSW=1
12586 wxUSE_SHARED=no
12587 CC=${CC:-winegcc}
12588 CXX=${CXX:-wineg++}
12589 fi
12590
12591
12592 if test "$wxUSE_GUI" = "yes"; then
12593
12594 if test "$USE_BEOS" = 1; then
12595 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12596 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12597 { (exit 1); exit 1; }; }
12598 fi
12599
12600 if test "$TOOLKIT_GIVEN" = 1; then
12601 for toolkit in `echo $ALL_TOOLKITS`; do
12602 var=wxUSE_$toolkit
12603 eval "value=\$${var}"
12604 if test "x$value" = "xno"; then
12605 eval "$var=0"
12606 elif test "x$value" != "x"; then
12607 eval "$var=1"
12608 fi
12609
12610 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12611 eval "wx${toolkit}_VERSION=$value"
12612 fi
12613 done
12614 else
12615 for toolkit in `echo $ALL_TOOLKITS`; do
12616 if test "$has_toolkit_in_cache" != 1; then
12617 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12618 else
12619 var=DEFAULT_wxUSE_$toolkit
12620
12621 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12622 if test "x$version" != "x"; then
12623 eval "wx${toolkit}_VERSION=$version"
12624 fi
12625 fi
12626 eval "wxUSE_$toolkit=\$${var}"
12627 done
12628 fi
12629
12630 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12631 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12632 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12633
12634 case "${host}" in
12635 *-pc-os2_emx | *-pc-os2-emx )
12636 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12637 esac
12638
12639 case "$NUM_TOOLKITS" in
12640 1)
12641 ;;
12642 0)
12643 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12644 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12645 { (exit 1); exit 1; }; }
12646 ;;
12647 *)
12648 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12649 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12650 { (exit 1); exit 1; }; }
12651 esac
12652
12653 # to be removed when --disable-gtk2 isn't needed
12654 if test "x$wxUSE_GTK2" = "xyes"; then
12655 wxGTK_VERSION=2
12656 elif test "x$wxUSE_GTK2" = "xno"; then
12657 wxGTK_VERSION=1
12658 fi
12659
12660 for toolkit in `echo $ALL_TOOLKITS`; do
12661 var=wxUSE_$toolkit
12662 eval "value=\$${var}"
12663 if test "x$value" != x; then
12664 cache_var=CACHE_$toolkit
12665 eval "cache=\$${cache_var}"
12666 if test "$cache" = 1; then
12667 echo "$var=$value" >> ${wx_arg_cache_file}
12668 eval "version=\$wx${toolkit}_VERSION"
12669 if test "x$version" != "x"; then
12670 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12671 fi
12672 fi
12673 if test "$value" = 1; then
12674 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12675 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12676 echo "${ECHO_T}$toolkit_echo" >&6; }
12677 fi
12678 fi
12679 done
12680 else
12681 if test "x$host_alias" != "x"; then
12682 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12683 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12684 else
12685 { echo "$as_me:$LINENO: result: base only" >&5
12686 echo "${ECHO_T}base only" >&6; }
12687 fi
12688 fi
12689
12690
12691 cat >confcache <<\_ACEOF
12692 # This file is a shell script that caches the results of configure
12693 # tests run on this system so they can be shared between configure
12694 # scripts and configure runs, see configure's option --config-cache.
12695 # It is not useful on other systems. If it contains results you don't
12696 # want to keep, you may remove or edit it.
12697 #
12698 # config.status only pays attention to the cache file if you give it
12699 # the --recheck option to rerun configure.
12700 #
12701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12703 # following values.
12704
12705 _ACEOF
12706
12707 # The following way of writing the cache mishandles newlines in values,
12708 # but we know of no workaround that is simple, portable, and efficient.
12709 # So, we kill variables containing newlines.
12710 # Ultrix sh set writes to stderr and can't be redirected directly,
12711 # and sets the high bit in the cache file unless we assign to the vars.
12712 (
12713 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12714 eval ac_val=\$$ac_var
12715 case $ac_val in #(
12716 *${as_nl}*)
12717 case $ac_var in #(
12718 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12719 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12720 esac
12721 case $ac_var in #(
12722 _ | IFS | as_nl) ;; #(
12723 *) $as_unset $ac_var ;;
12724 esac ;;
12725 esac
12726 done
12727
12728 (set) 2>&1 |
12729 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12730 *${as_nl}ac_space=\ *)
12731 # `set' does not quote correctly, so add quotes (double-quote
12732 # substitution turns \\\\ into \\, and sed turns \\ into \).
12733 sed -n \
12734 "s/'/'\\\\''/g;
12735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12736 ;; #(
12737 *)
12738 # `set' quotes correctly as required by POSIX, so do not add quotes.
12739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12740 ;;
12741 esac |
12742 sort
12743 ) |
12744 sed '
12745 /^ac_cv_env_/b end
12746 t clear
12747 :clear
12748 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12749 t end
12750 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12751 :end' >>confcache
12752 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12753 if test -w "$cache_file"; then
12754 test "x$cache_file" != "x/dev/null" &&
12755 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12756 echo "$as_me: updating cache $cache_file" >&6;}
12757 cat confcache >$cache_file
12758 else
12759 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12760 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12761 fi
12762 fi
12763 rm -f confcache
12764
12765 CFLAGS=${CFLAGS:=}
12766
12767
12768
12769 ac_ext=c
12770 ac_cpp='$CPP $CPPFLAGS'
12771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12774 if test -n "$ac_tool_prefix"; then
12775 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12776 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12779 if test "${ac_cv_prog_CC+set}" = set; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12781 else
12782 if test -n "$CC"; then
12783 ac_cv_prog_CC="$CC" # Let the user override the test.
12784 else
12785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12786 for as_dir in $PATH
12787 do
12788 IFS=$as_save_IFS
12789 test -z "$as_dir" && as_dir=.
12790 for ac_exec_ext in '' $ac_executable_extensions; do
12791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12792 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12794 break 2
12795 fi
12796 done
12797 done
12798 IFS=$as_save_IFS
12799
12800 fi
12801 fi
12802 CC=$ac_cv_prog_CC
12803 if test -n "$CC"; then
12804 { echo "$as_me:$LINENO: result: $CC" >&5
12805 echo "${ECHO_T}$CC" >&6; }
12806 else
12807 { echo "$as_me:$LINENO: result: no" >&5
12808 echo "${ECHO_T}no" >&6; }
12809 fi
12810
12811
12812 fi
12813 if test -z "$ac_cv_prog_CC"; then
12814 ac_ct_CC=$CC
12815 # Extract the first word of "gcc", so it can be a program name with args.
12816 set dummy gcc; ac_word=$2
12817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12819 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12821 else
12822 if test -n "$ac_ct_CC"; then
12823 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12824 else
12825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12826 for as_dir in $PATH
12827 do
12828 IFS=$as_save_IFS
12829 test -z "$as_dir" && as_dir=.
12830 for ac_exec_ext in '' $ac_executable_extensions; do
12831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12832 ac_cv_prog_ac_ct_CC="gcc"
12833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12834 break 2
12835 fi
12836 done
12837 done
12838 IFS=$as_save_IFS
12839
12840 fi
12841 fi
12842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12843 if test -n "$ac_ct_CC"; then
12844 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12845 echo "${ECHO_T}$ac_ct_CC" >&6; }
12846 else
12847 { echo "$as_me:$LINENO: result: no" >&5
12848 echo "${ECHO_T}no" >&6; }
12849 fi
12850
12851 if test "x$ac_ct_CC" = x; then
12852 CC=""
12853 else
12854 case $cross_compiling:$ac_tool_warned in
12855 yes:)
12856 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12857 whose name does not start with the host triplet. If you think this
12858 configuration is useful to you, please write to autoconf@gnu.org." >&5
12859 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12860 whose name does not start with the host triplet. If you think this
12861 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12862 ac_tool_warned=yes ;;
12863 esac
12864 CC=$ac_ct_CC
12865 fi
12866 else
12867 CC="$ac_cv_prog_CC"
12868 fi
12869
12870 if test -z "$CC"; then
12871 if test -n "$ac_tool_prefix"; then
12872 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12873 set dummy ${ac_tool_prefix}cc; ac_word=$2
12874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12876 if test "${ac_cv_prog_CC+set}" = set; then
12877 echo $ECHO_N "(cached) $ECHO_C" >&6
12878 else
12879 if test -n "$CC"; then
12880 ac_cv_prog_CC="$CC" # Let the user override the test.
12881 else
12882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12883 for as_dir in $PATH
12884 do
12885 IFS=$as_save_IFS
12886 test -z "$as_dir" && as_dir=.
12887 for ac_exec_ext in '' $ac_executable_extensions; do
12888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12889 ac_cv_prog_CC="${ac_tool_prefix}cc"
12890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12891 break 2
12892 fi
12893 done
12894 done
12895 IFS=$as_save_IFS
12896
12897 fi
12898 fi
12899 CC=$ac_cv_prog_CC
12900 if test -n "$CC"; then
12901 { echo "$as_me:$LINENO: result: $CC" >&5
12902 echo "${ECHO_T}$CC" >&6; }
12903 else
12904 { echo "$as_me:$LINENO: result: no" >&5
12905 echo "${ECHO_T}no" >&6; }
12906 fi
12907
12908
12909 fi
12910 fi
12911 if test -z "$CC"; then
12912 # Extract the first word of "cc", so it can be a program name with args.
12913 set dummy cc; ac_word=$2
12914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12916 if test "${ac_cv_prog_CC+set}" = set; then
12917 echo $ECHO_N "(cached) $ECHO_C" >&6
12918 else
12919 if test -n "$CC"; then
12920 ac_cv_prog_CC="$CC" # Let the user override the test.
12921 else
12922 ac_prog_rejected=no
12923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12924 for as_dir in $PATH
12925 do
12926 IFS=$as_save_IFS
12927 test -z "$as_dir" && as_dir=.
12928 for ac_exec_ext in '' $ac_executable_extensions; do
12929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12930 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12931 ac_prog_rejected=yes
12932 continue
12933 fi
12934 ac_cv_prog_CC="cc"
12935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12936 break 2
12937 fi
12938 done
12939 done
12940 IFS=$as_save_IFS
12941
12942 if test $ac_prog_rejected = yes; then
12943 # We found a bogon in the path, so make sure we never use it.
12944 set dummy $ac_cv_prog_CC
12945 shift
12946 if test $# != 0; then
12947 # We chose a different compiler from the bogus one.
12948 # However, it has the same basename, so the bogon will be chosen
12949 # first if we set CC to just the basename; use the full file name.
12950 shift
12951 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12952 fi
12953 fi
12954 fi
12955 fi
12956 CC=$ac_cv_prog_CC
12957 if test -n "$CC"; then
12958 { echo "$as_me:$LINENO: result: $CC" >&5
12959 echo "${ECHO_T}$CC" >&6; }
12960 else
12961 { echo "$as_me:$LINENO: result: no" >&5
12962 echo "${ECHO_T}no" >&6; }
12963 fi
12964
12965
12966 fi
12967 if test -z "$CC"; then
12968 if test -n "$ac_tool_prefix"; then
12969 for ac_prog in cl.exe
12970 do
12971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12975 if test "${ac_cv_prog_CC+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 else
12978 if test -n "$CC"; then
12979 ac_cv_prog_CC="$CC" # Let the user override the test.
12980 else
12981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12982 for as_dir in $PATH
12983 do
12984 IFS=$as_save_IFS
12985 test -z "$as_dir" && as_dir=.
12986 for ac_exec_ext in '' $ac_executable_extensions; do
12987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12988 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12990 break 2
12991 fi
12992 done
12993 done
12994 IFS=$as_save_IFS
12995
12996 fi
12997 fi
12998 CC=$ac_cv_prog_CC
12999 if test -n "$CC"; then
13000 { echo "$as_me:$LINENO: result: $CC" >&5
13001 echo "${ECHO_T}$CC" >&6; }
13002 else
13003 { echo "$as_me:$LINENO: result: no" >&5
13004 echo "${ECHO_T}no" >&6; }
13005 fi
13006
13007
13008 test -n "$CC" && break
13009 done
13010 fi
13011 if test -z "$CC"; then
13012 ac_ct_CC=$CC
13013 for ac_prog in cl.exe
13014 do
13015 # Extract the first word of "$ac_prog", so it can be a program name with args.
13016 set dummy $ac_prog; ac_word=$2
13017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13019 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 else
13022 if test -n "$ac_ct_CC"; then
13023 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13024 else
13025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13026 for as_dir in $PATH
13027 do
13028 IFS=$as_save_IFS
13029 test -z "$as_dir" && as_dir=.
13030 for ac_exec_ext in '' $ac_executable_extensions; do
13031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13032 ac_cv_prog_ac_ct_CC="$ac_prog"
13033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13034 break 2
13035 fi
13036 done
13037 done
13038 IFS=$as_save_IFS
13039
13040 fi
13041 fi
13042 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13043 if test -n "$ac_ct_CC"; then
13044 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13045 echo "${ECHO_T}$ac_ct_CC" >&6; }
13046 else
13047 { echo "$as_me:$LINENO: result: no" >&5
13048 echo "${ECHO_T}no" >&6; }
13049 fi
13050
13051
13052 test -n "$ac_ct_CC" && break
13053 done
13054
13055 if test "x$ac_ct_CC" = x; then
13056 CC=""
13057 else
13058 case $cross_compiling:$ac_tool_warned in
13059 yes:)
13060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13061 whose name does not start with the host triplet. If you think this
13062 configuration is useful to you, please write to autoconf@gnu.org." >&5
13063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13064 whose name does not start with the host triplet. If you think this
13065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13066 ac_tool_warned=yes ;;
13067 esac
13068 CC=$ac_ct_CC
13069 fi
13070 fi
13071
13072 fi
13073
13074
13075 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13076 See \`config.log' for more details." >&5
13077 echo "$as_me: error: no acceptable C compiler found in \$PATH
13078 See \`config.log' for more details." >&2;}
13079 { (exit 1); exit 1; }; }
13080
13081 # Provide some information about the compiler.
13082 echo "$as_me:$LINENO: checking for C compiler version" >&5
13083 ac_compiler=`set X $ac_compile; echo $2`
13084 { (ac_try="$ac_compiler --version >&5"
13085 case "(($ac_try" in
13086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13088 esac
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_compiler --version >&5") 2>&5
13091 ac_status=$?
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }
13094 { (ac_try="$ac_compiler -v >&5"
13095 case "(($ac_try" in
13096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13097 *) ac_try_echo=$ac_try;;
13098 esac
13099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13100 (eval "$ac_compiler -v >&5") 2>&5
13101 ac_status=$?
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }
13104 { (ac_try="$ac_compiler -V >&5"
13105 case "(($ac_try" in
13106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13107 *) ac_try_echo=$ac_try;;
13108 esac
13109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13110 (eval "$ac_compiler -V >&5") 2>&5
13111 ac_status=$?
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }
13114
13115 cat >conftest.$ac_ext <<_ACEOF
13116 /* confdefs.h. */
13117 _ACEOF
13118 cat confdefs.h >>conftest.$ac_ext
13119 cat >>conftest.$ac_ext <<_ACEOF
13120 /* end confdefs.h. */
13121
13122 int
13123 main ()
13124 {
13125
13126 ;
13127 return 0;
13128 }
13129 _ACEOF
13130 ac_clean_files_save=$ac_clean_files
13131 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13132 # Try to create an executable without -o first, disregard a.out.
13133 # It will help us diagnose broken compilers, and finding out an intuition
13134 # of exeext.
13135 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13136 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13137 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13138 #
13139 # List of possible output files, starting from the most likely.
13140 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13141 # only as a last resort. b.out is created by i960 compilers.
13142 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13143 #
13144 # The IRIX 6 linker writes into existing files which may not be
13145 # executable, retaining their permissions. Remove them first so a
13146 # subsequent execution test works.
13147 ac_rmfiles=
13148 for ac_file in $ac_files
13149 do
13150 case $ac_file in
13151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13152 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13153 esac
13154 done
13155 rm -f $ac_rmfiles
13156
13157 if { (ac_try="$ac_link_default"
13158 case "(($ac_try" in
13159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13160 *) ac_try_echo=$ac_try;;
13161 esac
13162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13163 (eval "$ac_link_default") 2>&5
13164 ac_status=$?
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; then
13167 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13168 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13169 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13170 # so that the user can short-circuit this test for compilers unknown to
13171 # Autoconf.
13172 for ac_file in $ac_files
13173 do
13174 test -f "$ac_file" || continue
13175 case $ac_file in
13176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13177 ;;
13178 [ab].out )
13179 # We found the default executable, but exeext='' is most
13180 # certainly right.
13181 break;;
13182 *.* )
13183 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13184 then :; else
13185 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13186 fi
13187 # We set ac_cv_exeext here because the later test for it is not
13188 # safe: cross compilers may not add the suffix if given an `-o'
13189 # argument, so we may need to know it at that point already.
13190 # Even if this section looks crufty: it has the advantage of
13191 # actually working.
13192 break;;
13193 * )
13194 break;;
13195 esac
13196 done
13197 test "$ac_cv_exeext" = no && ac_cv_exeext=
13198
13199 else
13200 echo "$as_me: failed program was:" >&5
13201 sed 's/^/| /' conftest.$ac_ext >&5
13202
13203 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13204 See \`config.log' for more details." >&5
13205 echo "$as_me: error: C compiler cannot create executables
13206 See \`config.log' for more details." >&2;}
13207 { (exit 77); exit 77; }; }
13208 fi
13209
13210 ac_exeext=$ac_cv_exeext
13211 { echo "$as_me:$LINENO: result: $ac_file" >&5
13212 echo "${ECHO_T}$ac_file" >&6; }
13213
13214 # Check that the compiler produces executables we can run. If not, either
13215 # the compiler is broken, or we cross compile.
13216 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13217 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13218 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13219 # If not cross compiling, check that we can run a simple program.
13220 if test "$cross_compiling" != yes; then
13221 if { ac_try='./$ac_file'
13222 { (case "(($ac_try" in
13223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13224 *) ac_try_echo=$ac_try;;
13225 esac
13226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13227 (eval "$ac_try") 2>&5
13228 ac_status=$?
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13231 cross_compiling=no
13232 else
13233 if test "$cross_compiling" = maybe; then
13234 cross_compiling=yes
13235 else
13236 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13237 If you meant to cross compile, use \`--host'.
13238 See \`config.log' for more details." >&5
13239 echo "$as_me: error: cannot run C compiled programs.
13240 If you meant to cross compile, use \`--host'.
13241 See \`config.log' for more details." >&2;}
13242 { (exit 1); exit 1; }; }
13243 fi
13244 fi
13245 fi
13246 { echo "$as_me:$LINENO: result: yes" >&5
13247 echo "${ECHO_T}yes" >&6; }
13248
13249 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13250 ac_clean_files=$ac_clean_files_save
13251 # Check that the compiler produces executables we can run. If not, either
13252 # the compiler is broken, or we cross compile.
13253 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13254 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13255 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13256 echo "${ECHO_T}$cross_compiling" >&6; }
13257
13258 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13259 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13260 if { (ac_try="$ac_link"
13261 case "(($ac_try" in
13262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13264 esac
13265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13266 (eval "$ac_link") 2>&5
13267 ac_status=$?
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; then
13270 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13271 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13272 # work properly (i.e., refer to `conftest.exe'), while it won't with
13273 # `rm'.
13274 for ac_file in conftest.exe conftest conftest.*; do
13275 test -f "$ac_file" || continue
13276 case $ac_file in
13277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13278 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13279 break;;
13280 * ) break;;
13281 esac
13282 done
13283 else
13284 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13285 See \`config.log' for more details." >&5
13286 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13287 See \`config.log' for more details." >&2;}
13288 { (exit 1); exit 1; }; }
13289 fi
13290
13291 rm -f conftest$ac_cv_exeext
13292 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13293 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13294
13295 rm -f conftest.$ac_ext
13296 EXEEXT=$ac_cv_exeext
13297 ac_exeext=$EXEEXT
13298 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13299 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13300 if test "${ac_cv_objext+set}" = set; then
13301 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 else
13303 cat >conftest.$ac_ext <<_ACEOF
13304 /* confdefs.h. */
13305 _ACEOF
13306 cat confdefs.h >>conftest.$ac_ext
13307 cat >>conftest.$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13309
13310 int
13311 main ()
13312 {
13313
13314 ;
13315 return 0;
13316 }
13317 _ACEOF
13318 rm -f conftest.o conftest.obj
13319 if { (ac_try="$ac_compile"
13320 case "(($ac_try" in
13321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13322 *) ac_try_echo=$ac_try;;
13323 esac
13324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13325 (eval "$ac_compile") 2>&5
13326 ac_status=$?
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); }; then
13329 for ac_file in conftest.o conftest.obj conftest.*; do
13330 test -f "$ac_file" || continue;
13331 case $ac_file in
13332 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13333 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13334 break;;
13335 esac
13336 done
13337 else
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13340
13341 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13342 See \`config.log' for more details." >&5
13343 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13344 See \`config.log' for more details." >&2;}
13345 { (exit 1); exit 1; }; }
13346 fi
13347
13348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13349 fi
13350 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13351 echo "${ECHO_T}$ac_cv_objext" >&6; }
13352 OBJEXT=$ac_cv_objext
13353 ac_objext=$OBJEXT
13354 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13355 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13356 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13358 else
13359 cat >conftest.$ac_ext <<_ACEOF
13360 /* confdefs.h. */
13361 _ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13365
13366 int
13367 main ()
13368 {
13369 #ifndef __GNUC__
13370 choke me
13371 #endif
13372
13373 ;
13374 return 0;
13375 }
13376 _ACEOF
13377 rm -f conftest.$ac_objext
13378 if { (ac_try="$ac_compile"
13379 case "(($ac_try" in
13380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13381 *) ac_try_echo=$ac_try;;
13382 esac
13383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13384 (eval "$ac_compile") 2>conftest.er1
13385 ac_status=$?
13386 grep -v '^ *+' conftest.er1 >conftest.err
13387 rm -f conftest.er1
13388 cat conftest.err >&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); } &&
13391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13392 { (case "(($ac_try" in
13393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13394 *) ac_try_echo=$ac_try;;
13395 esac
13396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_try") 2>&5
13398 ac_status=$?
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; } &&
13401 { ac_try='test -s conftest.$ac_objext'
13402 { (case "(($ac_try" in
13403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 *) ac_try_echo=$ac_try;;
13405 esac
13406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_try") 2>&5
13408 ac_status=$?
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); }; }; then
13411 ac_compiler_gnu=yes
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13415
13416 ac_compiler_gnu=no
13417 fi
13418
13419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13420 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13421
13422 fi
13423 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13424 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13425 GCC=`test $ac_compiler_gnu = yes && echo yes`
13426 ac_test_CFLAGS=${CFLAGS+set}
13427 ac_save_CFLAGS=$CFLAGS
13428 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13429 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13430 if test "${ac_cv_prog_cc_g+set}" = set; then
13431 echo $ECHO_N "(cached) $ECHO_C" >&6
13432 else
13433 ac_save_c_werror_flag=$ac_c_werror_flag
13434 ac_c_werror_flag=yes
13435 ac_cv_prog_cc_g=no
13436 CFLAGS="-g"
13437 cat >conftest.$ac_ext <<_ACEOF
13438 /* confdefs.h. */
13439 _ACEOF
13440 cat confdefs.h >>conftest.$ac_ext
13441 cat >>conftest.$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13443
13444 int
13445 main ()
13446 {
13447
13448 ;
13449 return 0;
13450 }
13451 _ACEOF
13452 rm -f conftest.$ac_objext
13453 if { (ac_try="$ac_compile"
13454 case "(($ac_try" in
13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13456 *) ac_try_echo=$ac_try;;
13457 esac
13458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13459 (eval "$ac_compile") 2>conftest.er1
13460 ac_status=$?
13461 grep -v '^ *+' conftest.er1 >conftest.err
13462 rm -f conftest.er1
13463 cat conftest.err >&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); } &&
13466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13467 { (case "(($ac_try" in
13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13470 esac
13471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13472 (eval "$ac_try") 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try='test -s conftest.$ac_objext'
13477 { (case "(($ac_try" in
13478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13479 *) ac_try_echo=$ac_try;;
13480 esac
13481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13482 (eval "$ac_try") 2>&5
13483 ac_status=$?
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); }; }; then
13486 ac_cv_prog_cc_g=yes
13487 else
13488 echo "$as_me: failed program was:" >&5
13489 sed 's/^/| /' conftest.$ac_ext >&5
13490
13491 CFLAGS=""
13492 cat >conftest.$ac_ext <<_ACEOF
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498
13499 int
13500 main ()
13501 {
13502
13503 ;
13504 return 0;
13505 }
13506 _ACEOF
13507 rm -f conftest.$ac_objext
13508 if { (ac_try="$ac_compile"
13509 case "(($ac_try" in
13510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13511 *) ac_try_echo=$ac_try;;
13512 esac
13513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13514 (eval "$ac_compile") 2>conftest.er1
13515 ac_status=$?
13516 grep -v '^ *+' conftest.er1 >conftest.err
13517 rm -f conftest.er1
13518 cat conftest.err >&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); } &&
13521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13522 { (case "(($ac_try" in
13523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13524 *) ac_try_echo=$ac_try;;
13525 esac
13526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13527 (eval "$ac_try") 2>&5
13528 ac_status=$?
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; } &&
13531 { ac_try='test -s conftest.$ac_objext'
13532 { (case "(($ac_try" in
13533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13535 esac
13536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_try") 2>&5
13538 ac_status=$?
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); }; }; then
13541 :
13542 else
13543 echo "$as_me: failed program was:" >&5
13544 sed 's/^/| /' conftest.$ac_ext >&5
13545
13546 ac_c_werror_flag=$ac_save_c_werror_flag
13547 CFLAGS="-g"
13548 cat >conftest.$ac_ext <<_ACEOF
13549 /* confdefs.h. */
13550 _ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13554
13555 int
13556 main ()
13557 {
13558
13559 ;
13560 return 0;
13561 }
13562 _ACEOF
13563 rm -f conftest.$ac_objext
13564 if { (ac_try="$ac_compile"
13565 case "(($ac_try" in
13566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13567 *) ac_try_echo=$ac_try;;
13568 esac
13569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_compile") 2>conftest.er1
13571 ac_status=$?
13572 grep -v '^ *+' conftest.er1 >conftest.err
13573 rm -f conftest.er1
13574 cat conftest.err >&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13578 { (case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13581 esac
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_try") 2>&5
13584 ac_status=$?
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); }; } &&
13587 { ac_try='test -s conftest.$ac_objext'
13588 { (case "(($ac_try" in
13589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13590 *) ac_try_echo=$ac_try;;
13591 esac
13592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13593 (eval "$ac_try") 2>&5
13594 ac_status=$?
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 ac_cv_prog_cc_g=yes
13598 else
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13601
13602
13603 fi
13604
13605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13606 fi
13607
13608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13609 fi
13610
13611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13612 ac_c_werror_flag=$ac_save_c_werror_flag
13613 fi
13614 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13616 if test "$ac_test_CFLAGS" = set; then
13617 CFLAGS=$ac_save_CFLAGS
13618 elif test $ac_cv_prog_cc_g = yes; then
13619 if test "$GCC" = yes; then
13620 CFLAGS="-g -O2"
13621 else
13622 CFLAGS="-g"
13623 fi
13624 else
13625 if test "$GCC" = yes; then
13626 CFLAGS="-O2"
13627 else
13628 CFLAGS=
13629 fi
13630 fi
13631 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13632 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13633 if test "${ac_cv_prog_cc_c89+set}" = set; then
13634 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 else
13636 ac_cv_prog_cc_c89=no
13637 ac_save_CC=$CC
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #include <stdarg.h>
13645 #include <stdio.h>
13646 #include <sys/types.h>
13647 #include <sys/stat.h>
13648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13649 struct buf { int x; };
13650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13651 static char *e (p, i)
13652 char **p;
13653 int i;
13654 {
13655 return p[i];
13656 }
13657 static char *f (char * (*g) (char **, int), char **p, ...)
13658 {
13659 char *s;
13660 va_list v;
13661 va_start (v,p);
13662 s = g (p, va_arg (v,int));
13663 va_end (v);
13664 return s;
13665 }
13666
13667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13668 function prototypes and stuff, but not '\xHH' hex character constants.
13669 These don't provoke an error unfortunately, instead are silently treated
13670 as 'x'. The following induces an error, until -std is added to get
13671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13672 array size at least. It's necessary to write '\x00'==0 to get something
13673 that's true only with -std. */
13674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13675
13676 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13677 inside strings and character constants. */
13678 #define FOO(x) 'x'
13679 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13680
13681 int test (int i, double x);
13682 struct s1 {int (*f) (int a);};
13683 struct s2 {int (*f) (double a);};
13684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13685 int argc;
13686 char **argv;
13687 int
13688 main ()
13689 {
13690 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13691 ;
13692 return 0;
13693 }
13694 _ACEOF
13695 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13696 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13697 do
13698 CC="$ac_save_CC $ac_arg"
13699 rm -f conftest.$ac_objext
13700 if { (ac_try="$ac_compile"
13701 case "(($ac_try" in
13702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13703 *) ac_try_echo=$ac_try;;
13704 esac
13705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13706 (eval "$ac_compile") 2>conftest.er1
13707 ac_status=$?
13708 grep -v '^ *+' conftest.er1 >conftest.err
13709 rm -f conftest.er1
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } &&
13713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13714 { (case "(($ac_try" in
13715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13716 *) ac_try_echo=$ac_try;;
13717 esac
13718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13719 (eval "$ac_try") 2>&5
13720 ac_status=$?
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); }; } &&
13723 { ac_try='test -s conftest.$ac_objext'
13724 { (case "(($ac_try" in
13725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13726 *) ac_try_echo=$ac_try;;
13727 esac
13728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13729 (eval "$ac_try") 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_cv_prog_cc_c89=$ac_arg
13734 else
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13737
13738
13739 fi
13740
13741 rm -f core conftest.err conftest.$ac_objext
13742 test "x$ac_cv_prog_cc_c89" != "xno" && break
13743 done
13744 rm -f conftest.$ac_ext
13745 CC=$ac_save_CC
13746
13747 fi
13748 # AC_CACHE_VAL
13749 case "x$ac_cv_prog_cc_c89" in
13750 x)
13751 { echo "$as_me:$LINENO: result: none needed" >&5
13752 echo "${ECHO_T}none needed" >&6; } ;;
13753 xno)
13754 { echo "$as_me:$LINENO: result: unsupported" >&5
13755 echo "${ECHO_T}unsupported" >&6; } ;;
13756 *)
13757 CC="$CC $ac_cv_prog_cc_c89"
13758 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13759 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13760 esac
13761
13762
13763 ac_ext=c
13764 ac_cpp='$CPP $CPPFLAGS'
13765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13768
13769
13770
13771 ac_ext=c
13772 ac_cpp='$CPP $CPPFLAGS'
13773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13776
13777 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13778 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13779 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13780 echo $ECHO_N "(cached) $ECHO_C" >&6
13781 else
13782 cat >conftest.$ac_ext <<_ACEOF
13783 /* confdefs.h. */
13784 _ACEOF
13785 cat confdefs.h >>conftest.$ac_ext
13786 cat >>conftest.$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13788
13789 int
13790 main ()
13791 {
13792
13793 #ifndef __INTEL_COMPILER
13794 choke me
13795 #endif
13796
13797 ;
13798 return 0;
13799 }
13800 _ACEOF
13801 rm -f conftest.$ac_objext
13802 if { (ac_try="$ac_compile"
13803 case "(($ac_try" in
13804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13805 *) ac_try_echo=$ac_try;;
13806 esac
13807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13808 (eval "$ac_compile") 2>conftest.er1
13809 ac_status=$?
13810 grep -v '^ *+' conftest.er1 >conftest.err
13811 rm -f conftest.er1
13812 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13816 { (case "(($ac_try" in
13817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13818 *) ac_try_echo=$ac_try;;
13819 esac
13820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13821 (eval "$ac_try") 2>&5
13822 ac_status=$?
13823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13824 (exit $ac_status); }; } &&
13825 { ac_try='test -s conftest.$ac_objext'
13826 { (case "(($ac_try" in
13827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13828 *) ac_try_echo=$ac_try;;
13829 esac
13830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13831 (eval "$ac_try") 2>&5
13832 ac_status=$?
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; }; then
13835 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13836 else
13837 echo "$as_me: failed program was:" >&5
13838 sed 's/^/| /' conftest.$ac_ext >&5
13839
13840 bakefile_cv_c_compiler___INTEL_COMPILER=no
13841
13842 fi
13843
13844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13845
13846
13847 fi
13848 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13849 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13850 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13851 :; INTELCC=yes
13852 else
13853 :;
13854 fi
13855 ac_ext=c
13856 ac_cpp='$CPP $CPPFLAGS'
13857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13860
13861
13862
13863 if test "x$GCC" != "xyes"; then
13864 if test "xCC" = "xC"; then
13865 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13866 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13867 if test "${bakefile_cv_c_exto+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13869 else
13870 cat >conftest.$ac_ext <<_ACEOF
13871 /* confdefs.h. */
13872 _ACEOF
13873 cat confdefs.h >>conftest.$ac_ext
13874 cat >>conftest.$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13876
13877 int
13878 main ()
13879 {
13880
13881 ;
13882 return 0;
13883 }
13884 _ACEOF
13885 rm -f conftest.$ac_objext conftest.$ac_ext.o
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13888 ac_status=$?
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); }; then
13891 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13892 case $ac_file in
13893 conftest.$ac_ext.o)
13894 bakefile_cv_c_exto="-ext o"
13895 ;;
13896 *)
13897 ;;
13898 esac
13899 done
13900 else
13901 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13902 See \`config.log' for more details." >&5
13903 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13904 See \`config.log' for more details." >&2;}
13905 { (exit 1); exit 1; }; }
13906
13907 fi
13908
13909 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13910
13911 fi
13912 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13913 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13914 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13915 if test "c" = "c"; then
13916 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13917 fi
13918 if test "c" = "cxx"; then
13919 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13920 fi
13921 fi
13922
13923 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13924 unset ac_cv_prog_cc_g
13925 ac_test_CFLAGS=${CFLAGS+set}
13926 ac_save_CFLAGS=$CFLAGS
13927 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13928 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13929 if test "${ac_cv_prog_cc_g+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 else
13932 ac_save_c_werror_flag=$ac_c_werror_flag
13933 ac_c_werror_flag=yes
13934 ac_cv_prog_cc_g=no
13935 CFLAGS="-g"
13936 cat >conftest.$ac_ext <<_ACEOF
13937 /* confdefs.h. */
13938 _ACEOF
13939 cat confdefs.h >>conftest.$ac_ext
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13942
13943 int
13944 main ()
13945 {
13946
13947 ;
13948 return 0;
13949 }
13950 _ACEOF
13951 rm -f conftest.$ac_objext
13952 if { (ac_try="$ac_compile"
13953 case "(($ac_try" in
13954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13955 *) ac_try_echo=$ac_try;;
13956 esac
13957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13958 (eval "$ac_compile") 2>conftest.er1
13959 ac_status=$?
13960 grep -v '^ *+' conftest.er1 >conftest.err
13961 rm -f conftest.er1
13962 cat conftest.err >&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13966 { (case "(($ac_try" in
13967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13968 *) ac_try_echo=$ac_try;;
13969 esac
13970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13971 (eval "$ac_try") 2>&5
13972 ac_status=$?
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; } &&
13975 { ac_try='test -s conftest.$ac_objext'
13976 { (case "(($ac_try" in
13977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13978 *) ac_try_echo=$ac_try;;
13979 esac
13980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13981 (eval "$ac_try") 2>&5
13982 ac_status=$?
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; }; then
13985 ac_cv_prog_cc_g=yes
13986 else
13987 echo "$as_me: failed program was:" >&5
13988 sed 's/^/| /' conftest.$ac_ext >&5
13989
13990 CFLAGS=""
13991 cat >conftest.$ac_ext <<_ACEOF
13992 /* confdefs.h. */
13993 _ACEOF
13994 cat confdefs.h >>conftest.$ac_ext
13995 cat >>conftest.$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13997
13998 int
13999 main ()
14000 {
14001
14002 ;
14003 return 0;
14004 }
14005 _ACEOF
14006 rm -f conftest.$ac_objext
14007 if { (ac_try="$ac_compile"
14008 case "(($ac_try" in
14009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14010 *) ac_try_echo=$ac_try;;
14011 esac
14012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14013 (eval "$ac_compile") 2>conftest.er1
14014 ac_status=$?
14015 grep -v '^ *+' conftest.er1 >conftest.err
14016 rm -f conftest.er1
14017 cat conftest.err >&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } &&
14020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14021 { (case "(($ac_try" in
14022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14023 *) ac_try_echo=$ac_try;;
14024 esac
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_try") 2>&5
14027 ac_status=$?
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; } &&
14030 { ac_try='test -s conftest.$ac_objext'
14031 { (case "(($ac_try" in
14032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 *) ac_try_echo=$ac_try;;
14034 esac
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_try") 2>&5
14037 ac_status=$?
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14040 :
14041 else
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.$ac_ext >&5
14044
14045 ac_c_werror_flag=$ac_save_c_werror_flag
14046 CFLAGS="-g"
14047 cat >conftest.$ac_ext <<_ACEOF
14048 /* confdefs.h. */
14049 _ACEOF
14050 cat confdefs.h >>conftest.$ac_ext
14051 cat >>conftest.$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14053
14054 int
14055 main ()
14056 {
14057
14058 ;
14059 return 0;
14060 }
14061 _ACEOF
14062 rm -f conftest.$ac_objext
14063 if { (ac_try="$ac_compile"
14064 case "(($ac_try" in
14065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14066 *) ac_try_echo=$ac_try;;
14067 esac
14068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14069 (eval "$ac_compile") 2>conftest.er1
14070 ac_status=$?
14071 grep -v '^ *+' conftest.er1 >conftest.err
14072 rm -f conftest.er1
14073 cat conftest.err >&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); } &&
14076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14077 { (case "(($ac_try" in
14078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14079 *) ac_try_echo=$ac_try;;
14080 esac
14081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14082 (eval "$ac_try") 2>&5
14083 ac_status=$?
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; } &&
14086 { ac_try='test -s conftest.$ac_objext'
14087 { (case "(($ac_try" in
14088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14089 *) ac_try_echo=$ac_try;;
14090 esac
14091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14092 (eval "$ac_try") 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; }; then
14096 ac_cv_prog_cc_g=yes
14097 else
14098 echo "$as_me: failed program was:" >&5
14099 sed 's/^/| /' conftest.$ac_ext >&5
14100
14101
14102 fi
14103
14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14105 fi
14106
14107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14108 fi
14109
14110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14111 ac_c_werror_flag=$ac_save_c_werror_flag
14112 fi
14113 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14114 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14115 if test "$ac_test_CFLAGS" = set; then
14116 CFLAGS=$ac_save_CFLAGS
14117 elif test $ac_cv_prog_cc_g = yes; then
14118 if test "$GCC" = yes; then
14119 CFLAGS="-g -O2"
14120 else
14121 CFLAGS="-g"
14122 fi
14123 else
14124 if test "$GCC" = yes; then
14125 CFLAGS="-O2"
14126 else
14127 CFLAGS=
14128 fi
14129 fi
14130 fi
14131 fi
14132
14133 case `uname -s` in
14134 AIX*)
14135 ac_ext=c
14136 ac_cpp='$CPP $CPPFLAGS'
14137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14140
14141 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14142 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14143 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 else
14146 cat >conftest.$ac_ext <<_ACEOF
14147 /* confdefs.h. */
14148 _ACEOF
14149 cat confdefs.h >>conftest.$ac_ext
14150 cat >>conftest.$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14152
14153 int
14154 main ()
14155 {
14156 #ifndef __xlC__
14157 choke me
14158 #endif
14159
14160 ;
14161 return 0;
14162 }
14163 _ACEOF
14164 rm -f conftest.$ac_objext
14165 if { (ac_try="$ac_compile"
14166 case "(($ac_try" in
14167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14168 *) ac_try_echo=$ac_try;;
14169 esac
14170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14171 (eval "$ac_compile") 2>conftest.er1
14172 ac_status=$?
14173 grep -v '^ *+' conftest.er1 >conftest.err
14174 rm -f conftest.er1
14175 cat conftest.err >&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14179 { (case "(($ac_try" in
14180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14181 *) ac_try_echo=$ac_try;;
14182 esac
14183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14184 (eval "$ac_try") 2>&5
14185 ac_status=$?
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; } &&
14188 { ac_try='test -s conftest.$ac_objext'
14189 { (case "(($ac_try" in
14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 *) ac_try_echo=$ac_try;;
14192 esac
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_try") 2>&5
14195 ac_status=$?
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; }; then
14198 bakefile_compiler_xlc=yes
14199 else
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.$ac_ext >&5
14202
14203 bakefile_compiler_xlc=no
14204 fi
14205
14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14208
14209 fi
14210 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14211 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14212
14213 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14214 ac_ext=c
14215 ac_cpp='$CPP $CPPFLAGS'
14216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14219
14220
14221 ;;
14222
14223 Darwin)
14224 ac_ext=c
14225 ac_cpp='$CPP $CPPFLAGS'
14226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14229
14230 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14231 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14232 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14234 else
14235 cat >conftest.$ac_ext <<_ACEOF
14236 /* confdefs.h. */
14237 _ACEOF
14238 cat confdefs.h >>conftest.$ac_ext
14239 cat >>conftest.$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14241
14242 int
14243 main ()
14244 {
14245 #ifndef __MWERKS__
14246 choke me
14247 #endif
14248
14249 ;
14250 return 0;
14251 }
14252 _ACEOF
14253 rm -f conftest.$ac_objext
14254 if { (ac_try="$ac_compile"
14255 case "(($ac_try" in
14256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14257 *) ac_try_echo=$ac_try;;
14258 esac
14259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14260 (eval "$ac_compile") 2>conftest.er1
14261 ac_status=$?
14262 grep -v '^ *+' conftest.er1 >conftest.err
14263 rm -f conftest.er1
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14268 { (case "(($ac_try" in
14269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14270 *) ac_try_echo=$ac_try;;
14271 esac
14272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14273 (eval "$ac_try") 2>&5
14274 ac_status=$?
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); }; } &&
14277 { ac_try='test -s conftest.$ac_objext'
14278 { (case "(($ac_try" in
14279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14280 *) ac_try_echo=$ac_try;;
14281 esac
14282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14283 (eval "$ac_try") 2>&5
14284 ac_status=$?
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; }; then
14287 bakefile_compiler_mwerks=yes
14288 else
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.$ac_ext >&5
14291
14292 bakefile_compiler_mwerks=no
14293 fi
14294
14295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14296 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14297
14298 fi
14299 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14300 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14301
14302 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14303 ac_ext=c
14304 ac_cpp='$CPP $CPPFLAGS'
14305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14308
14309
14310 ac_ext=c
14311 ac_cpp='$CPP $CPPFLAGS'
14312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14315
14316 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14317 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14318 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 else
14321 cat >conftest.$ac_ext <<_ACEOF
14322 /* confdefs.h. */
14323 _ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14327
14328 int
14329 main ()
14330 {
14331 #ifndef __xlC__
14332 choke me
14333 #endif
14334
14335 ;
14336 return 0;
14337 }
14338 _ACEOF
14339 rm -f conftest.$ac_objext
14340 if { (ac_try="$ac_compile"
14341 case "(($ac_try" in
14342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14343 *) ac_try_echo=$ac_try;;
14344 esac
14345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14346 (eval "$ac_compile") 2>conftest.er1
14347 ac_status=$?
14348 grep -v '^ *+' conftest.er1 >conftest.err
14349 rm -f conftest.er1
14350 cat conftest.err >&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); } &&
14353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14354 { (case "(($ac_try" in
14355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14357 esac
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_try") 2>&5
14360 ac_status=$?
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try='test -s conftest.$ac_objext'
14364 { (case "(($ac_try" in
14365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14367 esac
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_try") 2>&5
14370 ac_status=$?
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; }; then
14373 bakefile_compiler_xlc=yes
14374 else
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14377
14378 bakefile_compiler_xlc=no
14379 fi
14380
14381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14382 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14383
14384 fi
14385 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14386 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14387
14388 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14389 ac_ext=c
14390 ac_cpp='$CPP $CPPFLAGS'
14391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14394
14395
14396 ;;
14397
14398 IRIX*)
14399
14400
14401 ac_ext=c
14402 ac_cpp='$CPP $CPPFLAGS'
14403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14406
14407 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14408 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14409 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 else
14412 cat >conftest.$ac_ext <<_ACEOF
14413 /* confdefs.h. */
14414 _ACEOF
14415 cat confdefs.h >>conftest.$ac_ext
14416 cat >>conftest.$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14418
14419 int
14420 main ()
14421 {
14422
14423 #ifndef _SGI_COMPILER_VERSION
14424 choke me
14425 #endif
14426
14427 ;
14428 return 0;
14429 }
14430 _ACEOF
14431 rm -f conftest.$ac_objext
14432 if { (ac_try="$ac_compile"
14433 case "(($ac_try" in
14434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14436 esac
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_compile") 2>conftest.er1
14439 ac_status=$?
14440 grep -v '^ *+' conftest.er1 >conftest.err
14441 rm -f conftest.er1
14442 cat conftest.err >&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14446 { (case "(($ac_try" in
14447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14448 *) ac_try_echo=$ac_try;;
14449 esac
14450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14451 (eval "$ac_try") 2>&5
14452 ac_status=$?
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; } &&
14455 { ac_try='test -s conftest.$ac_objext'
14456 { (case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459 esac
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_try") 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14466 else
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.$ac_ext >&5
14469
14470 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14471
14472 fi
14473
14474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14475
14476
14477 fi
14478 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14479 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14480 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14481 :; SGICC=yes
14482 else
14483 :;
14484 fi
14485 ac_ext=c
14486 ac_cpp='$CPP $CPPFLAGS'
14487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14490
14491
14492
14493 ;;
14494
14495 HP-UX*)
14496
14497
14498 ac_ext=c
14499 ac_cpp='$CPP $CPPFLAGS'
14500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14503
14504 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14505 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14506 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14507 echo $ECHO_N "(cached) $ECHO_C" >&6
14508 else
14509 cat >conftest.$ac_ext <<_ACEOF
14510 /* confdefs.h. */
14511 _ACEOF
14512 cat confdefs.h >>conftest.$ac_ext
14513 cat >>conftest.$ac_ext <<_ACEOF
14514 /* end confdefs.h. */
14515
14516 int
14517 main ()
14518 {
14519
14520 #ifndef __HP_cc
14521 choke me
14522 #endif
14523
14524 ;
14525 return 0;
14526 }
14527 _ACEOF
14528 rm -f conftest.$ac_objext
14529 if { (ac_try="$ac_compile"
14530 case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14533 esac
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_compile") 2>conftest.er1
14536 ac_status=$?
14537 grep -v '^ *+' conftest.er1 >conftest.err
14538 rm -f conftest.er1
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14543 { (case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14546 esac
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_try") 2>&5
14549 ac_status=$?
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; } &&
14552 { ac_try='test -s conftest.$ac_objext'
14553 { (case "(($ac_try" in
14554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14555 *) ac_try_echo=$ac_try;;
14556 esac
14557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14558 (eval "$ac_try") 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; }; then
14562 bakefile_cv_c_compiler___HP_cc=yes
14563 else
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.$ac_ext >&5
14566
14567 bakefile_cv_c_compiler___HP_cc=no
14568
14569 fi
14570
14571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14572
14573
14574 fi
14575 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14576 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14577 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14578 :; HPCC=yes
14579 else
14580 :;
14581 fi
14582 ac_ext=c
14583 ac_cpp='$CPP $CPPFLAGS'
14584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14587
14588
14589
14590 ;;
14591
14592 OSF1)
14593
14594
14595 ac_ext=c
14596 ac_cpp='$CPP $CPPFLAGS'
14597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14600
14601 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14602 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14603 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 else
14606 cat >conftest.$ac_ext <<_ACEOF
14607 /* confdefs.h. */
14608 _ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14612
14613 int
14614 main ()
14615 {
14616
14617 #ifndef __DECC
14618 choke me
14619 #endif
14620
14621 ;
14622 return 0;
14623 }
14624 _ACEOF
14625 rm -f conftest.$ac_objext
14626 if { (ac_try="$ac_compile"
14627 case "(($ac_try" in
14628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14629 *) ac_try_echo=$ac_try;;
14630 esac
14631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14632 (eval "$ac_compile") 2>conftest.er1
14633 ac_status=$?
14634 grep -v '^ *+' conftest.er1 >conftest.err
14635 rm -f conftest.er1
14636 cat conftest.err >&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } &&
14639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14640 { (case "(($ac_try" in
14641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14642 *) ac_try_echo=$ac_try;;
14643 esac
14644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_try") 2>&5
14646 ac_status=$?
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; } &&
14649 { ac_try='test -s conftest.$ac_objext'
14650 { (case "(($ac_try" in
14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14653 esac
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_try") 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 bakefile_cv_c_compiler___DECC=yes
14660 else
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.$ac_ext >&5
14663
14664 bakefile_cv_c_compiler___DECC=no
14665
14666 fi
14667
14668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14669
14670
14671 fi
14672 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14673 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14674 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14675 :; COMPAQCC=yes
14676 else
14677 :;
14678 fi
14679 ac_ext=c
14680 ac_cpp='$CPP $CPPFLAGS'
14681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14684
14685
14686
14687 ;;
14688
14689 SunOS)
14690
14691
14692 ac_ext=c
14693 ac_cpp='$CPP $CPPFLAGS'
14694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14697
14698 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14699 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14700 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 else
14703 cat >conftest.$ac_ext <<_ACEOF
14704 /* confdefs.h. */
14705 _ACEOF
14706 cat confdefs.h >>conftest.$ac_ext
14707 cat >>conftest.$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14709
14710 int
14711 main ()
14712 {
14713
14714 #ifndef __SUNPRO_C
14715 choke me
14716 #endif
14717
14718 ;
14719 return 0;
14720 }
14721 _ACEOF
14722 rm -f conftest.$ac_objext
14723 if { (ac_try="$ac_compile"
14724 case "(($ac_try" in
14725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14726 *) ac_try_echo=$ac_try;;
14727 esac
14728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14729 (eval "$ac_compile") 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14737 { (case "(($ac_try" in
14738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14739 *) ac_try_echo=$ac_try;;
14740 esac
14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14742 (eval "$ac_try") 2>&5
14743 ac_status=$?
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; } &&
14746 { ac_try='test -s conftest.$ac_objext'
14747 { (case "(($ac_try" in
14748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14749 *) ac_try_echo=$ac_try;;
14750 esac
14751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14752 (eval "$ac_try") 2>&5
14753 ac_status=$?
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); }; }; then
14756 bakefile_cv_c_compiler___SUNPRO_C=yes
14757 else
14758 echo "$as_me: failed program was:" >&5
14759 sed 's/^/| /' conftest.$ac_ext >&5
14760
14761 bakefile_cv_c_compiler___SUNPRO_C=no
14762
14763 fi
14764
14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14766
14767
14768 fi
14769 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14770 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14771 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14772 :; SUNCC=yes
14773 else
14774 :;
14775 fi
14776 ac_ext=c
14777 ac_cpp='$CPP $CPPFLAGS'
14778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14781
14782
14783
14784 ;;
14785 esac
14786 fi
14787
14788
14789
14790 ac_ext=c
14791 ac_cpp='$CPP $CPPFLAGS'
14792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14795 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14797 # On Suns, sometimes $CPP names a directory.
14798 if test -n "$CPP" && test -d "$CPP"; then
14799 CPP=
14800 fi
14801 if test -z "$CPP"; then
14802 if test "${ac_cv_prog_CPP+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 else
14805 # Double quotes because CPP needs to be expanded
14806 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14807 do
14808 ac_preproc_ok=false
14809 for ac_c_preproc_warn_flag in '' yes
14810 do
14811 # Use a header file that comes with gcc, so configuring glibc
14812 # with a fresh cross-compiler works.
14813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14814 # <limits.h> exists even on freestanding compilers.
14815 # On the NeXT, cc -E runs the code through the compiler's parser,
14816 # not just through cpp. "Syntax error" is here to catch this case.
14817 cat >conftest.$ac_ext <<_ACEOF
14818 /* confdefs.h. */
14819 _ACEOF
14820 cat confdefs.h >>conftest.$ac_ext
14821 cat >>conftest.$ac_ext <<_ACEOF
14822 /* end confdefs.h. */
14823 #ifdef __STDC__
14824 # include <limits.h>
14825 #else
14826 # include <assert.h>
14827 #endif
14828 Syntax error
14829 _ACEOF
14830 if { (ac_try="$ac_cpp conftest.$ac_ext"
14831 case "(($ac_try" in
14832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14833 *) ac_try_echo=$ac_try;;
14834 esac
14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14837 ac_status=$?
14838 grep -v '^ *+' conftest.er1 >conftest.err
14839 rm -f conftest.er1
14840 cat conftest.err >&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } >/dev/null; then
14843 if test -s conftest.err; then
14844 ac_cpp_err=$ac_c_preproc_warn_flag
14845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14846 else
14847 ac_cpp_err=
14848 fi
14849 else
14850 ac_cpp_err=yes
14851 fi
14852 if test -z "$ac_cpp_err"; then
14853 :
14854 else
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.$ac_ext >&5
14857
14858 # Broken: fails on valid input.
14859 continue
14860 fi
14861
14862 rm -f conftest.err conftest.$ac_ext
14863
14864 # OK, works on sane cases. Now check whether nonexistent headers
14865 # can be detected and how.
14866 cat >conftest.$ac_ext <<_ACEOF
14867 /* confdefs.h. */
14868 _ACEOF
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 #include <ac_nonexistent.h>
14873 _ACEOF
14874 if { (ac_try="$ac_cpp conftest.$ac_ext"
14875 case "(($ac_try" in
14876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14877 *) ac_try_echo=$ac_try;;
14878 esac
14879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14881 ac_status=$?
14882 grep -v '^ *+' conftest.er1 >conftest.err
14883 rm -f conftest.er1
14884 cat conftest.err >&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } >/dev/null; then
14887 if test -s conftest.err; then
14888 ac_cpp_err=$ac_c_preproc_warn_flag
14889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14890 else
14891 ac_cpp_err=
14892 fi
14893 else
14894 ac_cpp_err=yes
14895 fi
14896 if test -z "$ac_cpp_err"; then
14897 # Broken: success on invalid input.
14898 continue
14899 else
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14902
14903 # Passes both tests.
14904 ac_preproc_ok=:
14905 break
14906 fi
14907
14908 rm -f conftest.err conftest.$ac_ext
14909
14910 done
14911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14912 rm -f conftest.err conftest.$ac_ext
14913 if $ac_preproc_ok; then
14914 break
14915 fi
14916
14917 done
14918 ac_cv_prog_CPP=$CPP
14919
14920 fi
14921 CPP=$ac_cv_prog_CPP
14922 else
14923 ac_cv_prog_CPP=$CPP
14924 fi
14925 { echo "$as_me:$LINENO: result: $CPP" >&5
14926 echo "${ECHO_T}$CPP" >&6; }
14927 ac_preproc_ok=false
14928 for ac_c_preproc_warn_flag in '' yes
14929 do
14930 # Use a header file that comes with gcc, so configuring glibc
14931 # with a fresh cross-compiler works.
14932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14933 # <limits.h> exists even on freestanding compilers.
14934 # On the NeXT, cc -E runs the code through the compiler's parser,
14935 # not just through cpp. "Syntax error" is here to catch this case.
14936 cat >conftest.$ac_ext <<_ACEOF
14937 /* confdefs.h. */
14938 _ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942 #ifdef __STDC__
14943 # include <limits.h>
14944 #else
14945 # include <assert.h>
14946 #endif
14947 Syntax error
14948 _ACEOF
14949 if { (ac_try="$ac_cpp conftest.$ac_ext"
14950 case "(($ac_try" in
14951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14953 esac
14954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14956 ac_status=$?
14957 grep -v '^ *+' conftest.er1 >conftest.err
14958 rm -f conftest.er1
14959 cat conftest.err >&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); } >/dev/null; then
14962 if test -s conftest.err; then
14963 ac_cpp_err=$ac_c_preproc_warn_flag
14964 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14965 else
14966 ac_cpp_err=
14967 fi
14968 else
14969 ac_cpp_err=yes
14970 fi
14971 if test -z "$ac_cpp_err"; then
14972 :
14973 else
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14976
14977 # Broken: fails on valid input.
14978 continue
14979 fi
14980
14981 rm -f conftest.err conftest.$ac_ext
14982
14983 # OK, works on sane cases. Now check whether nonexistent headers
14984 # can be detected and how.
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 #include <ac_nonexistent.h>
14992 _ACEOF
14993 if { (ac_try="$ac_cpp conftest.$ac_ext"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14997 esac
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15000 ac_status=$?
15001 grep -v '^ *+' conftest.er1 >conftest.err
15002 rm -f conftest.er1
15003 cat conftest.err >&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } >/dev/null; then
15006 if test -s conftest.err; then
15007 ac_cpp_err=$ac_c_preproc_warn_flag
15008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15009 else
15010 ac_cpp_err=
15011 fi
15012 else
15013 ac_cpp_err=yes
15014 fi
15015 if test -z "$ac_cpp_err"; then
15016 # Broken: success on invalid input.
15017 continue
15018 else
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.$ac_ext >&5
15021
15022 # Passes both tests.
15023 ac_preproc_ok=:
15024 break
15025 fi
15026
15027 rm -f conftest.err conftest.$ac_ext
15028
15029 done
15030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15031 rm -f conftest.err conftest.$ac_ext
15032 if $ac_preproc_ok; then
15033 :
15034 else
15035 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15036 See \`config.log' for more details." >&5
15037 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15038 See \`config.log' for more details." >&2;}
15039 { (exit 1); exit 1; }; }
15040 fi
15041
15042 ac_ext=c
15043 ac_cpp='$CPP $CPPFLAGS'
15044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15047
15048
15049 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15050 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15051 if test "${ac_cv_path_GREP+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 else
15054 # Extract the first word of "grep ggrep" to use in msg output
15055 if test -z "$GREP"; then
15056 set dummy grep ggrep; ac_prog_name=$2
15057 if test "${ac_cv_path_GREP+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 else
15060 ac_path_GREP_found=false
15061 # Loop through the user's path and test for each of PROGNAME-LIST
15062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15064 do
15065 IFS=$as_save_IFS
15066 test -z "$as_dir" && as_dir=.
15067 for ac_prog in grep ggrep; do
15068 for ac_exec_ext in '' $ac_executable_extensions; do
15069 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15070 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
15071 # Check for GNU ac_path_GREP and select it if it is found.
15072 # Check for GNU $ac_path_GREP
15073 case `"$ac_path_GREP" --version 2>&1` in
15074 *GNU*)
15075 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15076 *)
15077 ac_count=0
15078 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15079 while :
15080 do
15081 cat "conftest.in" "conftest.in" >"conftest.tmp"
15082 mv "conftest.tmp" "conftest.in"
15083 cp "conftest.in" "conftest.nl"
15084 echo 'GREP' >> "conftest.nl"
15085 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15086 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15087 ac_count=`expr $ac_count + 1`
15088 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15089 # Best one so far, save it but keep looking for a better one
15090 ac_cv_path_GREP="$ac_path_GREP"
15091 ac_path_GREP_max=$ac_count
15092 fi
15093 # 10*(2^10) chars as input seems more than enough
15094 test $ac_count -gt 10 && break
15095 done
15096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15097 esac
15098
15099
15100 $ac_path_GREP_found && break 3
15101 done
15102 done
15103
15104 done
15105 IFS=$as_save_IFS
15106
15107
15108 fi
15109
15110 GREP="$ac_cv_path_GREP"
15111 if test -z "$GREP"; then
15112 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15113 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15114 { (exit 1); exit 1; }; }
15115 fi
15116
15117 else
15118 ac_cv_path_GREP=$GREP
15119 fi
15120
15121
15122 fi
15123 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15124 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15125 GREP="$ac_cv_path_GREP"
15126
15127
15128 { echo "$as_me:$LINENO: checking for egrep" >&5
15129 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15130 if test "${ac_cv_path_EGREP+set}" = set; then
15131 echo $ECHO_N "(cached) $ECHO_C" >&6
15132 else
15133 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15134 then ac_cv_path_EGREP="$GREP -E"
15135 else
15136 # Extract the first word of "egrep" to use in msg output
15137 if test -z "$EGREP"; then
15138 set dummy egrep; ac_prog_name=$2
15139 if test "${ac_cv_path_EGREP+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 else
15142 ac_path_EGREP_found=false
15143 # Loop through the user's path and test for each of PROGNAME-LIST
15144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15145 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15146 do
15147 IFS=$as_save_IFS
15148 test -z "$as_dir" && as_dir=.
15149 for ac_prog in egrep; do
15150 for ac_exec_ext in '' $ac_executable_extensions; do
15151 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15152 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
15153 # Check for GNU ac_path_EGREP and select it if it is found.
15154 # Check for GNU $ac_path_EGREP
15155 case `"$ac_path_EGREP" --version 2>&1` in
15156 *GNU*)
15157 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15158 *)
15159 ac_count=0
15160 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15161 while :
15162 do
15163 cat "conftest.in" "conftest.in" >"conftest.tmp"
15164 mv "conftest.tmp" "conftest.in"
15165 cp "conftest.in" "conftest.nl"
15166 echo 'EGREP' >> "conftest.nl"
15167 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15168 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15169 ac_count=`expr $ac_count + 1`
15170 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15171 # Best one so far, save it but keep looking for a better one
15172 ac_cv_path_EGREP="$ac_path_EGREP"
15173 ac_path_EGREP_max=$ac_count
15174 fi
15175 # 10*(2^10) chars as input seems more than enough
15176 test $ac_count -gt 10 && break
15177 done
15178 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15179 esac
15180
15181
15182 $ac_path_EGREP_found && break 3
15183 done
15184 done
15185
15186 done
15187 IFS=$as_save_IFS
15188
15189
15190 fi
15191
15192 EGREP="$ac_cv_path_EGREP"
15193 if test -z "$EGREP"; then
15194 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15195 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15196 { (exit 1); exit 1; }; }
15197 fi
15198
15199 else
15200 ac_cv_path_EGREP=$EGREP
15201 fi
15202
15203
15204 fi
15205 fi
15206 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15207 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15208 EGREP="$ac_cv_path_EGREP"
15209
15210
15211 if test $ac_cv_c_compiler_gnu = yes; then
15212 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15213 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15214 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15216 else
15217 ac_pattern="Autoconf.*'x'"
15218 cat >conftest.$ac_ext <<_ACEOF
15219 /* confdefs.h. */
15220 _ACEOF
15221 cat confdefs.h >>conftest.$ac_ext
15222 cat >>conftest.$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15224 #include <sgtty.h>
15225 Autoconf TIOCGETP
15226 _ACEOF
15227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15228 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15229 ac_cv_prog_gcc_traditional=yes
15230 else
15231 ac_cv_prog_gcc_traditional=no
15232 fi
15233 rm -f conftest*
15234
15235
15236 if test $ac_cv_prog_gcc_traditional = no; then
15237 cat >conftest.$ac_ext <<_ACEOF
15238 /* confdefs.h. */
15239 _ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243 #include <termio.h>
15244 Autoconf TCGETA
15245 _ACEOF
15246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15247 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15248 ac_cv_prog_gcc_traditional=yes
15249 fi
15250 rm -f conftest*
15251
15252 fi
15253 fi
15254 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15255 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15256 if test $ac_cv_prog_gcc_traditional = yes; then
15257 CC="$CC -traditional"
15258 fi
15259 fi
15260
15261
15262 CXXFLAGS=${CXXFLAGS:=}
15263
15264
15265
15266 ac_ext=cpp
15267 ac_cpp='$CXXCPP $CPPFLAGS'
15268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15271 if test -z "$CXX"; then
15272 if test -n "$CCC"; then
15273 CXX=$CCC
15274 else
15275 if test -n "$ac_tool_prefix"; then
15276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15277 do
15278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15282 if test "${ac_cv_prog_CXX+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15284 else
15285 if test -n "$CXX"; then
15286 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15287 else
15288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15289 for as_dir in $PATH
15290 do
15291 IFS=$as_save_IFS
15292 test -z "$as_dir" && as_dir=.
15293 for ac_exec_ext in '' $ac_executable_extensions; do
15294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15295 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15297 break 2
15298 fi
15299 done
15300 done
15301 IFS=$as_save_IFS
15302
15303 fi
15304 fi
15305 CXX=$ac_cv_prog_CXX
15306 if test -n "$CXX"; then
15307 { echo "$as_me:$LINENO: result: $CXX" >&5
15308 echo "${ECHO_T}$CXX" >&6; }
15309 else
15310 { echo "$as_me:$LINENO: result: no" >&5
15311 echo "${ECHO_T}no" >&6; }
15312 fi
15313
15314
15315 test -n "$CXX" && break
15316 done
15317 fi
15318 if test -z "$CXX"; then
15319 ac_ct_CXX=$CXX
15320 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15321 do
15322 # Extract the first word of "$ac_prog", so it can be a program name with args.
15323 set dummy $ac_prog; ac_word=$2
15324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15326 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15328 else
15329 if test -n "$ac_ct_CXX"; then
15330 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15331 else
15332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15333 for as_dir in $PATH
15334 do
15335 IFS=$as_save_IFS
15336 test -z "$as_dir" && as_dir=.
15337 for ac_exec_ext in '' $ac_executable_extensions; do
15338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15339 ac_cv_prog_ac_ct_CXX="$ac_prog"
15340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15341 break 2
15342 fi
15343 done
15344 done
15345 IFS=$as_save_IFS
15346
15347 fi
15348 fi
15349 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15350 if test -n "$ac_ct_CXX"; then
15351 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15352 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15353 else
15354 { echo "$as_me:$LINENO: result: no" >&5
15355 echo "${ECHO_T}no" >&6; }
15356 fi
15357
15358
15359 test -n "$ac_ct_CXX" && break
15360 done
15361
15362 if test "x$ac_ct_CXX" = x; then
15363 CXX="g++"
15364 else
15365 case $cross_compiling:$ac_tool_warned in
15366 yes:)
15367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15368 whose name does not start with the host triplet. If you think this
15369 configuration is useful to you, please write to autoconf@gnu.org." >&5
15370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15371 whose name does not start with the host triplet. If you think this
15372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15373 ac_tool_warned=yes ;;
15374 esac
15375 CXX=$ac_ct_CXX
15376 fi
15377 fi
15378
15379 fi
15380 fi
15381 # Provide some information about the compiler.
15382 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15383 ac_compiler=`set X $ac_compile; echo $2`
15384 { (ac_try="$ac_compiler --version >&5"
15385 case "(($ac_try" in
15386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15388 esac
15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15390 (eval "$ac_compiler --version >&5") 2>&5
15391 ac_status=$?
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }
15394 { (ac_try="$ac_compiler -v >&5"
15395 case "(($ac_try" in
15396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15397 *) ac_try_echo=$ac_try;;
15398 esac
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_compiler -v >&5") 2>&5
15401 ac_status=$?
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }
15404 { (ac_try="$ac_compiler -V >&5"
15405 case "(($ac_try" in
15406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15407 *) ac_try_echo=$ac_try;;
15408 esac
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_compiler -V >&5") 2>&5
15411 ac_status=$?
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }
15414
15415 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15418 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 else
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426
15427 int
15428 main ()
15429 {
15430 #ifndef __GNUC__
15431 choke me
15432 #endif
15433
15434 ;
15435 return 0;
15436 }
15437 _ACEOF
15438 rm -f conftest.$ac_objext
15439 if { (ac_try="$ac_compile"
15440 case "(($ac_try" in
15441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15442 *) ac_try_echo=$ac_try;;
15443 esac
15444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_compile") 2>conftest.er1
15446 ac_status=$?
15447 grep -v '^ *+' conftest.er1 >conftest.err
15448 rm -f conftest.er1
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15453 { (case "(($ac_try" in
15454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15456 esac
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_try") 2>&5
15459 ac_status=$?
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; } &&
15462 { ac_try='test -s conftest.$ac_objext'
15463 { (case "(($ac_try" in
15464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15465 *) ac_try_echo=$ac_try;;
15466 esac
15467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15468 (eval "$ac_try") 2>&5
15469 ac_status=$?
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 ac_compiler_gnu=yes
15473 else
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.$ac_ext >&5
15476
15477 ac_compiler_gnu=no
15478 fi
15479
15480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15481 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15482
15483 fi
15484 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15485 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15486 GXX=`test $ac_compiler_gnu = yes && echo yes`
15487 ac_test_CXXFLAGS=${CXXFLAGS+set}
15488 ac_save_CXXFLAGS=$CXXFLAGS
15489 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15490 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15491 if test "${ac_cv_prog_cxx_g+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 else
15494 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15495 ac_cxx_werror_flag=yes
15496 ac_cv_prog_cxx_g=no
15497 CXXFLAGS="-g"
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504
15505 int
15506 main ()
15507 {
15508
15509 ;
15510 return 0;
15511 }
15512 _ACEOF
15513 rm -f conftest.$ac_objext
15514 if { (ac_try="$ac_compile"
15515 case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15518 esac
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_compile") 2>conftest.er1
15521 ac_status=$?
15522 grep -v '^ *+' conftest.er1 >conftest.err
15523 rm -f conftest.er1
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } &&
15527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15528 { (case "(($ac_try" in
15529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15530 *) ac_try_echo=$ac_try;;
15531 esac
15532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15533 (eval "$ac_try") 2>&5
15534 ac_status=$?
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; } &&
15537 { ac_try='test -s conftest.$ac_objext'
15538 { (case "(($ac_try" in
15539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15540 *) ac_try_echo=$ac_try;;
15541 esac
15542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15543 (eval "$ac_try") 2>&5
15544 ac_status=$?
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then
15547 ac_cv_prog_cxx_g=yes
15548 else
15549 echo "$as_me: failed program was:" >&5
15550 sed 's/^/| /' conftest.$ac_ext >&5
15551
15552 CXXFLAGS=""
15553 cat >conftest.$ac_ext <<_ACEOF
15554 /* confdefs.h. */
15555 _ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559
15560 int
15561 main ()
15562 {
15563
15564 ;
15565 return 0;
15566 }
15567 _ACEOF
15568 rm -f conftest.$ac_objext
15569 if { (ac_try="$ac_compile"
15570 case "(($ac_try" in
15571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15572 *) ac_try_echo=$ac_try;;
15573 esac
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_compile") 2>conftest.er1
15576 ac_status=$?
15577 grep -v '^ *+' conftest.er1 >conftest.err
15578 rm -f conftest.er1
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15583 { (case "(($ac_try" in
15584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15585 *) ac_try_echo=$ac_try;;
15586 esac
15587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15588 (eval "$ac_try") 2>&5
15589 ac_status=$?
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; } &&
15592 { ac_try='test -s conftest.$ac_objext'
15593 { (case "(($ac_try" in
15594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15595 *) ac_try_echo=$ac_try;;
15596 esac
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_try") 2>&5
15599 ac_status=$?
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; }; then
15602 :
15603 else
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15606
15607 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15608 CXXFLAGS="-g"
15609 cat >conftest.$ac_ext <<_ACEOF
15610 /* confdefs.h. */
15611 _ACEOF
15612 cat confdefs.h >>conftest.$ac_ext
15613 cat >>conftest.$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15615
15616 int
15617 main ()
15618 {
15619
15620 ;
15621 return 0;
15622 }
15623 _ACEOF
15624 rm -f conftest.$ac_objext
15625 if { (ac_try="$ac_compile"
15626 case "(($ac_try" in
15627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15629 esac
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_compile") 2>conftest.er1
15632 ac_status=$?
15633 grep -v '^ *+' conftest.er1 >conftest.err
15634 rm -f conftest.er1
15635 cat conftest.err >&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); } &&
15638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15639 { (case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15642 esac
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_try") 2>&5
15645 ac_status=$?
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try='test -s conftest.$ac_objext'
15649 { (case "(($ac_try" in
15650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15652 esac
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_try") 2>&5
15655 ac_status=$?
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_cv_prog_cxx_g=yes
15659 else
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15662
15663
15664 fi
15665
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667 fi
15668
15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670 fi
15671
15672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15673 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15674 fi
15675 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15676 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15677 if test "$ac_test_CXXFLAGS" = set; then
15678 CXXFLAGS=$ac_save_CXXFLAGS
15679 elif test $ac_cv_prog_cxx_g = yes; then
15680 if test "$GXX" = yes; then
15681 CXXFLAGS="-g -O2"
15682 else
15683 CXXFLAGS="-g"
15684 fi
15685 else
15686 if test "$GXX" = yes; then
15687 CXXFLAGS="-O2"
15688 else
15689 CXXFLAGS=
15690 fi
15691 fi
15692 ac_ext=c
15693 ac_cpp='$CPP $CPPFLAGS'
15694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15697
15698
15699
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15705
15706 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15707 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15708 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 else
15711 cat >conftest.$ac_ext <<_ACEOF
15712 /* confdefs.h. */
15713 _ACEOF
15714 cat confdefs.h >>conftest.$ac_ext
15715 cat >>conftest.$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717
15718 int
15719 main ()
15720 {
15721
15722 #ifndef __INTEL_COMPILER
15723 choke me
15724 #endif
15725
15726 ;
15727 return 0;
15728 }
15729 _ACEOF
15730 rm -f conftest.$ac_objext
15731 if { (ac_try="$ac_compile"
15732 case "(($ac_try" in
15733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15734 *) ac_try_echo=$ac_try;;
15735 esac
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_compile") 2>conftest.er1
15738 ac_status=$?
15739 grep -v '^ *+' conftest.er1 >conftest.err
15740 rm -f conftest.er1
15741 cat conftest.err >&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } &&
15744 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15745 { (case "(($ac_try" in
15746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15747 *) ac_try_echo=$ac_try;;
15748 esac
15749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15750 (eval "$ac_try") 2>&5
15751 ac_status=$?
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; } &&
15754 { ac_try='test -s conftest.$ac_objext'
15755 { (case "(($ac_try" in
15756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15757 *) ac_try_echo=$ac_try;;
15758 esac
15759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15760 (eval "$ac_try") 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15765 else
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15768
15769 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15770
15771 fi
15772
15773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15774
15775
15776 fi
15777 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15778 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15779 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15780 :; INTELCXX=yes
15781 else
15782 :;
15783 fi
15784 ac_ext=c
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15789
15790
15791
15792 if test "x$GCXX" != "xyes"; then
15793 if test "xCXX" = "xC"; then
15794 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15795 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15796 if test "${bakefile_cv_c_exto+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15798 else
15799 cat >conftest.$ac_ext <<_ACEOF
15800 /* confdefs.h. */
15801 _ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805
15806 int
15807 main ()
15808 {
15809
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 rm -f conftest.$ac_objext conftest.$ac_ext.o
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>&5
15817 ac_status=$?
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; then
15820 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15821 case $ac_file in
15822 conftest.$ac_ext.o)
15823 bakefile_cv_c_exto="-ext o"
15824 ;;
15825 *)
15826 ;;
15827 esac
15828 done
15829 else
15830 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15831 See \`config.log' for more details." >&5
15832 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15833 See \`config.log' for more details." >&2;}
15834 { (exit 1); exit 1; }; }
15835
15836 fi
15837
15838 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15839
15840 fi
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15842 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15843 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15844 if test "c" = "c"; then
15845 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15846 fi
15847 if test "c" = "cxx"; then
15848 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15849 fi
15850 fi
15851
15852 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15853 unset ac_cv_prog_cc_g
15854 ac_test_CFLAGS=${CFLAGS+set}
15855 ac_save_CFLAGS=$CFLAGS
15856 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15857 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15858 if test "${ac_cv_prog_cc_g+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 else
15861 ac_save_c_werror_flag=$ac_c_werror_flag
15862 ac_c_werror_flag=yes
15863 ac_cv_prog_cc_g=no
15864 CFLAGS="-g"
15865 cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h. */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871
15872 int
15873 main ()
15874 {
15875
15876 ;
15877 return 0;
15878 }
15879 _ACEOF
15880 rm -f conftest.$ac_objext
15881 if { (ac_try="$ac_compile"
15882 case "(($ac_try" in
15883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15885 esac
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_compile") 2>conftest.er1
15888 ac_status=$?
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15895 { (case "(($ac_try" in
15896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15897 *) ac_try_echo=$ac_try;;
15898 esac
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_try") 2>&5
15901 ac_status=$?
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try='test -s conftest.$ac_objext'
15905 { (case "(($ac_try" in
15906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15907 *) ac_try_echo=$ac_try;;
15908 esac
15909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15910 (eval "$ac_try") 2>&5
15911 ac_status=$?
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15914 ac_cv_prog_cc_g=yes
15915 else
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.$ac_ext >&5
15918
15919 CFLAGS=""
15920 cat >conftest.$ac_ext <<_ACEOF
15921 /* confdefs.h. */
15922 _ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926
15927 int
15928 main ()
15929 {
15930
15931 ;
15932 return 0;
15933 }
15934 _ACEOF
15935 rm -f conftest.$ac_objext
15936 if { (ac_try="$ac_compile"
15937 case "(($ac_try" in
15938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15939 *) ac_try_echo=$ac_try;;
15940 esac
15941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15942 (eval "$ac_compile") 2>conftest.er1
15943 ac_status=$?
15944 grep -v '^ *+' conftest.er1 >conftest.err
15945 rm -f conftest.er1
15946 cat conftest.err >&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15950 { (case "(($ac_try" in
15951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15953 esac
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_try") 2>&5
15956 ac_status=$?
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; } &&
15959 { ac_try='test -s conftest.$ac_objext'
15960 { (case "(($ac_try" in
15961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15962 *) ac_try_echo=$ac_try;;
15963 esac
15964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15965 (eval "$ac_try") 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 :
15970 else
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.$ac_ext >&5
15973
15974 ac_c_werror_flag=$ac_save_c_werror_flag
15975 CFLAGS="-g"
15976 cat >conftest.$ac_ext <<_ACEOF
15977 /* confdefs.h. */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15982
15983 int
15984 main ()
15985 {
15986
15987 ;
15988 return 0;
15989 }
15990 _ACEOF
15991 rm -f conftest.$ac_objext
15992 if { (ac_try="$ac_compile"
15993 case "(($ac_try" in
15994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15996 esac
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_compile") 2>conftest.er1
15999 ac_status=$?
16000 grep -v '^ *+' conftest.er1 >conftest.err
16001 rm -f conftest.er1
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16006 { (case "(($ac_try" in
16007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16008 *) ac_try_echo=$ac_try;;
16009 esac
16010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16011 (eval "$ac_try") 2>&5
16012 ac_status=$?
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; } &&
16015 { ac_try='test -s conftest.$ac_objext'
16016 { (case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16019 esac
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_try") 2>&5
16022 ac_status=$?
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_prog_cc_g=yes
16026 else
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16029
16030
16031 fi
16032
16033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16034 fi
16035
16036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16037 fi
16038
16039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16040 ac_c_werror_flag=$ac_save_c_werror_flag
16041 fi
16042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16044 if test "$ac_test_CFLAGS" = set; then
16045 CFLAGS=$ac_save_CFLAGS
16046 elif test $ac_cv_prog_cc_g = yes; then
16047 if test "$GCC" = yes; then
16048 CFLAGS="-g -O2"
16049 else
16050 CFLAGS="-g"
16051 fi
16052 else
16053 if test "$GCC" = yes; then
16054 CFLAGS="-O2"
16055 else
16056 CFLAGS=
16057 fi
16058 fi
16059 fi
16060 fi
16061
16062 case `uname -s` in
16063 AIX*)
16064 ac_ext=cpp
16065 ac_cpp='$CXXCPP $CPPFLAGS'
16066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16069
16070 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16071 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16072 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16073 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 else
16075 cat >conftest.$ac_ext <<_ACEOF
16076 /* confdefs.h. */
16077 _ACEOF
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16081
16082 int
16083 main ()
16084 {
16085 #ifndef __xlC__
16086 choke me
16087 #endif
16088
16089 ;
16090 return 0;
16091 }
16092 _ACEOF
16093 rm -f conftest.$ac_objext
16094 if { (ac_try="$ac_compile"
16095 case "(($ac_try" in
16096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16097 *) ac_try_echo=$ac_try;;
16098 esac
16099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16100 (eval "$ac_compile") 2>conftest.er1
16101 ac_status=$?
16102 grep -v '^ *+' conftest.er1 >conftest.err
16103 rm -f conftest.er1
16104 cat conftest.err >&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } &&
16107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16108 { (case "(($ac_try" in
16109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16110 *) ac_try_echo=$ac_try;;
16111 esac
16112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16113 (eval "$ac_try") 2>&5
16114 ac_status=$?
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; } &&
16117 { ac_try='test -s conftest.$ac_objext'
16118 { (case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;;
16121 esac
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_try") 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 bakefile_compiler_xlc=yes
16128 else
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.$ac_ext >&5
16131
16132 bakefile_compiler_xlc=no
16133 fi
16134
16135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16136 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16137
16138 fi
16139 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16140 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16141
16142 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16143 ac_ext=c
16144 ac_cpp='$CPP $CPPFLAGS'
16145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16148
16149
16150 ;;
16151
16152 Darwin)
16153 ac_ext=cpp
16154 ac_cpp='$CXXCPP $CPPFLAGS'
16155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16158
16159 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16160 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16161 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
16162 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 else
16164 cat >conftest.$ac_ext <<_ACEOF
16165 /* confdefs.h. */
16166 _ACEOF
16167 cat confdefs.h >>conftest.$ac_ext
16168 cat >>conftest.$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170
16171 int
16172 main ()
16173 {
16174 #ifndef __MWERKS__
16175 choke me
16176 #endif
16177
16178 ;
16179 return 0;
16180 }
16181 _ACEOF
16182 rm -f conftest.$ac_objext
16183 if { (ac_try="$ac_compile"
16184 case "(($ac_try" in
16185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16186 *) ac_try_echo=$ac_try;;
16187 esac
16188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16189 (eval "$ac_compile") 2>conftest.er1
16190 ac_status=$?
16191 grep -v '^ *+' conftest.er1 >conftest.err
16192 rm -f conftest.er1
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16197 { (case "(($ac_try" in
16198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16199 *) ac_try_echo=$ac_try;;
16200 esac
16201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16202 (eval "$ac_try") 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try='test -s conftest.$ac_objext'
16207 { (case "(($ac_try" in
16208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16209 *) ac_try_echo=$ac_try;;
16210 esac
16211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16212 (eval "$ac_try") 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then
16216 bakefile_compiler_mwerks=yes
16217 else
16218 echo "$as_me: failed program was:" >&5
16219 sed 's/^/| /' conftest.$ac_ext >&5
16220
16221 bakefile_compiler_mwerks=no
16222 fi
16223
16224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16225 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
16226
16227 fi
16228 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
16229 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
16230
16231 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
16232 ac_ext=c
16233 ac_cpp='$CPP $CPPFLAGS'
16234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16237
16238
16239 ac_ext=cpp
16240 ac_cpp='$CXXCPP $CPPFLAGS'
16241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16244
16245 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16246 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16247 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16248 echo $ECHO_N "(cached) $ECHO_C" >&6
16249 else
16250 cat >conftest.$ac_ext <<_ACEOF
16251 /* confdefs.h. */
16252 _ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256
16257 int
16258 main ()
16259 {
16260 #ifndef __xlC__
16261 choke me
16262 #endif
16263
16264 ;
16265 return 0;
16266 }
16267 _ACEOF
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273 esac
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } &&
16282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16283 { (case "(($ac_try" in
16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16286 esac
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_try") 2>&5
16289 ac_status=$?
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; } &&
16292 { ac_try='test -s conftest.$ac_objext'
16293 { (case "(($ac_try" in
16294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16295 *) ac_try_echo=$ac_try;;
16296 esac
16297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16298 (eval "$ac_try") 2>&5
16299 ac_status=$?
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16302 bakefile_compiler_xlc=yes
16303 else
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.$ac_ext >&5
16306
16307 bakefile_compiler_xlc=no
16308 fi
16309
16310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16311 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16312
16313 fi
16314 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16315 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16316
16317 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16318 ac_ext=c
16319 ac_cpp='$CPP $CPPFLAGS'
16320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16323
16324
16325 ;;
16326
16327 IRIX*)
16328
16329
16330 ac_ext=cpp
16331 ac_cpp='$CXXCPP $CPPFLAGS'
16332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16335
16336 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16337 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16338 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16340 else
16341 cat >conftest.$ac_ext <<_ACEOF
16342 /* confdefs.h. */
16343 _ACEOF
16344 cat confdefs.h >>conftest.$ac_ext
16345 cat >>conftest.$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16347
16348 int
16349 main ()
16350 {
16351
16352 #ifndef _SGI_COMPILER_VERSION
16353 choke me
16354 #endif
16355
16356 ;
16357 return 0;
16358 }
16359 _ACEOF
16360 rm -f conftest.$ac_objext
16361 if { (ac_try="$ac_compile"
16362 case "(($ac_try" in
16363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16364 *) ac_try_echo=$ac_try;;
16365 esac
16366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16367 (eval "$ac_compile") 2>conftest.er1
16368 ac_status=$?
16369 grep -v '^ *+' conftest.er1 >conftest.err
16370 rm -f conftest.er1
16371 cat conftest.err >&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16375 { (case "(($ac_try" in
16376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16377 *) ac_try_echo=$ac_try;;
16378 esac
16379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16380 (eval "$ac_try") 2>&5
16381 ac_status=$?
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }; } &&
16384 { ac_try='test -s conftest.$ac_objext'
16385 { (case "(($ac_try" in
16386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16388 esac
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_try") 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; }; then
16394 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16395 else
16396 echo "$as_me: failed program was:" >&5
16397 sed 's/^/| /' conftest.$ac_ext >&5
16398
16399 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16400
16401 fi
16402
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404
16405
16406 fi
16407 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16408 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16409 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16410 :; SGICXX=yes
16411 else
16412 :;
16413 fi
16414 ac_ext=c
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16419
16420
16421
16422 ;;
16423
16424 HP-UX*)
16425
16426
16427 ac_ext=cpp
16428 ac_cpp='$CXXCPP $CPPFLAGS'
16429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16432
16433 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16434 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16435 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 else
16438 cat >conftest.$ac_ext <<_ACEOF
16439 /* confdefs.h. */
16440 _ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16444
16445 int
16446 main ()
16447 {
16448
16449 #ifndef __HP_aCC
16450 choke me
16451 #endif
16452
16453 ;
16454 return 0;
16455 }
16456 _ACEOF
16457 rm -f conftest.$ac_objext
16458 if { (ac_try="$ac_compile"
16459 case "(($ac_try" in
16460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16461 *) ac_try_echo=$ac_try;;
16462 esac
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_compile") 2>conftest.er1
16465 ac_status=$?
16466 grep -v '^ *+' conftest.er1 >conftest.err
16467 rm -f conftest.er1
16468 cat conftest.err >&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); } &&
16471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16472 { (case "(($ac_try" in
16473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16474 *) ac_try_echo=$ac_try;;
16475 esac
16476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16477 (eval "$ac_try") 2>&5
16478 ac_status=$?
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; } &&
16481 { ac_try='test -s conftest.$ac_objext'
16482 { (case "(($ac_try" in
16483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16484 *) ac_try_echo=$ac_try;;
16485 esac
16486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16487 (eval "$ac_try") 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; }; then
16491 bakefile_cv_cxx_compiler___HP_aCC=yes
16492 else
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.$ac_ext >&5
16495
16496 bakefile_cv_cxx_compiler___HP_aCC=no
16497
16498 fi
16499
16500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16501
16502
16503 fi
16504 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16505 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16506 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16507 :; HPCXX=yes
16508 else
16509 :;
16510 fi
16511 ac_ext=c
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16516
16517
16518
16519 ;;
16520
16521 OSF1)
16522
16523
16524 ac_ext=cpp
16525 ac_cpp='$CXXCPP $CPPFLAGS'
16526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16529
16530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16531 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16532 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 else
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h. */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541
16542 int
16543 main ()
16544 {
16545
16546 #ifndef __DECCXX
16547 choke me
16548 #endif
16549
16550 ;
16551 return 0;
16552 }
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (ac_try="$ac_compile"
16556 case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16559 esac
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compile") 2>conftest.er1
16562 ac_status=$?
16563 grep -v '^ *+' conftest.er1 >conftest.err
16564 rm -f conftest.er1
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16569 { (case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16572 esac
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_try") 2>&5
16575 ac_status=$?
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try='test -s conftest.$ac_objext'
16579 { (case "(($ac_try" in
16580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16581 *) ac_try_echo=$ac_try;;
16582 esac
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_try") 2>&5
16585 ac_status=$?
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 bakefile_cv_cxx_compiler___DECCXX=yes
16589 else
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.$ac_ext >&5
16592
16593 bakefile_cv_cxx_compiler___DECCXX=no
16594
16595 fi
16596
16597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16598
16599
16600 fi
16601 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16602 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16603 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16604 :; COMPAQCXX=yes
16605 else
16606 :;
16607 fi
16608 ac_ext=c
16609 ac_cpp='$CPP $CPPFLAGS'
16610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16613
16614
16615
16616 ;;
16617
16618 SunOS)
16619
16620
16621 ac_ext=cpp
16622 ac_cpp='$CXXCPP $CPPFLAGS'
16623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16626
16627 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16628 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16629 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 else
16632 cat >conftest.$ac_ext <<_ACEOF
16633 /* confdefs.h. */
16634 _ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638
16639 int
16640 main ()
16641 {
16642
16643 #ifndef __SUNPRO_CC
16644 choke me
16645 #endif
16646
16647 ;
16648 return 0;
16649 }
16650 _ACEOF
16651 rm -f conftest.$ac_objext
16652 if { (ac_try="$ac_compile"
16653 case "(($ac_try" in
16654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16655 *) ac_try_echo=$ac_try;;
16656 esac
16657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16658 (eval "$ac_compile") 2>conftest.er1
16659 ac_status=$?
16660 grep -v '^ *+' conftest.er1 >conftest.err
16661 rm -f conftest.er1
16662 cat conftest.err >&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); } &&
16665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16666 { (case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_try") 2>&5
16672 ac_status=$?
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; } &&
16675 { ac_try='test -s conftest.$ac_objext'
16676 { (case "(($ac_try" in
16677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16678 *) ac_try_echo=$ac_try;;
16679 esac
16680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16681 (eval "$ac_try") 2>&5
16682 ac_status=$?
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16686 else
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16689
16690 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16691
16692 fi
16693
16694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16695
16696
16697 fi
16698 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16699 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16700 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16701 :; SUNCXX=yes
16702 else
16703 :;
16704 fi
16705 ac_ext=c
16706 ac_cpp='$CPP $CPPFLAGS'
16707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16710
16711
16712
16713 ;;
16714 esac
16715 fi
16716
16717
16718
16719 if test -n "$ac_tool_prefix"; then
16720 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16721 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_RANLIB+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 else
16727 if test -n "$RANLIB"; then
16728 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16729 else
16730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16732 do
16733 IFS=$as_save_IFS
16734 test -z "$as_dir" && as_dir=.
16735 for ac_exec_ext in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16739 break 2
16740 fi
16741 done
16742 done
16743 IFS=$as_save_IFS
16744
16745 fi
16746 fi
16747 RANLIB=$ac_cv_prog_RANLIB
16748 if test -n "$RANLIB"; then
16749 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16750 echo "${ECHO_T}$RANLIB" >&6; }
16751 else
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16754 fi
16755
16756
16757 fi
16758 if test -z "$ac_cv_prog_RANLIB"; then
16759 ac_ct_RANLIB=$RANLIB
16760 # Extract the first word of "ranlib", so it can be a program name with args.
16761 set dummy ranlib; ac_word=$2
16762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16764 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 else
16767 if test -n "$ac_ct_RANLIB"; then
16768 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16769 else
16770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16771 for as_dir in $PATH
16772 do
16773 IFS=$as_save_IFS
16774 test -z "$as_dir" && as_dir=.
16775 for ac_exec_ext in '' $ac_executable_extensions; do
16776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16777 ac_cv_prog_ac_ct_RANLIB="ranlib"
16778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16779 break 2
16780 fi
16781 done
16782 done
16783 IFS=$as_save_IFS
16784
16785 fi
16786 fi
16787 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16788 if test -n "$ac_ct_RANLIB"; then
16789 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16790 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16791 else
16792 { echo "$as_me:$LINENO: result: no" >&5
16793 echo "${ECHO_T}no" >&6; }
16794 fi
16795
16796 if test "x$ac_ct_RANLIB" = x; then
16797 RANLIB=":"
16798 else
16799 case $cross_compiling:$ac_tool_warned in
16800 yes:)
16801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16802 whose name does not start with the host triplet. If you think this
16803 configuration is useful to you, please write to autoconf@gnu.org." >&5
16804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16805 whose name does not start with the host triplet. If you think this
16806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16807 ac_tool_warned=yes ;;
16808 esac
16809 RANLIB=$ac_ct_RANLIB
16810 fi
16811 else
16812 RANLIB="$ac_cv_prog_RANLIB"
16813 fi
16814
16815
16816 if test "x$SUNCXX" != xyes; then
16817 if test -n "$ac_tool_prefix"; then
16818 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16819 set dummy ${ac_tool_prefix}ar; ac_word=$2
16820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16822 if test "${ac_cv_prog_AR+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825 if test -n "$AR"; then
16826 ac_cv_prog_AR="$AR" # Let the user override the test.
16827 else
16828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16829 for as_dir in $PATH
16830 do
16831 IFS=$as_save_IFS
16832 test -z "$as_dir" && as_dir=.
16833 for ac_exec_ext in '' $ac_executable_extensions; do
16834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16835 ac_cv_prog_AR="${ac_tool_prefix}ar"
16836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16837 break 2
16838 fi
16839 done
16840 done
16841 IFS=$as_save_IFS
16842
16843 fi
16844 fi
16845 AR=$ac_cv_prog_AR
16846 if test -n "$AR"; then
16847 { echo "$as_me:$LINENO: result: $AR" >&5
16848 echo "${ECHO_T}$AR" >&6; }
16849 else
16850 { echo "$as_me:$LINENO: result: no" >&5
16851 echo "${ECHO_T}no" >&6; }
16852 fi
16853
16854
16855 fi
16856 if test -z "$ac_cv_prog_AR"; then
16857 ac_ct_AR=$AR
16858 # Extract the first word of "ar", so it can be a program name with args.
16859 set dummy ar; ac_word=$2
16860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16862 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16863 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 else
16865 if test -n "$ac_ct_AR"; then
16866 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16867 else
16868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16869 for as_dir in $PATH
16870 do
16871 IFS=$as_save_IFS
16872 test -z "$as_dir" && as_dir=.
16873 for ac_exec_ext in '' $ac_executable_extensions; do
16874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16875 ac_cv_prog_ac_ct_AR="ar"
16876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16877 break 2
16878 fi
16879 done
16880 done
16881 IFS=$as_save_IFS
16882
16883 fi
16884 fi
16885 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16886 if test -n "$ac_ct_AR"; then
16887 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16888 echo "${ECHO_T}$ac_ct_AR" >&6; }
16889 else
16890 { echo "$as_me:$LINENO: result: no" >&5
16891 echo "${ECHO_T}no" >&6; }
16892 fi
16893
16894 if test "x$ac_ct_AR" = x; then
16895 AR=""
16896 else
16897 case $cross_compiling:$ac_tool_warned in
16898 yes:)
16899 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16900 whose name does not start with the host triplet. If you think this
16901 configuration is useful to you, please write to autoconf@gnu.org." >&5
16902 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16903 whose name does not start with the host triplet. If you think this
16904 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16905 ac_tool_warned=yes ;;
16906 esac
16907 AR=$ac_ct_AR
16908 fi
16909 else
16910 AR="$ac_cv_prog_AR"
16911 fi
16912
16913 if test "x$AR" = "x" ; then
16914 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16915 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16916 { (exit 1); exit 1; }; }
16917 fi
16918 fi
16919
16920 # Find a good install program. We prefer a C program (faster),
16921 # so one script is as good as another. But avoid the broken or
16922 # incompatible versions:
16923 # SysV /etc/install, /usr/sbin/install
16924 # SunOS /usr/etc/install
16925 # IRIX /sbin/install
16926 # AIX /bin/install
16927 # AmigaOS /C/install, which installs bootblocks on floppy discs
16928 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16929 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16930 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16931 # OS/2's system install, which has a completely different semantic
16932 # ./install, which can be erroneously created by make from ./install.sh.
16933 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16934 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16935 if test -z "$INSTALL"; then
16936 if test "${ac_cv_path_install+set}" = set; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 else
16939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16940 for as_dir in $PATH
16941 do
16942 IFS=$as_save_IFS
16943 test -z "$as_dir" && as_dir=.
16944 # Account for people who put trailing slashes in PATH elements.
16945 case $as_dir/ in
16946 ./ | .// | /cC/* | \
16947 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16948 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16949 /usr/ucb/* ) ;;
16950 *)
16951 # OSF1 and SCO ODT 3.0 have their own names for install.
16952 # Don't use installbsd from OSF since it installs stuff as root
16953 # by default.
16954 for ac_prog in ginstall scoinst install; do
16955 for ac_exec_ext in '' $ac_executable_extensions; do
16956 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
16957 if test $ac_prog = install &&
16958 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16959 # AIX install. It has an incompatible calling convention.
16960 :
16961 elif test $ac_prog = install &&
16962 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16963 # program-specific install script used by HP pwplus--don't use.
16964 :
16965 else
16966 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16967 break 3
16968 fi
16969 fi
16970 done
16971 done
16972 ;;
16973 esac
16974 done
16975 IFS=$as_save_IFS
16976
16977
16978 fi
16979 if test "${ac_cv_path_install+set}" = set; then
16980 INSTALL=$ac_cv_path_install
16981 else
16982 # As a last resort, use the slow shell script. Don't cache a
16983 # value for INSTALL within a source directory, because that will
16984 # break other packages using the cache if that directory is
16985 # removed, or if the value is a relative name.
16986 INSTALL=$ac_install_sh
16987 fi
16988 fi
16989 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16990 echo "${ECHO_T}$INSTALL" >&6; }
16991
16992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16993 # It thinks the first close brace ends the variable substitution.
16994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16995
16996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16997
16998 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16999
17000
17001 case ${INSTALL} in
17002 /* ) # Absolute
17003 ;;
17004 ?:* ) # Drive letter, considered as absolute.
17005 ;;
17006 *)
17007 INSTALL=`pwd`/${INSTALL} ;;
17008 esac
17009
17010
17011 case "${host}" in
17012
17013 *-*-darwin* )
17014 INSTALL_PROGRAM="cp -fp"
17015 INSTALL_DATA="cp -fp"
17016 ;;
17017 *)
17018 ;;
17019 esac
17020
17021 if test -n "$ac_tool_prefix"; then
17022 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17023 set dummy ${ac_tool_prefix}strip; ac_word=$2
17024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17026 if test "${ac_cv_prog_STRIP+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 else
17029 if test -n "$STRIP"; then
17030 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
17031 else
17032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17033 for as_dir in $PATH
17034 do
17035 IFS=$as_save_IFS
17036 test -z "$as_dir" && as_dir=.
17037 for ac_exec_ext in '' $ac_executable_extensions; do
17038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17039 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
17040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17041 break 2
17042 fi
17043 done
17044 done
17045 IFS=$as_save_IFS
17046
17047 fi
17048 fi
17049 STRIP=$ac_cv_prog_STRIP
17050 if test -n "$STRIP"; then
17051 { echo "$as_me:$LINENO: result: $STRIP" >&5
17052 echo "${ECHO_T}$STRIP" >&6; }
17053 else
17054 { echo "$as_me:$LINENO: result: no" >&5
17055 echo "${ECHO_T}no" >&6; }
17056 fi
17057
17058
17059 fi
17060 if test -z "$ac_cv_prog_STRIP"; then
17061 ac_ct_STRIP=$STRIP
17062 # Extract the first word of "strip", so it can be a program name with args.
17063 set dummy strip; ac_word=$2
17064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17066 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069 if test -n "$ac_ct_STRIP"; then
17070 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
17071 else
17072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17073 for as_dir in $PATH
17074 do
17075 IFS=$as_save_IFS
17076 test -z "$as_dir" && as_dir=.
17077 for ac_exec_ext in '' $ac_executable_extensions; do
17078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17079 ac_cv_prog_ac_ct_STRIP="strip"
17080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17081 break 2
17082 fi
17083 done
17084 done
17085 IFS=$as_save_IFS
17086
17087 fi
17088 fi
17089 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
17090 if test -n "$ac_ct_STRIP"; then
17091 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17092 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
17093 else
17094 { echo "$as_me:$LINENO: result: no" >&5
17095 echo "${ECHO_T}no" >&6; }
17096 fi
17097
17098 if test "x$ac_ct_STRIP" = x; then
17099 STRIP="true"
17100 else
17101 case $cross_compiling:$ac_tool_warned in
17102 yes:)
17103 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17104 whose name does not start with the host triplet. If you think this
17105 configuration is useful to you, please write to autoconf@gnu.org." >&5
17106 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17107 whose name does not start with the host triplet. If you think this
17108 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17109 ac_tool_warned=yes ;;
17110 esac
17111 STRIP=$ac_ct_STRIP
17112 fi
17113 else
17114 STRIP="$ac_cv_prog_STRIP"
17115 fi
17116
17117
17118 if test "$wxUSE_WINE" = "yes"; then
17119 if test -n "$ac_tool_prefix"; then
17120 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
17121 set dummy ${ac_tool_prefix}wrc; ac_word=$2
17122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17124 if test "${ac_cv_prog_WINDRES+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 else
17127 if test -n "$WINDRES"; then
17128 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17129 else
17130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17131 for as_dir in $PATH
17132 do
17133 IFS=$as_save_IFS
17134 test -z "$as_dir" && as_dir=.
17135 for ac_exec_ext in '' $ac_executable_extensions; do
17136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17137 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
17138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17139 break 2
17140 fi
17141 done
17142 done
17143 IFS=$as_save_IFS
17144
17145 fi
17146 fi
17147 WINDRES=$ac_cv_prog_WINDRES
17148 if test -n "$WINDRES"; then
17149 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17150 echo "${ECHO_T}$WINDRES" >&6; }
17151 else
17152 { echo "$as_me:$LINENO: result: no" >&5
17153 echo "${ECHO_T}no" >&6; }
17154 fi
17155
17156
17157 fi
17158 if test -z "$ac_cv_prog_WINDRES"; then
17159 ac_ct_WINDRES=$WINDRES
17160 # Extract the first word of "wrc", so it can be a program name with args.
17161 set dummy wrc; ac_word=$2
17162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17164 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 else
17167 if test -n "$ac_ct_WINDRES"; then
17168 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17169 else
17170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17171 for as_dir in $PATH
17172 do
17173 IFS=$as_save_IFS
17174 test -z "$as_dir" && as_dir=.
17175 for ac_exec_ext in '' $ac_executable_extensions; do
17176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17177 ac_cv_prog_ac_ct_WINDRES="wrc"
17178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17179 break 2
17180 fi
17181 done
17182 done
17183 IFS=$as_save_IFS
17184
17185 fi
17186 fi
17187 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17188 if test -n "$ac_ct_WINDRES"; then
17189 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17190 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17191 else
17192 { echo "$as_me:$LINENO: result: no" >&5
17193 echo "${ECHO_T}no" >&6; }
17194 fi
17195
17196 if test "x$ac_ct_WINDRES" = x; then
17197 WINDRES=""
17198 else
17199 case $cross_compiling:$ac_tool_warned in
17200 yes:)
17201 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17202 whose name does not start with the host triplet. If you think this
17203 configuration is useful to you, please write to autoconf@gnu.org." >&5
17204 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17205 whose name does not start with the host triplet. If you think this
17206 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17207 ac_tool_warned=yes ;;
17208 esac
17209 WINDRES=$ac_ct_WINDRES
17210 fi
17211 else
17212 WINDRES="$ac_cv_prog_WINDRES"
17213 fi
17214
17215 RESCOMP="$WINDRES"
17216 else
17217 case "${host}" in
17218 *-*-cygwin* | *-*-mingw32* )
17219 if test -n "$ac_tool_prefix"; then
17220 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17221 set dummy ${ac_tool_prefix}windres; ac_word=$2
17222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17224 if test "${ac_cv_prog_WINDRES+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 else
17227 if test -n "$WINDRES"; then
17228 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17229 else
17230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17231 for as_dir in $PATH
17232 do
17233 IFS=$as_save_IFS
17234 test -z "$as_dir" && as_dir=.
17235 for ac_exec_ext in '' $ac_executable_extensions; do
17236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17237 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17239 break 2
17240 fi
17241 done
17242 done
17243 IFS=$as_save_IFS
17244
17245 fi
17246 fi
17247 WINDRES=$ac_cv_prog_WINDRES
17248 if test -n "$WINDRES"; then
17249 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17250 echo "${ECHO_T}$WINDRES" >&6; }
17251 else
17252 { echo "$as_me:$LINENO: result: no" >&5
17253 echo "${ECHO_T}no" >&6; }
17254 fi
17255
17256
17257 fi
17258 if test -z "$ac_cv_prog_WINDRES"; then
17259 ac_ct_WINDRES=$WINDRES
17260 # Extract the first word of "windres", so it can be a program name with args.
17261 set dummy windres; ac_word=$2
17262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17264 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17265 echo $ECHO_N "(cached) $ECHO_C" >&6
17266 else
17267 if test -n "$ac_ct_WINDRES"; then
17268 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17269 else
17270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17271 for as_dir in $PATH
17272 do
17273 IFS=$as_save_IFS
17274 test -z "$as_dir" && as_dir=.
17275 for ac_exec_ext in '' $ac_executable_extensions; do
17276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17277 ac_cv_prog_ac_ct_WINDRES="windres"
17278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17279 break 2
17280 fi
17281 done
17282 done
17283 IFS=$as_save_IFS
17284
17285 fi
17286 fi
17287 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17288 if test -n "$ac_ct_WINDRES"; then
17289 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17290 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17291 else
17292 { echo "$as_me:$LINENO: result: no" >&5
17293 echo "${ECHO_T}no" >&6; }
17294 fi
17295
17296 if test "x$ac_ct_WINDRES" = x; then
17297 WINDRES=""
17298 else
17299 case $cross_compiling:$ac_tool_warned in
17300 yes:)
17301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17302 whose name does not start with the host triplet. If you think this
17303 configuration is useful to you, please write to autoconf@gnu.org." >&5
17304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17305 whose name does not start with the host triplet. If you think this
17306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17307 ac_tool_warned=yes ;;
17308 esac
17309 WINDRES=$ac_ct_WINDRES
17310 fi
17311 else
17312 WINDRES="$ac_cv_prog_WINDRES"
17313 fi
17314
17315 RESCOMP="$WINDRES"
17316 if test -n "$ac_tool_prefix"; then
17317 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17318 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
17319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17321 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17322 echo $ECHO_N "(cached) $ECHO_C" >&6
17323 else
17324 if test -n "$DLLTOOL"; then
17325 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17326 else
17327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17328 for as_dir in $PATH
17329 do
17330 IFS=$as_save_IFS
17331 test -z "$as_dir" && as_dir=.
17332 for ac_exec_ext in '' $ac_executable_extensions; do
17333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17334 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
17335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17336 break 2
17337 fi
17338 done
17339 done
17340 IFS=$as_save_IFS
17341
17342 fi
17343 fi
17344 DLLTOOL=$ac_cv_prog_DLLTOOL
17345 if test -n "$DLLTOOL"; then
17346 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17347 echo "${ECHO_T}$DLLTOOL" >&6; }
17348 else
17349 { echo "$as_me:$LINENO: result: no" >&5
17350 echo "${ECHO_T}no" >&6; }
17351 fi
17352
17353
17354 fi
17355 if test -z "$ac_cv_prog_DLLTOOL"; then
17356 ac_ct_DLLTOOL=$DLLTOOL
17357 # Extract the first word of "dlltool", so it can be a program name with args.
17358 set dummy dlltool; ac_word=$2
17359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17361 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 else
17364 if test -n "$ac_ct_DLLTOOL"; then
17365 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17366 else
17367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17368 for as_dir in $PATH
17369 do
17370 IFS=$as_save_IFS
17371 test -z "$as_dir" && as_dir=.
17372 for ac_exec_ext in '' $ac_executable_extensions; do
17373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17374 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17376 break 2
17377 fi
17378 done
17379 done
17380 IFS=$as_save_IFS
17381
17382 fi
17383 fi
17384 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17385 if test -n "$ac_ct_DLLTOOL"; then
17386 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17387 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17388 else
17389 { echo "$as_me:$LINENO: result: no" >&5
17390 echo "${ECHO_T}no" >&6; }
17391 fi
17392
17393 if test "x$ac_ct_DLLTOOL" = x; then
17394 DLLTOOL=""
17395 else
17396 case $cross_compiling:$ac_tool_warned in
17397 yes:)
17398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17399 whose name does not start with the host triplet. If you think this
17400 configuration is useful to you, please write to autoconf@gnu.org." >&5
17401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17402 whose name does not start with the host triplet. If you think this
17403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17404 ac_tool_warned=yes ;;
17405 esac
17406 DLLTOOL=$ac_ct_DLLTOOL
17407 fi
17408 else
17409 DLLTOOL="$ac_cv_prog_DLLTOOL"
17410 fi
17411
17412 ;;
17413 esac
17414 fi
17415
17416 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17417 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17418 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 else
17421
17422 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17423 $EGREP -s GNU > /dev/null); then
17424 wx_cv_prog_makeisgnu="yes"
17425 else
17426 wx_cv_prog_makeisgnu="no"
17427 fi
17428
17429 fi
17430 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17431 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17432
17433 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17434 IF_GNU_MAKE=""
17435 else
17436 IF_GNU_MAKE="#"
17437 fi
17438
17439
17440
17441 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17442 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17443 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17444 if test "${wx_cv_prog_makevpath+set}" = set; then
17445 echo $ECHO_N "(cached) $ECHO_C" >&6
17446 else
17447
17448 cat - << EOF > confMake
17449 check : file
17450 cp \$? \$@
17451 cp \$? final_file
17452 EOF
17453
17454 if test ! -d sub ; then
17455 mkdir sub
17456 fi
17457 echo dummy > sub/file
17458 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17459 RESULT=$?
17460 rm -f sub/file check final_file confMake
17461 rmdir sub
17462 if test "$RESULT" = 0; then
17463 wx_cv_prog_makevpath="yes"
17464 else
17465 wx_cv_prog_makevpath="no"
17466 fi
17467
17468 fi
17469 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17470 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17471
17472 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17473 { { echo "$as_me:$LINENO: error:
17474 You need a make-utility that is able to use the variable
17475 VPATH correctly.
17476 If your version of make does not support VPATH correctly,
17477 please install GNU-make (possibly as gmake), and start
17478 configure with the following command:
17479 export MAKE=gmake; ./configure for sh-type shells
17480 setenv MAKE gmake; ./configure for csh-type shells
17481 Also please do remember to use gmake in this case every time
17482 you are trying to compile.
17483 " >&5
17484 echo "$as_me: error:
17485 You need a make-utility that is able to use the variable
17486 VPATH correctly.
17487 If your version of make does not support VPATH correctly,
17488 please install GNU-make (possibly as gmake), and start
17489 configure with the following command:
17490 export MAKE=gmake; ./configure for sh-type shells
17491 setenv MAKE gmake; ./configure for csh-type shells
17492 Also please do remember to use gmake in this case every time
17493 you are trying to compile.
17494 " >&2;}
17495 { (exit 1); exit 1; }; }
17496 fi fi
17497 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17498 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17499 LN_S=$as_ln_s
17500 if test "$LN_S" = "ln -s"; then
17501 { echo "$as_me:$LINENO: result: yes" >&5
17502 echo "${ECHO_T}yes" >&6; }
17503 else
17504 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17505 echo "${ECHO_T}no, using $LN_S" >&6; }
17506 fi
17507
17508
17509
17510
17511 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17512 CXXFLAGS="-qunique $CXXFLAGS"
17513 fi
17514
17515 case "${host}" in
17516 powerpc-*-darwin* )
17517 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17518 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525
17526 int
17527 main ()
17528 {
17529 #ifndef __POWERPC__
17530 choke me for lack of PowerPC
17531 #endif
17532
17533 ;
17534 return 0;
17535 }
17536 _ACEOF
17537 rm -f conftest.$ac_objext
17538 if { (ac_try="$ac_compile"
17539 case "(($ac_try" in
17540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17542 esac
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_compile") 2>conftest.er1
17545 ac_status=$?
17546 grep -v '^ *+' conftest.er1 >conftest.err
17547 rm -f conftest.er1
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17552 { (case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17554 *) ac_try_echo=$ac_try;;
17555 esac
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_try") 2>&5
17558 ac_status=$?
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; } &&
17561 { ac_try='test -s conftest.$ac_objext'
17562 { (case "(($ac_try" in
17563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17564 *) ac_try_echo=$ac_try;;
17565 esac
17566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17567 (eval "$ac_try") 2>&5
17568 ac_status=$?
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; }; then
17571 { echo "$as_me:$LINENO: result: yes" >&5
17572 echo "${ECHO_T}yes" >&6; }
17573 else
17574 echo "$as_me: failed program was:" >&5
17575 sed 's/^/| /' conftest.$ac_ext >&5
17576
17577 { echo "$as_me:$LINENO: result: no" >&5
17578 echo "${ECHO_T}no" >&6; }
17579 cat >>confdefs.h <<\_ACEOF
17580 #define __POWERPC__ 1
17581 _ACEOF
17582
17583
17584 fi
17585
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587 ;;
17588 esac
17589
17590 case "${host}" in
17591 *-*-darwin* )
17592 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17593 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17594 cat >conftest.$ac_ext <<_ACEOF
17595 /* confdefs.h. */
17596 _ACEOF
17597 cat confdefs.h >>conftest.$ac_ext
17598 cat >>conftest.$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17600 #include <CoreFoundation/CFBase.h>
17601
17602 int
17603 main ()
17604 {
17605
17606 ;
17607 return 0;
17608 }
17609 _ACEOF
17610 rm -f conftest.$ac_objext
17611 if { (ac_try="$ac_compile"
17612 case "(($ac_try" in
17613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17614 *) ac_try_echo=$ac_try;;
17615 esac
17616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617 (eval "$ac_compile") 2>conftest.er1
17618 ac_status=$?
17619 grep -v '^ *+' conftest.er1 >conftest.err
17620 rm -f conftest.er1
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17625 { (case "(($ac_try" in
17626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17627 *) ac_try_echo=$ac_try;;
17628 esac
17629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17630 (eval "$ac_try") 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; } &&
17634 { ac_try='test -s conftest.$ac_objext'
17635 { (case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17638 esac
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_try") 2>&5
17641 ac_status=$?
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; }; then
17644 { echo "$as_me:$LINENO: result: yes" >&5
17645 echo "${ECHO_T}yes" >&6; }
17646 else
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.$ac_ext >&5
17649
17650 { echo "$as_me:$LINENO: result: no" >&5
17651 echo "${ECHO_T}no" >&6; }
17652 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17653 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17654 cat >conftest.$ac_ext <<_ACEOF
17655 /* confdefs.h. */
17656 _ACEOF
17657 cat confdefs.h >>conftest.$ac_ext
17658 cat >>conftest.$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 #define __CF_USE_FRAMEWORK_INCLUDES__
17661 #include <CoreFoundation/CFBase.h>
17662
17663 int
17664 main ()
17665 {
17666
17667 ;
17668 return 0;
17669 }
17670 _ACEOF
17671 rm -f conftest.$ac_objext
17672 if { (ac_try="$ac_compile"
17673 case "(($ac_try" in
17674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17675 *) ac_try_echo=$ac_try;;
17676 esac
17677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17678 (eval "$ac_compile") 2>conftest.er1
17679 ac_status=$?
17680 grep -v '^ *+' conftest.er1 >conftest.err
17681 rm -f conftest.er1
17682 cat conftest.err >&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); } &&
17685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17686 { (case "(($ac_try" in
17687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17688 *) ac_try_echo=$ac_try;;
17689 esac
17690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17691 (eval "$ac_try") 2>&5
17692 ac_status=$?
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; } &&
17695 { ac_try='test -s conftest.$ac_objext'
17696 { (case "(($ac_try" in
17697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17698 *) ac_try_echo=$ac_try;;
17699 esac
17700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17701 (eval "$ac_try") 2>&5
17702 ac_status=$?
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; }; then
17705 { echo "$as_me:$LINENO: result: yes" >&5
17706 echo "${ECHO_T}yes" >&6; }
17707 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17708 else
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.$ac_ext >&5
17711
17712 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17713 See \`config.log' for more details." >&5
17714 echo "$as_me: error: no. CoreFoundation not available.
17715 See \`config.log' for more details." >&2;}
17716 { (exit 1); exit 1; }; }
17717
17718 fi
17719
17720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17721
17722
17723 fi
17724
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17726 ;;
17727 esac
17728
17729 wants_win32=0
17730 doesnt_want_win32=0
17731 case "${host}" in
17732 *-*-cygwin*)
17733 if test "$wxUSE_MSW" = 1 ; then
17734 wants_win32=1
17735 else
17736 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17737 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17738 if test "${wx_cv_nocygwin+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 else
17741
17742 cat >conftest.$ac_ext <<_ACEOF
17743 /* confdefs.h. */
17744 _ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748
17749 int
17750 main ()
17751 {
17752
17753 #ifdef __MINGW32__
17754 choke me
17755 #endif
17756
17757 ;
17758 return 0;
17759 }
17760 _ACEOF
17761 rm -f conftest.$ac_objext
17762 if { (ac_try="$ac_compile"
17763 case "(($ac_try" in
17764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17765 *) ac_try_echo=$ac_try;;
17766 esac
17767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17768 (eval "$ac_compile") 2>conftest.er1
17769 ac_status=$?
17770 grep -v '^ *+' conftest.er1 >conftest.err
17771 rm -f conftest.er1
17772 cat conftest.err >&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17776 { (case "(($ac_try" in
17777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17778 *) ac_try_echo=$ac_try;;
17779 esac
17780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17781 (eval "$ac_try") 2>&5
17782 ac_status=$?
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; } &&
17785 { ac_try='test -s conftest.$ac_objext'
17786 { (case "(($ac_try" in
17787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17788 *) ac_try_echo=$ac_try;;
17789 esac
17790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17791 (eval "$ac_try") 2>&5
17792 ac_status=$?
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); }; }; then
17795 wx_cv_nocygwin=no
17796 else
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17799
17800 wx_cv_nocygwin=yes
17801
17802 fi
17803
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805
17806
17807 fi
17808 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17809 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17810
17811 if test "$wx_cv_nocygwin" = "yes"; then
17812 wants_win32=1
17813 else
17814 doesnt_want_win32=1
17815 fi
17816 fi
17817 if test "$wants_win32" = 1 ; then
17818 BAKEFILE_FORCE_PLATFORM=win32
17819 fi
17820 ;;
17821 *-*-mingw*)
17822 wants_win32=1
17823 ;;
17824 esac
17825
17826 if test "$wxUSE_WINE" = "yes"; then
17827 wants_win32=1
17828 LDFLAGS_GUI="-mwindows"
17829 fi
17830
17831 if test "$wants_win32" = 1 ; then
17832 USE_UNIX=0
17833 USE_WIN32=1
17834 cat >>confdefs.h <<\_ACEOF
17835 #define __WIN32__ 1
17836 _ACEOF
17837
17838 cat >>confdefs.h <<\_ACEOF
17839 #define __WIN95__ 1
17840 _ACEOF
17841
17842 cat >>confdefs.h <<\_ACEOF
17843 #define __WINDOWS__ 1
17844 _ACEOF
17845
17846 cat >>confdefs.h <<\_ACEOF
17847 #define __GNUWIN32__ 1
17848 _ACEOF
17849
17850 cat >>confdefs.h <<\_ACEOF
17851 #define STRICT 1
17852 _ACEOF
17853
17854 fi
17855 if test "$doesnt_want_win32" = 1 ; then
17856 USE_UNIX=1
17857 USE_WIN32=0
17858 fi
17859
17860 if test "$USE_UNIX" = 1 ; then
17861 wxUSE_UNIX=yes
17862 cat >>confdefs.h <<\_ACEOF
17863 #define __UNIX__ 1
17864 _ACEOF
17865
17866 fi
17867
17868 case "${host}" in
17869 *-pc-os2_emx | *-pc-os2-emx )
17870 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17871 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17872 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17873 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17874 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 else
17876 ac_check_lib_save_LIBS=$LIBS
17877 LIBS="-lcExt $LIBS"
17878 cat >conftest.$ac_ext <<_ACEOF
17879 /* confdefs.h. */
17880 _ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884
17885 /* Override any GCC internal prototype to avoid an error.
17886 Use char because int might match the return type of a GCC
17887 builtin and then its argument prototype would still apply. */
17888 #ifdef __cplusplus
17889 extern "C"
17890 #endif
17891 char drand48 ();
17892 int
17893 main ()
17894 {
17895 return drand48 ();
17896 ;
17897 return 0;
17898 }
17899 _ACEOF
17900 rm -f conftest.$ac_objext conftest$ac_exeext
17901 if { (ac_try="$ac_link"
17902 case "(($ac_try" in
17903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17904 *) ac_try_echo=$ac_try;;
17905 esac
17906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17907 (eval "$ac_link") 2>conftest.er1
17908 ac_status=$?
17909 grep -v '^ *+' conftest.er1 >conftest.err
17910 rm -f conftest.er1
17911 cat conftest.err >&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); } &&
17914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17915 { (case "(($ac_try" in
17916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17918 esac
17919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_try") 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; } &&
17924 { ac_try='test -s conftest$ac_exeext'
17925 { (case "(($ac_try" in
17926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17927 *) ac_try_echo=$ac_try;;
17928 esac
17929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17930 (eval "$ac_try") 2>&5
17931 ac_status=$?
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; }; then
17934 ac_cv_lib_cExt_drand48=yes
17935 else
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939 ac_cv_lib_cExt_drand48=no
17940 fi
17941
17942 rm -f core conftest.err conftest.$ac_objext \
17943 conftest$ac_exeext conftest.$ac_ext
17944 LIBS=$ac_check_lib_save_LIBS
17945 fi
17946 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17947 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17948 if test $ac_cv_lib_cExt_drand48 = yes; then
17949 LIBS="$LIBS -lcExt"
17950 fi
17951
17952 else
17953 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17954 fi
17955 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17956 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17957 if test "${wx_cv_gccversion+set}" = set; then
17958 echo $ECHO_N "(cached) $ECHO_C" >&6
17959 else
17960
17961 if test "$cross_compiling" = yes; then
17962 wx_cv_gccversion="EMX2"
17963
17964 else
17965 cat >conftest.$ac_ext <<_ACEOF
17966 /* confdefs.h. */
17967 _ACEOF
17968 cat confdefs.h >>conftest.$ac_ext
17969 cat >>conftest.$ac_ext <<_ACEOF
17970 /* end confdefs.h. */
17971
17972 #include <stdio.h>
17973
17974 int main()
17975 {
17976 FILE *f=fopen("conftestval", "w");
17977 if (!f) exit(1);
17978 fprintf(f,
17979 #if (__GNUC__ < 3)
17980 "EMX2"
17981 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17982 "EMX3"
17983 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17984 "Innotek5"
17985 #else
17986 "Innotek6"
17987 #endif
17988 );
17989 exit(0);
17990 }
17991
17992 _ACEOF
17993 rm -f conftest$ac_exeext
17994 if { (ac_try="$ac_link"
17995 case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17998 esac
17999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_link") 2>&5
18001 ac_status=$?
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18004 { (case "(($ac_try" in
18005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18006 *) ac_try_echo=$ac_try;;
18007 esac
18008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_try") 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 wx_cv_gccversion=`cat conftestval`
18014 else
18015 echo "$as_me: program exited with status $ac_status" >&5
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.$ac_ext >&5
18018
18019 ( exit $ac_status )
18020 wx_cv_gccversion="EMX2"
18021 fi
18022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18023 fi
18024
18025
18026
18027 fi
18028 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18029 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18030 if test "$wx_cv_gccversion" = "EMX2"; then
18031 LIBS="$LIBS -lstdcpp"
18032 LDFLAGS="$LDFLAGS -Zsysv-signals"
18033 else
18034 if test "$wx_cv_gccversion" = "EMX3"; then
18035 LIBS="$LIBS -lstdcxx -lgcc"
18036 LDFLAGS="$LDFLAGS -Zsysv-signals"
18037 else
18038 LIBS="$LIBS -lstdc++"
18039 fi
18040 fi
18041 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18042 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18043 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18044 wxUSE_OMF=yes
18045 enable_omf=yes
18046 fi
18047 ;;
18048 *)
18049
18050 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18051 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18052 if test "${ac_cv_string_strcasecmp+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18054 else
18055
18056 cat >conftest.$ac_ext <<_ACEOF
18057 /* confdefs.h. */
18058 _ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062
18063 #include <string.h>
18064
18065 int
18066 main ()
18067 {
18068
18069 strcasecmp("foo", "bar");
18070
18071 ;
18072 return 0;
18073 }
18074 _ACEOF
18075 rm -f conftest.$ac_objext conftest$ac_exeext
18076 if { (ac_try="$ac_link"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18080 esac
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_link") 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18090 { (case "(($ac_try" in
18091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18092 *) ac_try_echo=$ac_try;;
18093 esac
18094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18095 (eval "$ac_try") 2>&5
18096 ac_status=$?
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); }; } &&
18099 { ac_try='test -s conftest$ac_exeext'
18100 { (case "(($ac_try" in
18101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18102 *) ac_try_echo=$ac_try;;
18103 esac
18104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18105 (eval "$ac_try") 2>&5
18106 ac_status=$?
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 ac_cv_string_strcasecmp=yes
18110 else
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18113
18114 ac_cv_string_strcasecmp=no
18115
18116 fi
18117
18118 rm -f core conftest.err conftest.$ac_objext \
18119 conftest$ac_exeext conftest.$ac_ext
18120
18121 fi
18122 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18123 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18124
18125 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18126 cat >>confdefs.h <<\_ACEOF
18127 #define HAVE_STRCASECMP_IN_STRING_H 1
18128 _ACEOF
18129
18130 else
18131 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18132 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18133 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136
18137 cat >conftest.$ac_ext <<_ACEOF
18138 /* confdefs.h. */
18139 _ACEOF
18140 cat confdefs.h >>conftest.$ac_ext
18141 cat >>conftest.$ac_ext <<_ACEOF
18142 /* end confdefs.h. */
18143
18144 #include <strings.h>
18145
18146 int
18147 main ()
18148 {
18149
18150 strcasecmp("foo", "bar");
18151
18152 ;
18153 return 0;
18154 }
18155 _ACEOF
18156 rm -f conftest.$ac_objext conftest$ac_exeext
18157 if { (ac_try="$ac_link"
18158 case "(($ac_try" in
18159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18160 *) ac_try_echo=$ac_try;;
18161 esac
18162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18163 (eval "$ac_link") 2>conftest.er1
18164 ac_status=$?
18165 grep -v '^ *+' conftest.er1 >conftest.err
18166 rm -f conftest.er1
18167 cat conftest.err >&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); } &&
18170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18171 { (case "(($ac_try" in
18172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18173 *) ac_try_echo=$ac_try;;
18174 esac
18175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18176 (eval "$ac_try") 2>&5
18177 ac_status=$?
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; } &&
18180 { ac_try='test -s conftest$ac_exeext'
18181 { (case "(($ac_try" in
18182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18184 esac
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_try") 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_cv_strings_strcasecmp=yes
18191 else
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18194
18195 ac_cv_strings_strcasecmp=no
18196
18197 fi
18198
18199 rm -f core conftest.err conftest.$ac_objext \
18200 conftest$ac_exeext conftest.$ac_ext
18201
18202 fi
18203 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18204 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18205
18206 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18207 cat >>confdefs.h <<\_ACEOF
18208 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18209 _ACEOF
18210
18211 else
18212 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18213 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18214 { (exit 1); exit 1; }; }
18215 fi
18216 fi
18217
18218 ;;
18219 esac
18220
18221
18222 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18223 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18224 if test "${ac_cv_header_stdc+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 else
18227 cat >conftest.$ac_ext <<_ACEOF
18228 /* confdefs.h. */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 #include <stdlib.h>
18234 #include <stdarg.h>
18235 #include <string.h>
18236 #include <float.h>
18237
18238 int
18239 main ()
18240 {
18241
18242 ;
18243 return 0;
18244 }
18245 _ACEOF
18246 rm -f conftest.$ac_objext
18247 if { (ac_try="$ac_compile"
18248 case "(($ac_try" in
18249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18251 esac
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_compile") 2>conftest.er1
18254 ac_status=$?
18255 grep -v '^ *+' conftest.er1 >conftest.err
18256 rm -f conftest.er1
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } &&
18260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18261 { (case "(($ac_try" in
18262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18263 *) ac_try_echo=$ac_try;;
18264 esac
18265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18266 (eval "$ac_try") 2>&5
18267 ac_status=$?
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; } &&
18270 { ac_try='test -s conftest.$ac_objext'
18271 { (case "(($ac_try" in
18272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18273 *) ac_try_echo=$ac_try;;
18274 esac
18275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_try") 2>&5
18277 ac_status=$?
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_cv_header_stdc=yes
18281 else
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18284
18285 ac_cv_header_stdc=no
18286 fi
18287
18288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18289
18290 if test $ac_cv_header_stdc = yes; then
18291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18292 cat >conftest.$ac_ext <<_ACEOF
18293 /* confdefs.h. */
18294 _ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 #include <string.h>
18299
18300 _ACEOF
18301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18302 $EGREP "memchr" >/dev/null 2>&1; then
18303 :
18304 else
18305 ac_cv_header_stdc=no
18306 fi
18307 rm -f conftest*
18308
18309 fi
18310
18311 if test $ac_cv_header_stdc = yes; then
18312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18313 cat >conftest.$ac_ext <<_ACEOF
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <stdlib.h>
18320
18321 _ACEOF
18322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18323 $EGREP "free" >/dev/null 2>&1; then
18324 :
18325 else
18326 ac_cv_header_stdc=no
18327 fi
18328 rm -f conftest*
18329
18330 fi
18331
18332 if test $ac_cv_header_stdc = yes; then
18333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18334 if test "$cross_compiling" = yes; then
18335 :
18336 else
18337 cat >conftest.$ac_ext <<_ACEOF
18338 /* confdefs.h. */
18339 _ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 #include <ctype.h>
18344 #include <stdlib.h>
18345 #if ((' ' & 0x0FF) == 0x020)
18346 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18347 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18348 #else
18349 # define ISLOWER(c) \
18350 (('a' <= (c) && (c) <= 'i') \
18351 || ('j' <= (c) && (c) <= 'r') \
18352 || ('s' <= (c) && (c) <= 'z'))
18353 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18354 #endif
18355
18356 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18357 int
18358 main ()
18359 {
18360 int i;
18361 for (i = 0; i < 256; i++)
18362 if (XOR (islower (i), ISLOWER (i))
18363 || toupper (i) != TOUPPER (i))
18364 return 2;
18365 return 0;
18366 }
18367 _ACEOF
18368 rm -f conftest$ac_exeext
18369 if { (ac_try="$ac_link"
18370 case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18373 esac
18374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_link") 2>&5
18376 ac_status=$?
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18379 { (case "(($ac_try" in
18380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18382 esac
18383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_try") 2>&5
18385 ac_status=$?
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; }; then
18388 :
18389 else
18390 echo "$as_me: program exited with status $ac_status" >&5
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18393
18394 ( exit $ac_status )
18395 ac_cv_header_stdc=no
18396 fi
18397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18398 fi
18399
18400
18401 fi
18402 fi
18403 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18404 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18405 if test $ac_cv_header_stdc = yes; then
18406
18407 cat >>confdefs.h <<\_ACEOF
18408 #define STDC_HEADERS 1
18409 _ACEOF
18410
18411 fi
18412
18413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18424 inttypes.h stdint.h unistd.h
18425 do
18426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18431 else
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18439
18440 #include <$ac_header>
18441 _ACEOF
18442 rm -f conftest.$ac_objext
18443 if { (ac_try="$ac_compile"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18447 esac
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compile") 2>conftest.er1
18450 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18457 { (case "(($ac_try" in
18458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18459 *) ac_try_echo=$ac_try;;
18460 esac
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_try") 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try='test -s conftest.$ac_objext'
18467 { (case "(($ac_try" in
18468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18469 *) ac_try_echo=$ac_try;;
18470 esac
18471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18472 (eval "$ac_try") 2>&5
18473 ac_status=$?
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 eval "$as_ac_Header=yes"
18477 else
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18480
18481 eval "$as_ac_Header=no"
18482 fi
18483
18484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485 fi
18486 ac_res=`eval echo '${'$as_ac_Header'}'`
18487 { echo "$as_me:$LINENO: result: $ac_res" >&5
18488 echo "${ECHO_T}$ac_res" >&6; }
18489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18490 cat >>confdefs.h <<_ACEOF
18491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18492 _ACEOF
18493
18494 fi
18495
18496 done
18497
18498
18499
18500
18501
18502
18503
18504
18505 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18506 do
18507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18509 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 fi
18514 ac_res=`eval echo '${'$as_ac_Header'}'`
18515 { echo "$as_me:$LINENO: result: $ac_res" >&5
18516 echo "${ECHO_T}$ac_res" >&6; }
18517 else
18518 # Is the header compilable?
18519 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18520 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18521 cat >conftest.$ac_ext <<_ACEOF
18522 /* confdefs.h. */
18523 _ACEOF
18524 cat confdefs.h >>conftest.$ac_ext
18525 cat >>conftest.$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18527 $ac_includes_default
18528 #include <$ac_header>
18529 _ACEOF
18530 rm -f conftest.$ac_objext
18531 if { (ac_try="$ac_compile"
18532 case "(($ac_try" in
18533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18534 *) ac_try_echo=$ac_try;;
18535 esac
18536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18537 (eval "$ac_compile") 2>conftest.er1
18538 ac_status=$?
18539 grep -v '^ *+' conftest.er1 >conftest.err
18540 rm -f conftest.er1
18541 cat conftest.err >&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); } &&
18544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18545 { (case "(($ac_try" in
18546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18547 *) ac_try_echo=$ac_try;;
18548 esac
18549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18550 (eval "$ac_try") 2>&5
18551 ac_status=$?
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; } &&
18554 { ac_try='test -s conftest.$ac_objext'
18555 { (case "(($ac_try" in
18556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18557 *) ac_try_echo=$ac_try;;
18558 esac
18559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18560 (eval "$ac_try") 2>&5
18561 ac_status=$?
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; }; then
18564 ac_header_compiler=yes
18565 else
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18568
18569 ac_header_compiler=no
18570 fi
18571
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18574 echo "${ECHO_T}$ac_header_compiler" >&6; }
18575
18576 # Is the header present?
18577 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18579 cat >conftest.$ac_ext <<_ACEOF
18580 /* confdefs.h. */
18581 _ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585 #include <$ac_header>
18586 _ACEOF
18587 if { (ac_try="$ac_cpp conftest.$ac_ext"
18588 case "(($ac_try" in
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18591 esac
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18594 ac_status=$?
18595 grep -v '^ *+' conftest.er1 >conftest.err
18596 rm -f conftest.er1
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } >/dev/null; then
18600 if test -s conftest.err; then
18601 ac_cpp_err=$ac_c_preproc_warn_flag
18602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18603 else
18604 ac_cpp_err=
18605 fi
18606 else
18607 ac_cpp_err=yes
18608 fi
18609 if test -z "$ac_cpp_err"; then
18610 ac_header_preproc=yes
18611 else
18612 echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.$ac_ext >&5
18614
18615 ac_header_preproc=no
18616 fi
18617
18618 rm -f conftest.err conftest.$ac_ext
18619 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18620 echo "${ECHO_T}$ac_header_preproc" >&6; }
18621
18622 # So? What about this header?
18623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18624 yes:no: )
18625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18629 ac_header_preproc=yes
18630 ;;
18631 no:yes:* )
18632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18636 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18638 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18639 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18642 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18644 ( cat <<\_ASBOX
18645 ## ----------------------------------------- ##
18646 ## Report this to wx-dev@lists.wxwidgets.org ##
18647 ## ----------------------------------------- ##
18648 _ASBOX
18649 ) | sed "s/^/$as_me: WARNING: /" >&2
18650 ;;
18651 esac
18652 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18656 else
18657 eval "$as_ac_Header=\$ac_header_preproc"
18658 fi
18659 ac_res=`eval echo '${'$as_ac_Header'}'`
18660 { echo "$as_me:$LINENO: result: $ac_res" >&5
18661 echo "${ECHO_T}$ac_res" >&6; }
18662
18663 fi
18664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18665 cat >>confdefs.h <<_ACEOF
18666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18667 _ACEOF
18668
18669 fi
18670
18671 done
18672
18673
18674 if test "$ac_cv_header_wchar_h" != "yes"; then
18675
18676 for ac_header in wcstr.h
18677 do
18678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18679 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18683 echo $ECHO_N "(cached) $ECHO_C" >&6
18684 fi
18685 ac_res=`eval echo '${'$as_ac_Header'}'`
18686 { echo "$as_me:$LINENO: result: $ac_res" >&5
18687 echo "${ECHO_T}$ac_res" >&6; }
18688 else
18689 # Is the header compilable?
18690 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18692 cat >conftest.$ac_ext <<_ACEOF
18693 /* confdefs.h. */
18694 _ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18699 #include <$ac_header>
18700 _ACEOF
18701 rm -f conftest.$ac_objext
18702 if { (ac_try="$ac_compile"
18703 case "(($ac_try" in
18704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18705 *) ac_try_echo=$ac_try;;
18706 esac
18707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18708 (eval "$ac_compile") 2>conftest.er1
18709 ac_status=$?
18710 grep -v '^ *+' conftest.er1 >conftest.err
18711 rm -f conftest.er1
18712 cat conftest.err >&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); } &&
18715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18716 { (case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18719 esac
18720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_try") 2>&5
18722 ac_status=$?
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; } &&
18725 { ac_try='test -s conftest.$ac_objext'
18726 { (case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_try") 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_header_compiler=yes
18736 else
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18739
18740 ac_header_compiler=no
18741 fi
18742
18743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18744 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18745 echo "${ECHO_T}$ac_header_compiler" >&6; }
18746
18747 # Is the header present?
18748 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18750 cat >conftest.$ac_ext <<_ACEOF
18751 /* confdefs.h. */
18752 _ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 #include <$ac_header>
18757 _ACEOF
18758 if { (ac_try="$ac_cpp conftest.$ac_ext"
18759 case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18762 esac
18763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18765 ac_status=$?
18766 grep -v '^ *+' conftest.er1 >conftest.err
18767 rm -f conftest.er1
18768 cat conftest.err >&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); } >/dev/null; then
18771 if test -s conftest.err; then
18772 ac_cpp_err=$ac_c_preproc_warn_flag
18773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18774 else
18775 ac_cpp_err=
18776 fi
18777 else
18778 ac_cpp_err=yes
18779 fi
18780 if test -z "$ac_cpp_err"; then
18781 ac_header_preproc=yes
18782 else
18783 echo "$as_me: failed program was:" >&5
18784 sed 's/^/| /' conftest.$ac_ext >&5
18785
18786 ac_header_preproc=no
18787 fi
18788
18789 rm -f conftest.err conftest.$ac_ext
18790 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18791 echo "${ECHO_T}$ac_header_preproc" >&6; }
18792
18793 # So? What about this header?
18794 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18795 yes:no: )
18796 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18797 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18798 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18799 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18800 ac_header_preproc=yes
18801 ;;
18802 no:yes:* )
18803 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18804 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18805 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18806 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18807 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18808 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18809 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18810 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18813 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18814 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18815 ( cat <<\_ASBOX
18816 ## ----------------------------------------- ##
18817 ## Report this to wx-dev@lists.wxwidgets.org ##
18818 ## ----------------------------------------- ##
18819 _ASBOX
18820 ) | sed "s/^/$as_me: WARNING: /" >&2
18821 ;;
18822 esac
18823 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18826 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 else
18828 eval "$as_ac_Header=\$ac_header_preproc"
18829 fi
18830 ac_res=`eval echo '${'$as_ac_Header'}'`
18831 { echo "$as_me:$LINENO: result: $ac_res" >&5
18832 echo "${ECHO_T}$ac_res" >&6; }
18833
18834 fi
18835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18836 cat >>confdefs.h <<_ACEOF
18837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18838 _ACEOF
18839
18840 fi
18841
18842 done
18843
18844 fi
18845
18846 case "${host}" in
18847 *-pc-os2_emx | *-pc-os2-emx )
18848 if test $ac_cv_header_langinfo_h = "yes" \
18849 -a \( "$wx_cv_gccversion" = "EMX2" \
18850 -o "$wx_cv_gccversion" = "EMX3" \
18851 -o "$wx_cv_gccversion" = "Innotek5" \); then
18852 LIBS="$LIBS -lintl"
18853 fi
18854 ;;
18855 esac
18856
18857 if test "$USE_UNIX" = 1 ; then
18858
18859 for ac_header in sys/select.h
18860 do
18861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18863 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18867 fi
18868 ac_res=`eval echo '${'$as_ac_Header'}'`
18869 { echo "$as_me:$LINENO: result: $ac_res" >&5
18870 echo "${ECHO_T}$ac_res" >&6; }
18871 else
18872 # Is the header compilable?
18873 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18875 cat >conftest.$ac_ext <<_ACEOF
18876 /* confdefs.h. */
18877 _ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 $ac_includes_default
18882 #include <$ac_header>
18883 _ACEOF
18884 rm -f conftest.$ac_objext
18885 if { (ac_try="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18889 esac
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18892 ac_status=$?
18893 grep -v '^ *+' conftest.er1 >conftest.err
18894 rm -f conftest.er1
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } &&
18898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18899 { (case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18902 esac
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_try") 2>&5
18905 ac_status=$?
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; } &&
18908 { ac_try='test -s conftest.$ac_objext'
18909 { (case "(($ac_try" in
18910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18911 *) ac_try_echo=$ac_try;;
18912 esac
18913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18914 (eval "$ac_try") 2>&5
18915 ac_status=$?
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; }; then
18918 ac_header_compiler=yes
18919 else
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18922
18923 ac_header_compiler=no
18924 fi
18925
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18928 echo "${ECHO_T}$ac_header_compiler" >&6; }
18929
18930 # Is the header present?
18931 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18933 cat >conftest.$ac_ext <<_ACEOF
18934 /* confdefs.h. */
18935 _ACEOF
18936 cat confdefs.h >>conftest.$ac_ext
18937 cat >>conftest.$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18939 #include <$ac_header>
18940 _ACEOF
18941 if { (ac_try="$ac_cpp conftest.$ac_ext"
18942 case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18945 esac
18946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } >/dev/null; then
18954 if test -s conftest.err; then
18955 ac_cpp_err=$ac_c_preproc_warn_flag
18956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18957 else
18958 ac_cpp_err=
18959 fi
18960 else
18961 ac_cpp_err=yes
18962 fi
18963 if test -z "$ac_cpp_err"; then
18964 ac_header_preproc=yes
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18968
18969 ac_header_preproc=no
18970 fi
18971
18972 rm -f conftest.err conftest.$ac_ext
18973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18974 echo "${ECHO_T}$ac_header_preproc" >&6; }
18975
18976 # So? What about this header?
18977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18978 yes:no: )
18979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18983 ac_header_preproc=yes
18984 ;;
18985 no:yes:* )
18986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18990 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18992 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18993 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18998 ( cat <<\_ASBOX
18999 ## ----------------------------------------- ##
19000 ## Report this to wx-dev@lists.wxwidgets.org ##
19001 ## ----------------------------------------- ##
19002 _ASBOX
19003 ) | sed "s/^/$as_me: WARNING: /" >&2
19004 ;;
19005 esac
19006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19009 echo $ECHO_N "(cached) $ECHO_C" >&6
19010 else
19011 eval "$as_ac_Header=\$ac_header_preproc"
19012 fi
19013 ac_res=`eval echo '${'$as_ac_Header'}'`
19014 { echo "$as_me:$LINENO: result: $ac_res" >&5
19015 echo "${ECHO_T}$ac_res" >&6; }
19016
19017 fi
19018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19019 cat >>confdefs.h <<_ACEOF
19020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19021 _ACEOF
19022
19023 fi
19024
19025 done
19026
19027 fi
19028
19029
19030 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19031 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19032 if test "${ac_cv_c_const+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041
19042 int
19043 main ()
19044 {
19045 /* FIXME: Include the comments suggested by Paul. */
19046 #ifndef __cplusplus
19047 /* Ultrix mips cc rejects this. */
19048 typedef int charset[2];
19049 const charset x;
19050 /* SunOS 4.1.1 cc rejects this. */
19051 char const *const *ccp;
19052 char **p;
19053 /* NEC SVR4.0.2 mips cc rejects this. */
19054 struct point {int x, y;};
19055 static struct point const zero = {0,0};
19056 /* AIX XL C 1.02.0.0 rejects this.
19057 It does not let you subtract one const X* pointer from another in
19058 an arm of an if-expression whose if-part is not a constant
19059 expression */
19060 const char *g = "string";
19061 ccp = &g + (g ? g-g : 0);
19062 /* HPUX 7.0 cc rejects these. */
19063 ++ccp;
19064 p = (char**) ccp;
19065 ccp = (char const *const *) p;
19066 { /* SCO 3.2v4 cc rejects this. */
19067 char *t;
19068 char const *s = 0 ? (char *) 0 : (char const *) 0;
19069
19070 *t++ = 0;
19071 if (s) return 0;
19072 }
19073 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19074 int x[] = {25, 17};
19075 const int *foo = &x[0];
19076 ++foo;
19077 }
19078 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19079 typedef const int *iptr;
19080 iptr p = 0;
19081 ++p;
19082 }
19083 { /* AIX XL C 1.02.0.0 rejects this saying
19084 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19085 struct s { int j; const int *ap[3]; };
19086 struct s *b; b->j = 5;
19087 }
19088 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19089 const int foo = 10;
19090 if (!foo) return 0;
19091 }
19092 return !x[0] && !zero.x;
19093 #endif
19094
19095 ;
19096 return 0;
19097 }
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19104 esac
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19117 esac
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_try") 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try='test -s conftest.$ac_objext'
19124 { (case "(($ac_try" in
19125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19127 esac
19128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_try") 2>&5
19130 ac_status=$?
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19133 ac_cv_c_const=yes
19134 else
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19137
19138 ac_cv_c_const=no
19139 fi
19140
19141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 fi
19143 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19144 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19145 if test $ac_cv_c_const = no; then
19146
19147 cat >>confdefs.h <<\_ACEOF
19148 #define const
19149 _ACEOF
19150
19151 fi
19152
19153 { echo "$as_me:$LINENO: checking for inline" >&5
19154 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19155 if test "${ac_cv_c_inline+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 else
19158 ac_cv_c_inline=no
19159 for ac_kw in inline __inline__ __inline; do
19160 cat >conftest.$ac_ext <<_ACEOF
19161 /* confdefs.h. */
19162 _ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 #ifndef __cplusplus
19167 typedef int foo_t;
19168 static $ac_kw foo_t static_foo () {return 0; }
19169 $ac_kw foo_t foo () {return 0; }
19170 #endif
19171
19172 _ACEOF
19173 rm -f conftest.$ac_objext
19174 if { (ac_try="$ac_compile"
19175 case "(($ac_try" in
19176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19178 esac
19179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_compile") 2>conftest.er1
19181 ac_status=$?
19182 grep -v '^ *+' conftest.er1 >conftest.err
19183 rm -f conftest.er1
19184 cat conftest.err >&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19188 { (case "(($ac_try" in
19189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19190 *) ac_try_echo=$ac_try;;
19191 esac
19192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19193 (eval "$ac_try") 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; } &&
19197 { ac_try='test -s conftest.$ac_objext'
19198 { (case "(($ac_try" in
19199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19200 *) ac_try_echo=$ac_try;;
19201 esac
19202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19203 (eval "$ac_try") 2>&5
19204 ac_status=$?
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_cv_c_inline=$ac_kw
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19211
19212
19213 fi
19214
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 test "$ac_cv_c_inline" != no && break
19217 done
19218
19219 fi
19220 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19221 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19222
19223
19224 case $ac_cv_c_inline in
19225 inline | yes) ;;
19226 *)
19227 case $ac_cv_c_inline in
19228 no) ac_val=;;
19229 *) ac_val=$ac_cv_c_inline;;
19230 esac
19231 cat >>confdefs.h <<_ACEOF
19232 #ifndef __cplusplus
19233 #define inline $ac_val
19234 #endif
19235 _ACEOF
19236 ;;
19237 esac
19238
19239
19240 { echo "$as_me:$LINENO: checking for char" >&5
19241 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
19242 if test "${ac_cv_type_char+set}" = set; then
19243 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 else
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h. */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19252 typedef char ac__type_new_;
19253 int
19254 main ()
19255 {
19256 if ((ac__type_new_ *) 0)
19257 return 0;
19258 if (sizeof (ac__type_new_))
19259 return 0;
19260 ;
19261 return 0;
19262 }
19263 _ACEOF
19264 rm -f conftest.$ac_objext
19265 if { (ac_try="$ac_compile"
19266 case "(($ac_try" in
19267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19268 *) ac_try_echo=$ac_try;;
19269 esac
19270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19271 (eval "$ac_compile") 2>conftest.er1
19272 ac_status=$?
19273 grep -v '^ *+' conftest.er1 >conftest.err
19274 rm -f conftest.er1
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19279 { (case "(($ac_try" in
19280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19281 *) ac_try_echo=$ac_try;;
19282 esac
19283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19284 (eval "$ac_try") 2>&5
19285 ac_status=$?
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); }; } &&
19288 { ac_try='test -s conftest.$ac_objext'
19289 { (case "(($ac_try" in
19290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19291 *) ac_try_echo=$ac_try;;
19292 esac
19293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19294 (eval "$ac_try") 2>&5
19295 ac_status=$?
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_type_char=yes
19299 else
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19302
19303 ac_cv_type_char=no
19304 fi
19305
19306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19307 fi
19308 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
19309 echo "${ECHO_T}$ac_cv_type_char" >&6; }
19310
19311 { echo "$as_me:$LINENO: checking size of char" >&5
19312 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
19313 if test "${ac_cv_sizeof_char+set}" = set; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19315 else
19316 if test "$ac_cv_type_char" = yes; then
19317 # The cast to long int works around a bug in the HP C Compiler
19318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19320 # This bug is HP SR number 8606223364.
19321 if test "$cross_compiling" = yes; then
19322 # Depending upon the size, compute the lo and hi bounds.
19323 cat >conftest.$ac_ext <<_ACEOF
19324 /* confdefs.h. */
19325 _ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 $ac_includes_default
19330 typedef char ac__type_sizeof_;
19331 int
19332 main ()
19333 {
19334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19335 test_array [0] = 0
19336
19337 ;
19338 return 0;
19339 }
19340 _ACEOF
19341 rm -f conftest.$ac_objext
19342 if { (ac_try="$ac_compile"
19343 case "(($ac_try" in
19344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19346 esac
19347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_compile") 2>conftest.er1
19349 ac_status=$?
19350 grep -v '^ *+' conftest.er1 >conftest.err
19351 rm -f conftest.er1
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } &&
19355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19356 { (case "(($ac_try" in
19357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19359 esac
19360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_try") 2>&5
19362 ac_status=$?
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try='test -s conftest.$ac_objext'
19366 { (case "(($ac_try" in
19367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19368 *) ac_try_echo=$ac_try;;
19369 esac
19370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19371 (eval "$ac_try") 2>&5
19372 ac_status=$?
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); }; }; then
19375 ac_lo=0 ac_mid=0
19376 while :; do
19377 cat >conftest.$ac_ext <<_ACEOF
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 $ac_includes_default
19384 typedef char ac__type_sizeof_;
19385 int
19386 main ()
19387 {
19388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19389 test_array [0] = 0
19390
19391 ;
19392 return 0;
19393 }
19394 _ACEOF
19395 rm -f conftest.$ac_objext
19396 if { (ac_try="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19400 esac
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19403 ac_status=$?
19404 grep -v '^ *+' conftest.er1 >conftest.err
19405 rm -f conftest.er1
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19410 { (case "(($ac_try" in
19411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19412 *) ac_try_echo=$ac_try;;
19413 esac
19414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19415 (eval "$ac_try") 2>&5
19416 ac_status=$?
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try='test -s conftest.$ac_objext'
19420 { (case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19423 esac
19424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_try") 2>&5
19426 ac_status=$?
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 ac_hi=$ac_mid; break
19430 else
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19433
19434 ac_lo=`expr $ac_mid + 1`
19435 if test $ac_lo -le $ac_mid; then
19436 ac_lo= ac_hi=
19437 break
19438 fi
19439 ac_mid=`expr 2 '*' $ac_mid + 1`
19440 fi
19441
19442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19443 done
19444 else
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19447
19448 cat >conftest.$ac_ext <<_ACEOF
19449 /* confdefs.h. */
19450 _ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 $ac_includes_default
19455 typedef char ac__type_sizeof_;
19456 int
19457 main ()
19458 {
19459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19460 test_array [0] = 0
19461
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19471 esac
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19481 { (case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19484 esac
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_try") 2>&5
19487 ac_status=$?
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try='test -s conftest.$ac_objext'
19491 { (case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19494 esac
19495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_try") 2>&5
19497 ac_status=$?
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_hi=-1 ac_mid=-1
19501 while :; do
19502 cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h. */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 $ac_includes_default
19509 typedef char ac__type_sizeof_;
19510 int
19511 main ()
19512 {
19513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19514 test_array [0] = 0
19515
19516 ;
19517 return 0;
19518 }
19519 _ACEOF
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19525 esac
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19538 esac
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; } &&
19544 { ac_try='test -s conftest.$ac_objext'
19545 { (case "(($ac_try" in
19546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19547 *) ac_try_echo=$ac_try;;
19548 esac
19549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19550 (eval "$ac_try") 2>&5
19551 ac_status=$?
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; }; then
19554 ac_lo=$ac_mid; break
19555 else
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19558
19559 ac_hi=`expr '(' $ac_mid ')' - 1`
19560 if test $ac_mid -le $ac_hi; then
19561 ac_lo= ac_hi=
19562 break
19563 fi
19564 ac_mid=`expr 2 '*' $ac_mid`
19565 fi
19566
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 done
19569 else
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19572
19573 ac_lo= ac_hi=
19574 fi
19575
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577 fi
19578
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 # Binary search between lo and hi bounds.
19581 while test "x$ac_lo" != "x$ac_hi"; do
19582 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19583 cat >conftest.$ac_ext <<_ACEOF
19584 /* confdefs.h. */
19585 _ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 typedef char ac__type_sizeof_;
19591 int
19592 main ()
19593 {
19594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19595 test_array [0] = 0
19596
19597 ;
19598 return 0;
19599 }
19600 _ACEOF
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19606 esac
19607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19609 ac_status=$?
19610 grep -v '^ *+' conftest.er1 >conftest.err
19611 rm -f conftest.er1
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); } &&
19615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19616 { (case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_try") 2>&5
19622 ac_status=$?
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); }; } &&
19625 { ac_try='test -s conftest.$ac_objext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19629 esac
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_hi=$ac_mid
19636 else
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 ac_lo=`expr '(' $ac_mid ')' + 1`
19641 fi
19642
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19644 done
19645 case $ac_lo in
19646 ?*) ac_cv_sizeof_char=$ac_lo;;
19647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19648 See \`config.log' for more details." >&5
19649 echo "$as_me: error: cannot compute sizeof (char)
19650 See \`config.log' for more details." >&2;}
19651 { (exit 77); exit 77; }; } ;;
19652 esac
19653 else
19654 cat >conftest.$ac_ext <<_ACEOF
19655 /* confdefs.h. */
19656 _ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 $ac_includes_default
19661 typedef char ac__type_sizeof_;
19662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19664 #include <stdio.h>
19665 #include <stdlib.h>
19666 int
19667 main ()
19668 {
19669
19670 FILE *f = fopen ("conftest.val", "w");
19671 if (! f)
19672 return 1;
19673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19674 {
19675 long int i = longval ();
19676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19677 return 1;
19678 fprintf (f, "%ld\n", i);
19679 }
19680 else
19681 {
19682 unsigned long int i = ulongval ();
19683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19684 return 1;
19685 fprintf (f, "%lu\n", i);
19686 }
19687 return ferror (f) || fclose (f) != 0;
19688
19689 ;
19690 return 0;
19691 }
19692 _ACEOF
19693 rm -f conftest$ac_exeext
19694 if { (ac_try="$ac_link"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19698 esac
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_link") 2>&5
19701 ac_status=$?
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19704 { (case "(($ac_try" in
19705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19706 *) ac_try_echo=$ac_try;;
19707 esac
19708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19709 (eval "$ac_try") 2>&5
19710 ac_status=$?
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; }; then
19713 ac_cv_sizeof_char=`cat conftest.val`
19714 else
19715 echo "$as_me: program exited with status $ac_status" >&5
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19718
19719 ( exit $ac_status )
19720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19721 See \`config.log' for more details." >&5
19722 echo "$as_me: error: cannot compute sizeof (char)
19723 See \`config.log' for more details." >&2;}
19724 { (exit 77); exit 77; }; }
19725 fi
19726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19727 fi
19728 rm -f conftest.val
19729 else
19730 ac_cv_sizeof_char=0
19731 fi
19732 fi
19733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19734 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
19735 cat >>confdefs.h <<_ACEOF
19736 #define SIZEOF_CHAR $ac_cv_sizeof_char
19737 _ACEOF
19738
19739
19740 { echo "$as_me:$LINENO: checking for short" >&5
19741 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19742 if test "${ac_cv_type_short+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 else
19745 cat >conftest.$ac_ext <<_ACEOF
19746 /* confdefs.h. */
19747 _ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 $ac_includes_default
19752 typedef short ac__type_new_;
19753 int
19754 main ()
19755 {
19756 if ((ac__type_new_ *) 0)
19757 return 0;
19758 if (sizeof (ac__type_new_))
19759 return 0;
19760 ;
19761 return 0;
19762 }
19763 _ACEOF
19764 rm -f conftest.$ac_objext
19765 if { (ac_try="$ac_compile"
19766 case "(($ac_try" in
19767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19768 *) ac_try_echo=$ac_try;;
19769 esac
19770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19771 (eval "$ac_compile") 2>conftest.er1
19772 ac_status=$?
19773 grep -v '^ *+' conftest.er1 >conftest.err
19774 rm -f conftest.er1
19775 cat conftest.err >&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } &&
19778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19779 { (case "(($ac_try" in
19780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19781 *) ac_try_echo=$ac_try;;
19782 esac
19783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19784 (eval "$ac_try") 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; } &&
19788 { ac_try='test -s conftest.$ac_objext'
19789 { (case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_try") 2>&5
19795 ac_status=$?
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); }; }; then
19798 ac_cv_type_short=yes
19799 else
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.$ac_ext >&5
19802
19803 ac_cv_type_short=no
19804 fi
19805
19806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19807 fi
19808 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19809 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19810
19811 { echo "$as_me:$LINENO: checking size of short" >&5
19812 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19813 if test "${ac_cv_sizeof_short+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
19816 if test "$ac_cv_type_short" = yes; then
19817 # The cast to long int works around a bug in the HP C Compiler
19818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19820 # This bug is HP SR number 8606223364.
19821 if test "$cross_compiling" = yes; then
19822 # Depending upon the size, compute the lo and hi bounds.
19823 cat >conftest.$ac_ext <<_ACEOF
19824 /* confdefs.h. */
19825 _ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19830 typedef short ac__type_sizeof_;
19831 int
19832 main ()
19833 {
19834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19835 test_array [0] = 0
19836
19837 ;
19838 return 0;
19839 }
19840 _ACEOF
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19846 esac
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19849 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } &&
19855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19856 { (case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19859 esac
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_try") 2>&5
19862 ac_status=$?
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try='test -s conftest.$ac_objext'
19866 { (case "(($ac_try" in
19867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19868 *) ac_try_echo=$ac_try;;
19869 esac
19870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19871 (eval "$ac_try") 2>&5
19872 ac_status=$?
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; }; then
19875 ac_lo=0 ac_mid=0
19876 while :; do
19877 cat >conftest.$ac_ext <<_ACEOF
19878 /* confdefs.h. */
19879 _ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883 $ac_includes_default
19884 typedef short ac__type_sizeof_;
19885 int
19886 main ()
19887 {
19888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19889 test_array [0] = 0
19890
19891 ;
19892 return 0;
19893 }
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19903 ac_status=$?
19904 grep -v '^ *+' conftest.er1 >conftest.err
19905 rm -f conftest.er1
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } &&
19909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19910 { (case "(($ac_try" in
19911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19913 esac
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_try") 2>&5
19916 ac_status=$?
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; } &&
19919 { ac_try='test -s conftest.$ac_objext'
19920 { (case "(($ac_try" in
19921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19922 *) ac_try_echo=$ac_try;;
19923 esac
19924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19925 (eval "$ac_try") 2>&5
19926 ac_status=$?
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_hi=$ac_mid; break
19930 else
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19933
19934 ac_lo=`expr $ac_mid + 1`
19935 if test $ac_lo -le $ac_mid; then
19936 ac_lo= ac_hi=
19937 break
19938 fi
19939 ac_mid=`expr 2 '*' $ac_mid + 1`
19940 fi
19941
19942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19943 done
19944 else
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19947
19948 cat >conftest.$ac_ext <<_ACEOF
19949 /* confdefs.h. */
19950 _ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 $ac_includes_default
19955 typedef short ac__type_sizeof_;
19956 int
19957 main ()
19958 {
19959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19960 test_array [0] = 0
19961
19962 ;
19963 return 0;
19964 }
19965 _ACEOF
19966 rm -f conftest.$ac_objext
19967 if { (ac_try="$ac_compile"
19968 case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19971 esac
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_compile") 2>conftest.er1
19974 ac_status=$?
19975 grep -v '^ *+' conftest.er1 >conftest.err
19976 rm -f conftest.er1
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19981 { (case "(($ac_try" in
19982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19983 *) ac_try_echo=$ac_try;;
19984 esac
19985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19986 (eval "$ac_try") 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try='test -s conftest.$ac_objext'
19991 { (case "(($ac_try" in
19992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19993 *) ac_try_echo=$ac_try;;
19994 esac
19995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19996 (eval "$ac_try") 2>&5
19997 ac_status=$?
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20000 ac_hi=-1 ac_mid=-1
20001 while :; do
20002 cat >conftest.$ac_ext <<_ACEOF
20003 /* confdefs.h. */
20004 _ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 $ac_includes_default
20009 typedef short ac__type_sizeof_;
20010 int
20011 main ()
20012 {
20013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20014 test_array [0] = 0
20015
20016 ;
20017 return 0;
20018 }
20019 _ACEOF
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20025 esac
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20028 ac_status=$?
20029 grep -v '^ *+' conftest.er1 >conftest.err
20030 rm -f conftest.er1
20031 cat conftest.err >&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } &&
20034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20035 { (case "(($ac_try" in
20036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20037 *) ac_try_echo=$ac_try;;
20038 esac
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040 (eval "$ac_try") 2>&5
20041 ac_status=$?
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try='test -s conftest.$ac_objext'
20045 { (case "(($ac_try" in
20046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20047 *) ac_try_echo=$ac_try;;
20048 esac
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_try") 2>&5
20051 ac_status=$?
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 ac_lo=$ac_mid; break
20055 else
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.$ac_ext >&5
20058
20059 ac_hi=`expr '(' $ac_mid ')' - 1`
20060 if test $ac_mid -le $ac_hi; then
20061 ac_lo= ac_hi=
20062 break
20063 fi
20064 ac_mid=`expr 2 '*' $ac_mid`
20065 fi
20066
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20068 done
20069 else
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.$ac_ext >&5
20072
20073 ac_lo= ac_hi=
20074 fi
20075
20076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20077 fi
20078
20079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20080 # Binary search between lo and hi bounds.
20081 while test "x$ac_lo" != "x$ac_hi"; do
20082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 $ac_includes_default
20090 typedef short ac__type_sizeof_;
20091 int
20092 main ()
20093 {
20094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20095 test_array [0] = 0
20096
20097 ;
20098 return 0;
20099 }
20100 _ACEOF
20101 rm -f conftest.$ac_objext
20102 if { (ac_try="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20106 esac
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20109 ac_status=$?
20110 grep -v '^ *+' conftest.er1 >conftest.err
20111 rm -f conftest.er1
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20116 { (case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20119 esac
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_try") 2>&5
20122 ac_status=$?
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; } &&
20125 { ac_try='test -s conftest.$ac_objext'
20126 { (case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20129 esac
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_try") 2>&5
20132 ac_status=$?
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 ac_hi=$ac_mid
20136 else
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20139
20140 ac_lo=`expr '(' $ac_mid ')' + 1`
20141 fi
20142
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144 done
20145 case $ac_lo in
20146 ?*) ac_cv_sizeof_short=$ac_lo;;
20147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20148 See \`config.log' for more details." >&5
20149 echo "$as_me: error: cannot compute sizeof (short)
20150 See \`config.log' for more details." >&2;}
20151 { (exit 77); exit 77; }; } ;;
20152 esac
20153 else
20154 cat >conftest.$ac_ext <<_ACEOF
20155 /* confdefs.h. */
20156 _ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 $ac_includes_default
20161 typedef short ac__type_sizeof_;
20162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20164 #include <stdio.h>
20165 #include <stdlib.h>
20166 int
20167 main ()
20168 {
20169
20170 FILE *f = fopen ("conftest.val", "w");
20171 if (! f)
20172 return 1;
20173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20174 {
20175 long int i = longval ();
20176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20177 return 1;
20178 fprintf (f, "%ld\n", i);
20179 }
20180 else
20181 {
20182 unsigned long int i = ulongval ();
20183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20184 return 1;
20185 fprintf (f, "%lu\n", i);
20186 }
20187 return ferror (f) || fclose (f) != 0;
20188
20189 ;
20190 return 0;
20191 }
20192 _ACEOF
20193 rm -f conftest$ac_exeext
20194 if { (ac_try="$ac_link"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_link") 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20204 { (case "(($ac_try" in
20205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20206 *) ac_try_echo=$ac_try;;
20207 esac
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_try") 2>&5
20210 ac_status=$?
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_sizeof_short=`cat conftest.val`
20214 else
20215 echo "$as_me: program exited with status $ac_status" >&5
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 ( exit $ac_status )
20220 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20221 See \`config.log' for more details." >&5
20222 echo "$as_me: error: cannot compute sizeof (short)
20223 See \`config.log' for more details." >&2;}
20224 { (exit 77); exit 77; }; }
20225 fi
20226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20227 fi
20228 rm -f conftest.val
20229 else
20230 ac_cv_sizeof_short=0
20231 fi
20232 fi
20233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20234 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20235 cat >>confdefs.h <<_ACEOF
20236 #define SIZEOF_SHORT $ac_cv_sizeof_short
20237 _ACEOF
20238
20239
20240 { echo "$as_me:$LINENO: checking for void *" >&5
20241 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20242 if test "${ac_cv_type_void_p+set}" = set; then
20243 echo $ECHO_N "(cached) $ECHO_C" >&6
20244 else
20245 cat >conftest.$ac_ext <<_ACEOF
20246 /* confdefs.h. */
20247 _ACEOF
20248 cat confdefs.h >>conftest.$ac_ext
20249 cat >>conftest.$ac_ext <<_ACEOF
20250 /* end confdefs.h. */
20251 $ac_includes_default
20252 typedef void * ac__type_new_;
20253 int
20254 main ()
20255 {
20256 if ((ac__type_new_ *) 0)
20257 return 0;
20258 if (sizeof (ac__type_new_))
20259 return 0;
20260 ;
20261 return 0;
20262 }
20263 _ACEOF
20264 rm -f conftest.$ac_objext
20265 if { (ac_try="$ac_compile"
20266 case "(($ac_try" in
20267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20268 *) ac_try_echo=$ac_try;;
20269 esac
20270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20271 (eval "$ac_compile") 2>conftest.er1
20272 ac_status=$?
20273 grep -v '^ *+' conftest.er1 >conftest.err
20274 rm -f conftest.er1
20275 cat conftest.err >&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } &&
20278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20279 { (case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20282 esac
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_try") 2>&5
20285 ac_status=$?
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; } &&
20288 { ac_try='test -s conftest.$ac_objext'
20289 { (case "(($ac_try" in
20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20292 esac
20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294 (eval "$ac_try") 2>&5
20295 ac_status=$?
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; }; then
20298 ac_cv_type_void_p=yes
20299 else
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20302
20303 ac_cv_type_void_p=no
20304 fi
20305
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307 fi
20308 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20309 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20310
20311 { echo "$as_me:$LINENO: checking size of void *" >&5
20312 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20313 if test "${ac_cv_sizeof_void_p+set}" = set; then
20314 echo $ECHO_N "(cached) $ECHO_C" >&6
20315 else
20316 if test "$ac_cv_type_void_p" = yes; then
20317 # The cast to long int works around a bug in the HP C Compiler
20318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20320 # This bug is HP SR number 8606223364.
20321 if test "$cross_compiling" = yes; then
20322 # Depending upon the size, compute the lo and hi bounds.
20323 cat >conftest.$ac_ext <<_ACEOF
20324 /* confdefs.h. */
20325 _ACEOF
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20330 typedef void * ac__type_sizeof_;
20331 int
20332 main ()
20333 {
20334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20335 test_array [0] = 0
20336
20337 ;
20338 return 0;
20339 }
20340 _ACEOF
20341 rm -f conftest.$ac_objext
20342 if { (ac_try="$ac_compile"
20343 case "(($ac_try" in
20344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20345 *) ac_try_echo=$ac_try;;
20346 esac
20347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20348 (eval "$ac_compile") 2>conftest.er1
20349 ac_status=$?
20350 grep -v '^ *+' conftest.er1 >conftest.err
20351 rm -f conftest.er1
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20356 { (case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20359 esac
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_try") 2>&5
20362 ac_status=$?
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; } &&
20365 { ac_try='test -s conftest.$ac_objext'
20366 { (case "(($ac_try" in
20367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20369 esac
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_try") 2>&5
20372 ac_status=$?
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; }; then
20375 ac_lo=0 ac_mid=0
20376 while :; do
20377 cat >conftest.$ac_ext <<_ACEOF
20378 /* confdefs.h. */
20379 _ACEOF
20380 cat confdefs.h >>conftest.$ac_ext
20381 cat >>conftest.$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 $ac_includes_default
20384 typedef void * ac__type_sizeof_;
20385 int
20386 main ()
20387 {
20388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20389 test_array [0] = 0
20390
20391 ;
20392 return 0;
20393 }
20394 _ACEOF
20395 rm -f conftest.$ac_objext
20396 if { (ac_try="$ac_compile"
20397 case "(($ac_try" in
20398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20399 *) ac_try_echo=$ac_try;;
20400 esac
20401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20402 (eval "$ac_compile") 2>conftest.er1
20403 ac_status=$?
20404 grep -v '^ *+' conftest.er1 >conftest.err
20405 rm -f conftest.er1
20406 cat conftest.err >&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } &&
20409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20410 { (case "(($ac_try" in
20411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20412 *) ac_try_echo=$ac_try;;
20413 esac
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_try") 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (case "(($ac_try" in
20421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20422 *) ac_try_echo=$ac_try;;
20423 esac
20424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20425 (eval "$ac_try") 2>&5
20426 ac_status=$?
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); }; }; then
20429 ac_hi=$ac_mid; break
20430 else
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20433
20434 ac_lo=`expr $ac_mid + 1`
20435 if test $ac_lo -le $ac_mid; then
20436 ac_lo= ac_hi=
20437 break
20438 fi
20439 ac_mid=`expr 2 '*' $ac_mid + 1`
20440 fi
20441
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 done
20444 else
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.$ac_ext >&5
20447
20448 cat >conftest.$ac_ext <<_ACEOF
20449 /* confdefs.h. */
20450 _ACEOF
20451 cat confdefs.h >>conftest.$ac_ext
20452 cat >>conftest.$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20455 typedef void * ac__type_sizeof_;
20456 int
20457 main ()
20458 {
20459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20460 test_array [0] = 0
20461
20462 ;
20463 return 0;
20464 }
20465 _ACEOF
20466 rm -f conftest.$ac_objext
20467 if { (ac_try="$ac_compile"
20468 case "(($ac_try" in
20469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20470 *) ac_try_echo=$ac_try;;
20471 esac
20472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20473 (eval "$ac_compile") 2>conftest.er1
20474 ac_status=$?
20475 grep -v '^ *+' conftest.er1 >conftest.err
20476 rm -f conftest.er1
20477 cat conftest.err >&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } &&
20480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20481 { (case "(($ac_try" in
20482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20483 *) ac_try_echo=$ac_try;;
20484 esac
20485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20486 (eval "$ac_try") 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try='test -s conftest.$ac_objext'
20491 { (case "(($ac_try" in
20492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20493 *) ac_try_echo=$ac_try;;
20494 esac
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_try") 2>&5
20497 ac_status=$?
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; }; then
20500 ac_hi=-1 ac_mid=-1
20501 while :; do
20502 cat >conftest.$ac_ext <<_ACEOF
20503 /* confdefs.h. */
20504 _ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 $ac_includes_default
20509 typedef void * ac__type_sizeof_;
20510 int
20511 main ()
20512 {
20513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20514 test_array [0] = 0
20515
20516 ;
20517 return 0;
20518 }
20519 _ACEOF
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20525 esac
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20528 ac_status=$?
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20535 { (case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20538 esac
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest.$ac_objext'
20545 { (case "(($ac_try" in
20546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20547 *) ac_try_echo=$ac_try;;
20548 esac
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_try") 2>&5
20551 ac_status=$?
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_lo=$ac_mid; break
20555 else
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20558
20559 ac_hi=`expr '(' $ac_mid ')' - 1`
20560 if test $ac_mid -le $ac_hi; then
20561 ac_lo= ac_hi=
20562 break
20563 fi
20564 ac_mid=`expr 2 '*' $ac_mid`
20565 fi
20566
20567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20568 done
20569 else
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20572
20573 ac_lo= ac_hi=
20574 fi
20575
20576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20577 fi
20578
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20580 # Binary search between lo and hi bounds.
20581 while test "x$ac_lo" != "x$ac_hi"; do
20582 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20583 cat >conftest.$ac_ext <<_ACEOF
20584 /* confdefs.h. */
20585 _ACEOF
20586 cat confdefs.h >>conftest.$ac_ext
20587 cat >>conftest.$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20589 $ac_includes_default
20590 typedef void * ac__type_sizeof_;
20591 int
20592 main ()
20593 {
20594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20595 test_array [0] = 0
20596
20597 ;
20598 return 0;
20599 }
20600 _ACEOF
20601 rm -f conftest.$ac_objext
20602 if { (ac_try="$ac_compile"
20603 case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20606 esac
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_compile") 2>conftest.er1
20609 ac_status=$?
20610 grep -v '^ *+' conftest.er1 >conftest.err
20611 rm -f conftest.er1
20612 cat conftest.err >&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20616 { (case "(($ac_try" in
20617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20618 *) ac_try_echo=$ac_try;;
20619 esac
20620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20621 (eval "$ac_try") 2>&5
20622 ac_status=$?
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; } &&
20625 { ac_try='test -s conftest.$ac_objext'
20626 { (case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20629 esac
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_try") 2>&5
20632 ac_status=$?
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; }; then
20635 ac_hi=$ac_mid
20636 else
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20639
20640 ac_lo=`expr '(' $ac_mid ')' + 1`
20641 fi
20642
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20644 done
20645 case $ac_lo in
20646 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20648 See \`config.log' for more details." >&5
20649 echo "$as_me: error: cannot compute sizeof (void *)
20650 See \`config.log' for more details." >&2;}
20651 { (exit 77); exit 77; }; } ;;
20652 esac
20653 else
20654 cat >conftest.$ac_ext <<_ACEOF
20655 /* confdefs.h. */
20656 _ACEOF
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 $ac_includes_default
20661 typedef void * ac__type_sizeof_;
20662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20664 #include <stdio.h>
20665 #include <stdlib.h>
20666 int
20667 main ()
20668 {
20669
20670 FILE *f = fopen ("conftest.val", "w");
20671 if (! f)
20672 return 1;
20673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20674 {
20675 long int i = longval ();
20676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20677 return 1;
20678 fprintf (f, "%ld\n", i);
20679 }
20680 else
20681 {
20682 unsigned long int i = ulongval ();
20683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20684 return 1;
20685 fprintf (f, "%lu\n", i);
20686 }
20687 return ferror (f) || fclose (f) != 0;
20688
20689 ;
20690 return 0;
20691 }
20692 _ACEOF
20693 rm -f conftest$ac_exeext
20694 if { (ac_try="$ac_link"
20695 case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20698 esac
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_link") 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20704 { (case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20707 esac
20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_try") 2>&5
20710 ac_status=$?
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); }; }; then
20713 ac_cv_sizeof_void_p=`cat conftest.val`
20714 else
20715 echo "$as_me: program exited with status $ac_status" >&5
20716 echo "$as_me: failed program was:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20718
20719 ( exit $ac_status )
20720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20721 See \`config.log' for more details." >&5
20722 echo "$as_me: error: cannot compute sizeof (void *)
20723 See \`config.log' for more details." >&2;}
20724 { (exit 77); exit 77; }; }
20725 fi
20726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20727 fi
20728 rm -f conftest.val
20729 else
20730 ac_cv_sizeof_void_p=0
20731 fi
20732 fi
20733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20734 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20735 cat >>confdefs.h <<_ACEOF
20736 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20737 _ACEOF
20738
20739
20740 { echo "$as_me:$LINENO: checking for int" >&5
20741 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20742 if test "${ac_cv_type_int+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20744 else
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef int ac__type_new_;
20753 int
20754 main ()
20755 {
20756 if ((ac__type_new_ *) 0)
20757 return 0;
20758 if (sizeof (ac__type_new_))
20759 return 0;
20760 ;
20761 return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest.$ac_objext
20765 if { (ac_try="$ac_compile"
20766 case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20769 esac
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_compile") 2>conftest.er1
20772 ac_status=$?
20773 grep -v '^ *+' conftest.er1 >conftest.err
20774 rm -f conftest.er1
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20779 { (case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20782 esac
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_try") 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try='test -s conftest.$ac_objext'
20789 { (case "(($ac_try" in
20790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20791 *) ac_try_echo=$ac_try;;
20792 esac
20793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20794 (eval "$ac_try") 2>&5
20795 ac_status=$?
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20798 ac_cv_type_int=yes
20799 else
20800 echo "$as_me: failed program was:" >&5
20801 sed 's/^/| /' conftest.$ac_ext >&5
20802
20803 ac_cv_type_int=no
20804 fi
20805
20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20807 fi
20808 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20809 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20810
20811 { echo "$as_me:$LINENO: checking size of int" >&5
20812 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20813 if test "${ac_cv_sizeof_int+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20815 else
20816 if test "$ac_cv_type_int" = yes; then
20817 # The cast to long int works around a bug in the HP C Compiler
20818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20820 # This bug is HP SR number 8606223364.
20821 if test "$cross_compiling" = yes; then
20822 # Depending upon the size, compute the lo and hi bounds.
20823 cat >conftest.$ac_ext <<_ACEOF
20824 /* confdefs.h. */
20825 _ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef int ac__type_sizeof_;
20831 int
20832 main ()
20833 {
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20835 test_array [0] = 0
20836
20837 ;
20838 return 0;
20839 }
20840 _ACEOF
20841 rm -f conftest.$ac_objext
20842 if { (ac_try="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20846 esac
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20856 { (case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20858 *) ac_try_echo=$ac_try;;
20859 esac
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_try") 2>&5
20862 ac_status=$?
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; } &&
20865 { ac_try='test -s conftest.$ac_objext'
20866 { (case "(($ac_try" in
20867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20869 esac
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_try") 2>&5
20872 ac_status=$?
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20875 ac_lo=0 ac_mid=0
20876 while :; do
20877 cat >conftest.$ac_ext <<_ACEOF
20878 /* confdefs.h. */
20879 _ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 typedef int ac__type_sizeof_;
20885 int
20886 main ()
20887 {
20888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20889 test_array [0] = 0
20890
20891 ;
20892 return 0;
20893 }
20894 _ACEOF
20895 rm -f conftest.$ac_objext
20896 if { (ac_try="$ac_compile"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20900 esac
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_compile") 2>conftest.er1
20903 ac_status=$?
20904 grep -v '^ *+' conftest.er1 >conftest.err
20905 rm -f conftest.er1
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } &&
20909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20910 { (case "(($ac_try" in
20911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20913 esac
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_try") 2>&5
20916 ac_status=$?
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); }; } &&
20919 { ac_try='test -s conftest.$ac_objext'
20920 { (case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20923 esac
20924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_try") 2>&5
20926 ac_status=$?
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; }; then
20929 ac_hi=$ac_mid; break
20930 else
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.$ac_ext >&5
20933
20934 ac_lo=`expr $ac_mid + 1`
20935 if test $ac_lo -le $ac_mid; then
20936 ac_lo= ac_hi=
20937 break
20938 fi
20939 ac_mid=`expr 2 '*' $ac_mid + 1`
20940 fi
20941
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 done
20944 else
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20947
20948 cat >conftest.$ac_ext <<_ACEOF
20949 /* confdefs.h. */
20950 _ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef int ac__type_sizeof_;
20956 int
20957 main ()
20958 {
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20960 test_array [0] = 0
20961
20962 ;
20963 return 0;
20964 }
20965 _ACEOF
20966 rm -f conftest.$ac_objext
20967 if { (ac_try="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20971 esac
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20974 ac_status=$?
20975 grep -v '^ *+' conftest.er1 >conftest.err
20976 rm -f conftest.er1
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } &&
20980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20981 { (case "(($ac_try" in
20982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20983 *) ac_try_echo=$ac_try;;
20984 esac
20985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20986 (eval "$ac_try") 2>&5
20987 ac_status=$?
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try='test -s conftest.$ac_objext'
20991 { (case "(($ac_try" in
20992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20993 *) ac_try_echo=$ac_try;;
20994 esac
20995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20996 (eval "$ac_try") 2>&5
20997 ac_status=$?
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; }; then
21000 ac_hi=-1 ac_mid=-1
21001 while :; do
21002 cat >conftest.$ac_ext <<_ACEOF
21003 /* confdefs.h. */
21004 _ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 $ac_includes_default
21009 typedef int ac__type_sizeof_;
21010 int
21011 main ()
21012 {
21013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21014 test_array [0] = 0
21015
21016 ;
21017 return 0;
21018 }
21019 _ACEOF
21020 rm -f conftest.$ac_objext
21021 if { (ac_try="$ac_compile"
21022 case "(($ac_try" in
21023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21024 *) ac_try_echo=$ac_try;;
21025 esac
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_compile") 2>conftest.er1
21028 ac_status=$?
21029 grep -v '^ *+' conftest.er1 >conftest.err
21030 rm -f conftest.er1
21031 cat conftest.err >&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21035 { (case "(($ac_try" in
21036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21038 esac
21039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21040 (eval "$ac_try") 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; } &&
21044 { ac_try='test -s conftest.$ac_objext'
21045 { (case "(($ac_try" in
21046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047 *) ac_try_echo=$ac_try;;
21048 esac
21049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050 (eval "$ac_try") 2>&5
21051 ac_status=$?
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); }; }; then
21054 ac_lo=$ac_mid; break
21055 else
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.$ac_ext >&5
21058
21059 ac_hi=`expr '(' $ac_mid ')' - 1`
21060 if test $ac_mid -le $ac_hi; then
21061 ac_lo= ac_hi=
21062 break
21063 fi
21064 ac_mid=`expr 2 '*' $ac_mid`
21065 fi
21066
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068 done
21069 else
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.$ac_ext >&5
21072
21073 ac_lo= ac_hi=
21074 fi
21075
21076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21077 fi
21078
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 # Binary search between lo and hi bounds.
21081 while test "x$ac_lo" != "x$ac_hi"; do
21082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21083 cat >conftest.$ac_ext <<_ACEOF
21084 /* confdefs.h. */
21085 _ACEOF
21086 cat confdefs.h >>conftest.$ac_ext
21087 cat >>conftest.$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 $ac_includes_default
21090 typedef int ac__type_sizeof_;
21091 int
21092 main ()
21093 {
21094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21095 test_array [0] = 0
21096
21097 ;
21098 return 0;
21099 }
21100 _ACEOF
21101 rm -f conftest.$ac_objext
21102 if { (ac_try="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21106 esac
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21109 ac_status=$?
21110 grep -v '^ *+' conftest.er1 >conftest.err
21111 rm -f conftest.er1
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } &&
21115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21116 { (case "(($ac_try" in
21117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21118 *) ac_try_echo=$ac_try;;
21119 esac
21120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21121 (eval "$ac_try") 2>&5
21122 ac_status=$?
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; } &&
21125 { ac_try='test -s conftest.$ac_objext'
21126 { (case "(($ac_try" in
21127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21129 esac
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_try") 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_hi=$ac_mid
21136 else
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21139
21140 ac_lo=`expr '(' $ac_mid ')' + 1`
21141 fi
21142
21143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21144 done
21145 case $ac_lo in
21146 ?*) ac_cv_sizeof_int=$ac_lo;;
21147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21148 See \`config.log' for more details." >&5
21149 echo "$as_me: error: cannot compute sizeof (int)
21150 See \`config.log' for more details." >&2;}
21151 { (exit 77); exit 77; }; } ;;
21152 esac
21153 else
21154 cat >conftest.$ac_ext <<_ACEOF
21155 /* confdefs.h. */
21156 _ACEOF
21157 cat confdefs.h >>conftest.$ac_ext
21158 cat >>conftest.$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21160 $ac_includes_default
21161 typedef int ac__type_sizeof_;
21162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21164 #include <stdio.h>
21165 #include <stdlib.h>
21166 int
21167 main ()
21168 {
21169
21170 FILE *f = fopen ("conftest.val", "w");
21171 if (! f)
21172 return 1;
21173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21174 {
21175 long int i = longval ();
21176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21177 return 1;
21178 fprintf (f, "%ld\n", i);
21179 }
21180 else
21181 {
21182 unsigned long int i = ulongval ();
21183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21184 return 1;
21185 fprintf (f, "%lu\n", i);
21186 }
21187 return ferror (f) || fclose (f) != 0;
21188
21189 ;
21190 return 0;
21191 }
21192 _ACEOF
21193 rm -f conftest$ac_exeext
21194 if { (ac_try="$ac_link"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21198 esac
21199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_link") 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21204 { (case "(($ac_try" in
21205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21206 *) ac_try_echo=$ac_try;;
21207 esac
21208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21209 (eval "$ac_try") 2>&5
21210 ac_status=$?
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; }; then
21213 ac_cv_sizeof_int=`cat conftest.val`
21214 else
21215 echo "$as_me: program exited with status $ac_status" >&5
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21218
21219 ( exit $ac_status )
21220 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21221 See \`config.log' for more details." >&5
21222 echo "$as_me: error: cannot compute sizeof (int)
21223 See \`config.log' for more details." >&2;}
21224 { (exit 77); exit 77; }; }
21225 fi
21226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21227 fi
21228 rm -f conftest.val
21229 else
21230 ac_cv_sizeof_int=0
21231 fi
21232 fi
21233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21234 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21235 cat >>confdefs.h <<_ACEOF
21236 #define SIZEOF_INT $ac_cv_sizeof_int
21237 _ACEOF
21238
21239
21240 { echo "$as_me:$LINENO: checking for long" >&5
21241 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21242 if test "${ac_cv_type_long+set}" = set; then
21243 echo $ECHO_N "(cached) $ECHO_C" >&6
21244 else
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h. */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 typedef long ac__type_new_;
21253 int
21254 main ()
21255 {
21256 if ((ac__type_new_ *) 0)
21257 return 0;
21258 if (sizeof (ac__type_new_))
21259 return 0;
21260 ;
21261 return 0;
21262 }
21263 _ACEOF
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21269 esac
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21272 ac_status=$?
21273 grep -v '^ *+' conftest.er1 >conftest.err
21274 rm -f conftest.er1
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } &&
21278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21279 { (case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21282 esac
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_try") 2>&5
21285 ac_status=$?
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try='test -s conftest.$ac_objext'
21289 { (case "(($ac_try" in
21290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21291 *) ac_try_echo=$ac_try;;
21292 esac
21293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21294 (eval "$ac_try") 2>&5
21295 ac_status=$?
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; }; then
21298 ac_cv_type_long=yes
21299 else
21300 echo "$as_me: failed program was:" >&5
21301 sed 's/^/| /' conftest.$ac_ext >&5
21302
21303 ac_cv_type_long=no
21304 fi
21305
21306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21307 fi
21308 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21309 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21310
21311 { echo "$as_me:$LINENO: checking size of long" >&5
21312 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21313 if test "${ac_cv_sizeof_long+set}" = set; then
21314 echo $ECHO_N "(cached) $ECHO_C" >&6
21315 else
21316 if test "$ac_cv_type_long" = yes; then
21317 # The cast to long int works around a bug in the HP C Compiler
21318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21320 # This bug is HP SR number 8606223364.
21321 if test "$cross_compiling" = yes; then
21322 # Depending upon the size, compute the lo and hi bounds.
21323 cat >conftest.$ac_ext <<_ACEOF
21324 /* confdefs.h. */
21325 _ACEOF
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 $ac_includes_default
21330 typedef long ac__type_sizeof_;
21331 int
21332 main ()
21333 {
21334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21335 test_array [0] = 0
21336
21337 ;
21338 return 0;
21339 }
21340 _ACEOF
21341 rm -f conftest.$ac_objext
21342 if { (ac_try="$ac_compile"
21343 case "(($ac_try" in
21344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21345 *) ac_try_echo=$ac_try;;
21346 esac
21347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21348 (eval "$ac_compile") 2>conftest.er1
21349 ac_status=$?
21350 grep -v '^ *+' conftest.er1 >conftest.err
21351 rm -f conftest.er1
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21356 { (case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21358 *) ac_try_echo=$ac_try;;
21359 esac
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_try") 2>&5
21362 ac_status=$?
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try='test -s conftest.$ac_objext'
21366 { (case "(($ac_try" in
21367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21368 *) ac_try_echo=$ac_try;;
21369 esac
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_try") 2>&5
21372 ac_status=$?
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; }; then
21375 ac_lo=0 ac_mid=0
21376 while :; do
21377 cat >conftest.$ac_ext <<_ACEOF
21378 /* confdefs.h. */
21379 _ACEOF
21380 cat confdefs.h >>conftest.$ac_ext
21381 cat >>conftest.$ac_ext <<_ACEOF
21382 /* end confdefs.h. */
21383 $ac_includes_default
21384 typedef long ac__type_sizeof_;
21385 int
21386 main ()
21387 {
21388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21389 test_array [0] = 0
21390
21391 ;
21392 return 0;
21393 }
21394 _ACEOF
21395 rm -f conftest.$ac_objext
21396 if { (ac_try="$ac_compile"
21397 case "(($ac_try" in
21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21399 *) ac_try_echo=$ac_try;;
21400 esac
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21402 (eval "$ac_compile") 2>conftest.er1
21403 ac_status=$?
21404 grep -v '^ *+' conftest.er1 >conftest.err
21405 rm -f conftest.er1
21406 cat conftest.err >&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21410 { (case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_try") 2>&5
21416 ac_status=$?
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; } &&
21419 { ac_try='test -s conftest.$ac_objext'
21420 { (case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21423 esac
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_try") 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_hi=$ac_mid; break
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21433
21434 ac_lo=`expr $ac_mid + 1`
21435 if test $ac_lo -le $ac_mid; then
21436 ac_lo= ac_hi=
21437 break
21438 fi
21439 ac_mid=`expr 2 '*' $ac_mid + 1`
21440 fi
21441
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443 done
21444 else
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21447
21448 cat >conftest.$ac_ext <<_ACEOF
21449 /* confdefs.h. */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 $ac_includes_default
21455 typedef long ac__type_sizeof_;
21456 int
21457 main ()
21458 {
21459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21460 test_array [0] = 0
21461
21462 ;
21463 return 0;
21464 }
21465 _ACEOF
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21471 esac
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21474 ac_status=$?
21475 grep -v '^ *+' conftest.er1 >conftest.err
21476 rm -f conftest.er1
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } &&
21480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21481 { (case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21483 *) ac_try_echo=$ac_try;;
21484 esac
21485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21486 (eval "$ac_try") 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try='test -s conftest.$ac_objext'
21491 { (case "(($ac_try" in
21492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21494 esac
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_try") 2>&5
21497 ac_status=$?
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 ac_hi=-1 ac_mid=-1
21501 while :; do
21502 cat >conftest.$ac_ext <<_ACEOF
21503 /* confdefs.h. */
21504 _ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 $ac_includes_default
21509 typedef long ac__type_sizeof_;
21510 int
21511 main ()
21512 {
21513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21514 test_array [0] = 0
21515
21516 ;
21517 return 0;
21518 }
21519 _ACEOF
21520 rm -f conftest.$ac_objext
21521 if { (ac_try="$ac_compile"
21522 case "(($ac_try" in
21523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21524 *) ac_try_echo=$ac_try;;
21525 esac
21526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21527 (eval "$ac_compile") 2>conftest.er1
21528 ac_status=$?
21529 grep -v '^ *+' conftest.er1 >conftest.err
21530 rm -f conftest.er1
21531 cat conftest.err >&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); } &&
21534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21535 { (case "(($ac_try" in
21536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21538 esac
21539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_try") 2>&5
21541 ac_status=$?
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; } &&
21544 { ac_try='test -s conftest.$ac_objext'
21545 { (case "(($ac_try" in
21546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21547 *) ac_try_echo=$ac_try;;
21548 esac
21549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21550 (eval "$ac_try") 2>&5
21551 ac_status=$?
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; }; then
21554 ac_lo=$ac_mid; break
21555 else
21556 echo "$as_me: failed program was:" >&5
21557 sed 's/^/| /' conftest.$ac_ext >&5
21558
21559 ac_hi=`expr '(' $ac_mid ')' - 1`
21560 if test $ac_mid -le $ac_hi; then
21561 ac_lo= ac_hi=
21562 break
21563 fi
21564 ac_mid=`expr 2 '*' $ac_mid`
21565 fi
21566
21567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21568 done
21569 else
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21572
21573 ac_lo= ac_hi=
21574 fi
21575
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 fi
21578
21579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21580 # Binary search between lo and hi bounds.
21581 while test "x$ac_lo" != "x$ac_hi"; do
21582 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21583 cat >conftest.$ac_ext <<_ACEOF
21584 /* confdefs.h. */
21585 _ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589 $ac_includes_default
21590 typedef long ac__type_sizeof_;
21591 int
21592 main ()
21593 {
21594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21595 test_array [0] = 0
21596
21597 ;
21598 return 0;
21599 }
21600 _ACEOF
21601 rm -f conftest.$ac_objext
21602 if { (ac_try="$ac_compile"
21603 case "(($ac_try" in
21604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21605 *) ac_try_echo=$ac_try;;
21606 esac
21607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21608 (eval "$ac_compile") 2>conftest.er1
21609 ac_status=$?
21610 grep -v '^ *+' conftest.er1 >conftest.err
21611 rm -f conftest.er1
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } &&
21615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21616 { (case "(($ac_try" in
21617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21618 *) ac_try_echo=$ac_try;;
21619 esac
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_try") 2>&5
21622 ac_status=$?
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; } &&
21625 { ac_try='test -s conftest.$ac_objext'
21626 { (case "(($ac_try" in
21627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21629 esac
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_try") 2>&5
21632 ac_status=$?
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; }; then
21635 ac_hi=$ac_mid
21636 else
21637 echo "$as_me: failed program was:" >&5
21638 sed 's/^/| /' conftest.$ac_ext >&5
21639
21640 ac_lo=`expr '(' $ac_mid ')' + 1`
21641 fi
21642
21643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21644 done
21645 case $ac_lo in
21646 ?*) ac_cv_sizeof_long=$ac_lo;;
21647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21648 See \`config.log' for more details." >&5
21649 echo "$as_me: error: cannot compute sizeof (long)
21650 See \`config.log' for more details." >&2;}
21651 { (exit 77); exit 77; }; } ;;
21652 esac
21653 else
21654 cat >conftest.$ac_ext <<_ACEOF
21655 /* confdefs.h. */
21656 _ACEOF
21657 cat confdefs.h >>conftest.$ac_ext
21658 cat >>conftest.$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21660 $ac_includes_default
21661 typedef long ac__type_sizeof_;
21662 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21663 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21664 #include <stdio.h>
21665 #include <stdlib.h>
21666 int
21667 main ()
21668 {
21669
21670 FILE *f = fopen ("conftest.val", "w");
21671 if (! f)
21672 return 1;
21673 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21674 {
21675 long int i = longval ();
21676 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21677 return 1;
21678 fprintf (f, "%ld\n", i);
21679 }
21680 else
21681 {
21682 unsigned long int i = ulongval ();
21683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21684 return 1;
21685 fprintf (f, "%lu\n", i);
21686 }
21687 return ferror (f) || fclose (f) != 0;
21688
21689 ;
21690 return 0;
21691 }
21692 _ACEOF
21693 rm -f conftest$ac_exeext
21694 if { (ac_try="$ac_link"
21695 case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21698 esac
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_link") 2>&5
21701 ac_status=$?
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21704 { (case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21707 esac
21708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_try") 2>&5
21710 ac_status=$?
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; }; then
21713 ac_cv_sizeof_long=`cat conftest.val`
21714 else
21715 echo "$as_me: program exited with status $ac_status" >&5
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21718
21719 ( exit $ac_status )
21720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21721 See \`config.log' for more details." >&5
21722 echo "$as_me: error: cannot compute sizeof (long)
21723 See \`config.log' for more details." >&2;}
21724 { (exit 77); exit 77; }; }
21725 fi
21726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21727 fi
21728 rm -f conftest.val
21729 else
21730 ac_cv_sizeof_long=0
21731 fi
21732 fi
21733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21734 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21735 cat >>confdefs.h <<_ACEOF
21736 #define SIZEOF_LONG $ac_cv_sizeof_long
21737 _ACEOF
21738
21739
21740 { echo "$as_me:$LINENO: checking for size_t" >&5
21741 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21742 if test "${ac_cv_type_size_t+set}" = set; then
21743 echo $ECHO_N "(cached) $ECHO_C" >&6
21744 else
21745 cat >conftest.$ac_ext <<_ACEOF
21746 /* confdefs.h. */
21747 _ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 $ac_includes_default
21752 typedef size_t ac__type_new_;
21753 int
21754 main ()
21755 {
21756 if ((ac__type_new_ *) 0)
21757 return 0;
21758 if (sizeof (ac__type_new_))
21759 return 0;
21760 ;
21761 return 0;
21762 }
21763 _ACEOF
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21769 esac
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21772 ac_status=$?
21773 grep -v '^ *+' conftest.er1 >conftest.err
21774 rm -f conftest.er1
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } &&
21778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21779 { (case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21782 esac
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_try") 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try='test -s conftest.$ac_objext'
21789 { (case "(($ac_try" in
21790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21791 *) ac_try_echo=$ac_try;;
21792 esac
21793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21794 (eval "$ac_try") 2>&5
21795 ac_status=$?
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 ac_cv_type_size_t=yes
21799 else
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21802
21803 ac_cv_type_size_t=no
21804 fi
21805
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807 fi
21808 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21809 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21810
21811 { echo "$as_me:$LINENO: checking size of size_t" >&5
21812 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21813 if test "${ac_cv_sizeof_size_t+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21815 else
21816 if test "$ac_cv_type_size_t" = yes; then
21817 # The cast to long int works around a bug in the HP C Compiler
21818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21820 # This bug is HP SR number 8606223364.
21821 if test "$cross_compiling" = yes; then
21822 # Depending upon the size, compute the lo and hi bounds.
21823 cat >conftest.$ac_ext <<_ACEOF
21824 /* confdefs.h. */
21825 _ACEOF
21826 cat confdefs.h >>conftest.$ac_ext
21827 cat >>conftest.$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 $ac_includes_default
21830 typedef size_t ac__type_sizeof_;
21831 int
21832 main ()
21833 {
21834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21835 test_array [0] = 0
21836
21837 ;
21838 return 0;
21839 }
21840 _ACEOF
21841 rm -f conftest.$ac_objext
21842 if { (ac_try="$ac_compile"
21843 case "(($ac_try" in
21844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21845 *) ac_try_echo=$ac_try;;
21846 esac
21847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21848 (eval "$ac_compile") 2>conftest.er1
21849 ac_status=$?
21850 grep -v '^ *+' conftest.er1 >conftest.err
21851 rm -f conftest.er1
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21856 { (case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21858 *) ac_try_echo=$ac_try;;
21859 esac
21860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_try") 2>&5
21862 ac_status=$?
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; } &&
21865 { ac_try='test -s conftest.$ac_objext'
21866 { (case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21869 esac
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_try") 2>&5
21872 ac_status=$?
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_lo=0 ac_mid=0
21876 while :; do
21877 cat >conftest.$ac_ext <<_ACEOF
21878 /* confdefs.h. */
21879 _ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 $ac_includes_default
21884 typedef size_t ac__type_sizeof_;
21885 int
21886 main ()
21887 {
21888 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21889 test_array [0] = 0
21890
21891 ;
21892 return 0;
21893 }
21894 _ACEOF
21895 rm -f conftest.$ac_objext
21896 if { (ac_try="$ac_compile"
21897 case "(($ac_try" in
21898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21899 *) ac_try_echo=$ac_try;;
21900 esac
21901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 (eval "$ac_compile") 2>conftest.er1
21903 ac_status=$?
21904 grep -v '^ *+' conftest.er1 >conftest.err
21905 rm -f conftest.er1
21906 cat conftest.err >&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21910 { (case "(($ac_try" in
21911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;;
21913 esac
21914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21915 (eval "$ac_try") 2>&5
21916 ac_status=$?
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; } &&
21919 { ac_try='test -s conftest.$ac_objext'
21920 { (case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21922 *) ac_try_echo=$ac_try;;
21923 esac
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_try") 2>&5
21926 ac_status=$?
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 ac_hi=$ac_mid; break
21930 else
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21933
21934 ac_lo=`expr $ac_mid + 1`
21935 if test $ac_lo -le $ac_mid; then
21936 ac_lo= ac_hi=
21937 break
21938 fi
21939 ac_mid=`expr 2 '*' $ac_mid + 1`
21940 fi
21941
21942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21943 done
21944 else
21945 echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.$ac_ext >&5
21947
21948 cat >conftest.$ac_ext <<_ACEOF
21949 /* confdefs.h. */
21950 _ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 $ac_includes_default
21955 typedef size_t ac__type_sizeof_;
21956 int
21957 main ()
21958 {
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21960 test_array [0] = 0
21961
21962 ;
21963 return 0;
21964 }
21965 _ACEOF
21966 rm -f conftest.$ac_objext
21967 if { (ac_try="$ac_compile"
21968 case "(($ac_try" in
21969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21971 esac
21972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_compile") 2>conftest.er1
21974 ac_status=$?
21975 grep -v '^ *+' conftest.er1 >conftest.err
21976 rm -f conftest.er1
21977 cat conftest.err >&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21981 { (case "(($ac_try" in
21982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21983 *) ac_try_echo=$ac_try;;
21984 esac
21985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21986 (eval "$ac_try") 2>&5
21987 ac_status=$?
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try='test -s conftest.$ac_objext'
21991 { (case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_try") 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22000 ac_hi=-1 ac_mid=-1
22001 while :; do
22002 cat >conftest.$ac_ext <<_ACEOF
22003 /* confdefs.h. */
22004 _ACEOF
22005 cat confdefs.h >>conftest.$ac_ext
22006 cat >>conftest.$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008 $ac_includes_default
22009 typedef size_t ac__type_sizeof_;
22010 int
22011 main ()
22012 {
22013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22014 test_array [0] = 0
22015
22016 ;
22017 return 0;
22018 }
22019 _ACEOF
22020 rm -f conftest.$ac_objext
22021 if { (ac_try="$ac_compile"
22022 case "(($ac_try" in
22023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22024 *) ac_try_echo=$ac_try;;
22025 esac
22026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22027 (eval "$ac_compile") 2>conftest.er1
22028 ac_status=$?
22029 grep -v '^ *+' conftest.er1 >conftest.err
22030 rm -f conftest.er1
22031 cat conftest.err >&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); } &&
22034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22035 { (case "(($ac_try" in
22036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22038 esac
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_try") 2>&5
22041 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; } &&
22044 { ac_try='test -s conftest.$ac_objext'
22045 { (case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22047 *) ac_try_echo=$ac_try;;
22048 esac
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_try") 2>&5
22051 ac_status=$?
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 ac_lo=$ac_mid; break
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_hi=`expr '(' $ac_mid ')' - 1`
22060 if test $ac_mid -le $ac_hi; then
22061 ac_lo= ac_hi=
22062 break
22063 fi
22064 ac_mid=`expr 2 '*' $ac_mid`
22065 fi
22066
22067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22068 done
22069 else
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22072
22073 ac_lo= ac_hi=
22074 fi
22075
22076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22077 fi
22078
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 # Binary search between lo and hi bounds.
22081 while test "x$ac_lo" != "x$ac_hi"; do
22082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22083 cat >conftest.$ac_ext <<_ACEOF
22084 /* confdefs.h. */
22085 _ACEOF
22086 cat confdefs.h >>conftest.$ac_ext
22087 cat >>conftest.$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22089 $ac_includes_default
22090 typedef size_t ac__type_sizeof_;
22091 int
22092 main ()
22093 {
22094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22095 test_array [0] = 0
22096
22097 ;
22098 return 0;
22099 }
22100 _ACEOF
22101 rm -f conftest.$ac_objext
22102 if { (ac_try="$ac_compile"
22103 case "(($ac_try" in
22104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22105 *) ac_try_echo=$ac_try;;
22106 esac
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_compile") 2>conftest.er1
22109 ac_status=$?
22110 grep -v '^ *+' conftest.er1 >conftest.err
22111 rm -f conftest.er1
22112 cat conftest.err >&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (case "(($ac_try" in
22117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22118 *) ac_try_echo=$ac_try;;
22119 esac
22120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22121 (eval "$ac_try") 2>&5
22122 ac_status=$?
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try='test -s conftest.$ac_objext'
22126 { (case "(($ac_try" in
22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22128 *) ac_try_echo=$ac_try;;
22129 esac
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_try") 2>&5
22132 ac_status=$?
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22135 ac_hi=$ac_mid
22136 else
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.$ac_ext >&5
22139
22140 ac_lo=`expr '(' $ac_mid ')' + 1`
22141 fi
22142
22143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22144 done
22145 case $ac_lo in
22146 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22147 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22148 See \`config.log' for more details." >&5
22149 echo "$as_me: error: cannot compute sizeof (size_t)
22150 See \`config.log' for more details." >&2;}
22151 { (exit 77); exit 77; }; } ;;
22152 esac
22153 else
22154 cat >conftest.$ac_ext <<_ACEOF
22155 /* confdefs.h. */
22156 _ACEOF
22157 cat confdefs.h >>conftest.$ac_ext
22158 cat >>conftest.$ac_ext <<_ACEOF
22159 /* end confdefs.h. */
22160 $ac_includes_default
22161 typedef size_t ac__type_sizeof_;
22162 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22163 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22164 #include <stdio.h>
22165 #include <stdlib.h>
22166 int
22167 main ()
22168 {
22169
22170 FILE *f = fopen ("conftest.val", "w");
22171 if (! f)
22172 return 1;
22173 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22174 {
22175 long int i = longval ();
22176 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22177 return 1;
22178 fprintf (f, "%ld\n", i);
22179 }
22180 else
22181 {
22182 unsigned long int i = ulongval ();
22183 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22184 return 1;
22185 fprintf (f, "%lu\n", i);
22186 }
22187 return ferror (f) || fclose (f) != 0;
22188
22189 ;
22190 return 0;
22191 }
22192 _ACEOF
22193 rm -f conftest$ac_exeext
22194 if { (ac_try="$ac_link"
22195 case "(($ac_try" in
22196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22197 *) ac_try_echo=$ac_try;;
22198 esac
22199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22200 (eval "$ac_link") 2>&5
22201 ac_status=$?
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22204 { (case "(($ac_try" in
22205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22206 *) ac_try_echo=$ac_try;;
22207 esac
22208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22209 (eval "$ac_try") 2>&5
22210 ac_status=$?
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); }; }; then
22213 ac_cv_sizeof_size_t=`cat conftest.val`
22214 else
22215 echo "$as_me: program exited with status $ac_status" >&5
22216 echo "$as_me: failed program was:" >&5
22217 sed 's/^/| /' conftest.$ac_ext >&5
22218
22219 ( exit $ac_status )
22220 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22221 See \`config.log' for more details." >&5
22222 echo "$as_me: error: cannot compute sizeof (size_t)
22223 See \`config.log' for more details." >&2;}
22224 { (exit 77); exit 77; }; }
22225 fi
22226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22227 fi
22228 rm -f conftest.val
22229 else
22230 ac_cv_sizeof_size_t=0
22231 fi
22232 fi
22233 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22234 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22235 cat >>confdefs.h <<_ACEOF
22236 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22237 _ACEOF
22238
22239
22240
22241 case "${host}" in
22242 arm-*-linux* )
22243 { echo "$as_me:$LINENO: checking for long long" >&5
22244 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22245 if test "${ac_cv_type_long_long+set}" = set; then
22246 echo $ECHO_N "(cached) $ECHO_C" >&6
22247 else
22248 cat >conftest.$ac_ext <<_ACEOF
22249 /* confdefs.h. */
22250 _ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22254 $ac_includes_default
22255 typedef long long ac__type_new_;
22256 int
22257 main ()
22258 {
22259 if ((ac__type_new_ *) 0)
22260 return 0;
22261 if (sizeof (ac__type_new_))
22262 return 0;
22263 ;
22264 return 0;
22265 }
22266 _ACEOF
22267 rm -f conftest.$ac_objext
22268 if { (ac_try="$ac_compile"
22269 case "(($ac_try" in
22270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22271 *) ac_try_echo=$ac_try;;
22272 esac
22273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22274 (eval "$ac_compile") 2>conftest.er1
22275 ac_status=$?
22276 grep -v '^ *+' conftest.er1 >conftest.err
22277 rm -f conftest.er1
22278 cat conftest.err >&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); } &&
22281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22282 { (case "(($ac_try" in
22283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22284 *) ac_try_echo=$ac_try;;
22285 esac
22286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287 (eval "$ac_try") 2>&5
22288 ac_status=$?
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; } &&
22291 { ac_try='test -s conftest.$ac_objext'
22292 { (case "(($ac_try" in
22293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22295 esac
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_try") 2>&5
22298 ac_status=$?
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; }; then
22301 ac_cv_type_long_long=yes
22302 else
22303 echo "$as_me: failed program was:" >&5
22304 sed 's/^/| /' conftest.$ac_ext >&5
22305
22306 ac_cv_type_long_long=no
22307 fi
22308
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22310 fi
22311 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22312 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22313
22314 { echo "$as_me:$LINENO: checking size of long long" >&5
22315 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22316 if test "${ac_cv_sizeof_long_long+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22318 else
22319 if test "$ac_cv_type_long_long" = yes; then
22320 # The cast to long int works around a bug in the HP C Compiler
22321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22323 # This bug is HP SR number 8606223364.
22324 if test "$cross_compiling" = yes; then
22325 # Depending upon the size, compute the lo and hi bounds.
22326 cat >conftest.$ac_ext <<_ACEOF
22327 /* confdefs.h. */
22328 _ACEOF
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 $ac_includes_default
22333 typedef long long ac__type_sizeof_;
22334 int
22335 main ()
22336 {
22337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22338 test_array [0] = 0
22339
22340 ;
22341 return 0;
22342 }
22343 _ACEOF
22344 rm -f conftest.$ac_objext
22345 if { (ac_try="$ac_compile"
22346 case "(($ac_try" in
22347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22348 *) ac_try_echo=$ac_try;;
22349 esac
22350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22351 (eval "$ac_compile") 2>conftest.er1
22352 ac_status=$?
22353 grep -v '^ *+' conftest.er1 >conftest.err
22354 rm -f conftest.er1
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22359 { (case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22362 esac
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_try") 2>&5
22365 ac_status=$?
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; } &&
22368 { ac_try='test -s conftest.$ac_objext'
22369 { (case "(($ac_try" in
22370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22372 esac
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_try") 2>&5
22375 ac_status=$?
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22378 ac_lo=0 ac_mid=0
22379 while :; do
22380 cat >conftest.$ac_ext <<_ACEOF
22381 /* confdefs.h. */
22382 _ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef long long ac__type_sizeof_;
22388 int
22389 main ()
22390 {
22391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22392 test_array [0] = 0
22393
22394 ;
22395 return 0;
22396 }
22397 _ACEOF
22398 rm -f conftest.$ac_objext
22399 if { (ac_try="$ac_compile"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22403 esac
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_compile") 2>conftest.er1
22406 ac_status=$?
22407 grep -v '^ *+' conftest.er1 >conftest.err
22408 rm -f conftest.er1
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22413 { (case "(($ac_try" in
22414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22415 *) ac_try_echo=$ac_try;;
22416 esac
22417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22418 (eval "$ac_try") 2>&5
22419 ac_status=$?
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); }; } &&
22422 { ac_try='test -s conftest.$ac_objext'
22423 { (case "(($ac_try" in
22424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22425 *) ac_try_echo=$ac_try;;
22426 esac
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_try") 2>&5
22429 ac_status=$?
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); }; }; then
22432 ac_hi=$ac_mid; break
22433 else
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.$ac_ext >&5
22436
22437 ac_lo=`expr $ac_mid + 1`
22438 if test $ac_lo -le $ac_mid; then
22439 ac_lo= ac_hi=
22440 break
22441 fi
22442 ac_mid=`expr 2 '*' $ac_mid + 1`
22443 fi
22444
22445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 done
22447 else
22448 echo "$as_me: failed program was:" >&5
22449 sed 's/^/| /' conftest.$ac_ext >&5
22450
22451 cat >conftest.$ac_ext <<_ACEOF
22452 /* confdefs.h. */
22453 _ACEOF
22454 cat confdefs.h >>conftest.$ac_ext
22455 cat >>conftest.$ac_ext <<_ACEOF
22456 /* end confdefs.h. */
22457 $ac_includes_default
22458 typedef long long ac__type_sizeof_;
22459 int
22460 main ()
22461 {
22462 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22463 test_array [0] = 0
22464
22465 ;
22466 return 0;
22467 }
22468 _ACEOF
22469 rm -f conftest.$ac_objext
22470 if { (ac_try="$ac_compile"
22471 case "(($ac_try" in
22472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22474 esac
22475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_compile") 2>conftest.er1
22477 ac_status=$?
22478 grep -v '^ *+' conftest.er1 >conftest.err
22479 rm -f conftest.er1
22480 cat conftest.err >&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } &&
22483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22484 { (case "(($ac_try" in
22485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22486 *) ac_try_echo=$ac_try;;
22487 esac
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_try") 2>&5
22490 ac_status=$?
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); }; } &&
22493 { ac_try='test -s conftest.$ac_objext'
22494 { (case "(($ac_try" in
22495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22496 *) ac_try_echo=$ac_try;;
22497 esac
22498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22499 (eval "$ac_try") 2>&5
22500 ac_status=$?
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 ac_hi=-1 ac_mid=-1
22504 while :; do
22505 cat >conftest.$ac_ext <<_ACEOF
22506 /* confdefs.h. */
22507 _ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511 $ac_includes_default
22512 typedef long long ac__type_sizeof_;
22513 int
22514 main ()
22515 {
22516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22517 test_array [0] = 0
22518
22519 ;
22520 return 0;
22521 }
22522 _ACEOF
22523 rm -f conftest.$ac_objext
22524 if { (ac_try="$ac_compile"
22525 case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22528 esac
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_compile") 2>conftest.er1
22531 ac_status=$?
22532 grep -v '^ *+' conftest.er1 >conftest.err
22533 rm -f conftest.er1
22534 cat conftest.err >&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22538 { (case "(($ac_try" in
22539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22540 *) ac_try_echo=$ac_try;;
22541 esac
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22543 (eval "$ac_try") 2>&5
22544 ac_status=$?
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); }; } &&
22547 { ac_try='test -s conftest.$ac_objext'
22548 { (case "(($ac_try" in
22549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22550 *) ac_try_echo=$ac_try;;
22551 esac
22552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22553 (eval "$ac_try") 2>&5
22554 ac_status=$?
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); }; }; then
22557 ac_lo=$ac_mid; break
22558 else
22559 echo "$as_me: failed program was:" >&5
22560 sed 's/^/| /' conftest.$ac_ext >&5
22561
22562 ac_hi=`expr '(' $ac_mid ')' - 1`
22563 if test $ac_mid -le $ac_hi; then
22564 ac_lo= ac_hi=
22565 break
22566 fi
22567 ac_mid=`expr 2 '*' $ac_mid`
22568 fi
22569
22570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22571 done
22572 else
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22575
22576 ac_lo= ac_hi=
22577 fi
22578
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22580 fi
22581
22582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22583 # Binary search between lo and hi bounds.
22584 while test "x$ac_lo" != "x$ac_hi"; do
22585 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22586 cat >conftest.$ac_ext <<_ACEOF
22587 /* confdefs.h. */
22588 _ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 $ac_includes_default
22593 typedef long long ac__type_sizeof_;
22594 int
22595 main ()
22596 {
22597 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22598 test_array [0] = 0
22599
22600 ;
22601 return 0;
22602 }
22603 _ACEOF
22604 rm -f conftest.$ac_objext
22605 if { (ac_try="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22609 esac
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22612 ac_status=$?
22613 grep -v '^ *+' conftest.er1 >conftest.err
22614 rm -f conftest.er1
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } &&
22618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22619 { (case "(($ac_try" in
22620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22621 *) ac_try_echo=$ac_try;;
22622 esac
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_try") 2>&5
22625 ac_status=$?
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; } &&
22628 { ac_try='test -s conftest.$ac_objext'
22629 { (case "(($ac_try" in
22630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22632 esac
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_try") 2>&5
22635 ac_status=$?
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22638 ac_hi=$ac_mid
22639 else
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22642
22643 ac_lo=`expr '(' $ac_mid ')' + 1`
22644 fi
22645
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22647 done
22648 case $ac_lo in
22649 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22650 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22651 See \`config.log' for more details." >&5
22652 echo "$as_me: error: cannot compute sizeof (long long)
22653 See \`config.log' for more details." >&2;}
22654 { (exit 77); exit 77; }; } ;;
22655 esac
22656 else
22657 cat >conftest.$ac_ext <<_ACEOF
22658 /* confdefs.h. */
22659 _ACEOF
22660 cat confdefs.h >>conftest.$ac_ext
22661 cat >>conftest.$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663 $ac_includes_default
22664 typedef long long ac__type_sizeof_;
22665 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22666 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22667 #include <stdio.h>
22668 #include <stdlib.h>
22669 int
22670 main ()
22671 {
22672
22673 FILE *f = fopen ("conftest.val", "w");
22674 if (! f)
22675 return 1;
22676 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22677 {
22678 long int i = longval ();
22679 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22680 return 1;
22681 fprintf (f, "%ld\n", i);
22682 }
22683 else
22684 {
22685 unsigned long int i = ulongval ();
22686 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22687 return 1;
22688 fprintf (f, "%lu\n", i);
22689 }
22690 return ferror (f) || fclose (f) != 0;
22691
22692 ;
22693 return 0;
22694 }
22695 _ACEOF
22696 rm -f conftest$ac_exeext
22697 if { (ac_try="$ac_link"
22698 case "(($ac_try" in
22699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22700 *) ac_try_echo=$ac_try;;
22701 esac
22702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22703 (eval "$ac_link") 2>&5
22704 ac_status=$?
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22707 { (case "(($ac_try" in
22708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22709 *) ac_try_echo=$ac_try;;
22710 esac
22711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22712 (eval "$ac_try") 2>&5
22713 ac_status=$?
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 ac_cv_sizeof_long_long=`cat conftest.val`
22717 else
22718 echo "$as_me: program exited with status $ac_status" >&5
22719 echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22721
22722 ( exit $ac_status )
22723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22724 See \`config.log' for more details." >&5
22725 echo "$as_me: error: cannot compute sizeof (long long)
22726 See \`config.log' for more details." >&2;}
22727 { (exit 77); exit 77; }; }
22728 fi
22729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22730 fi
22731 rm -f conftest.val
22732 else
22733 ac_cv_sizeof_long_long=0
22734 fi
22735 fi
22736 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22737 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22738 cat >>confdefs.h <<_ACEOF
22739 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22740 _ACEOF
22741
22742
22743 ;;
22744 *-hp-hpux* )
22745 { echo "$as_me:$LINENO: checking for long long" >&5
22746 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22747 if test "${ac_cv_type_long_long+set}" = set; then
22748 echo $ECHO_N "(cached) $ECHO_C" >&6
22749 else
22750 cat >conftest.$ac_ext <<_ACEOF
22751 /* confdefs.h. */
22752 _ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22756 $ac_includes_default
22757 typedef long long ac__type_new_;
22758 int
22759 main ()
22760 {
22761 if ((ac__type_new_ *) 0)
22762 return 0;
22763 if (sizeof (ac__type_new_))
22764 return 0;
22765 ;
22766 return 0;
22767 }
22768 _ACEOF
22769 rm -f conftest.$ac_objext
22770 if { (ac_try="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22774 esac
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22777 ac_status=$?
22778 grep -v '^ *+' conftest.er1 >conftest.err
22779 rm -f conftest.er1
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22784 { (case "(($ac_try" in
22785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22786 *) ac_try_echo=$ac_try;;
22787 esac
22788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22789 (eval "$ac_try") 2>&5
22790 ac_status=$?
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; } &&
22793 { ac_try='test -s conftest.$ac_objext'
22794 { (case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22797 esac
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_try") 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_type_long_long=yes
22804 else
22805 echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.$ac_ext >&5
22807
22808 ac_cv_type_long_long=no
22809 fi
22810
22811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22812 fi
22813 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22814 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22815
22816 { echo "$as_me:$LINENO: checking size of long long" >&5
22817 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22818 if test "${ac_cv_sizeof_long_long+set}" = set; then
22819 echo $ECHO_N "(cached) $ECHO_C" >&6
22820 else
22821 if test "$ac_cv_type_long_long" = yes; then
22822 # The cast to long int works around a bug in the HP C Compiler
22823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22825 # This bug is HP SR number 8606223364.
22826 if test "$cross_compiling" = yes; then
22827 # Depending upon the size, compute the lo and hi bounds.
22828 cat >conftest.$ac_ext <<_ACEOF
22829 /* confdefs.h. */
22830 _ACEOF
22831 cat confdefs.h >>conftest.$ac_ext
22832 cat >>conftest.$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834 $ac_includes_default
22835 typedef long long ac__type_sizeof_;
22836 int
22837 main ()
22838 {
22839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22840 test_array [0] = 0
22841
22842 ;
22843 return 0;
22844 }
22845 _ACEOF
22846 rm -f conftest.$ac_objext
22847 if { (ac_try="$ac_compile"
22848 case "(($ac_try" in
22849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22850 *) ac_try_echo=$ac_try;;
22851 esac
22852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22853 (eval "$ac_compile") 2>conftest.er1
22854 ac_status=$?
22855 grep -v '^ *+' conftest.er1 >conftest.err
22856 rm -f conftest.er1
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22861 { (case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22863 *) ac_try_echo=$ac_try;;
22864 esac
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_try") 2>&5
22867 ac_status=$?
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; } &&
22870 { ac_try='test -s conftest.$ac_objext'
22871 { (case "(($ac_try" in
22872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22873 *) ac_try_echo=$ac_try;;
22874 esac
22875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22876 (eval "$ac_try") 2>&5
22877 ac_status=$?
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22880 ac_lo=0 ac_mid=0
22881 while :; do
22882 cat >conftest.$ac_ext <<_ACEOF
22883 /* confdefs.h. */
22884 _ACEOF
22885 cat confdefs.h >>conftest.$ac_ext
22886 cat >>conftest.$ac_ext <<_ACEOF
22887 /* end confdefs.h. */
22888 $ac_includes_default
22889 typedef long long ac__type_sizeof_;
22890 int
22891 main ()
22892 {
22893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22894 test_array [0] = 0
22895
22896 ;
22897 return 0;
22898 }
22899 _ACEOF
22900 rm -f conftest.$ac_objext
22901 if { (ac_try="$ac_compile"
22902 case "(($ac_try" in
22903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22904 *) ac_try_echo=$ac_try;;
22905 esac
22906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22907 (eval "$ac_compile") 2>conftest.er1
22908 ac_status=$?
22909 grep -v '^ *+' conftest.er1 >conftest.err
22910 rm -f conftest.er1
22911 cat conftest.err >&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22915 { (case "(($ac_try" in
22916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22917 *) ac_try_echo=$ac_try;;
22918 esac
22919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22920 (eval "$ac_try") 2>&5
22921 ac_status=$?
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); }; } &&
22924 { ac_try='test -s conftest.$ac_objext'
22925 { (case "(($ac_try" in
22926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22927 *) ac_try_echo=$ac_try;;
22928 esac
22929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22930 (eval "$ac_try") 2>&5
22931 ac_status=$?
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); }; }; then
22934 ac_hi=$ac_mid; break
22935 else
22936 echo "$as_me: failed program was:" >&5
22937 sed 's/^/| /' conftest.$ac_ext >&5
22938
22939 ac_lo=`expr $ac_mid + 1`
22940 if test $ac_lo -le $ac_mid; then
22941 ac_lo= ac_hi=
22942 break
22943 fi
22944 ac_mid=`expr 2 '*' $ac_mid + 1`
22945 fi
22946
22947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22948 done
22949 else
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.$ac_ext >&5
22952
22953 cat >conftest.$ac_ext <<_ACEOF
22954 /* confdefs.h. */
22955 _ACEOF
22956 cat confdefs.h >>conftest.$ac_ext
22957 cat >>conftest.$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22959 $ac_includes_default
22960 typedef long long ac__type_sizeof_;
22961 int
22962 main ()
22963 {
22964 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22965 test_array [0] = 0
22966
22967 ;
22968 return 0;
22969 }
22970 _ACEOF
22971 rm -f conftest.$ac_objext
22972 if { (ac_try="$ac_compile"
22973 case "(($ac_try" in
22974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22975 *) ac_try_echo=$ac_try;;
22976 esac
22977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22978 (eval "$ac_compile") 2>conftest.er1
22979 ac_status=$?
22980 grep -v '^ *+' conftest.er1 >conftest.err
22981 rm -f conftest.er1
22982 cat conftest.err >&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22986 { (case "(($ac_try" in
22987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22988 *) ac_try_echo=$ac_try;;
22989 esac
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_try") 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try='test -s conftest.$ac_objext'
22996 { (case "(($ac_try" in
22997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22998 *) ac_try_echo=$ac_try;;
22999 esac
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_try") 2>&5
23002 ac_status=$?
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 ac_hi=-1 ac_mid=-1
23006 while :; do
23007 cat >conftest.$ac_ext <<_ACEOF
23008 /* confdefs.h. */
23009 _ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 $ac_includes_default
23014 typedef long long ac__type_sizeof_;
23015 int
23016 main ()
23017 {
23018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23019 test_array [0] = 0
23020
23021 ;
23022 return 0;
23023 }
23024 _ACEOF
23025 rm -f conftest.$ac_objext
23026 if { (ac_try="$ac_compile"
23027 case "(($ac_try" in
23028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23029 *) ac_try_echo=$ac_try;;
23030 esac
23031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23032 (eval "$ac_compile") 2>conftest.er1
23033 ac_status=$?
23034 grep -v '^ *+' conftest.er1 >conftest.err
23035 rm -f conftest.er1
23036 cat conftest.err >&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } &&
23039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23040 { (case "(($ac_try" in
23041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23042 *) ac_try_echo=$ac_try;;
23043 esac
23044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045 (eval "$ac_try") 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; } &&
23049 { ac_try='test -s conftest.$ac_objext'
23050 { (case "(($ac_try" in
23051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23052 *) ac_try_echo=$ac_try;;
23053 esac
23054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23055 (eval "$ac_try") 2>&5
23056 ac_status=$?
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); }; }; then
23059 ac_lo=$ac_mid; break
23060 else
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.$ac_ext >&5
23063
23064 ac_hi=`expr '(' $ac_mid ')' - 1`
23065 if test $ac_mid -le $ac_hi; then
23066 ac_lo= ac_hi=
23067 break
23068 fi
23069 ac_mid=`expr 2 '*' $ac_mid`
23070 fi
23071
23072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23073 done
23074 else
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ac_lo= ac_hi=
23079 fi
23080
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 fi
23083
23084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23085 # Binary search between lo and hi bounds.
23086 while test "x$ac_lo" != "x$ac_hi"; do
23087 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23088 cat >conftest.$ac_ext <<_ACEOF
23089 /* confdefs.h. */
23090 _ACEOF
23091 cat confdefs.h >>conftest.$ac_ext
23092 cat >>conftest.$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 typedef long long ac__type_sizeof_;
23096 int
23097 main ()
23098 {
23099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23100 test_array [0] = 0
23101
23102 ;
23103 return 0;
23104 }
23105 _ACEOF
23106 rm -f conftest.$ac_objext
23107 if { (ac_try="$ac_compile"
23108 case "(($ac_try" in
23109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23110 *) ac_try_echo=$ac_try;;
23111 esac
23112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23113 (eval "$ac_compile") 2>conftest.er1
23114 ac_status=$?
23115 grep -v '^ *+' conftest.er1 >conftest.err
23116 rm -f conftest.er1
23117 cat conftest.err >&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } &&
23120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23121 { (case "(($ac_try" in
23122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23123 *) ac_try_echo=$ac_try;;
23124 esac
23125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23126 (eval "$ac_try") 2>&5
23127 ac_status=$?
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; } &&
23130 { ac_try='test -s conftest.$ac_objext'
23131 { (case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23134 esac
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_try") 2>&5
23137 ac_status=$?
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; }; then
23140 ac_hi=$ac_mid
23141 else
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145 ac_lo=`expr '(' $ac_mid ')' + 1`
23146 fi
23147
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 done
23150 case $ac_lo in
23151 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23152 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23153 See \`config.log' for more details." >&5
23154 echo "$as_me: error: cannot compute sizeof (long long)
23155 See \`config.log' for more details." >&2;}
23156 { (exit 77); exit 77; }; } ;;
23157 esac
23158 else
23159 cat >conftest.$ac_ext <<_ACEOF
23160 /* confdefs.h. */
23161 _ACEOF
23162 cat confdefs.h >>conftest.$ac_ext
23163 cat >>conftest.$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23165 $ac_includes_default
23166 typedef long long ac__type_sizeof_;
23167 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23168 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23169 #include <stdio.h>
23170 #include <stdlib.h>
23171 int
23172 main ()
23173 {
23174
23175 FILE *f = fopen ("conftest.val", "w");
23176 if (! f)
23177 return 1;
23178 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23179 {
23180 long int i = longval ();
23181 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23182 return 1;
23183 fprintf (f, "%ld\n", i);
23184 }
23185 else
23186 {
23187 unsigned long int i = ulongval ();
23188 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23189 return 1;
23190 fprintf (f, "%lu\n", i);
23191 }
23192 return ferror (f) || fclose (f) != 0;
23193
23194 ;
23195 return 0;
23196 }
23197 _ACEOF
23198 rm -f conftest$ac_exeext
23199 if { (ac_try="$ac_link"
23200 case "(($ac_try" in
23201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23202 *) ac_try_echo=$ac_try;;
23203 esac
23204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23205 (eval "$ac_link") 2>&5
23206 ac_status=$?
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23209 { (case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23212 esac
23213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_try") 2>&5
23215 ac_status=$?
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 ac_cv_sizeof_long_long=`cat conftest.val`
23219 else
23220 echo "$as_me: program exited with status $ac_status" >&5
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23223
23224 ( exit $ac_status )
23225 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23226 See \`config.log' for more details." >&5
23227 echo "$as_me: error: cannot compute sizeof (long long)
23228 See \`config.log' for more details." >&2;}
23229 { (exit 77); exit 77; }; }
23230 fi
23231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23232 fi
23233 rm -f conftest.val
23234 else
23235 ac_cv_sizeof_long_long=0
23236 fi
23237 fi
23238 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23239 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23240 cat >>confdefs.h <<_ACEOF
23241 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23242 _ACEOF
23243
23244
23245 if test "$ac_cv_sizeof_long_long" != "0"; then
23246 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23247 fi
23248 ;;
23249 * )
23250 { echo "$as_me:$LINENO: checking for long long" >&5
23251 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23252 if test "${ac_cv_type_long_long+set}" = set; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23254 else
23255 cat >conftest.$ac_ext <<_ACEOF
23256 /* confdefs.h. */
23257 _ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 $ac_includes_default
23262 typedef long long ac__type_new_;
23263 int
23264 main ()
23265 {
23266 if ((ac__type_new_ *) 0)
23267 return 0;
23268 if (sizeof (ac__type_new_))
23269 return 0;
23270 ;
23271 return 0;
23272 }
23273 _ACEOF
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23279 esac
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23282 ac_status=$?
23283 grep -v '^ *+' conftest.er1 >conftest.err
23284 rm -f conftest.er1
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23289 { (case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23292 esac
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_try") 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; } &&
23298 { ac_try='test -s conftest.$ac_objext'
23299 { (case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23302 esac
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_try") 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; }; then
23308 ac_cv_type_long_long=yes
23309 else
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23312
23313 ac_cv_type_long_long=no
23314 fi
23315
23316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23317 fi
23318 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23319 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23320
23321 { echo "$as_me:$LINENO: checking size of long long" >&5
23322 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23323 if test "${ac_cv_sizeof_long_long+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 else
23326 if test "$ac_cv_type_long_long" = yes; then
23327 # The cast to long int works around a bug in the HP C Compiler
23328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23330 # This bug is HP SR number 8606223364.
23331 if test "$cross_compiling" = yes; then
23332 # Depending upon the size, compute the lo and hi bounds.
23333 cat >conftest.$ac_ext <<_ACEOF
23334 /* confdefs.h. */
23335 _ACEOF
23336 cat confdefs.h >>conftest.$ac_ext
23337 cat >>conftest.$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 typedef long long ac__type_sizeof_;
23341 int
23342 main ()
23343 {
23344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23345 test_array [0] = 0
23346
23347 ;
23348 return 0;
23349 }
23350 _ACEOF
23351 rm -f conftest.$ac_objext
23352 if { (ac_try="$ac_compile"
23353 case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23356 esac
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_compile") 2>conftest.er1
23359 ac_status=$?
23360 grep -v '^ *+' conftest.er1 >conftest.err
23361 rm -f conftest.er1
23362 cat conftest.err >&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } &&
23365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23366 { (case "(($ac_try" in
23367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23368 *) ac_try_echo=$ac_try;;
23369 esac
23370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23371 (eval "$ac_try") 2>&5
23372 ac_status=$?
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); }; } &&
23375 { ac_try='test -s conftest.$ac_objext'
23376 { (case "(($ac_try" in
23377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23378 *) ac_try_echo=$ac_try;;
23379 esac
23380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23381 (eval "$ac_try") 2>&5
23382 ac_status=$?
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); }; }; then
23385 ac_lo=0 ac_mid=0
23386 while :; do
23387 cat >conftest.$ac_ext <<_ACEOF
23388 /* confdefs.h. */
23389 _ACEOF
23390 cat confdefs.h >>conftest.$ac_ext
23391 cat >>conftest.$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef long long ac__type_sizeof_;
23395 int
23396 main ()
23397 {
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23399 test_array [0] = 0
23400
23401 ;
23402 return 0;
23403 }
23404 _ACEOF
23405 rm -f conftest.$ac_objext
23406 if { (ac_try="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23410 esac
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23413 ac_status=$?
23414 grep -v '^ *+' conftest.er1 >conftest.err
23415 rm -f conftest.er1
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } &&
23419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23420 { (case "(($ac_try" in
23421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23422 *) ac_try_echo=$ac_try;;
23423 esac
23424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23425 (eval "$ac_try") 2>&5
23426 ac_status=$?
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; } &&
23429 { ac_try='test -s conftest.$ac_objext'
23430 { (case "(($ac_try" in
23431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23432 *) ac_try_echo=$ac_try;;
23433 esac
23434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23435 (eval "$ac_try") 2>&5
23436 ac_status=$?
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 ac_hi=$ac_mid; break
23440 else
23441 echo "$as_me: failed program was:" >&5
23442 sed 's/^/| /' conftest.$ac_ext >&5
23443
23444 ac_lo=`expr $ac_mid + 1`
23445 if test $ac_lo -le $ac_mid; then
23446 ac_lo= ac_hi=
23447 break
23448 fi
23449 ac_mid=`expr 2 '*' $ac_mid + 1`
23450 fi
23451
23452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23453 done
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 cat >conftest.$ac_ext <<_ACEOF
23459 /* confdefs.h. */
23460 _ACEOF
23461 cat confdefs.h >>conftest.$ac_ext
23462 cat >>conftest.$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 $ac_includes_default
23465 typedef long long ac__type_sizeof_;
23466 int
23467 main ()
23468 {
23469 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23470 test_array [0] = 0
23471
23472 ;
23473 return 0;
23474 }
23475 _ACEOF
23476 rm -f conftest.$ac_objext
23477 if { (ac_try="$ac_compile"
23478 case "(($ac_try" in
23479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23481 esac
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_compile") 2>conftest.er1
23484 ac_status=$?
23485 grep -v '^ *+' conftest.er1 >conftest.err
23486 rm -f conftest.er1
23487 cat conftest.err >&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); } &&
23490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23491 { (case "(($ac_try" in
23492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23493 *) ac_try_echo=$ac_try;;
23494 esac
23495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23496 (eval "$ac_try") 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; } &&
23500 { ac_try='test -s conftest.$ac_objext'
23501 { (case "(($ac_try" in
23502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23503 *) ac_try_echo=$ac_try;;
23504 esac
23505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23506 (eval "$ac_try") 2>&5
23507 ac_status=$?
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; }; then
23510 ac_hi=-1 ac_mid=-1
23511 while :; do
23512 cat >conftest.$ac_ext <<_ACEOF
23513 /* confdefs.h. */
23514 _ACEOF
23515 cat confdefs.h >>conftest.$ac_ext
23516 cat >>conftest.$ac_ext <<_ACEOF
23517 /* end confdefs.h. */
23518 $ac_includes_default
23519 typedef long long ac__type_sizeof_;
23520 int
23521 main ()
23522 {
23523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23524 test_array [0] = 0
23525
23526 ;
23527 return 0;
23528 }
23529 _ACEOF
23530 rm -f conftest.$ac_objext
23531 if { (ac_try="$ac_compile"
23532 case "(($ac_try" in
23533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23534 *) ac_try_echo=$ac_try;;
23535 esac
23536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23537 (eval "$ac_compile") 2>conftest.er1
23538 ac_status=$?
23539 grep -v '^ *+' conftest.er1 >conftest.err
23540 rm -f conftest.er1
23541 cat conftest.err >&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23545 { (case "(($ac_try" in
23546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23548 esac
23549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23550 (eval "$ac_try") 2>&5
23551 ac_status=$?
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; } &&
23554 { ac_try='test -s conftest.$ac_objext'
23555 { (case "(($ac_try" in
23556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23557 *) ac_try_echo=$ac_try;;
23558 esac
23559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23560 (eval "$ac_try") 2>&5
23561 ac_status=$?
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; }; then
23564 ac_lo=$ac_mid; break
23565 else
23566 echo "$as_me: failed program was:" >&5
23567 sed 's/^/| /' conftest.$ac_ext >&5
23568
23569 ac_hi=`expr '(' $ac_mid ')' - 1`
23570 if test $ac_mid -le $ac_hi; then
23571 ac_lo= ac_hi=
23572 break
23573 fi
23574 ac_mid=`expr 2 '*' $ac_mid`
23575 fi
23576
23577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23578 done
23579 else
23580 echo "$as_me: failed program was:" >&5
23581 sed 's/^/| /' conftest.$ac_ext >&5
23582
23583 ac_lo= ac_hi=
23584 fi
23585
23586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23587 fi
23588
23589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23590 # Binary search between lo and hi bounds.
23591 while test "x$ac_lo" != "x$ac_hi"; do
23592 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23593 cat >conftest.$ac_ext <<_ACEOF
23594 /* confdefs.h. */
23595 _ACEOF
23596 cat confdefs.h >>conftest.$ac_ext
23597 cat >>conftest.$ac_ext <<_ACEOF
23598 /* end confdefs.h. */
23599 $ac_includes_default
23600 typedef long long ac__type_sizeof_;
23601 int
23602 main ()
23603 {
23604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23605 test_array [0] = 0
23606
23607 ;
23608 return 0;
23609 }
23610 _ACEOF
23611 rm -f conftest.$ac_objext
23612 if { (ac_try="$ac_compile"
23613 case "(($ac_try" in
23614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23615 *) ac_try_echo=$ac_try;;
23616 esac
23617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23618 (eval "$ac_compile") 2>conftest.er1
23619 ac_status=$?
23620 grep -v '^ *+' conftest.er1 >conftest.err
23621 rm -f conftest.er1
23622 cat conftest.err >&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } &&
23625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23626 { (case "(($ac_try" in
23627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23628 *) ac_try_echo=$ac_try;;
23629 esac
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_try") 2>&5
23632 ac_status=$?
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try='test -s conftest.$ac_objext'
23636 { (case "(($ac_try" in
23637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23638 *) ac_try_echo=$ac_try;;
23639 esac
23640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23641 (eval "$ac_try") 2>&5
23642 ac_status=$?
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; }; then
23645 ac_hi=$ac_mid
23646 else
23647 echo "$as_me: failed program was:" >&5
23648 sed 's/^/| /' conftest.$ac_ext >&5
23649
23650 ac_lo=`expr '(' $ac_mid ')' + 1`
23651 fi
23652
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 done
23655 case $ac_lo in
23656 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23657 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23658 See \`config.log' for more details." >&5
23659 echo "$as_me: error: cannot compute sizeof (long long)
23660 See \`config.log' for more details." >&2;}
23661 { (exit 77); exit 77; }; } ;;
23662 esac
23663 else
23664 cat >conftest.$ac_ext <<_ACEOF
23665 /* confdefs.h. */
23666 _ACEOF
23667 cat confdefs.h >>conftest.$ac_ext
23668 cat >>conftest.$ac_ext <<_ACEOF
23669 /* end confdefs.h. */
23670 $ac_includes_default
23671 typedef long long ac__type_sizeof_;
23672 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23673 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23674 #include <stdio.h>
23675 #include <stdlib.h>
23676 int
23677 main ()
23678 {
23679
23680 FILE *f = fopen ("conftest.val", "w");
23681 if (! f)
23682 return 1;
23683 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23684 {
23685 long int i = longval ();
23686 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23687 return 1;
23688 fprintf (f, "%ld\n", i);
23689 }
23690 else
23691 {
23692 unsigned long int i = ulongval ();
23693 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23694 return 1;
23695 fprintf (f, "%lu\n", i);
23696 }
23697 return ferror (f) || fclose (f) != 0;
23698
23699 ;
23700 return 0;
23701 }
23702 _ACEOF
23703 rm -f conftest$ac_exeext
23704 if { (ac_try="$ac_link"
23705 case "(($ac_try" in
23706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23707 *) ac_try_echo=$ac_try;;
23708 esac
23709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23710 (eval "$ac_link") 2>&5
23711 ac_status=$?
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23714 { (case "(($ac_try" in
23715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23716 *) ac_try_echo=$ac_try;;
23717 esac
23718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23719 (eval "$ac_try") 2>&5
23720 ac_status=$?
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); }; }; then
23723 ac_cv_sizeof_long_long=`cat conftest.val`
23724 else
23725 echo "$as_me: program exited with status $ac_status" >&5
23726 echo "$as_me: failed program was:" >&5
23727 sed 's/^/| /' conftest.$ac_ext >&5
23728
23729 ( exit $ac_status )
23730 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23731 See \`config.log' for more details." >&5
23732 echo "$as_me: error: cannot compute sizeof (long long)
23733 See \`config.log' for more details." >&2;}
23734 { (exit 77); exit 77; }; }
23735 fi
23736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23737 fi
23738 rm -f conftest.val
23739 else
23740 ac_cv_sizeof_long_long=0
23741 fi
23742 fi
23743 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23744 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23745 cat >>confdefs.h <<_ACEOF
23746 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23747 _ACEOF
23748
23749
23750 esac
23751
23752 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23753 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23754 if test "${ac_cv_type_wchar_t+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 else
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763
23764 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23765 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23766 # error "fake wchar_t"
23767 #endif
23768 #ifdef HAVE_WCHAR_H
23769 # ifdef __CYGWIN__
23770 # include <stddef.h>
23771 # endif
23772 # include <wchar.h>
23773 #endif
23774 #ifdef HAVE_STDLIB_H
23775 # include <stdlib.h>
23776 #endif
23777 #include <stdio.h>
23778
23779
23780
23781 typedef wchar_t ac__type_new_;
23782 int
23783 main ()
23784 {
23785 if ((ac__type_new_ *) 0)
23786 return 0;
23787 if (sizeof (ac__type_new_))
23788 return 0;
23789 ;
23790 return 0;
23791 }
23792 _ACEOF
23793 rm -f conftest.$ac_objext
23794 if { (ac_try="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23798 esac
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_compile") 2>conftest.er1
23801 ac_status=$?
23802 grep -v '^ *+' conftest.er1 >conftest.err
23803 rm -f conftest.er1
23804 cat conftest.err >&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } &&
23807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23808 { (case "(($ac_try" in
23809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23810 *) ac_try_echo=$ac_try;;
23811 esac
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_try") 2>&5
23814 ac_status=$?
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); }; } &&
23817 { ac_try='test -s conftest.$ac_objext'
23818 { (case "(($ac_try" in
23819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23820 *) ac_try_echo=$ac_try;;
23821 esac
23822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23823 (eval "$ac_try") 2>&5
23824 ac_status=$?
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; }; then
23827 ac_cv_type_wchar_t=yes
23828 else
23829 echo "$as_me: failed program was:" >&5
23830 sed 's/^/| /' conftest.$ac_ext >&5
23831
23832 ac_cv_type_wchar_t=no
23833 fi
23834
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23836 fi
23837 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23838 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23839
23840 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23841 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23842 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 else
23845 if test "$ac_cv_type_wchar_t" = yes; then
23846 # The cast to long int works around a bug in the HP C Compiler
23847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23849 # This bug is HP SR number 8606223364.
23850 if test "$cross_compiling" = yes; then
23851 # Depending upon the size, compute the lo and hi bounds.
23852 cat >conftest.$ac_ext <<_ACEOF
23853 /* confdefs.h. */
23854 _ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858
23859 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23860 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23861 # error "fake wchar_t"
23862 #endif
23863 #ifdef HAVE_WCHAR_H
23864 # ifdef __CYGWIN__
23865 # include <stddef.h>
23866 # endif
23867 # include <wchar.h>
23868 #endif
23869 #ifdef HAVE_STDLIB_H
23870 # include <stdlib.h>
23871 #endif
23872 #include <stdio.h>
23873
23874
23875
23876 typedef wchar_t ac__type_sizeof_;
23877 int
23878 main ()
23879 {
23880 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23881 test_array [0] = 0
23882
23883 ;
23884 return 0;
23885 }
23886 _ACEOF
23887 rm -f conftest.$ac_objext
23888 if { (ac_try="$ac_compile"
23889 case "(($ac_try" in
23890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23891 *) ac_try_echo=$ac_try;;
23892 esac
23893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23894 (eval "$ac_compile") 2>conftest.er1
23895 ac_status=$?
23896 grep -v '^ *+' conftest.er1 >conftest.err
23897 rm -f conftest.er1
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23902 { (case "(($ac_try" in
23903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23904 *) ac_try_echo=$ac_try;;
23905 esac
23906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23907 (eval "$ac_try") 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; } &&
23911 { ac_try='test -s conftest.$ac_objext'
23912 { (case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23915 esac
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_try") 2>&5
23918 ac_status=$?
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); }; }; then
23921 ac_lo=0 ac_mid=0
23922 while :; do
23923 cat >conftest.$ac_ext <<_ACEOF
23924 /* confdefs.h. */
23925 _ACEOF
23926 cat confdefs.h >>conftest.$ac_ext
23927 cat >>conftest.$ac_ext <<_ACEOF
23928 /* end confdefs.h. */
23929
23930 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23931 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23932 # error "fake wchar_t"
23933 #endif
23934 #ifdef HAVE_WCHAR_H
23935 # ifdef __CYGWIN__
23936 # include <stddef.h>
23937 # endif
23938 # include <wchar.h>
23939 #endif
23940 #ifdef HAVE_STDLIB_H
23941 # include <stdlib.h>
23942 #endif
23943 #include <stdio.h>
23944
23945
23946
23947 typedef wchar_t ac__type_sizeof_;
23948 int
23949 main ()
23950 {
23951 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23952 test_array [0] = 0
23953
23954 ;
23955 return 0;
23956 }
23957 _ACEOF
23958 rm -f conftest.$ac_objext
23959 if { (ac_try="$ac_compile"
23960 case "(($ac_try" in
23961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23962 *) ac_try_echo=$ac_try;;
23963 esac
23964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23965 (eval "$ac_compile") 2>conftest.er1
23966 ac_status=$?
23967 grep -v '^ *+' conftest.er1 >conftest.err
23968 rm -f conftest.er1
23969 cat conftest.err >&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); } &&
23972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23973 { (case "(($ac_try" in
23974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23975 *) ac_try_echo=$ac_try;;
23976 esac
23977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23978 (eval "$ac_try") 2>&5
23979 ac_status=$?
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; } &&
23982 { ac_try='test -s conftest.$ac_objext'
23983 { (case "(($ac_try" in
23984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23985 *) ac_try_echo=$ac_try;;
23986 esac
23987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23988 (eval "$ac_try") 2>&5
23989 ac_status=$?
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; }; then
23992 ac_hi=$ac_mid; break
23993 else
23994 echo "$as_me: failed program was:" >&5
23995 sed 's/^/| /' conftest.$ac_ext >&5
23996
23997 ac_lo=`expr $ac_mid + 1`
23998 if test $ac_lo -le $ac_mid; then
23999 ac_lo= ac_hi=
24000 break
24001 fi
24002 ac_mid=`expr 2 '*' $ac_mid + 1`
24003 fi
24004
24005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24006 done
24007 else
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.$ac_ext >&5
24010
24011 cat >conftest.$ac_ext <<_ACEOF
24012 /* confdefs.h. */
24013 _ACEOF
24014 cat confdefs.h >>conftest.$ac_ext
24015 cat >>conftest.$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24017
24018 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24019 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24020 # error "fake wchar_t"
24021 #endif
24022 #ifdef HAVE_WCHAR_H
24023 # ifdef __CYGWIN__
24024 # include <stddef.h>
24025 # endif
24026 # include <wchar.h>
24027 #endif
24028 #ifdef HAVE_STDLIB_H
24029 # include <stdlib.h>
24030 #endif
24031 #include <stdio.h>
24032
24033
24034
24035 typedef wchar_t ac__type_sizeof_;
24036 int
24037 main ()
24038 {
24039 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24040 test_array [0] = 0
24041
24042 ;
24043 return 0;
24044 }
24045 _ACEOF
24046 rm -f conftest.$ac_objext
24047 if { (ac_try="$ac_compile"
24048 case "(($ac_try" in
24049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24050 *) ac_try_echo=$ac_try;;
24051 esac
24052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24053 (eval "$ac_compile") 2>conftest.er1
24054 ac_status=$?
24055 grep -v '^ *+' conftest.er1 >conftest.err
24056 rm -f conftest.er1
24057 cat conftest.err >&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } &&
24060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24061 { (case "(($ac_try" in
24062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24063 *) ac_try_echo=$ac_try;;
24064 esac
24065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24066 (eval "$ac_try") 2>&5
24067 ac_status=$?
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); }; } &&
24070 { ac_try='test -s conftest.$ac_objext'
24071 { (case "(($ac_try" in
24072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24073 *) ac_try_echo=$ac_try;;
24074 esac
24075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24076 (eval "$ac_try") 2>&5
24077 ac_status=$?
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; }; then
24080 ac_hi=-1 ac_mid=-1
24081 while :; do
24082 cat >conftest.$ac_ext <<_ACEOF
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088
24089 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24090 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24091 # error "fake wchar_t"
24092 #endif
24093 #ifdef HAVE_WCHAR_H
24094 # ifdef __CYGWIN__
24095 # include <stddef.h>
24096 # endif
24097 # include <wchar.h>
24098 #endif
24099 #ifdef HAVE_STDLIB_H
24100 # include <stdlib.h>
24101 #endif
24102 #include <stdio.h>
24103
24104
24105
24106 typedef wchar_t ac__type_sizeof_;
24107 int
24108 main ()
24109 {
24110 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24111 test_array [0] = 0
24112
24113 ;
24114 return 0;
24115 }
24116 _ACEOF
24117 rm -f conftest.$ac_objext
24118 if { (ac_try="$ac_compile"
24119 case "(($ac_try" in
24120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24121 *) ac_try_echo=$ac_try;;
24122 esac
24123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24124 (eval "$ac_compile") 2>conftest.er1
24125 ac_status=$?
24126 grep -v '^ *+' conftest.er1 >conftest.err
24127 rm -f conftest.er1
24128 cat conftest.err >&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } &&
24131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24132 { (case "(($ac_try" in
24133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24134 *) ac_try_echo=$ac_try;;
24135 esac
24136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24137 (eval "$ac_try") 2>&5
24138 ac_status=$?
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); }; } &&
24141 { ac_try='test -s conftest.$ac_objext'
24142 { (case "(($ac_try" in
24143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24144 *) ac_try_echo=$ac_try;;
24145 esac
24146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24147 (eval "$ac_try") 2>&5
24148 ac_status=$?
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); }; }; then
24151 ac_lo=$ac_mid; break
24152 else
24153 echo "$as_me: failed program was:" >&5
24154 sed 's/^/| /' conftest.$ac_ext >&5
24155
24156 ac_hi=`expr '(' $ac_mid ')' - 1`
24157 if test $ac_mid -le $ac_hi; then
24158 ac_lo= ac_hi=
24159 break
24160 fi
24161 ac_mid=`expr 2 '*' $ac_mid`
24162 fi
24163
24164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24165 done
24166 else
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.$ac_ext >&5
24169
24170 ac_lo= ac_hi=
24171 fi
24172
24173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174 fi
24175
24176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24177 # Binary search between lo and hi bounds.
24178 while test "x$ac_lo" != "x$ac_hi"; do
24179 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24180 cat >conftest.$ac_ext <<_ACEOF
24181 /* confdefs.h. */
24182 _ACEOF
24183 cat confdefs.h >>conftest.$ac_ext
24184 cat >>conftest.$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24186
24187 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24188 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24189 # error "fake wchar_t"
24190 #endif
24191 #ifdef HAVE_WCHAR_H
24192 # ifdef __CYGWIN__
24193 # include <stddef.h>
24194 # endif
24195 # include <wchar.h>
24196 #endif
24197 #ifdef HAVE_STDLIB_H
24198 # include <stdlib.h>
24199 #endif
24200 #include <stdio.h>
24201
24202
24203
24204 typedef wchar_t ac__type_sizeof_;
24205 int
24206 main ()
24207 {
24208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24209 test_array [0] = 0
24210
24211 ;
24212 return 0;
24213 }
24214 _ACEOF
24215 rm -f conftest.$ac_objext
24216 if { (ac_try="$ac_compile"
24217 case "(($ac_try" in
24218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24219 *) ac_try_echo=$ac_try;;
24220 esac
24221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24222 (eval "$ac_compile") 2>conftest.er1
24223 ac_status=$?
24224 grep -v '^ *+' conftest.er1 >conftest.err
24225 rm -f conftest.er1
24226 cat conftest.err >&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); } &&
24229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24230 { (case "(($ac_try" in
24231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24232 *) ac_try_echo=$ac_try;;
24233 esac
24234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24235 (eval "$ac_try") 2>&5
24236 ac_status=$?
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; } &&
24239 { ac_try='test -s conftest.$ac_objext'
24240 { (case "(($ac_try" in
24241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24242 *) ac_try_echo=$ac_try;;
24243 esac
24244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24245 (eval "$ac_try") 2>&5
24246 ac_status=$?
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; }; then
24249 ac_hi=$ac_mid
24250 else
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.$ac_ext >&5
24253
24254 ac_lo=`expr '(' $ac_mid ')' + 1`
24255 fi
24256
24257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24258 done
24259 case $ac_lo in
24260 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24261 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24262 See \`config.log' for more details." >&5
24263 echo "$as_me: error: cannot compute sizeof (wchar_t)
24264 See \`config.log' for more details." >&2;}
24265 { (exit 77); exit 77; }; } ;;
24266 esac
24267 else
24268 cat >conftest.$ac_ext <<_ACEOF
24269 /* confdefs.h. */
24270 _ACEOF
24271 cat confdefs.h >>conftest.$ac_ext
24272 cat >>conftest.$ac_ext <<_ACEOF
24273 /* end confdefs.h. */
24274
24275 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24276 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24277 # error "fake wchar_t"
24278 #endif
24279 #ifdef HAVE_WCHAR_H
24280 # ifdef __CYGWIN__
24281 # include <stddef.h>
24282 # endif
24283 # include <wchar.h>
24284 #endif
24285 #ifdef HAVE_STDLIB_H
24286 # include <stdlib.h>
24287 #endif
24288 #include <stdio.h>
24289
24290
24291
24292 typedef wchar_t ac__type_sizeof_;
24293 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24294 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24295 #include <stdio.h>
24296 #include <stdlib.h>
24297 int
24298 main ()
24299 {
24300
24301 FILE *f = fopen ("conftest.val", "w");
24302 if (! f)
24303 return 1;
24304 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24305 {
24306 long int i = longval ();
24307 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24308 return 1;
24309 fprintf (f, "%ld\n", i);
24310 }
24311 else
24312 {
24313 unsigned long int i = ulongval ();
24314 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24315 return 1;
24316 fprintf (f, "%lu\n", i);
24317 }
24318 return ferror (f) || fclose (f) != 0;
24319
24320 ;
24321 return 0;
24322 }
24323 _ACEOF
24324 rm -f conftest$ac_exeext
24325 if { (ac_try="$ac_link"
24326 case "(($ac_try" in
24327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328 *) ac_try_echo=$ac_try;;
24329 esac
24330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331 (eval "$ac_link") 2>&5
24332 ac_status=$?
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24335 { (case "(($ac_try" in
24336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24337 *) ac_try_echo=$ac_try;;
24338 esac
24339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24340 (eval "$ac_try") 2>&5
24341 ac_status=$?
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); }; }; then
24344 ac_cv_sizeof_wchar_t=`cat conftest.val`
24345 else
24346 echo "$as_me: program exited with status $ac_status" >&5
24347 echo "$as_me: failed program was:" >&5
24348 sed 's/^/| /' conftest.$ac_ext >&5
24349
24350 ( exit $ac_status )
24351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24352 See \`config.log' for more details." >&5
24353 echo "$as_me: error: cannot compute sizeof (wchar_t)
24354 See \`config.log' for more details." >&2;}
24355 { (exit 77); exit 77; }; }
24356 fi
24357 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24358 fi
24359 rm -f conftest.val
24360 else
24361 ac_cv_sizeof_wchar_t=0
24362 fi
24363 fi
24364 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24365 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24366 cat >>confdefs.h <<_ACEOF
24367 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24368 _ACEOF
24369
24370
24371 if test "$ac_cv_sizeof_wchar_t" != "0"; then
24372 wxUSE_WCHAR_T=yes
24373 else
24374 wxUSE_WCHAR_T=no
24375 fi
24376
24377 { echo "$as_me:$LINENO: checking for va_copy" >&5
24378 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24379 if test "${wx_cv_func_va_copy+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24381 else
24382
24383 cat >conftest.$ac_ext <<_ACEOF
24384
24385 #include <stdarg.h>
24386 void foo(char *f, ...)
24387 {
24388 va_list ap1, ap2;
24389 va_start(ap1, f);
24390 va_copy(ap2, ap1);
24391 va_end(ap2);
24392 va_end(ap1);
24393 }
24394 int main()
24395 {
24396 foo("hi", 17);
24397 return 0;
24398 }
24399 _ACEOF
24400 rm -f conftest.$ac_objext conftest$ac_exeext
24401 if { (ac_try="$ac_link"
24402 case "(($ac_try" in
24403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24404 *) ac_try_echo=$ac_try;;
24405 esac
24406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24407 (eval "$ac_link") 2>conftest.er1
24408 ac_status=$?
24409 grep -v '^ *+' conftest.er1 >conftest.err
24410 rm -f conftest.er1
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } &&
24414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24415 { (case "(($ac_try" in
24416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24417 *) ac_try_echo=$ac_try;;
24418 esac
24419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24420 (eval "$ac_try") 2>&5
24421 ac_status=$?
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; } &&
24424 { ac_try='test -s conftest$ac_exeext'
24425 { (case "(($ac_try" in
24426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24428 esac
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_try") 2>&5
24431 ac_status=$?
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; }; then
24434 wx_cv_func_va_copy=yes
24435 else
24436 echo "$as_me: failed program was:" >&5
24437 sed 's/^/| /' conftest.$ac_ext >&5
24438
24439 wx_cv_func_va_copy=no
24440
24441 fi
24442
24443 rm -f core conftest.err conftest.$ac_objext \
24444 conftest$ac_exeext conftest.$ac_ext
24445
24446
24447 fi
24448 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24449 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24450
24451 if test $wx_cv_func_va_copy = "yes"; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_VA_COPY 1
24454 _ACEOF
24455
24456 else
24457 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24458 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24459 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24461 else
24462
24463 if test "$cross_compiling" = yes; then
24464 wx_cv_type_va_list_lvalue=yes
24465
24466 else
24467 cat >conftest.$ac_ext <<_ACEOF
24468
24469 #include <stdarg.h>
24470 int foo(char *f, ...)
24471 {
24472 va_list ap1, ap2;
24473 va_start(ap1, f);
24474 ap2 = ap1;
24475 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24476 return 1;
24477 va_end(ap2);
24478 va_end(ap1);
24479 return 0;
24480 }
24481 int main()
24482 {
24483 return foo("hi", 17);
24484 }
24485 _ACEOF
24486 rm -f conftest$ac_exeext
24487 if { (ac_try="$ac_link"
24488 case "(($ac_try" in
24489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24491 esac
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_link") 2>&5
24494 ac_status=$?
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24497 { (case "(($ac_try" in
24498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24499 *) ac_try_echo=$ac_try;;
24500 esac
24501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24502 (eval "$ac_try") 2>&5
24503 ac_status=$?
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); }; }; then
24506 wx_cv_type_va_list_lvalue=yes
24507 else
24508 echo "$as_me: program exited with status $ac_status" >&5
24509 echo "$as_me: failed program was:" >&5
24510 sed 's/^/| /' conftest.$ac_ext >&5
24511
24512 ( exit $ac_status )
24513 wx_cv_type_va_list_lvalue=no
24514 fi
24515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24516 fi
24517
24518
24519
24520
24521 fi
24522 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24523 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24524
24525 if test $wx_cv_type_va_list_lvalue != "yes"; then
24526 cat >>confdefs.h <<\_ACEOF
24527 #define VA_LIST_IS_ARRAY 1
24528 _ACEOF
24529
24530 fi
24531 fi
24532
24533 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24534
24535 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24536 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24537 if test "${wx_cv_have_variadic_macros+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6
24539 else
24540
24541 ac_ext=cpp
24542 ac_cpp='$CXXCPP $CPPFLAGS'
24543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24546
24547 cat >conftest.$ac_ext <<_ACEOF
24548 /* confdefs.h. */
24549 _ACEOF
24550 cat confdefs.h >>conftest.$ac_ext
24551 cat >>conftest.$ac_ext <<_ACEOF
24552 /* end confdefs.h. */
24553
24554 #include <stdio.h>
24555 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24556
24557 int
24558 main ()
24559 {
24560
24561 test("%s %d %p", "test", 1, 0);
24562
24563
24564 ;
24565 return 0;
24566 }
24567 _ACEOF
24568 rm -f conftest.$ac_objext
24569 if { (ac_try="$ac_compile"
24570 case "(($ac_try" in
24571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24572 *) ac_try_echo=$ac_try;;
24573 esac
24574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24575 (eval "$ac_compile") 2>conftest.er1
24576 ac_status=$?
24577 grep -v '^ *+' conftest.er1 >conftest.err
24578 rm -f conftest.er1
24579 cat conftest.err >&5
24580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581 (exit $ac_status); } &&
24582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24583 { (case "(($ac_try" in
24584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24585 *) ac_try_echo=$ac_try;;
24586 esac
24587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24588 (eval "$ac_try") 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; } &&
24592 { ac_try='test -s conftest.$ac_objext'
24593 { (case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24596 esac
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_try") 2>&5
24599 ac_status=$?
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 wx_cv_have_variadic_macros=yes
24603 else
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24606
24607 wx_cv_have_variadic_macros=no
24608
24609 fi
24610
24611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24612 ac_ext=c
24613 ac_cpp='$CPP $CPPFLAGS'
24614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24617
24618
24619
24620 fi
24621 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24622 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24623
24624 if test $wx_cv_have_variadic_macros = "yes"; then
24625 cat >>confdefs.h <<\_ACEOF
24626 #define HAVE_VARIADIC_MACROS 1
24627 _ACEOF
24628
24629 fi
24630
24631 fi
24632 # Check whether --enable-largefile was given.
24633 if test "${enable_largefile+set}" = set; then
24634 enableval=$enable_largefile;
24635 fi
24636
24637 if test "$enable_largefile" != no; then
24638 wx_largefile=no
24639
24640 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24641 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24642 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24643 echo $ECHO_N "(cached) $ECHO_C" >&6
24644 else
24645
24646 cat >conftest.$ac_ext <<_ACEOF
24647 /* confdefs.h. */
24648 _ACEOF
24649 cat confdefs.h >>conftest.$ac_ext
24650 cat >>conftest.$ac_ext <<_ACEOF
24651 /* end confdefs.h. */
24652 #define _FILE_OFFSET_BITS 64
24653 #include <sys/types.h>
24654 int
24655 main ()
24656 {
24657 typedef struct {
24658 unsigned int field: sizeof(off_t) == 8;
24659 } wxlf;
24660
24661 ;
24662 return 0;
24663 }
24664 _ACEOF
24665 rm -f conftest.$ac_objext
24666 if { (ac_try="$ac_compile"
24667 case "(($ac_try" in
24668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24669 *) ac_try_echo=$ac_try;;
24670 esac
24671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24672 (eval "$ac_compile") 2>conftest.er1
24673 ac_status=$?
24674 grep -v '^ *+' conftest.er1 >conftest.err
24675 rm -f conftest.er1
24676 cat conftest.err >&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); } &&
24679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24680 { (case "(($ac_try" in
24681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24682 *) ac_try_echo=$ac_try;;
24683 esac
24684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24685 (eval "$ac_try") 2>&5
24686 ac_status=$?
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); }; } &&
24689 { ac_try='test -s conftest.$ac_objext'
24690 { (case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24693 esac
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_try") 2>&5
24696 ac_status=$?
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); }; }; then
24699 ac_cv_sys_file_offset_bits=64
24700 else
24701 echo "$as_me: failed program was:" >&5
24702 sed 's/^/| /' conftest.$ac_ext >&5
24703
24704 ac_cv_sys_file_offset_bits=no
24705 fi
24706
24707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24708
24709
24710 fi
24711 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24712 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24713
24714 if test "$ac_cv_sys_file_offset_bits" != no; then
24715 wx_largefile=yes
24716 cat >>confdefs.h <<_ACEOF
24717 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24718 _ACEOF
24719
24720 fi
24721
24722 if test "x$wx_largefile" != "xyes"; then
24723
24724 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24725 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24726 if test "${ac_cv_sys_large_files+set}" = set; then
24727 echo $ECHO_N "(cached) $ECHO_C" >&6
24728 else
24729
24730 cat >conftest.$ac_ext <<_ACEOF
24731 /* confdefs.h. */
24732 _ACEOF
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736 #define _LARGE_FILES 1
24737 #include <sys/types.h>
24738 int
24739 main ()
24740 {
24741 typedef struct {
24742 unsigned int field: sizeof(off_t) == 8;
24743 } wxlf;
24744
24745 ;
24746 return 0;
24747 }
24748 _ACEOF
24749 rm -f conftest.$ac_objext
24750 if { (ac_try="$ac_compile"
24751 case "(($ac_try" in
24752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24753 *) ac_try_echo=$ac_try;;
24754 esac
24755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24756 (eval "$ac_compile") 2>conftest.er1
24757 ac_status=$?
24758 grep -v '^ *+' conftest.er1 >conftest.err
24759 rm -f conftest.er1
24760 cat conftest.err >&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); } &&
24763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24764 { (case "(($ac_try" in
24765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24766 *) ac_try_echo=$ac_try;;
24767 esac
24768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24769 (eval "$ac_try") 2>&5
24770 ac_status=$?
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; } &&
24773 { ac_try='test -s conftest.$ac_objext'
24774 { (case "(($ac_try" in
24775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24776 *) ac_try_echo=$ac_try;;
24777 esac
24778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24779 (eval "$ac_try") 2>&5
24780 ac_status=$?
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); }; }; then
24783 ac_cv_sys_large_files=1
24784 else
24785 echo "$as_me: failed program was:" >&5
24786 sed 's/^/| /' conftest.$ac_ext >&5
24787
24788 ac_cv_sys_large_files=no
24789 fi
24790
24791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24792
24793
24794 fi
24795 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24796 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24797
24798 if test "$ac_cv_sys_large_files" != no; then
24799 wx_largefile=yes
24800 cat >>confdefs.h <<_ACEOF
24801 #define _LARGE_FILES $ac_cv_sys_large_files
24802 _ACEOF
24803
24804 fi
24805
24806 fi
24807
24808 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24809 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24810 if test "x$wx_largefile" = "xyes"; then
24811 cat >>confdefs.h <<\_ACEOF
24812 #define HAVE_LARGEFILE_SUPPORT 1
24813 _ACEOF
24814
24815 fi
24816 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24817 echo "${ECHO_T}$wx_largefile" >&6; }
24818 fi
24819
24820
24821 if test "x$wx_largefile" = "xyes"; then
24822 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24823 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24824
24825 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24826 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24827 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24828 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24829 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 else
24831
24832 ac_ext=cpp
24833 ac_cpp='$CXXCPP $CPPFLAGS'
24834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24837
24838 cat >conftest.$ac_ext <<_ACEOF
24839 /* confdefs.h. */
24840 _ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24844
24845 int
24846 main ()
24847 {
24848
24849 #ifndef __STDC_EXT__
24850 choke me
24851 #endif
24852
24853 ;
24854 return 0;
24855 }
24856 _ACEOF
24857 rm -f conftest.$ac_objext
24858 if { (ac_try="$ac_compile"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24862 esac
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_compile") 2>conftest.er1
24865 ac_status=$?
24866 grep -v '^ *+' conftest.er1 >conftest.err
24867 rm -f conftest.er1
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } &&
24871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24872 { (case "(($ac_try" in
24873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24874 *) ac_try_echo=$ac_try;;
24875 esac
24876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24877 (eval "$ac_try") 2>&5
24878 ac_status=$?
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); }; } &&
24881 { ac_try='test -s conftest.$ac_objext'
24882 { (case "(($ac_try" in
24883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24884 *) ac_try_echo=$ac_try;;
24885 esac
24886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24887 (eval "$ac_try") 2>&5
24888 ac_status=$?
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24891 wx_cv_STDC_EXT_required=no
24892 else
24893 echo "$as_me: failed program was:" >&5
24894 sed 's/^/| /' conftest.$ac_ext >&5
24895
24896 wx_cv_STDC_EXT_required=yes
24897
24898 fi
24899
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24901 ac_ext=c
24902 ac_cpp='$CPP $CPPFLAGS'
24903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24906
24907
24908
24909 fi
24910 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24911 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24912 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24913 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24914 fi
24915 fi
24916 else
24917 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24918 fi
24919 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24920 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24921 if test "${ac_cv_sys_largefile_source+set}" = set; then
24922 echo $ECHO_N "(cached) $ECHO_C" >&6
24923 else
24924 while :; do
24925 ac_cv_sys_largefile_source=no
24926 cat >conftest.$ac_ext <<_ACEOF
24927 /* confdefs.h. */
24928 _ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24932 #include <stdio.h>
24933 int
24934 main ()
24935 {
24936 return !fseeko;
24937 ;
24938 return 0;
24939 }
24940 _ACEOF
24941 rm -f conftest.$ac_objext
24942 if { (ac_try="$ac_compile"
24943 case "(($ac_try" in
24944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24945 *) ac_try_echo=$ac_try;;
24946 esac
24947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24948 (eval "$ac_compile") 2>conftest.er1
24949 ac_status=$?
24950 grep -v '^ *+' conftest.er1 >conftest.err
24951 rm -f conftest.er1
24952 cat conftest.err >&5
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); } &&
24955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24956 { (case "(($ac_try" in
24957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24958 *) ac_try_echo=$ac_try;;
24959 esac
24960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24961 (eval "$ac_try") 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try='test -s conftest.$ac_objext'
24966 { (case "(($ac_try" in
24967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24968 *) ac_try_echo=$ac_try;;
24969 esac
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24971 (eval "$ac_try") 2>&5
24972 ac_status=$?
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; }; then
24975 break
24976 else
24977 echo "$as_me: failed program was:" >&5
24978 sed 's/^/| /' conftest.$ac_ext >&5
24979
24980
24981 fi
24982
24983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24984 cat >conftest.$ac_ext <<_ACEOF
24985 /* confdefs.h. */
24986 _ACEOF
24987 cat confdefs.h >>conftest.$ac_ext
24988 cat >>conftest.$ac_ext <<_ACEOF
24989 /* end confdefs.h. */
24990 #define _LARGEFILE_SOURCE 1
24991 #include <stdio.h>
24992 int
24993 main ()
24994 {
24995 return !fseeko;
24996 ;
24997 return 0;
24998 }
24999 _ACEOF
25000 rm -f conftest.$ac_objext
25001 if { (ac_try="$ac_compile"
25002 case "(($ac_try" in
25003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25004 *) ac_try_echo=$ac_try;;
25005 esac
25006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25007 (eval "$ac_compile") 2>conftest.er1
25008 ac_status=$?
25009 grep -v '^ *+' conftest.er1 >conftest.err
25010 rm -f conftest.er1
25011 cat conftest.err >&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } &&
25014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25015 { (case "(($ac_try" in
25016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25018 esac
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_try") 2>&5
25021 ac_status=$?
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; } &&
25024 { ac_try='test -s conftest.$ac_objext'
25025 { (case "(($ac_try" in
25026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25027 *) ac_try_echo=$ac_try;;
25028 esac
25029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25030 (eval "$ac_try") 2>&5
25031 ac_status=$?
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); }; }; then
25034 ac_cv_sys_largefile_source=1; break
25035 else
25036 echo "$as_me: failed program was:" >&5
25037 sed 's/^/| /' conftest.$ac_ext >&5
25038
25039
25040 fi
25041
25042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25043 break
25044 done
25045 fi
25046 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25047 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25048 if test "$ac_cv_sys_largefile_source" != no; then
25049
25050 cat >>confdefs.h <<_ACEOF
25051 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25052 _ACEOF
25053
25054 fi
25055 rm -f conftest*
25056
25057 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25058 # in glibc 2.1.3, but that breaks too many other things.
25059 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25060 { echo "$as_me:$LINENO: checking for fseeko" >&5
25061 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
25062 if test "${ac_cv_func_fseeko+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25064 else
25065 cat >conftest.$ac_ext <<_ACEOF
25066 /* confdefs.h. */
25067 _ACEOF
25068 cat confdefs.h >>conftest.$ac_ext
25069 cat >>conftest.$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25071 #include <stdio.h>
25072 int
25073 main ()
25074 {
25075 return fseeko && fseeko (stdin, 0, 0);
25076 ;
25077 return 0;
25078 }
25079 _ACEOF
25080 rm -f conftest.$ac_objext conftest$ac_exeext
25081 if { (ac_try="$ac_link"
25082 case "(($ac_try" in
25083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25084 *) ac_try_echo=$ac_try;;
25085 esac
25086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25087 (eval "$ac_link") 2>conftest.er1
25088 ac_status=$?
25089 grep -v '^ *+' conftest.er1 >conftest.err
25090 rm -f conftest.er1
25091 cat conftest.err >&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } &&
25094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25095 { (case "(($ac_try" in
25096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25097 *) ac_try_echo=$ac_try;;
25098 esac
25099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25100 (eval "$ac_try") 2>&5
25101 ac_status=$?
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); }; } &&
25104 { ac_try='test -s conftest$ac_exeext'
25105 { (case "(($ac_try" in
25106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25107 *) ac_try_echo=$ac_try;;
25108 esac
25109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25110 (eval "$ac_try") 2>&5
25111 ac_status=$?
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 ac_cv_func_fseeko=yes
25115 else
25116 echo "$as_me: failed program was:" >&5
25117 sed 's/^/| /' conftest.$ac_ext >&5
25118
25119 ac_cv_func_fseeko=no
25120 fi
25121
25122 rm -f core conftest.err conftest.$ac_objext \
25123 conftest$ac_exeext conftest.$ac_ext
25124 fi
25125 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
25126 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
25127 if test $ac_cv_func_fseeko = yes; then
25128
25129 cat >>confdefs.h <<\_ACEOF
25130 #define HAVE_FSEEKO 1
25131 _ACEOF
25132
25133 fi
25134
25135 if test "$ac_cv_sys_largefile_source" != no; then
25136 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25137 fi
25138 fi
25139
25140 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25141 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25142 if test "${ac_cv_c_bigendian+set}" = set; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25144 else
25145 ac_cv_c_bigendian=unknown
25146 # See if sys/param.h defines the BYTE_ORDER macro.
25147 cat >conftest.$ac_ext <<_ACEOF
25148 /* confdefs.h. */
25149 _ACEOF
25150 cat confdefs.h >>conftest.$ac_ext
25151 cat >>conftest.$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25153 #include <sys/types.h>
25154 #include <sys/param.h>
25155 int
25156 main ()
25157 {
25158
25159 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25160 bogus endian macros
25161 #endif
25162 ;
25163 return 0;
25164 }
25165 _ACEOF
25166 rm -f conftest.$ac_objext
25167 if { (ac_try="$ac_compile"
25168 case "(($ac_try" in
25169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25170 *) ac_try_echo=$ac_try;;
25171 esac
25172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25173 (eval "$ac_compile") 2>conftest.er1
25174 ac_status=$?
25175 grep -v '^ *+' conftest.er1 >conftest.err
25176 rm -f conftest.er1
25177 cat conftest.err >&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } &&
25180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25181 { (case "(($ac_try" in
25182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25183 *) ac_try_echo=$ac_try;;
25184 esac
25185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25186 (eval "$ac_try") 2>&5
25187 ac_status=$?
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; } &&
25190 { ac_try='test -s conftest.$ac_objext'
25191 { (case "(($ac_try" in
25192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25193 *) ac_try_echo=$ac_try;;
25194 esac
25195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25196 (eval "$ac_try") 2>&5
25197 ac_status=$?
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); }; }; then
25200 # It does; now see whether it defined to BIG_ENDIAN or not.
25201 cat >conftest.$ac_ext <<_ACEOF
25202 /* confdefs.h. */
25203 _ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25207 #include <sys/types.h>
25208 #include <sys/param.h>
25209 int
25210 main ()
25211 {
25212
25213 #if BYTE_ORDER != BIG_ENDIAN
25214 not big endian
25215 #endif
25216 ;
25217 return 0;
25218 }
25219 _ACEOF
25220 rm -f conftest.$ac_objext
25221 if { (ac_try="$ac_compile"
25222 case "(($ac_try" in
25223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25224 *) ac_try_echo=$ac_try;;
25225 esac
25226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25227 (eval "$ac_compile") 2>conftest.er1
25228 ac_status=$?
25229 grep -v '^ *+' conftest.er1 >conftest.err
25230 rm -f conftest.er1
25231 cat conftest.err >&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); } &&
25234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25235 { (case "(($ac_try" in
25236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25237 *) ac_try_echo=$ac_try;;
25238 esac
25239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25240 (eval "$ac_try") 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; } &&
25244 { ac_try='test -s conftest.$ac_objext'
25245 { (case "(($ac_try" in
25246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25247 *) ac_try_echo=$ac_try;;
25248 esac
25249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25250 (eval "$ac_try") 2>&5
25251 ac_status=$?
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; }; then
25254 ac_cv_c_bigendian=yes
25255 else
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.$ac_ext >&5
25258
25259 ac_cv_c_bigendian=no
25260 fi
25261
25262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25263 else
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25266
25267
25268 fi
25269
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 if test $ac_cv_c_bigendian = unknown; then
25272 if test "$cross_compiling" = yes; then
25273 ac_cv_c_bigendian=unknown
25274 else
25275 cat >conftest.$ac_ext <<_ACEOF
25276 /* confdefs.h. */
25277 _ACEOF
25278 cat confdefs.h >>conftest.$ac_ext
25279 cat >>conftest.$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25281 main () {
25282 /* Are we little or big endian? From Harbison&Steele. */
25283 union
25284 {
25285 long l;
25286 char c[sizeof (long)];
25287 } u;
25288 u.l = 1;
25289 exit (u.c[sizeof (long) - 1] == 1);
25290 }
25291 _ACEOF
25292 rm -f conftest$ac_exeext
25293 if { (ac_try="$ac_link"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25296 *) ac_try_echo=$ac_try;;
25297 esac
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_link") 2>&5
25300 ac_status=$?
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25303 { (case "(($ac_try" in
25304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25305 *) ac_try_echo=$ac_try;;
25306 esac
25307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25308 (eval "$ac_try") 2>&5
25309 ac_status=$?
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 ac_cv_c_bigendian=no
25313 else
25314 echo "$as_me: program exited with status $ac_status" >&5
25315 echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.$ac_ext >&5
25317
25318 ( exit $ac_status )
25319 ac_cv_c_bigendian=yes
25320 fi
25321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25322 fi
25323
25324
25325 fi
25326 fi
25327 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25328 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25329 if test $ac_cv_c_bigendian = unknown; then
25330 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25331 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25332 fi
25333 if test $ac_cv_c_bigendian = yes; then
25334 cat >>confdefs.h <<\_ACEOF
25335 #define WORDS_BIGENDIAN 1
25336 _ACEOF
25337
25338 fi
25339
25340
25341 ac_ext=cpp
25342 ac_cpp='$CXXCPP $CPPFLAGS'
25343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25346 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25347 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25348 if test -z "$CXXCPP"; then
25349 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25351 else
25352 # Double quotes because CXXCPP needs to be expanded
25353 for CXXCPP in "$CXX -E" "/lib/cpp"
25354 do
25355 ac_preproc_ok=false
25356 for ac_cxx_preproc_warn_flag in '' yes
25357 do
25358 # Use a header file that comes with gcc, so configuring glibc
25359 # with a fresh cross-compiler works.
25360 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25361 # <limits.h> exists even on freestanding compilers.
25362 # On the NeXT, cc -E runs the code through the compiler's parser,
25363 # not just through cpp. "Syntax error" is here to catch this case.
25364 cat >conftest.$ac_ext <<_ACEOF
25365 /* confdefs.h. */
25366 _ACEOF
25367 cat confdefs.h >>conftest.$ac_ext
25368 cat >>conftest.$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 #ifdef __STDC__
25371 # include <limits.h>
25372 #else
25373 # include <assert.h>
25374 #endif
25375 Syntax error
25376 _ACEOF
25377 if { (ac_try="$ac_cpp conftest.$ac_ext"
25378 case "(($ac_try" in
25379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25380 *) ac_try_echo=$ac_try;;
25381 esac
25382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } >/dev/null; then
25390 if test -s conftest.err; then
25391 ac_cpp_err=$ac_cxx_preproc_warn_flag
25392 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25393 else
25394 ac_cpp_err=
25395 fi
25396 else
25397 ac_cpp_err=yes
25398 fi
25399 if test -z "$ac_cpp_err"; then
25400 :
25401 else
25402 echo "$as_me: failed program was:" >&5
25403 sed 's/^/| /' conftest.$ac_ext >&5
25404
25405 # Broken: fails on valid input.
25406 continue
25407 fi
25408
25409 rm -f conftest.err conftest.$ac_ext
25410
25411 # OK, works on sane cases. Now check whether nonexistent headers
25412 # can be detected and how.
25413 cat >conftest.$ac_ext <<_ACEOF
25414 /* confdefs.h. */
25415 _ACEOF
25416 cat confdefs.h >>conftest.$ac_ext
25417 cat >>conftest.$ac_ext <<_ACEOF
25418 /* end confdefs.h. */
25419 #include <ac_nonexistent.h>
25420 _ACEOF
25421 if { (ac_try="$ac_cpp conftest.$ac_ext"
25422 case "(($ac_try" in
25423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25424 *) ac_try_echo=$ac_try;;
25425 esac
25426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25428 ac_status=$?
25429 grep -v '^ *+' conftest.er1 >conftest.err
25430 rm -f conftest.er1
25431 cat conftest.err >&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); } >/dev/null; then
25434 if test -s conftest.err; then
25435 ac_cpp_err=$ac_cxx_preproc_warn_flag
25436 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25437 else
25438 ac_cpp_err=
25439 fi
25440 else
25441 ac_cpp_err=yes
25442 fi
25443 if test -z "$ac_cpp_err"; then
25444 # Broken: success on invalid input.
25445 continue
25446 else
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.$ac_ext >&5
25449
25450 # Passes both tests.
25451 ac_preproc_ok=:
25452 break
25453 fi
25454
25455 rm -f conftest.err conftest.$ac_ext
25456
25457 done
25458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25459 rm -f conftest.err conftest.$ac_ext
25460 if $ac_preproc_ok; then
25461 break
25462 fi
25463
25464 done
25465 ac_cv_prog_CXXCPP=$CXXCPP
25466
25467 fi
25468 CXXCPP=$ac_cv_prog_CXXCPP
25469 else
25470 ac_cv_prog_CXXCPP=$CXXCPP
25471 fi
25472 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
25473 echo "${ECHO_T}$CXXCPP" >&6; }
25474 ac_preproc_ok=false
25475 for ac_cxx_preproc_warn_flag in '' yes
25476 do
25477 # Use a header file that comes with gcc, so configuring glibc
25478 # with a fresh cross-compiler works.
25479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25480 # <limits.h> exists even on freestanding compilers.
25481 # On the NeXT, cc -E runs the code through the compiler's parser,
25482 # not just through cpp. "Syntax error" is here to catch this case.
25483 cat >conftest.$ac_ext <<_ACEOF
25484 /* confdefs.h. */
25485 _ACEOF
25486 cat confdefs.h >>conftest.$ac_ext
25487 cat >>conftest.$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25489 #ifdef __STDC__
25490 # include <limits.h>
25491 #else
25492 # include <assert.h>
25493 #endif
25494 Syntax error
25495 _ACEOF
25496 if { (ac_try="$ac_cpp conftest.$ac_ext"
25497 case "(($ac_try" in
25498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25499 *) ac_try_echo=$ac_try;;
25500 esac
25501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25503 ac_status=$?
25504 grep -v '^ *+' conftest.er1 >conftest.err
25505 rm -f conftest.er1
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } >/dev/null; then
25509 if test -s conftest.err; then
25510 ac_cpp_err=$ac_cxx_preproc_warn_flag
25511 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25512 else
25513 ac_cpp_err=
25514 fi
25515 else
25516 ac_cpp_err=yes
25517 fi
25518 if test -z "$ac_cpp_err"; then
25519 :
25520 else
25521 echo "$as_me: failed program was:" >&5
25522 sed 's/^/| /' conftest.$ac_ext >&5
25523
25524 # Broken: fails on valid input.
25525 continue
25526 fi
25527
25528 rm -f conftest.err conftest.$ac_ext
25529
25530 # OK, works on sane cases. Now check whether nonexistent headers
25531 # can be detected and how.
25532 cat >conftest.$ac_ext <<_ACEOF
25533 /* confdefs.h. */
25534 _ACEOF
25535 cat confdefs.h >>conftest.$ac_ext
25536 cat >>conftest.$ac_ext <<_ACEOF
25537 /* end confdefs.h. */
25538 #include <ac_nonexistent.h>
25539 _ACEOF
25540 if { (ac_try="$ac_cpp conftest.$ac_ext"
25541 case "(($ac_try" in
25542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25543 *) ac_try_echo=$ac_try;;
25544 esac
25545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25547 ac_status=$?
25548 grep -v '^ *+' conftest.er1 >conftest.err
25549 rm -f conftest.er1
25550 cat conftest.err >&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); } >/dev/null; then
25553 if test -s conftest.err; then
25554 ac_cpp_err=$ac_cxx_preproc_warn_flag
25555 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25556 else
25557 ac_cpp_err=
25558 fi
25559 else
25560 ac_cpp_err=yes
25561 fi
25562 if test -z "$ac_cpp_err"; then
25563 # Broken: success on invalid input.
25564 continue
25565 else
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.$ac_ext >&5
25568
25569 # Passes both tests.
25570 ac_preproc_ok=:
25571 break
25572 fi
25573
25574 rm -f conftest.err conftest.$ac_ext
25575
25576 done
25577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25578 rm -f conftest.err conftest.$ac_ext
25579 if $ac_preproc_ok; then
25580 :
25581 else
25582 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25583 See \`config.log' for more details." >&5
25584 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
25585 See \`config.log' for more details." >&2;}
25586 { (exit 1); exit 1; }; }
25587 fi
25588
25589 ac_ext=cpp
25590 ac_cpp='$CXXCPP $CPPFLAGS'
25591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25594
25595
25596
25597
25598 ac_ext=cpp
25599 ac_cpp='$CXXCPP $CPPFLAGS'
25600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25603
25604
25605
25606 for ac_header in iostream
25607 do
25608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25614 fi
25615 ac_res=`eval echo '${'$as_ac_Header'}'`
25616 { echo "$as_me:$LINENO: result: $ac_res" >&5
25617 echo "${ECHO_T}$ac_res" >&6; }
25618 else
25619 # Is the header compilable?
25620 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
25621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25622 cat >conftest.$ac_ext <<_ACEOF
25623 /* confdefs.h. */
25624 _ACEOF
25625 cat confdefs.h >>conftest.$ac_ext
25626 cat >>conftest.$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628 $ac_includes_default
25629 #include <$ac_header>
25630 _ACEOF
25631 rm -f conftest.$ac_objext
25632 if { (ac_try="$ac_compile"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25636 esac
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_compile") 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } &&
25645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25646 { (case "(($ac_try" in
25647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25648 *) ac_try_echo=$ac_try;;
25649 esac
25650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25651 (eval "$ac_try") 2>&5
25652 ac_status=$?
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; } &&
25655 { ac_try='test -s conftest.$ac_objext'
25656 { (case "(($ac_try" in
25657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25658 *) ac_try_echo=$ac_try;;
25659 esac
25660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25661 (eval "$ac_try") 2>&5
25662 ac_status=$?
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; }; then
25665 ac_header_compiler=yes
25666 else
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.$ac_ext >&5
25669
25670 ac_header_compiler=no
25671 fi
25672
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25674 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25675 echo "${ECHO_T}$ac_header_compiler" >&6; }
25676
25677 # Is the header present?
25678 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
25679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25680 cat >conftest.$ac_ext <<_ACEOF
25681 /* confdefs.h. */
25682 _ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 #include <$ac_header>
25687 _ACEOF
25688 if { (ac_try="$ac_cpp conftest.$ac_ext"
25689 case "(($ac_try" in
25690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25691 *) ac_try_echo=$ac_try;;
25692 esac
25693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25695 ac_status=$?
25696 grep -v '^ *+' conftest.er1 >conftest.err
25697 rm -f conftest.er1
25698 cat conftest.err >&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } >/dev/null; then
25701 if test -s conftest.err; then
25702 ac_cpp_err=$ac_cxx_preproc_warn_flag
25703 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25704 else
25705 ac_cpp_err=
25706 fi
25707 else
25708 ac_cpp_err=yes
25709 fi
25710 if test -z "$ac_cpp_err"; then
25711 ac_header_preproc=yes
25712 else
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25715
25716 ac_header_preproc=no
25717 fi
25718
25719 rm -f conftest.err conftest.$ac_ext
25720 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25721 echo "${ECHO_T}$ac_header_preproc" >&6; }
25722
25723 # So? What about this header?
25724 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25725 yes:no: )
25726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25730 ac_header_preproc=yes
25731 ;;
25732 no:yes:* )
25733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25745 ( cat <<\_ASBOX
25746 ## ----------------------------------------- ##
25747 ## Report this to wx-dev@lists.wxwidgets.org ##
25748 ## ----------------------------------------- ##
25749 _ASBOX
25750 ) | sed "s/^/$as_me: WARNING: /" >&2
25751 ;;
25752 esac
25753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25756 echo $ECHO_N "(cached) $ECHO_C" >&6
25757 else
25758 eval "$as_ac_Header=\$ac_header_preproc"
25759 fi
25760 ac_res=`eval echo '${'$as_ac_Header'}'`
25761 { echo "$as_me:$LINENO: result: $ac_res" >&5
25762 echo "${ECHO_T}$ac_res" >&6; }
25763
25764 fi
25765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25766 cat >>confdefs.h <<_ACEOF
25767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25768 _ACEOF
25769
25770 fi
25771
25772 done
25773
25774
25775 if test "$ac_cv_header_iostream" = "yes" ; then
25776 :
25777 else
25778 cat >>confdefs.h <<\_ACEOF
25779 #define wxUSE_IOSTREAMH 1
25780 _ACEOF
25781
25782 fi
25783
25784 ac_ext=c
25785 ac_cpp='$CPP $CPPFLAGS'
25786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25789
25790
25791
25792
25793 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25794 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25795 if test "${wx_cv_cpp_bool+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25797 else
25798
25799
25800 ac_ext=cpp
25801 ac_cpp='$CXXCPP $CPPFLAGS'
25802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25805
25806
25807 cat >conftest.$ac_ext <<_ACEOF
25808 /* confdefs.h. */
25809 _ACEOF
25810 cat confdefs.h >>conftest.$ac_ext
25811 cat >>conftest.$ac_ext <<_ACEOF
25812 /* end confdefs.h. */
25813
25814
25815 int
25816 main ()
25817 {
25818
25819 bool b = true;
25820
25821 return 0;
25822
25823 ;
25824 return 0;
25825 }
25826 _ACEOF
25827 rm -f conftest.$ac_objext
25828 if { (ac_try="$ac_compile"
25829 case "(($ac_try" in
25830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25831 *) ac_try_echo=$ac_try;;
25832 esac
25833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25834 (eval "$ac_compile") 2>conftest.er1
25835 ac_status=$?
25836 grep -v '^ *+' conftest.er1 >conftest.err
25837 rm -f conftest.er1
25838 cat conftest.err >&5
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); } &&
25841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25842 { (case "(($ac_try" in
25843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25844 *) ac_try_echo=$ac_try;;
25845 esac
25846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25847 (eval "$ac_try") 2>&5
25848 ac_status=$?
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try='test -s conftest.$ac_objext'
25852 { (case "(($ac_try" in
25853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25854 *) ac_try_echo=$ac_try;;
25855 esac
25856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25857 (eval "$ac_try") 2>&5
25858 ac_status=$?
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); }; }; then
25861
25862 wx_cv_cpp_bool=yes
25863
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868
25869 wx_cv_cpp_bool=no
25870
25871
25872 fi
25873
25874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25875
25876 ac_ext=c
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25881
25882
25883 fi
25884 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25885 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25886
25887 if test "$wx_cv_cpp_bool" = "yes"; then
25888 cat >>confdefs.h <<\_ACEOF
25889 #define HAVE_BOOL 1
25890 _ACEOF
25891
25892 fi
25893
25894
25895
25896 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25897 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25898 if test "${wx_cv_explicit+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25901
25902
25903 ac_ext=cpp
25904 ac_cpp='$CXXCPP $CPPFLAGS'
25905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25908
25909
25910 cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916
25917 class Foo { public: explicit Foo(int) {} };
25918
25919 int
25920 main ()
25921 {
25922
25923 return 0;
25924
25925 ;
25926 return 0;
25927 }
25928 _ACEOF
25929 rm -f conftest.$ac_objext
25930 if { (ac_try="$ac_compile"
25931 case "(($ac_try" in
25932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25933 *) ac_try_echo=$ac_try;;
25934 esac
25935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25936 (eval "$ac_compile") 2>conftest.er1
25937 ac_status=$?
25938 grep -v '^ *+' conftest.er1 >conftest.err
25939 rm -f conftest.er1
25940 cat conftest.err >&5
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); } &&
25943 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25944 { (case "(($ac_try" in
25945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25947 esac
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949 (eval "$ac_try") 2>&5
25950 ac_status=$?
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; } &&
25953 { ac_try='test -s conftest.$ac_objext'
25954 { (case "(($ac_try" in
25955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25956 *) ac_try_echo=$ac_try;;
25957 esac
25958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25959 (eval "$ac_try") 2>&5
25960 ac_status=$?
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; }; then
25963
25964 cat >conftest.$ac_ext <<_ACEOF
25965 /* confdefs.h. */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970
25971 class Foo { public: explicit Foo(int) {} };
25972 static void TakeFoo(const Foo& foo) { }
25973
25974 int
25975 main ()
25976 {
25977
25978 TakeFoo(17);
25979 return 0;
25980
25981 ;
25982 return 0;
25983 }
25984 _ACEOF
25985 rm -f conftest.$ac_objext
25986 if { (ac_try="$ac_compile"
25987 case "(($ac_try" in
25988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25989 *) ac_try_echo=$ac_try;;
25990 esac
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_compile") 2>conftest.er1
25993 ac_status=$?
25994 grep -v '^ *+' conftest.er1 >conftest.err
25995 rm -f conftest.er1
25996 cat conftest.err >&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } &&
25999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26000 { (case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26003 esac
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_try") 2>&5
26006 ac_status=$?
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; } &&
26009 { ac_try='test -s conftest.$ac_objext'
26010 { (case "(($ac_try" in
26011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26013 esac
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_try") 2>&5
26016 ac_status=$?
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26019 wx_cv_explicit=no
26020 else
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.$ac_ext >&5
26023
26024 wx_cv_explicit=yes
26025
26026 fi
26027
26028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26029
26030 else
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26033
26034 wx_cv_explicit=no
26035
26036 fi
26037
26038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26039
26040 ac_ext=c
26041 ac_cpp='$CPP $CPPFLAGS'
26042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26045
26046
26047 fi
26048 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26049 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26050
26051 if test "$wx_cv_explicit" = "yes"; then
26052 cat >>confdefs.h <<\_ACEOF
26053 #define HAVE_EXPLICIT 1
26054 _ACEOF
26055
26056 fi
26057
26058
26059 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26060 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26061 if test "${ac_cv_cxx_const_cast+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064
26065 ac_ext=cpp
26066 ac_cpp='$CXXCPP $CPPFLAGS'
26067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070
26071 cat >conftest.$ac_ext <<_ACEOF
26072 /* confdefs.h. */
26073 _ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26077
26078 int
26079 main ()
26080 {
26081 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26082 ;
26083 return 0;
26084 }
26085 _ACEOF
26086 rm -f conftest.$ac_objext
26087 if { (ac_try="$ac_compile"
26088 case "(($ac_try" in
26089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26090 *) ac_try_echo=$ac_try;;
26091 esac
26092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26093 (eval "$ac_compile") 2>conftest.er1
26094 ac_status=$?
26095 grep -v '^ *+' conftest.er1 >conftest.err
26096 rm -f conftest.er1
26097 cat conftest.err >&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26101 { (case "(($ac_try" in
26102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26104 esac
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_try") 2>&5
26107 ac_status=$?
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try='test -s conftest.$ac_objext'
26111 { (case "(($ac_try" in
26112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26113 *) ac_try_echo=$ac_try;;
26114 esac
26115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26116 (eval "$ac_try") 2>&5
26117 ac_status=$?
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; }; then
26120 ac_cv_cxx_const_cast=yes
26121 else
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.$ac_ext >&5
26124
26125 ac_cv_cxx_const_cast=no
26126 fi
26127
26128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26129 ac_ext=c
26130 ac_cpp='$CPP $CPPFLAGS'
26131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26134
26135
26136 fi
26137 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26138 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26139 if test "$ac_cv_cxx_const_cast" = yes; then
26140
26141 cat >>confdefs.h <<\_ACEOF
26142 #define HAVE_CONST_CAST
26143 _ACEOF
26144
26145 fi
26146
26147 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26148 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26149 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26150 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 else
26152
26153 ac_ext=cpp
26154 ac_cpp='$CXXCPP $CPPFLAGS'
26155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26158
26159 cat >conftest.$ac_ext <<_ACEOF
26160 /* confdefs.h. */
26161 _ACEOF
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 #include <typeinfo>
26166 class Base { public : Base () {} virtual void f () = 0;};
26167 class Derived : public Base { public : Derived () {} virtual void f () {} };
26168 class Unrelated { public : Unrelated () {} };
26169 int g (Unrelated&) { return 0; }
26170 int
26171 main ()
26172 {
26173
26174 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26175 ;
26176 return 0;
26177 }
26178 _ACEOF
26179 rm -f conftest.$ac_objext
26180 if { (ac_try="$ac_compile"
26181 case "(($ac_try" in
26182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26183 *) ac_try_echo=$ac_try;;
26184 esac
26185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26186 (eval "$ac_compile") 2>conftest.er1
26187 ac_status=$?
26188 grep -v '^ *+' conftest.er1 >conftest.err
26189 rm -f conftest.er1
26190 cat conftest.err >&5
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } &&
26193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26194 { (case "(($ac_try" in
26195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26196 *) ac_try_echo=$ac_try;;
26197 esac
26198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26199 (eval "$ac_try") 2>&5
26200 ac_status=$?
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); }; } &&
26203 { ac_try='test -s conftest.$ac_objext'
26204 { (case "(($ac_try" in
26205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26207 esac
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_try") 2>&5
26210 ac_status=$?
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; }; then
26213 ac_cv_cxx_reinterpret_cast=yes
26214 else
26215 echo "$as_me: failed program was:" >&5
26216 sed 's/^/| /' conftest.$ac_ext >&5
26217
26218 ac_cv_cxx_reinterpret_cast=no
26219 fi
26220
26221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26222 ac_ext=c
26223 ac_cpp='$CPP $CPPFLAGS'
26224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26227
26228
26229 fi
26230 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26231 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26232 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26233
26234 cat >>confdefs.h <<\_ACEOF
26235 #define HAVE_REINTERPRET_CAST
26236 _ACEOF
26237
26238 fi
26239
26240 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26241 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26242 if test "${ac_cv_cxx_static_cast+set}" = set; then
26243 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 else
26245
26246 ac_ext=cpp
26247 ac_cpp='$CXXCPP $CPPFLAGS'
26248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26251
26252 cat >conftest.$ac_ext <<_ACEOF
26253 /* confdefs.h. */
26254 _ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26258 #include <typeinfo>
26259 class Base { public : Base () {} virtual void f () = 0; };
26260 class Derived : public Base { public : Derived () {} virtual void f () {} };
26261 int g (Derived&) { return 0; }
26262 int
26263 main ()
26264 {
26265
26266 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26267 ;
26268 return 0;
26269 }
26270 _ACEOF
26271 rm -f conftest.$ac_objext
26272 if { (ac_try="$ac_compile"
26273 case "(($ac_try" in
26274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26275 *) ac_try_echo=$ac_try;;
26276 esac
26277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26278 (eval "$ac_compile") 2>conftest.er1
26279 ac_status=$?
26280 grep -v '^ *+' conftest.er1 >conftest.err
26281 rm -f conftest.er1
26282 cat conftest.err >&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } &&
26285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26286 { (case "(($ac_try" in
26287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26288 *) ac_try_echo=$ac_try;;
26289 esac
26290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26291 (eval "$ac_try") 2>&5
26292 ac_status=$?
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); }; } &&
26295 { ac_try='test -s conftest.$ac_objext'
26296 { (case "(($ac_try" in
26297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26298 *) ac_try_echo=$ac_try;;
26299 esac
26300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26301 (eval "$ac_try") 2>&5
26302 ac_status=$?
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); }; }; then
26305 ac_cv_cxx_static_cast=yes
26306 else
26307 echo "$as_me: failed program was:" >&5
26308 sed 's/^/| /' conftest.$ac_ext >&5
26309
26310 ac_cv_cxx_static_cast=no
26311 fi
26312
26313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26314 ac_ext=c
26315 ac_cpp='$CPP $CPPFLAGS'
26316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26319
26320
26321 fi
26322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26323 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26324 if test "$ac_cv_cxx_static_cast" = yes; then
26325
26326 cat >>confdefs.h <<\_ACEOF
26327 #define HAVE_STATIC_CAST
26328 _ACEOF
26329
26330 fi
26331
26332
26333 if test "x$SUNCXX" = xyes; then
26334 CXXFLAGS="-features=tmplife $CXXFLAGS"
26335 fi
26336
26337 if test "x$SUNCC" = xyes; then
26338 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26339 fi
26340
26341 if test "x$SGICC" = "xyes"; then
26342 CFLAGS="-woff 3970 $CFLAGS"
26343 fi
26344 if test "x$SGICXX" = "xyes"; then
26345 CXXFLAGS="-woff 3970 $CXXFLAGS"
26346 fi
26347
26348 if test "x$HPCC" = "xyes"; then
26349 CFLAGS="+W 2011,2450 $CFLAGS"
26350 fi
26351 if test "x$HPCXX" = "xyes"; then
26352 CXXFLAGS="+W 2340 $CXXFLAGS"
26353 fi
26354
26355 if test "x$COMPAQCXX" = "xyes"; then
26356 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26357 fi
26358
26359 ac_ext=cpp
26360 ac_cpp='$CXXCPP $CPPFLAGS'
26361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26364
26365
26366 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26367 if test "$wxUSE_UNICODE" = "yes"; then
26368 std_string="std::wstring"
26369 char_type="wchar_t"
26370 else
26371 std_string="std::string"
26372 char_type="char"
26373 fi
26374
26375 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26376 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26377 if test "${wx_cv_class_stdstring+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 else
26380
26381 cat >conftest.$ac_ext <<_ACEOF
26382 /* confdefs.h. */
26383 _ACEOF
26384 cat confdefs.h >>conftest.$ac_ext
26385 cat >>conftest.$ac_ext <<_ACEOF
26386 /* end confdefs.h. */
26387 #include <string>
26388 int
26389 main ()
26390 {
26391 $std_string foo;
26392 ;
26393 return 0;
26394 }
26395 _ACEOF
26396 rm -f conftest.$ac_objext
26397 if { (ac_try="$ac_compile"
26398 case "(($ac_try" in
26399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26400 *) ac_try_echo=$ac_try;;
26401 esac
26402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26403 (eval "$ac_compile") 2>conftest.er1
26404 ac_status=$?
26405 grep -v '^ *+' conftest.er1 >conftest.err
26406 rm -f conftest.er1
26407 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } &&
26410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26411 { (case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26414 esac
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_try") 2>&5
26417 ac_status=$?
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); }; } &&
26420 { ac_try='test -s conftest.$ac_objext'
26421 { (case "(($ac_try" in
26422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26423 *) ac_try_echo=$ac_try;;
26424 esac
26425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26426 (eval "$ac_try") 2>&5
26427 ac_status=$?
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); }; }; then
26430 wx_cv_class_stdstring=yes
26431 else
26432 echo "$as_me: failed program was:" >&5
26433 sed 's/^/| /' conftest.$ac_ext >&5
26434
26435 wx_cv_class_stdstring=no
26436
26437 fi
26438
26439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26440
26441
26442 fi
26443 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26444 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26445
26446 if test "$wx_cv_class_stdstring" = yes; then
26447 if test "$wxUSE_UNICODE" = "yes"; then
26448 cat >>confdefs.h <<\_ACEOF
26449 #define HAVE_STD_WSTRING 1
26450 _ACEOF
26451
26452 fi
26453 else
26454 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26455 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26456 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26459
26460 cat >conftest.$ac_ext <<_ACEOF
26461 /* confdefs.h. */
26462 _ACEOF
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26466
26467 #ifdef HAVE_WCHAR_H
26468 # ifdef __CYGWIN__
26469 # include <stddef.h>
26470 # endif
26471 # include <wchar.h>
26472 #endif
26473 #ifdef HAVE_STDLIB_H
26474 # include <stdlib.h>
26475 #endif
26476 #include <stdio.h>
26477 #include <string>
26478
26479 int
26480 main ()
26481 {
26482 std::basic_string<$char_type> foo;
26483 const $char_type* dummy = foo.c_str();
26484 ;
26485 return 0;
26486 }
26487 _ACEOF
26488 rm -f conftest.$ac_objext
26489 if { (ac_try="$ac_compile"
26490 case "(($ac_try" in
26491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26492 *) ac_try_echo=$ac_try;;
26493 esac
26494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26495 (eval "$ac_compile") 2>conftest.er1
26496 ac_status=$?
26497 grep -v '^ *+' conftest.er1 >conftest.err
26498 rm -f conftest.er1
26499 cat conftest.err >&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } &&
26502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26503 { (case "(($ac_try" in
26504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26505 *) ac_try_echo=$ac_try;;
26506 esac
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_try") 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try='test -s conftest.$ac_objext'
26513 { (case "(($ac_try" in
26514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26515 *) ac_try_echo=$ac_try;;
26516 esac
26517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26518 (eval "$ac_try") 2>&5
26519 ac_status=$?
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; }; then
26522 wx_cv_class_stdbasicstring=yes
26523 else
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.$ac_ext >&5
26526
26527 wx_cv_class_stdbasicstring=no
26528
26529 fi
26530
26531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26532
26533
26534 fi
26535 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26536 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26537
26538 if test "$wx_cv_class_stdbasicstring" != yes; then
26539 if test "$wxUSE_STL" = "yes"; then
26540 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26541 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26542 { (exit 1); exit 1; }; }
26543 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26544 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26545 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26546 { (exit 1); exit 1; }; }
26547 else
26548 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26549 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26550 wxUSE_STD_STRING=no
26551 fi
26552 fi
26553 fi
26554 fi
26555
26556 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26557 { echo "$as_me:$LINENO: checking for std::istream" >&5
26558 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26559 if test "${ac_cv_type_std__istream+set}" = set; then
26560 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 else
26562 cat >conftest.$ac_ext <<_ACEOF
26563 /* confdefs.h. */
26564 _ACEOF
26565 cat confdefs.h >>conftest.$ac_ext
26566 cat >>conftest.$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26568 #include <iostream>
26569
26570 typedef std::istream ac__type_new_;
26571 int
26572 main ()
26573 {
26574 if ((ac__type_new_ *) 0)
26575 return 0;
26576 if (sizeof (ac__type_new_))
26577 return 0;
26578 ;
26579 return 0;
26580 }
26581 _ACEOF
26582 rm -f conftest.$ac_objext
26583 if { (ac_try="$ac_compile"
26584 case "(($ac_try" in
26585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26586 *) ac_try_echo=$ac_try;;
26587 esac
26588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26589 (eval "$ac_compile") 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26597 { (case "(($ac_try" in
26598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26599 *) ac_try_echo=$ac_try;;
26600 esac
26601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26602 (eval "$ac_try") 2>&5
26603 ac_status=$?
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; } &&
26606 { ac_try='test -s conftest.$ac_objext'
26607 { (case "(($ac_try" in
26608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26609 *) ac_try_echo=$ac_try;;
26610 esac
26611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612 (eval "$ac_try") 2>&5
26613 ac_status=$?
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; }; then
26616 ac_cv_type_std__istream=yes
26617 else
26618 echo "$as_me: failed program was:" >&5
26619 sed 's/^/| /' conftest.$ac_ext >&5
26620
26621 ac_cv_type_std__istream=no
26622 fi
26623
26624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26625 fi
26626 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26627 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26628 if test $ac_cv_type_std__istream = yes; then
26629
26630 cat >>confdefs.h <<_ACEOF
26631 #define HAVE_STD__ISTREAM 1
26632 _ACEOF
26633
26634
26635 else
26636 wxUSE_STD_IOSTREAM=no
26637 fi
26638 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26639 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26640 if test "${ac_cv_type_std__ostream+set}" = set; then
26641 echo $ECHO_N "(cached) $ECHO_C" >&6
26642 else
26643 cat >conftest.$ac_ext <<_ACEOF
26644 /* confdefs.h. */
26645 _ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26649 #include <iostream>
26650
26651 typedef std::ostream ac__type_new_;
26652 int
26653 main ()
26654 {
26655 if ((ac__type_new_ *) 0)
26656 return 0;
26657 if (sizeof (ac__type_new_))
26658 return 0;
26659 ;
26660 return 0;
26661 }
26662 _ACEOF
26663 rm -f conftest.$ac_objext
26664 if { (ac_try="$ac_compile"
26665 case "(($ac_try" in
26666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26667 *) ac_try_echo=$ac_try;;
26668 esac
26669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26670 (eval "$ac_compile") 2>conftest.er1
26671 ac_status=$?
26672 grep -v '^ *+' conftest.er1 >conftest.err
26673 rm -f conftest.er1
26674 cat conftest.err >&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26678 { (case "(($ac_try" in
26679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26681 esac
26682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26683 (eval "$ac_try") 2>&5
26684 ac_status=$?
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; } &&
26687 { ac_try='test -s conftest.$ac_objext'
26688 { (case "(($ac_try" in
26689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26690 *) ac_try_echo=$ac_try;;
26691 esac
26692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26693 (eval "$ac_try") 2>&5
26694 ac_status=$?
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); }; }; then
26697 ac_cv_type_std__ostream=yes
26698 else
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.$ac_ext >&5
26701
26702 ac_cv_type_std__ostream=no
26703 fi
26704
26705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26706 fi
26707 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26708 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26709 if test $ac_cv_type_std__ostream = yes; then
26710
26711 cat >>confdefs.h <<_ACEOF
26712 #define HAVE_STD__OSTREAM 1
26713 _ACEOF
26714
26715
26716 else
26717 wxUSE_STD_IOSTREAM=no
26718 fi
26719
26720
26721 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26722 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26723 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26724 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26725 { (exit 1); exit 1; }; }
26726 else
26727 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26728 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26729 fi
26730 fi
26731 fi
26732
26733 if test "$wxUSE_STL" = "yes"; then
26734 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26735 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26736 if test "${wx_cv_lib_stl+set}" = set; then
26737 echo $ECHO_N "(cached) $ECHO_C" >&6
26738 else
26739 cat >conftest.$ac_ext <<_ACEOF
26740 /* confdefs.h. */
26741 _ACEOF
26742 cat confdefs.h >>conftest.$ac_ext
26743 cat >>conftest.$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26745 #include <string>
26746 #include <functional>
26747 #include <algorithm>
26748 #include <vector>
26749 #include <list>
26750 int
26751 main ()
26752 {
26753 std::vector<int> moo;
26754 std::list<int> foo;
26755 std::vector<int>::iterator it =
26756 std::find_if(moo.begin(), moo.end(),
26757 std::bind2nd(std::less<int>(), 3));
26758 ;
26759 return 0;
26760 }
26761 _ACEOF
26762 rm -f conftest.$ac_objext
26763 if { (ac_try="$ac_compile"
26764 case "(($ac_try" in
26765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26766 *) ac_try_echo=$ac_try;;
26767 esac
26768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26769 (eval "$ac_compile") 2>conftest.er1
26770 ac_status=$?
26771 grep -v '^ *+' conftest.er1 >conftest.err
26772 rm -f conftest.er1
26773 cat conftest.err >&5
26774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 (exit $ac_status); } &&
26776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26777 { (case "(($ac_try" in
26778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26779 *) ac_try_echo=$ac_try;;
26780 esac
26781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26782 (eval "$ac_try") 2>&5
26783 ac_status=$?
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try='test -s conftest.$ac_objext'
26787 { (case "(($ac_try" in
26788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26789 *) ac_try_echo=$ac_try;;
26790 esac
26791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26792 (eval "$ac_try") 2>&5
26793 ac_status=$?
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; }; then
26796 wx_cv_lib_stl=yes
26797 else
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26800
26801 wx_cv_lib_stl=no
26802
26803 fi
26804
26805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26806
26807 fi
26808 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26809 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26810
26811 if test "$wx_cv_lib_stl" != yes; then
26812 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26813 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26814 { (exit 1); exit 1; }; }
26815 fi
26816
26817 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26818 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26819 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26820 echo $ECHO_N "(cached) $ECHO_C" >&6
26821 else
26822 cat >conftest.$ac_ext <<_ACEOF
26823 /* confdefs.h. */
26824 _ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26828 #include <string>
26829 int
26830 main ()
26831 {
26832 std::string foo, bar;
26833 foo.compare(bar);
26834 foo.compare(1, 1, bar);
26835 foo.compare(1, 1, bar, 1, 1);
26836 foo.compare("");
26837 foo.compare(1, 1, "");
26838 foo.compare(1, 1, "", 2);
26839 ;
26840 return 0;
26841 }
26842 _ACEOF
26843 rm -f conftest.$ac_objext
26844 if { (ac_try="$ac_compile"
26845 case "(($ac_try" in
26846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26847 *) ac_try_echo=$ac_try;;
26848 esac
26849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26850 (eval "$ac_compile") 2>conftest.er1
26851 ac_status=$?
26852 grep -v '^ *+' conftest.er1 >conftest.err
26853 rm -f conftest.er1
26854 cat conftest.err >&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); } &&
26857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26858 { (case "(($ac_try" in
26859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26860 *) ac_try_echo=$ac_try;;
26861 esac
26862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26863 (eval "$ac_try") 2>&5
26864 ac_status=$?
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); }; } &&
26867 { ac_try='test -s conftest.$ac_objext'
26868 { (case "(($ac_try" in
26869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26870 *) ac_try_echo=$ac_try;;
26871 esac
26872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26873 (eval "$ac_try") 2>&5
26874 ac_status=$?
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); }; }; then
26877 wx_cv_func_stdstring_compare=yes
26878 else
26879 echo "$as_me: failed program was:" >&5
26880 sed 's/^/| /' conftest.$ac_ext >&5
26881
26882 wx_cv_func_stdstring_compare=no
26883
26884 fi
26885
26886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26887
26888 fi
26889 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26890 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26891
26892 if test "$wx_cv_func_stdstring_compare" = yes; then
26893 cat >>confdefs.h <<\_ACEOF
26894 #define HAVE_STD_STRING_COMPARE 1
26895 _ACEOF
26896
26897 fi
26898
26899 if test "${ac_cv_header_hash_map+set}" = set; then
26900 { echo "$as_me:$LINENO: checking for hash_map" >&5
26901 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26902 if test "${ac_cv_header_hash_map+set}" = set; then
26903 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 fi
26905 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26906 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26907 else
26908 # Is the header compilable?
26909 { echo "$as_me:$LINENO: checking hash_map usability" >&5
26910 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6; }
26911 cat >conftest.$ac_ext <<_ACEOF
26912 /* confdefs.h. */
26913 _ACEOF
26914 cat confdefs.h >>conftest.$ac_ext
26915 cat >>conftest.$ac_ext <<_ACEOF
26916 /* end confdefs.h. */
26917 $ac_includes_default
26918 #include <hash_map>
26919 _ACEOF
26920 rm -f conftest.$ac_objext
26921 if { (ac_try="$ac_compile"
26922 case "(($ac_try" in
26923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26924 *) ac_try_echo=$ac_try;;
26925 esac
26926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26927 (eval "$ac_compile") 2>conftest.er1
26928 ac_status=$?
26929 grep -v '^ *+' conftest.er1 >conftest.err
26930 rm -f conftest.er1
26931 cat conftest.err >&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } &&
26934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26935 { (case "(($ac_try" in
26936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26937 *) ac_try_echo=$ac_try;;
26938 esac
26939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26940 (eval "$ac_try") 2>&5
26941 ac_status=$?
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; } &&
26944 { ac_try='test -s conftest.$ac_objext'
26945 { (case "(($ac_try" in
26946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26947 *) ac_try_echo=$ac_try;;
26948 esac
26949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26950 (eval "$ac_try") 2>&5
26951 ac_status=$?
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); }; }; then
26954 ac_header_compiler=yes
26955 else
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.$ac_ext >&5
26958
26959 ac_header_compiler=no
26960 fi
26961
26962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26964 echo "${ECHO_T}$ac_header_compiler" >&6; }
26965
26966 # Is the header present?
26967 { echo "$as_me:$LINENO: checking hash_map presence" >&5
26968 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6; }
26969 cat >conftest.$ac_ext <<_ACEOF
26970 /* confdefs.h. */
26971 _ACEOF
26972 cat confdefs.h >>conftest.$ac_ext
26973 cat >>conftest.$ac_ext <<_ACEOF
26974 /* end confdefs.h. */
26975 #include <hash_map>
26976 _ACEOF
26977 if { (ac_try="$ac_cpp conftest.$ac_ext"
26978 case "(($ac_try" in
26979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26980 *) ac_try_echo=$ac_try;;
26981 esac
26982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26984 ac_status=$?
26985 grep -v '^ *+' conftest.er1 >conftest.err
26986 rm -f conftest.er1
26987 cat conftest.err >&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); } >/dev/null; then
26990 if test -s conftest.err; then
26991 ac_cpp_err=$ac_cxx_preproc_warn_flag
26992 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26993 else
26994 ac_cpp_err=
26995 fi
26996 else
26997 ac_cpp_err=yes
26998 fi
26999 if test -z "$ac_cpp_err"; then
27000 ac_header_preproc=yes
27001 else
27002 echo "$as_me: failed program was:" >&5
27003 sed 's/^/| /' conftest.$ac_ext >&5
27004
27005 ac_header_preproc=no
27006 fi
27007
27008 rm -f conftest.err conftest.$ac_ext
27009 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27010 echo "${ECHO_T}$ac_header_preproc" >&6; }
27011
27012 # So? What about this header?
27013 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27014 yes:no: )
27015 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
27016 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
27017 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
27018 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
27019 ac_header_preproc=yes
27020 ;;
27021 no:yes:* )
27022 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
27023 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
27024 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
27025 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
27026 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
27027 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
27028 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
27029 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
27030 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
27031 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
27032 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
27033 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
27034 ( cat <<\_ASBOX
27035 ## ----------------------------------------- ##
27036 ## Report this to wx-dev@lists.wxwidgets.org ##
27037 ## ----------------------------------------- ##
27038 _ASBOX
27039 ) | sed "s/^/$as_me: WARNING: /" >&2
27040 ;;
27041 esac
27042 { echo "$as_me:$LINENO: checking for hash_map" >&5
27043 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27044 if test "${ac_cv_header_hash_map+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 else
27047 ac_cv_header_hash_map=$ac_header_preproc
27048 fi
27049 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27050 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27051
27052 fi
27053 if test $ac_cv_header_hash_map = yes; then
27054 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27055 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27056 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <hash_map>
27066 #include <hash_set>
27067 int
27068 main ()
27069 {
27070 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27071 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27072 ;
27073 return 0;
27074 }
27075 _ACEOF
27076 rm -f conftest.$ac_objext
27077 if { (ac_try="$ac_compile"
27078 case "(($ac_try" in
27079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27080 *) ac_try_echo=$ac_try;;
27081 esac
27082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27083 (eval "$ac_compile") 2>conftest.er1
27084 ac_status=$?
27085 grep -v '^ *+' conftest.er1 >conftest.err
27086 rm -f conftest.er1
27087 cat conftest.err >&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); } &&
27090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27091 { (case "(($ac_try" in
27092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27093 *) ac_try_echo=$ac_try;;
27094 esac
27095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27096 (eval "$ac_try") 2>&5
27097 ac_status=$?
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; } &&
27100 { ac_try='test -s conftest.$ac_objext'
27101 { (case "(($ac_try" in
27102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27103 *) ac_try_echo=$ac_try;;
27104 esac
27105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27106 (eval "$ac_try") 2>&5
27107 ac_status=$?
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; }; then
27110 wx_cv_class_stdhashmapset=yes
27111 else
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27114
27115 wx_cv_class_stdhashmapset=no
27116 fi
27117
27118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27119
27120
27121 fi
27122 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27123 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27124
27125 fi
27126
27127
27128
27129 if test "$wx_cv_class_stdhashmapset" = yes; then
27130 cat >>confdefs.h <<\_ACEOF
27131 #define HAVE_HASH_MAP 1
27132 _ACEOF
27133
27134 cat >>confdefs.h <<\_ACEOF
27135 #define HAVE_STD_HASH_MAP 1
27136 _ACEOF
27137
27138 fi
27139
27140 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27141 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27142 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27143 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27144 echo $ECHO_N "(cached) $ECHO_C" >&6
27145 fi
27146 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27147 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27148 else
27149 # Is the header compilable?
27150 { echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
27151 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6; }
27152 cat >conftest.$ac_ext <<_ACEOF
27153 /* confdefs.h. */
27154 _ACEOF
27155 cat confdefs.h >>conftest.$ac_ext
27156 cat >>conftest.$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27158 $ac_includes_default
27159 #include <ext/hash_map>
27160 _ACEOF
27161 rm -f conftest.$ac_objext
27162 if { (ac_try="$ac_compile"
27163 case "(($ac_try" in
27164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27165 *) ac_try_echo=$ac_try;;
27166 esac
27167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27168 (eval "$ac_compile") 2>conftest.er1
27169 ac_status=$?
27170 grep -v '^ *+' conftest.er1 >conftest.err
27171 rm -f conftest.er1
27172 cat conftest.err >&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); } &&
27175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27176 { (case "(($ac_try" in
27177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27178 *) ac_try_echo=$ac_try;;
27179 esac
27180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27181 (eval "$ac_try") 2>&5
27182 ac_status=$?
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); }; } &&
27185 { ac_try='test -s conftest.$ac_objext'
27186 { (case "(($ac_try" in
27187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27188 *) ac_try_echo=$ac_try;;
27189 esac
27190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27191 (eval "$ac_try") 2>&5
27192 ac_status=$?
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); }; }; then
27195 ac_header_compiler=yes
27196 else
27197 echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.$ac_ext >&5
27199
27200 ac_header_compiler=no
27201 fi
27202
27203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27204 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27205 echo "${ECHO_T}$ac_header_compiler" >&6; }
27206
27207 # Is the header present?
27208 { echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
27209 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6; }
27210 cat >conftest.$ac_ext <<_ACEOF
27211 /* confdefs.h. */
27212 _ACEOF
27213 cat confdefs.h >>conftest.$ac_ext
27214 cat >>conftest.$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216 #include <ext/hash_map>
27217 _ACEOF
27218 if { (ac_try="$ac_cpp conftest.$ac_ext"
27219 case "(($ac_try" in
27220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27221 *) ac_try_echo=$ac_try;;
27222 esac
27223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27225 ac_status=$?
27226 grep -v '^ *+' conftest.er1 >conftest.err
27227 rm -f conftest.er1
27228 cat conftest.err >&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); } >/dev/null; then
27231 if test -s conftest.err; then
27232 ac_cpp_err=$ac_cxx_preproc_warn_flag
27233 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27234 else
27235 ac_cpp_err=
27236 fi
27237 else
27238 ac_cpp_err=yes
27239 fi
27240 if test -z "$ac_cpp_err"; then
27241 ac_header_preproc=yes
27242 else
27243 echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.$ac_ext >&5
27245
27246 ac_header_preproc=no
27247 fi
27248
27249 rm -f conftest.err conftest.$ac_ext
27250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27251 echo "${ECHO_T}$ac_header_preproc" >&6; }
27252
27253 # So? What about this header?
27254 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27255 yes:no: )
27256 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
27257 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
27258 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
27259 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
27260 ac_header_preproc=yes
27261 ;;
27262 no:yes:* )
27263 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
27264 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
27265 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
27266 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
27267 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
27268 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
27269 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
27270 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
27271 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
27272 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
27273 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
27274 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
27275 ( cat <<\_ASBOX
27276 ## ----------------------------------------- ##
27277 ## Report this to wx-dev@lists.wxwidgets.org ##
27278 ## ----------------------------------------- ##
27279 _ASBOX
27280 ) | sed "s/^/$as_me: WARNING: /" >&2
27281 ;;
27282 esac
27283 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27284 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27285 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27287 else
27288 ac_cv_header_ext_hash_map=$ac_header_preproc
27289 fi
27290 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27291 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27292
27293 fi
27294 if test $ac_cv_header_ext_hash_map = yes; then
27295 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27296 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27297 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27299 else
27300 cat >conftest.$ac_ext <<_ACEOF
27301 /* confdefs.h. */
27302 _ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 #include <ext/hash_map>
27307 #include <ext/hash_set>
27308 int
27309 main ()
27310 {
27311 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27312 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27313 ;
27314 return 0;
27315 }
27316 _ACEOF
27317 rm -f conftest.$ac_objext
27318 if { (ac_try="$ac_compile"
27319 case "(($ac_try" in
27320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27321 *) ac_try_echo=$ac_try;;
27322 esac
27323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27324 (eval "$ac_compile") 2>conftest.er1
27325 ac_status=$?
27326 grep -v '^ *+' conftest.er1 >conftest.err
27327 rm -f conftest.er1
27328 cat conftest.err >&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } &&
27331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27332 { (case "(($ac_try" in
27333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27334 *) ac_try_echo=$ac_try;;
27335 esac
27336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27337 (eval "$ac_try") 2>&5
27338 ac_status=$?
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); }; } &&
27341 { ac_try='test -s conftest.$ac_objext'
27342 { (case "(($ac_try" in
27343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27344 *) ac_try_echo=$ac_try;;
27345 esac
27346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27347 (eval "$ac_try") 2>&5
27348 ac_status=$?
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; }; then
27351 wx_cv_class_gnuhashmapset=yes
27352 else
27353 echo "$as_me: failed program was:" >&5
27354 sed 's/^/| /' conftest.$ac_ext >&5
27355
27356 wx_cv_class_gnuhashmapset=no
27357 fi
27358
27359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27360
27361
27362 fi
27363 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27364 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27365
27366 fi
27367
27368
27369
27370 if test "$wx_cv_class_gnuhashmapset" = yes; then
27371 cat >>confdefs.h <<\_ACEOF
27372 #define HAVE_EXT_HASH_MAP 1
27373 _ACEOF
27374
27375 cat >>confdefs.h <<\_ACEOF
27376 #define HAVE_GNU_CXX_HASH_MAP 1
27377 _ACEOF
27378
27379 fi
27380 fi
27381
27382 ac_ext=c
27383 ac_cpp='$CPP $CPPFLAGS'
27384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27387
27388
27389
27390 SEARCH_INCLUDE="\
27391 /usr/local/include \
27392 \
27393 /usr/Motif-2.1/include \
27394 /usr/Motif-1.2/include \
27395 /usr/include/Motif1.2 \
27396 \
27397 /usr/dt/include \
27398 /usr/openwin/include \
27399 \
27400 /usr/include/Xm \
27401 \
27402 /usr/X11R6/include \
27403 /usr/X11R6.4/include \
27404 /usr/X11R5/include \
27405 /usr/X11R4/include \
27406 \
27407 /usr/include/X11R6 \
27408 /usr/include/X11R5 \
27409 /usr/include/X11R4 \
27410 \
27411 /usr/local/X11R6/include \
27412 /usr/local/X11R5/include \
27413 /usr/local/X11R4/include \
27414 \
27415 /usr/local/include/X11R6 \
27416 /usr/local/include/X11R5 \
27417 /usr/local/include/X11R4 \
27418 \
27419 /usr/X11/include \
27420 /usr/include/X11 \
27421 /usr/local/X11/include \
27422 /usr/local/include/X11 \
27423 \
27424 /usr/XFree86/include/X11 \
27425 /usr/pkg/include \
27426 \
27427 /usr/openwin/share/include"
27428
27429 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27430 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27431
27432 case "${host}" in
27433 *-*-irix6* )
27434 if test "${wx_cv_std_libpath+set}" = set; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27436 else
27437
27438 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27439 for e in a so sl dylib dll.a; do
27440 libc="$d/libc.$e"
27441 if test -f $libc; then
27442 save_LIBS="$LIBS"
27443 LIBS="$libc"
27444 cat >conftest.$ac_ext <<_ACEOF
27445 int main() { return 0; }
27446 _ACEOF
27447 rm -f conftest.$ac_objext conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27452 esac
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>conftest.er1
27455 ac_status=$?
27456 grep -v '^ *+' conftest.er1 >conftest.err
27457 rm -f conftest.er1
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } &&
27461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27462 { (case "(($ac_try" in
27463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27464 *) ac_try_echo=$ac_try;;
27465 esac
27466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27467 (eval "$ac_try") 2>&5
27468 ac_status=$?
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try='test -s conftest$ac_exeext'
27472 { (case "(($ac_try" in
27473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27475 esac
27476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_try") 2>&5
27478 ac_status=$?
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; }; then
27481 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27482 else
27483 echo "$as_me: failed program was:" >&5
27484 sed 's/^/| /' conftest.$ac_ext >&5
27485
27486
27487 fi
27488
27489 rm -f core conftest.err conftest.$ac_objext \
27490 conftest$ac_exeext conftest.$ac_ext
27491 LIBS="$save_LIBS"
27492 if test "x$wx_cv_std_libpath" != "x"; then
27493 break 2
27494 fi
27495 fi
27496 done
27497 done
27498 if test "x$wx_cv_std_libpath" = "x"; then
27499 wx_cv_std_libpath="lib"
27500 fi
27501
27502
27503 fi
27504
27505 ;;
27506
27507 *-*-solaris2* )
27508 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27509 wx_cv_std_libpath="lib/64"
27510 else
27511 wx_cv_std_libpath="lib"
27512 fi
27513 ;;
27514
27515 *-*-linux* )
27516 if test "$ac_cv_sizeof_void_p" = 8 -a \
27517 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27518 wx_cv_std_libpath="lib64"
27519 else
27520 wx_cv_std_libpath="lib"
27521 fi
27522 ;;
27523
27524 *)
27525 wx_cv_std_libpath="lib";
27526 ;;
27527 esac
27528
27529 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27530 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27531
27532 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27533
27534 if test "$build" != "$host" -a "$GCC" = yes; then
27535 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27536 cross_root=`dirname $cross_root`
27537 cross_root=`dirname $cross_root`
27538
27539 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27540 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27541 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27542
27543 if test -z "$PKG_CONFIG_PATH"; then
27544 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27545 export PKG_CONFIG_PATH
27546 fi
27547
27548 if test -z "$x_includes" -o "$x_includes" = NONE; then
27549
27550 ac_find_includes=
27551 for ac_dir in $SEARCH_INCLUDE /usr/include;
27552 do
27553 if test -f "$ac_dir/X11/Intrinsic.h"; then
27554 ac_find_includes=$ac_dir
27555 break
27556 fi
27557 done
27558
27559 x_includes=$ac_find_includes
27560 fi
27561 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27562
27563 ac_find_libraries=
27564 for ac_dir in $SEARCH_LIB;
27565 do
27566 for ac_extension in a so sl dylib dll.a; do
27567 if test -f "$ac_dir/libXt.$ac_extension"; then
27568 ac_find_libraries=$ac_dir
27569 break 2
27570 fi
27571 done
27572 done
27573
27574 x_libraries=$ac_find_libraries
27575 fi
27576 fi
27577 fi
27578
27579
27580 cat >confcache <<\_ACEOF
27581 # This file is a shell script that caches the results of configure
27582 # tests run on this system so they can be shared between configure
27583 # scripts and configure runs, see configure's option --config-cache.
27584 # It is not useful on other systems. If it contains results you don't
27585 # want to keep, you may remove or edit it.
27586 #
27587 # config.status only pays attention to the cache file if you give it
27588 # the --recheck option to rerun configure.
27589 #
27590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27592 # following values.
27593
27594 _ACEOF
27595
27596 # The following way of writing the cache mishandles newlines in values,
27597 # but we know of no workaround that is simple, portable, and efficient.
27598 # So, we kill variables containing newlines.
27599 # Ultrix sh set writes to stderr and can't be redirected directly,
27600 # and sets the high bit in the cache file unless we assign to the vars.
27601 (
27602 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27603 eval ac_val=\$$ac_var
27604 case $ac_val in #(
27605 *${as_nl}*)
27606 case $ac_var in #(
27607 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27609 esac
27610 case $ac_var in #(
27611 _ | IFS | as_nl) ;; #(
27612 *) $as_unset $ac_var ;;
27613 esac ;;
27614 esac
27615 done
27616
27617 (set) 2>&1 |
27618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27619 *${as_nl}ac_space=\ *)
27620 # `set' does not quote correctly, so add quotes (double-quote
27621 # substitution turns \\\\ into \\, and sed turns \\ into \).
27622 sed -n \
27623 "s/'/'\\\\''/g;
27624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27625 ;; #(
27626 *)
27627 # `set' quotes correctly as required by POSIX, so do not add quotes.
27628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27629 ;;
27630 esac |
27631 sort
27632 ) |
27633 sed '
27634 /^ac_cv_env_/b end
27635 t clear
27636 :clear
27637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27638 t end
27639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27640 :end' >>confcache
27641 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27642 if test -w "$cache_file"; then
27643 test "x$cache_file" != "x/dev/null" &&
27644 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27645 echo "$as_me: updating cache $cache_file" >&6;}
27646 cat confcache >$cache_file
27647 else
27648 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27649 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27650 fi
27651 fi
27652 rm -f confcache
27653
27654 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27655 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27656 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27657 if test "${wx_cv_lib_glibc21+set}" = set; then
27658 echo $ECHO_N "(cached) $ECHO_C" >&6
27659 else
27660
27661 cat >conftest.$ac_ext <<_ACEOF
27662 /* confdefs.h. */
27663 _ACEOF
27664 cat confdefs.h >>conftest.$ac_ext
27665 cat >>conftest.$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667 #include <features.h>
27668 int
27669 main ()
27670 {
27671
27672 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27673 not glibc 2.1
27674 #endif
27675
27676 ;
27677 return 0;
27678 }
27679 _ACEOF
27680 rm -f conftest.$ac_objext
27681 if { (ac_try="$ac_compile"
27682 case "(($ac_try" in
27683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27684 *) ac_try_echo=$ac_try;;
27685 esac
27686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27687 (eval "$ac_compile") 2>conftest.er1
27688 ac_status=$?
27689 grep -v '^ *+' conftest.er1 >conftest.err
27690 rm -f conftest.er1
27691 cat conftest.err >&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } &&
27694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27695 { (case "(($ac_try" in
27696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27697 *) ac_try_echo=$ac_try;;
27698 esac
27699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27700 (eval "$ac_try") 2>&5
27701 ac_status=$?
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; } &&
27704 { ac_try='test -s conftest.$ac_objext'
27705 { (case "(($ac_try" in
27706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27707 *) ac_try_echo=$ac_try;;
27708 esac
27709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27710 (eval "$ac_try") 2>&5
27711 ac_status=$?
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); }; }; then
27714
27715 wx_cv_lib_glibc21=yes
27716
27717 else
27718 echo "$as_me: failed program was:" >&5
27719 sed 's/^/| /' conftest.$ac_ext >&5
27720
27721
27722 wx_cv_lib_glibc21=no
27723
27724
27725 fi
27726
27727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27728
27729 fi
27730 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27731 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27732 if test "$wx_cv_lib_glibc21" = "yes"; then
27733 cat >>confdefs.h <<\_ACEOF
27734 #define wxHAVE_GLIBC2 1
27735 _ACEOF
27736
27737 fi
27738 fi
27739
27740 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27741 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27742 cat >>confdefs.h <<\_ACEOF
27743 #define _GNU_SOURCE 1
27744 _ACEOF
27745
27746 fi
27747 fi
27748
27749 have_cos=0
27750 have_floor=0
27751
27752 for ac_func in cos
27753 do
27754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27758 echo $ECHO_N "(cached) $ECHO_C" >&6
27759 else
27760 cat >conftest.$ac_ext <<_ACEOF
27761 /* confdefs.h. */
27762 _ACEOF
27763 cat confdefs.h >>conftest.$ac_ext
27764 cat >>conftest.$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27768 #define $ac_func innocuous_$ac_func
27769
27770 /* System header to define __stub macros and hopefully few prototypes,
27771 which can conflict with char $ac_func (); below.
27772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27773 <limits.h> exists even on freestanding compilers. */
27774
27775 #ifdef __STDC__
27776 # include <limits.h>
27777 #else
27778 # include <assert.h>
27779 #endif
27780
27781 #undef $ac_func
27782
27783 /* Override any GCC internal prototype to avoid an error.
27784 Use char because int might match the return type of a GCC
27785 builtin and then its argument prototype would still apply. */
27786 #ifdef __cplusplus
27787 extern "C"
27788 #endif
27789 char $ac_func ();
27790 /* The GNU C library defines this for functions which it implements
27791 to always fail with ENOSYS. Some functions are actually named
27792 something starting with __ and the normal name is an alias. */
27793 #if defined __stub_$ac_func || defined __stub___$ac_func
27794 choke me
27795 #endif
27796
27797 int
27798 main ()
27799 {
27800 return $ac_func ();
27801 ;
27802 return 0;
27803 }
27804 _ACEOF
27805 rm -f conftest.$ac_objext conftest$ac_exeext
27806 if { (ac_try="$ac_link"
27807 case "(($ac_try" in
27808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27809 *) ac_try_echo=$ac_try;;
27810 esac
27811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27812 (eval "$ac_link") 2>conftest.er1
27813 ac_status=$?
27814 grep -v '^ *+' conftest.er1 >conftest.err
27815 rm -f conftest.er1
27816 cat conftest.err >&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); } &&
27819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27820 { (case "(($ac_try" in
27821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27822 *) ac_try_echo=$ac_try;;
27823 esac
27824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_try") 2>&5
27826 ac_status=$?
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); }; } &&
27829 { ac_try='test -s conftest$ac_exeext'
27830 { (case "(($ac_try" in
27831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27832 *) ac_try_echo=$ac_try;;
27833 esac
27834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27835 (eval "$ac_try") 2>&5
27836 ac_status=$?
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; }; then
27839 eval "$as_ac_var=yes"
27840 else
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.$ac_ext >&5
27843
27844 eval "$as_ac_var=no"
27845 fi
27846
27847 rm -f core conftest.err conftest.$ac_objext \
27848 conftest$ac_exeext conftest.$ac_ext
27849 fi
27850 ac_res=`eval echo '${'$as_ac_var'}'`
27851 { echo "$as_me:$LINENO: result: $ac_res" >&5
27852 echo "${ECHO_T}$ac_res" >&6; }
27853 if test `eval echo '${'$as_ac_var'}'` = yes; then
27854 cat >>confdefs.h <<_ACEOF
27855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27856 _ACEOF
27857 have_cos=1
27858 fi
27859 done
27860
27861
27862 for ac_func in floor
27863 do
27864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27868 echo $ECHO_N "(cached) $ECHO_C" >&6
27869 else
27870 cat >conftest.$ac_ext <<_ACEOF
27871 /* confdefs.h. */
27872 _ACEOF
27873 cat confdefs.h >>conftest.$ac_ext
27874 cat >>conftest.$ac_ext <<_ACEOF
27875 /* end confdefs.h. */
27876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27878 #define $ac_func innocuous_$ac_func
27879
27880 /* System header to define __stub macros and hopefully few prototypes,
27881 which can conflict with char $ac_func (); below.
27882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27883 <limits.h> exists even on freestanding compilers. */
27884
27885 #ifdef __STDC__
27886 # include <limits.h>
27887 #else
27888 # include <assert.h>
27889 #endif
27890
27891 #undef $ac_func
27892
27893 /* Override any GCC internal prototype to avoid an error.
27894 Use char because int might match the return type of a GCC
27895 builtin and then its argument prototype would still apply. */
27896 #ifdef __cplusplus
27897 extern "C"
27898 #endif
27899 char $ac_func ();
27900 /* The GNU C library defines this for functions which it implements
27901 to always fail with ENOSYS. Some functions are actually named
27902 something starting with __ and the normal name is an alias. */
27903 #if defined __stub_$ac_func || defined __stub___$ac_func
27904 choke me
27905 #endif
27906
27907 int
27908 main ()
27909 {
27910 return $ac_func ();
27911 ;
27912 return 0;
27913 }
27914 _ACEOF
27915 rm -f conftest.$ac_objext conftest$ac_exeext
27916 if { (ac_try="$ac_link"
27917 case "(($ac_try" in
27918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27919 *) ac_try_echo=$ac_try;;
27920 esac
27921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27922 (eval "$ac_link") 2>conftest.er1
27923 ac_status=$?
27924 grep -v '^ *+' conftest.er1 >conftest.err
27925 rm -f conftest.er1
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } &&
27929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27930 { (case "(($ac_try" in
27931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27932 *) ac_try_echo=$ac_try;;
27933 esac
27934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27935 (eval "$ac_try") 2>&5
27936 ac_status=$?
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); }; } &&
27939 { ac_try='test -s conftest$ac_exeext'
27940 { (case "(($ac_try" in
27941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27942 *) ac_try_echo=$ac_try;;
27943 esac
27944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27945 (eval "$ac_try") 2>&5
27946 ac_status=$?
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; }; then
27949 eval "$as_ac_var=yes"
27950 else
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27953
27954 eval "$as_ac_var=no"
27955 fi
27956
27957 rm -f core conftest.err conftest.$ac_objext \
27958 conftest$ac_exeext conftest.$ac_ext
27959 fi
27960 ac_res=`eval echo '${'$as_ac_var'}'`
27961 { echo "$as_me:$LINENO: result: $ac_res" >&5
27962 echo "${ECHO_T}$ac_res" >&6; }
27963 if test `eval echo '${'$as_ac_var'}'` = yes; then
27964 cat >>confdefs.h <<_ACEOF
27965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27966 _ACEOF
27967 have_floor=1
27968 fi
27969 done
27970
27971 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27972 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27973 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27974 { echo "$as_me:$LINENO: result: yes" >&5
27975 echo "${ECHO_T}yes" >&6; }
27976 else
27977 { echo "$as_me:$LINENO: result: no" >&5
27978 echo "${ECHO_T}no" >&6; }
27979 LIBS="$LIBS -lm"
27980 # use different functions to avoid configure caching
27981 have_sin=0
27982 have_ceil=0
27983
27984 for ac_func in sin
27985 do
27986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27987 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27989 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27991 else
27992 cat >conftest.$ac_ext <<_ACEOF
27993 /* confdefs.h. */
27994 _ACEOF
27995 cat confdefs.h >>conftest.$ac_ext
27996 cat >>conftest.$ac_ext <<_ACEOF
27997 /* end confdefs.h. */
27998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28000 #define $ac_func innocuous_$ac_func
28001
28002 /* System header to define __stub macros and hopefully few prototypes,
28003 which can conflict with char $ac_func (); below.
28004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28005 <limits.h> exists even on freestanding compilers. */
28006
28007 #ifdef __STDC__
28008 # include <limits.h>
28009 #else
28010 # include <assert.h>
28011 #endif
28012
28013 #undef $ac_func
28014
28015 /* Override any GCC internal prototype to avoid an error.
28016 Use char because int might match the return type of a GCC
28017 builtin and then its argument prototype would still apply. */
28018 #ifdef __cplusplus
28019 extern "C"
28020 #endif
28021 char $ac_func ();
28022 /* The GNU C library defines this for functions which it implements
28023 to always fail with ENOSYS. Some functions are actually named
28024 something starting with __ and the normal name is an alias. */
28025 #if defined __stub_$ac_func || defined __stub___$ac_func
28026 choke me
28027 #endif
28028
28029 int
28030 main ()
28031 {
28032 return $ac_func ();
28033 ;
28034 return 0;
28035 }
28036 _ACEOF
28037 rm -f conftest.$ac_objext conftest$ac_exeext
28038 if { (ac_try="$ac_link"
28039 case "(($ac_try" in
28040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28041 *) ac_try_echo=$ac_try;;
28042 esac
28043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28044 (eval "$ac_link") 2>conftest.er1
28045 ac_status=$?
28046 grep -v '^ *+' conftest.er1 >conftest.err
28047 rm -f conftest.er1
28048 cat conftest.err >&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); } &&
28051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28052 { (case "(($ac_try" in
28053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28054 *) ac_try_echo=$ac_try;;
28055 esac
28056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28057 (eval "$ac_try") 2>&5
28058 ac_status=$?
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); }; } &&
28061 { ac_try='test -s conftest$ac_exeext'
28062 { (case "(($ac_try" in
28063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28064 *) ac_try_echo=$ac_try;;
28065 esac
28066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28067 (eval "$ac_try") 2>&5
28068 ac_status=$?
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); }; }; then
28071 eval "$as_ac_var=yes"
28072 else
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.$ac_ext >&5
28075
28076 eval "$as_ac_var=no"
28077 fi
28078
28079 rm -f core conftest.err conftest.$ac_objext \
28080 conftest$ac_exeext conftest.$ac_ext
28081 fi
28082 ac_res=`eval echo '${'$as_ac_var'}'`
28083 { echo "$as_me:$LINENO: result: $ac_res" >&5
28084 echo "${ECHO_T}$ac_res" >&6; }
28085 if test `eval echo '${'$as_ac_var'}'` = yes; then
28086 cat >>confdefs.h <<_ACEOF
28087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28088 _ACEOF
28089 have_sin=1
28090 fi
28091 done
28092
28093
28094 for ac_func in ceil
28095 do
28096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28100 echo $ECHO_N "(cached) $ECHO_C" >&6
28101 else
28102 cat >conftest.$ac_ext <<_ACEOF
28103 /* confdefs.h. */
28104 _ACEOF
28105 cat confdefs.h >>conftest.$ac_ext
28106 cat >>conftest.$ac_ext <<_ACEOF
28107 /* end confdefs.h. */
28108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28110 #define $ac_func innocuous_$ac_func
28111
28112 /* System header to define __stub macros and hopefully few prototypes,
28113 which can conflict with char $ac_func (); below.
28114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28115 <limits.h> exists even on freestanding compilers. */
28116
28117 #ifdef __STDC__
28118 # include <limits.h>
28119 #else
28120 # include <assert.h>
28121 #endif
28122
28123 #undef $ac_func
28124
28125 /* Override any GCC internal prototype to avoid an error.
28126 Use char because int might match the return type of a GCC
28127 builtin and then its argument prototype would still apply. */
28128 #ifdef __cplusplus
28129 extern "C"
28130 #endif
28131 char $ac_func ();
28132 /* The GNU C library defines this for functions which it implements
28133 to always fail with ENOSYS. Some functions are actually named
28134 something starting with __ and the normal name is an alias. */
28135 #if defined __stub_$ac_func || defined __stub___$ac_func
28136 choke me
28137 #endif
28138
28139 int
28140 main ()
28141 {
28142 return $ac_func ();
28143 ;
28144 return 0;
28145 }
28146 _ACEOF
28147 rm -f conftest.$ac_objext conftest$ac_exeext
28148 if { (ac_try="$ac_link"
28149 case "(($ac_try" in
28150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28151 *) ac_try_echo=$ac_try;;
28152 esac
28153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28154 (eval "$ac_link") 2>conftest.er1
28155 ac_status=$?
28156 grep -v '^ *+' conftest.er1 >conftest.err
28157 rm -f conftest.er1
28158 cat conftest.err >&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28162 { (case "(($ac_try" in
28163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28164 *) ac_try_echo=$ac_try;;
28165 esac
28166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28167 (eval "$ac_try") 2>&5
28168 ac_status=$?
28169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28170 (exit $ac_status); }; } &&
28171 { ac_try='test -s conftest$ac_exeext'
28172 { (case "(($ac_try" in
28173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28174 *) ac_try_echo=$ac_try;;
28175 esac
28176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28177 (eval "$ac_try") 2>&5
28178 ac_status=$?
28179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180 (exit $ac_status); }; }; then
28181 eval "$as_ac_var=yes"
28182 else
28183 echo "$as_me: failed program was:" >&5
28184 sed 's/^/| /' conftest.$ac_ext >&5
28185
28186 eval "$as_ac_var=no"
28187 fi
28188
28189 rm -f core conftest.err conftest.$ac_objext \
28190 conftest$ac_exeext conftest.$ac_ext
28191 fi
28192 ac_res=`eval echo '${'$as_ac_var'}'`
28193 { echo "$as_me:$LINENO: result: $ac_res" >&5
28194 echo "${ECHO_T}$ac_res" >&6; }
28195 if test `eval echo '${'$as_ac_var'}'` = yes; then
28196 cat >>confdefs.h <<_ACEOF
28197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28198 _ACEOF
28199 have_ceil=1
28200 fi
28201 done
28202
28203 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28204 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28205 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28206 { echo "$as_me:$LINENO: result: yes" >&5
28207 echo "${ECHO_T}yes" >&6; }
28208 else
28209 { echo "$as_me:$LINENO: result: no" >&5
28210 echo "${ECHO_T}no" >&6; }
28211 # not sure we should warn the user, crash, etc.
28212 fi
28213 fi
28214
28215 ac_ext=cpp
28216 ac_cpp='$CXXCPP $CPPFLAGS'
28217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28220
28221 if test "wxUSE_UNICODE" = "yes"; then
28222
28223 for wx_func in wcstoull
28224 do
28225 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28226 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28227 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28228 echo $ECHO_N "(cached) $ECHO_C" >&6
28229 else
28230
28231 cat >conftest.$ac_ext <<_ACEOF
28232
28233 /* confdefs.h. */
28234 _ACEOF
28235 cat confdefs.h >>conftest.$ac_ext
28236 cat >>conftest.$ac_ext <<_ACEOF
28237 /* end confdefs.h. */
28238
28239
28240 $ac_includes_default
28241
28242 int
28243 main ()
28244 {
28245
28246 #ifndef $wx_func
28247 &$wx_func;
28248 #endif
28249
28250
28251 ;
28252 return 0;
28253 }
28254
28255 _ACEOF
28256 rm -f conftest.$ac_objext conftest$ac_exeext
28257 if { (ac_try="$ac_link"
28258 case "(($ac_try" in
28259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28260 *) ac_try_echo=$ac_try;;
28261 esac
28262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28263 (eval "$ac_link") 2>conftest.er1
28264 ac_status=$?
28265 grep -v '^ *+' conftest.er1 >conftest.err
28266 rm -f conftest.er1
28267 cat conftest.err >&5
28268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269 (exit $ac_status); } &&
28270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28271 { (case "(($ac_try" in
28272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28273 *) ac_try_echo=$ac_try;;
28274 esac
28275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28276 (eval "$ac_try") 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; } &&
28280 { ac_try='test -s conftest$ac_exeext'
28281 { (case "(($ac_try" in
28282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28283 *) ac_try_echo=$ac_try;;
28284 esac
28285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28286 (eval "$ac_try") 2>&5
28287 ac_status=$?
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); }; }; then
28290 eval wx_cv_func_$wx_func=yes
28291 else
28292 echo "$as_me: failed program was:" >&5
28293 sed 's/^/| /' conftest.$ac_ext >&5
28294
28295 eval wx_cv_func_$wx_func=no
28296 fi
28297
28298 rm -f core conftest.err conftest.$ac_objext \
28299 conftest$ac_exeext conftest.$ac_ext
28300
28301 fi
28302 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28303 { echo "$as_me:$LINENO: result: $ac_res" >&5
28304 echo "${ECHO_T}$ac_res" >&6; }
28305
28306 if eval test \$wx_cv_func_$wx_func = yes
28307 then
28308 cat >>confdefs.h <<_ACEOF
28309 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28310 _ACEOF
28311
28312
28313 else
28314 :
28315
28316 fi
28317 done
28318
28319 else
28320
28321 for wx_func in strtoull
28322 do
28323 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28324 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28325 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28327 else
28328
28329 cat >conftest.$ac_ext <<_ACEOF
28330
28331 /* confdefs.h. */
28332 _ACEOF
28333 cat confdefs.h >>conftest.$ac_ext
28334 cat >>conftest.$ac_ext <<_ACEOF
28335 /* end confdefs.h. */
28336
28337
28338 $ac_includes_default
28339
28340 int
28341 main ()
28342 {
28343
28344 #ifndef $wx_func
28345 &$wx_func;
28346 #endif
28347
28348
28349 ;
28350 return 0;
28351 }
28352
28353 _ACEOF
28354 rm -f conftest.$ac_objext conftest$ac_exeext
28355 if { (ac_try="$ac_link"
28356 case "(($ac_try" in
28357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28358 *) ac_try_echo=$ac_try;;
28359 esac
28360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28361 (eval "$ac_link") 2>conftest.er1
28362 ac_status=$?
28363 grep -v '^ *+' conftest.er1 >conftest.err
28364 rm -f conftest.er1
28365 cat conftest.err >&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } &&
28368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28369 { (case "(($ac_try" in
28370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28371 *) ac_try_echo=$ac_try;;
28372 esac
28373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28374 (eval "$ac_try") 2>&5
28375 ac_status=$?
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); }; } &&
28378 { ac_try='test -s conftest$ac_exeext'
28379 { (case "(($ac_try" in
28380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28381 *) ac_try_echo=$ac_try;;
28382 esac
28383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28384 (eval "$ac_try") 2>&5
28385 ac_status=$?
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388 eval wx_cv_func_$wx_func=yes
28389 else
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.$ac_ext >&5
28392
28393 eval wx_cv_func_$wx_func=no
28394 fi
28395
28396 rm -f core conftest.err conftest.$ac_objext \
28397 conftest$ac_exeext conftest.$ac_ext
28398
28399 fi
28400 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28401 { echo "$as_me:$LINENO: result: $ac_res" >&5
28402 echo "${ECHO_T}$ac_res" >&6; }
28403
28404 if eval test \$wx_cv_func_$wx_func = yes
28405 then
28406 cat >>confdefs.h <<_ACEOF
28407 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28408 _ACEOF
28409
28410
28411 else
28412 :
28413
28414 fi
28415 done
28416
28417 fi
28418 ac_ext=c
28419 ac_cpp='$CPP $CPPFLAGS'
28420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28423
28424
28425
28426
28427 if test "$wxUSE_REGEX" != "no"; then
28428 cat >>confdefs.h <<\_ACEOF
28429 #define wxUSE_REGEX 1
28430 _ACEOF
28431
28432
28433 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28434 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28435 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28436 wxUSE_REGEX=builtin
28437 fi
28438
28439 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28440 if test "${ac_cv_header_regex_h+set}" = set; then
28441 { echo "$as_me:$LINENO: checking for regex.h" >&5
28442 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28443 if test "${ac_cv_header_regex_h+set}" = set; then
28444 echo $ECHO_N "(cached) $ECHO_C" >&6
28445 fi
28446 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28447 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28448 else
28449 # Is the header compilable?
28450 { echo "$as_me:$LINENO: checking regex.h usability" >&5
28451 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6; }
28452 cat >conftest.$ac_ext <<_ACEOF
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458 $ac_includes_default
28459 #include <regex.h>
28460 _ACEOF
28461 rm -f conftest.$ac_objext
28462 if { (ac_try="$ac_compile"
28463 case "(($ac_try" in
28464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28465 *) ac_try_echo=$ac_try;;
28466 esac
28467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28468 (eval "$ac_compile") 2>conftest.er1
28469 ac_status=$?
28470 grep -v '^ *+' conftest.er1 >conftest.err
28471 rm -f conftest.er1
28472 cat conftest.err >&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); } &&
28475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28476 { (case "(($ac_try" in
28477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28478 *) ac_try_echo=$ac_try;;
28479 esac
28480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28481 (eval "$ac_try") 2>&5
28482 ac_status=$?
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); }; } &&
28485 { ac_try='test -s conftest.$ac_objext'
28486 { (case "(($ac_try" in
28487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28488 *) ac_try_echo=$ac_try;;
28489 esac
28490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28491 (eval "$ac_try") 2>&5
28492 ac_status=$?
28493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28494 (exit $ac_status); }; }; then
28495 ac_header_compiler=yes
28496 else
28497 echo "$as_me: failed program was:" >&5
28498 sed 's/^/| /' conftest.$ac_ext >&5
28499
28500 ac_header_compiler=no
28501 fi
28502
28503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28504 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28505 echo "${ECHO_T}$ac_header_compiler" >&6; }
28506
28507 # Is the header present?
28508 { echo "$as_me:$LINENO: checking regex.h presence" >&5
28509 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6; }
28510 cat >conftest.$ac_ext <<_ACEOF
28511 /* confdefs.h. */
28512 _ACEOF
28513 cat confdefs.h >>conftest.$ac_ext
28514 cat >>conftest.$ac_ext <<_ACEOF
28515 /* end confdefs.h. */
28516 #include <regex.h>
28517 _ACEOF
28518 if { (ac_try="$ac_cpp conftest.$ac_ext"
28519 case "(($ac_try" in
28520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28521 *) ac_try_echo=$ac_try;;
28522 esac
28523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28525 ac_status=$?
28526 grep -v '^ *+' conftest.er1 >conftest.err
28527 rm -f conftest.er1
28528 cat conftest.err >&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); } >/dev/null; then
28531 if test -s conftest.err; then
28532 ac_cpp_err=$ac_c_preproc_warn_flag
28533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28534 else
28535 ac_cpp_err=
28536 fi
28537 else
28538 ac_cpp_err=yes
28539 fi
28540 if test -z "$ac_cpp_err"; then
28541 ac_header_preproc=yes
28542 else
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.$ac_ext >&5
28545
28546 ac_header_preproc=no
28547 fi
28548
28549 rm -f conftest.err conftest.$ac_ext
28550 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28551 echo "${ECHO_T}$ac_header_preproc" >&6; }
28552
28553 # So? What about this header?
28554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28555 yes:no: )
28556 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
28557 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28558 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
28559 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
28560 ac_header_preproc=yes
28561 ;;
28562 no:yes:* )
28563 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
28564 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
28565 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
28566 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
28567 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
28568 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
28569 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
28570 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
28571 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
28572 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
28573 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
28574 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
28575 ( cat <<\_ASBOX
28576 ## ----------------------------------------- ##
28577 ## Report this to wx-dev@lists.wxwidgets.org ##
28578 ## ----------------------------------------- ##
28579 _ASBOX
28580 ) | sed "s/^/$as_me: WARNING: /" >&2
28581 ;;
28582 esac
28583 { echo "$as_me:$LINENO: checking for regex.h" >&5
28584 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28585 if test "${ac_cv_header_regex_h+set}" = set; then
28586 echo $ECHO_N "(cached) $ECHO_C" >&6
28587 else
28588 ac_cv_header_regex_h=$ac_header_preproc
28589 fi
28590 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28591 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28592
28593 fi
28594 if test $ac_cv_header_regex_h = yes; then
28595
28596
28597 for ac_func in regcomp re_search
28598 do
28599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28603 echo $ECHO_N "(cached) $ECHO_C" >&6
28604 else
28605 cat >conftest.$ac_ext <<_ACEOF
28606 /* confdefs.h. */
28607 _ACEOF
28608 cat confdefs.h >>conftest.$ac_ext
28609 cat >>conftest.$ac_ext <<_ACEOF
28610 /* end confdefs.h. */
28611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28613 #define $ac_func innocuous_$ac_func
28614
28615 /* System header to define __stub macros and hopefully few prototypes,
28616 which can conflict with char $ac_func (); below.
28617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28618 <limits.h> exists even on freestanding compilers. */
28619
28620 #ifdef __STDC__
28621 # include <limits.h>
28622 #else
28623 # include <assert.h>
28624 #endif
28625
28626 #undef $ac_func
28627
28628 /* Override any GCC internal prototype to avoid an error.
28629 Use char because int might match the return type of a GCC
28630 builtin and then its argument prototype would still apply. */
28631 #ifdef __cplusplus
28632 extern "C"
28633 #endif
28634 char $ac_func ();
28635 /* The GNU C library defines this for functions which it implements
28636 to always fail with ENOSYS. Some functions are actually named
28637 something starting with __ and the normal name is an alias. */
28638 #if defined __stub_$ac_func || defined __stub___$ac_func
28639 choke me
28640 #endif
28641
28642 int
28643 main ()
28644 {
28645 return $ac_func ();
28646 ;
28647 return 0;
28648 }
28649 _ACEOF
28650 rm -f conftest.$ac_objext conftest$ac_exeext
28651 if { (ac_try="$ac_link"
28652 case "(($ac_try" in
28653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28654 *) ac_try_echo=$ac_try;;
28655 esac
28656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28657 (eval "$ac_link") 2>conftest.er1
28658 ac_status=$?
28659 grep -v '^ *+' conftest.er1 >conftest.err
28660 rm -f conftest.er1
28661 cat conftest.err >&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } &&
28664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28665 { (case "(($ac_try" in
28666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28667 *) ac_try_echo=$ac_try;;
28668 esac
28669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28670 (eval "$ac_try") 2>&5
28671 ac_status=$?
28672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673 (exit $ac_status); }; } &&
28674 { ac_try='test -s conftest$ac_exeext'
28675 { (case "(($ac_try" in
28676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28677 *) ac_try_echo=$ac_try;;
28678 esac
28679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28680 (eval "$ac_try") 2>&5
28681 ac_status=$?
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 eval "$as_ac_var=yes"
28685 else
28686 echo "$as_me: failed program was:" >&5
28687 sed 's/^/| /' conftest.$ac_ext >&5
28688
28689 eval "$as_ac_var=no"
28690 fi
28691
28692 rm -f core conftest.err conftest.$ac_objext \
28693 conftest$ac_exeext conftest.$ac_ext
28694 fi
28695 ac_res=`eval echo '${'$as_ac_var'}'`
28696 { echo "$as_me:$LINENO: result: $ac_res" >&5
28697 echo "${ECHO_T}$ac_res" >&6; }
28698 if test `eval echo '${'$as_ac_var'}'` = yes; then
28699 cat >>confdefs.h <<_ACEOF
28700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28701 _ACEOF
28702
28703 fi
28704 done
28705
28706 fi
28707
28708
28709
28710 if test "x$ac_cv_func_regcomp" != "xyes"; then
28711 if test "$wxUSE_REGEX" = "sys" ; then
28712 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28713 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28714 { (exit 1); exit 1; }; }
28715 else
28716 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28717 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28718 wxUSE_REGEX=builtin
28719 fi
28720 else
28721 wxUSE_REGEX=sys
28722 cat >>confdefs.h <<\_ACEOF
28723 #define WX_NO_REGEX_ADVANCED 1
28724 _ACEOF
28725
28726 fi
28727 fi
28728 fi
28729
28730
28731 ZLIB_LINK=
28732 if test "$wxUSE_ZLIB" != "no" ; then
28733 cat >>confdefs.h <<\_ACEOF
28734 #define wxUSE_ZLIB 1
28735 _ACEOF
28736
28737
28738 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28739 if test "$USE_DARWIN" = 1; then
28740 system_zlib_h_ok="yes"
28741 else
28742 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28743 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28744 if test "${ac_cv_header_zlib_h+set}" = set; then
28745 echo $ECHO_N "(cached) $ECHO_C" >&6
28746 else
28747 if test "$cross_compiling" = yes; then
28748 unset ac_cv_header_zlib_h
28749
28750 else
28751 cat >conftest.$ac_ext <<_ACEOF
28752 /* confdefs.h. */
28753 _ACEOF
28754 cat confdefs.h >>conftest.$ac_ext
28755 cat >>conftest.$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28757
28758 #include <zlib.h>
28759 #include <stdio.h>
28760
28761 int main()
28762 {
28763 FILE *f=fopen("conftestval", "w");
28764 if (!f) exit(1);
28765 fprintf(f, "%s",
28766 ZLIB_VERSION[0] == '1' &&
28767 (ZLIB_VERSION[2] > '1' ||
28768 (ZLIB_VERSION[2] == '1' &&
28769 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28770 exit(0);
28771 }
28772
28773 _ACEOF
28774 rm -f conftest$ac_exeext
28775 if { (ac_try="$ac_link"
28776 case "(($ac_try" in
28777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28778 *) ac_try_echo=$ac_try;;
28779 esac
28780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_link") 2>&5
28782 ac_status=$?
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28785 { (case "(($ac_try" in
28786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28787 *) ac_try_echo=$ac_try;;
28788 esac
28789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28790 (eval "$ac_try") 2>&5
28791 ac_status=$?
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; }; then
28794 ac_cv_header_zlib_h=`cat conftestval`
28795 else
28796 echo "$as_me: program exited with status $ac_status" >&5
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.$ac_ext >&5
28799
28800 ( exit $ac_status )
28801 ac_cv_header_zlib_h=no
28802 fi
28803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28804 fi
28805
28806
28807
28808 fi
28809 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28810 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28811 if test "${ac_cv_header_zlib_h+set}" = set; then
28812 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28813 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28814 if test "${ac_cv_header_zlib_h+set}" = set; then
28815 echo $ECHO_N "(cached) $ECHO_C" >&6
28816 fi
28817 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28818 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28819 else
28820 # Is the header compilable?
28821 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
28822 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
28823 cat >conftest.$ac_ext <<_ACEOF
28824 /* confdefs.h. */
28825 _ACEOF
28826 cat confdefs.h >>conftest.$ac_ext
28827 cat >>conftest.$ac_ext <<_ACEOF
28828 /* end confdefs.h. */
28829 $ac_includes_default
28830 #include <zlib.h>
28831 _ACEOF
28832 rm -f conftest.$ac_objext
28833 if { (ac_try="$ac_compile"
28834 case "(($ac_try" in
28835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28836 *) ac_try_echo=$ac_try;;
28837 esac
28838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28839 (eval "$ac_compile") 2>conftest.er1
28840 ac_status=$?
28841 grep -v '^ *+' conftest.er1 >conftest.err
28842 rm -f conftest.er1
28843 cat conftest.err >&5
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); } &&
28846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28847 { (case "(($ac_try" in
28848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28849 *) ac_try_echo=$ac_try;;
28850 esac
28851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28852 (eval "$ac_try") 2>&5
28853 ac_status=$?
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; } &&
28856 { ac_try='test -s conftest.$ac_objext'
28857 { (case "(($ac_try" in
28858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28859 *) ac_try_echo=$ac_try;;
28860 esac
28861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28862 (eval "$ac_try") 2>&5
28863 ac_status=$?
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; }; then
28866 ac_header_compiler=yes
28867 else
28868 echo "$as_me: failed program was:" >&5
28869 sed 's/^/| /' conftest.$ac_ext >&5
28870
28871 ac_header_compiler=no
28872 fi
28873
28874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28875 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28876 echo "${ECHO_T}$ac_header_compiler" >&6; }
28877
28878 # Is the header present?
28879 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
28880 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
28881 cat >conftest.$ac_ext <<_ACEOF
28882 /* confdefs.h. */
28883 _ACEOF
28884 cat confdefs.h >>conftest.$ac_ext
28885 cat >>conftest.$ac_ext <<_ACEOF
28886 /* end confdefs.h. */
28887 #include <zlib.h>
28888 _ACEOF
28889 if { (ac_try="$ac_cpp conftest.$ac_ext"
28890 case "(($ac_try" in
28891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28892 *) ac_try_echo=$ac_try;;
28893 esac
28894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28896 ac_status=$?
28897 grep -v '^ *+' conftest.er1 >conftest.err
28898 rm -f conftest.er1
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } >/dev/null; then
28902 if test -s conftest.err; then
28903 ac_cpp_err=$ac_c_preproc_warn_flag
28904 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28905 else
28906 ac_cpp_err=
28907 fi
28908 else
28909 ac_cpp_err=yes
28910 fi
28911 if test -z "$ac_cpp_err"; then
28912 ac_header_preproc=yes
28913 else
28914 echo "$as_me: failed program was:" >&5
28915 sed 's/^/| /' conftest.$ac_ext >&5
28916
28917 ac_header_preproc=no
28918 fi
28919
28920 rm -f conftest.err conftest.$ac_ext
28921 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28922 echo "${ECHO_T}$ac_header_preproc" >&6; }
28923
28924 # So? What about this header?
28925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28926 yes:no: )
28927 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
28928 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28929 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
28930 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
28931 ac_header_preproc=yes
28932 ;;
28933 no:yes:* )
28934 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
28935 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
28936 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
28937 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
28938 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
28939 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
28940 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
28941 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
28942 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
28943 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
28944 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
28945 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
28946 ( cat <<\_ASBOX
28947 ## ----------------------------------------- ##
28948 ## Report this to wx-dev@lists.wxwidgets.org ##
28949 ## ----------------------------------------- ##
28950 _ASBOX
28951 ) | sed "s/^/$as_me: WARNING: /" >&2
28952 ;;
28953 esac
28954 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28955 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28956 if test "${ac_cv_header_zlib_h+set}" = set; then
28957 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 else
28959 ac_cv_header_zlib_h=$ac_header_preproc
28960 fi
28961 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28962 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28963
28964 fi
28965
28966
28967
28968 system_zlib_h_ok=$ac_cv_header_zlib_h
28969 fi
28970
28971 if test "$system_zlib_h_ok" = "yes"; then
28972 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28973 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28974 if test "${ac_cv_lib_z_deflate+set}" = set; then
28975 echo $ECHO_N "(cached) $ECHO_C" >&6
28976 else
28977 ac_check_lib_save_LIBS=$LIBS
28978 LIBS="-lz $LIBS"
28979 cat >conftest.$ac_ext <<_ACEOF
28980 /* confdefs.h. */
28981 _ACEOF
28982 cat confdefs.h >>conftest.$ac_ext
28983 cat >>conftest.$ac_ext <<_ACEOF
28984 /* end confdefs.h. */
28985
28986 /* Override any GCC internal prototype to avoid an error.
28987 Use char because int might match the return type of a GCC
28988 builtin and then its argument prototype would still apply. */
28989 #ifdef __cplusplus
28990 extern "C"
28991 #endif
28992 char deflate ();
28993 int
28994 main ()
28995 {
28996 return deflate ();
28997 ;
28998 return 0;
28999 }
29000 _ACEOF
29001 rm -f conftest.$ac_objext conftest$ac_exeext
29002 if { (ac_try="$ac_link"
29003 case "(($ac_try" in
29004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29005 *) ac_try_echo=$ac_try;;
29006 esac
29007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29008 (eval "$ac_link") 2>conftest.er1
29009 ac_status=$?
29010 grep -v '^ *+' conftest.er1 >conftest.err
29011 rm -f conftest.er1
29012 cat conftest.err >&5
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); } &&
29015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29016 { (case "(($ac_try" in
29017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29018 *) ac_try_echo=$ac_try;;
29019 esac
29020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29021 (eval "$ac_try") 2>&5
29022 ac_status=$?
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try='test -s conftest$ac_exeext'
29026 { (case "(($ac_try" in
29027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29029 esac
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_try") 2>&5
29032 ac_status=$?
29033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 (exit $ac_status); }; }; then
29035 ac_cv_lib_z_deflate=yes
29036 else
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.$ac_ext >&5
29039
29040 ac_cv_lib_z_deflate=no
29041 fi
29042
29043 rm -f core conftest.err conftest.$ac_objext \
29044 conftest$ac_exeext conftest.$ac_ext
29045 LIBS=$ac_check_lib_save_LIBS
29046 fi
29047 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
29048 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
29049 if test $ac_cv_lib_z_deflate = yes; then
29050 ZLIB_LINK=" -lz"
29051 fi
29052
29053 fi
29054
29055 if test "x$ZLIB_LINK" = "x" ; then
29056 if test "$wxUSE_ZLIB" = "sys" ; then
29057 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
29058 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
29059 { (exit 1); exit 1; }; }
29060 else
29061 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
29062 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
29063 wxUSE_ZLIB=builtin
29064 fi
29065 else
29066 wxUSE_ZLIB=sys
29067 fi
29068 fi
29069 fi
29070
29071
29072 PNG_LINK=
29073 if test "$wxUSE_LIBPNG" != "no" ; then
29074 cat >>confdefs.h <<\_ACEOF
29075 #define wxUSE_LIBPNG 1
29076 _ACEOF
29077
29078
29079 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
29080 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
29081 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
29082 wxUSE_LIBPNG=sys
29083 fi
29084
29085 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
29086 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
29087 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
29088 wxUSE_LIBPNG=builtin
29089 fi
29090
29091 if test "$wxUSE_MGL" != 1 ; then
29092 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
29093 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
29094 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
29095 if test "${ac_cv_header_png_h+set}" = set; then
29096 echo $ECHO_N "(cached) $ECHO_C" >&6
29097 else
29098 if test "$cross_compiling" = yes; then
29099 unset ac_cv_header_png_h
29100
29101 else
29102 cat >conftest.$ac_ext <<_ACEOF
29103 /* confdefs.h. */
29104 _ACEOF
29105 cat confdefs.h >>conftest.$ac_ext
29106 cat >>conftest.$ac_ext <<_ACEOF
29107 /* end confdefs.h. */
29108
29109 #include <png.h>
29110 #include <stdio.h>
29111
29112 int main()
29113 {
29114 FILE *f=fopen("conftestval", "w");
29115 if (!f) exit(1);
29116 fprintf(f, "%s",
29117 PNG_LIBPNG_VER > 90 ? "yes" : "no");
29118 exit(0);
29119 }
29120
29121 _ACEOF
29122 rm -f conftest$ac_exeext
29123 if { (ac_try="$ac_link"
29124 case "(($ac_try" in
29125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29126 *) ac_try_echo=$ac_try;;
29127 esac
29128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29129 (eval "$ac_link") 2>&5
29130 ac_status=$?
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29133 { (case "(($ac_try" in
29134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29135 *) ac_try_echo=$ac_try;;
29136 esac
29137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29138 (eval "$ac_try") 2>&5
29139 ac_status=$?
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); }; }; then
29142 ac_cv_header_png_h=`cat conftestval`
29143 else
29144 echo "$as_me: program exited with status $ac_status" >&5
29145 echo "$as_me: failed program was:" >&5
29146 sed 's/^/| /' conftest.$ac_ext >&5
29147
29148 ( exit $ac_status )
29149 ac_cv_header_png_h=no
29150 fi
29151 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29152 fi
29153
29154
29155
29156 fi
29157 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29158 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29159 if test "${ac_cv_header_png_h+set}" = set; then
29160 { echo "$as_me:$LINENO: checking for png.h" >&5
29161 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29162 if test "${ac_cv_header_png_h+set}" = set; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29164 fi
29165 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29166 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29167 else
29168 # Is the header compilable?
29169 { echo "$as_me:$LINENO: checking png.h usability" >&5
29170 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
29171 cat >conftest.$ac_ext <<_ACEOF
29172 /* confdefs.h. */
29173 _ACEOF
29174 cat confdefs.h >>conftest.$ac_ext
29175 cat >>conftest.$ac_ext <<_ACEOF
29176 /* end confdefs.h. */
29177 $ac_includes_default
29178 #include <png.h>
29179 _ACEOF
29180 rm -f conftest.$ac_objext
29181 if { (ac_try="$ac_compile"
29182 case "(($ac_try" in
29183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29184 *) ac_try_echo=$ac_try;;
29185 esac
29186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29187 (eval "$ac_compile") 2>conftest.er1
29188 ac_status=$?
29189 grep -v '^ *+' conftest.er1 >conftest.err
29190 rm -f conftest.er1
29191 cat conftest.err >&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } &&
29194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29195 { (case "(($ac_try" in
29196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29197 *) ac_try_echo=$ac_try;;
29198 esac
29199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29200 (eval "$ac_try") 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; } &&
29204 { ac_try='test -s conftest.$ac_objext'
29205 { (case "(($ac_try" in
29206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29207 *) ac_try_echo=$ac_try;;
29208 esac
29209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29210 (eval "$ac_try") 2>&5
29211 ac_status=$?
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); }; }; then
29214 ac_header_compiler=yes
29215 else
29216 echo "$as_me: failed program was:" >&5
29217 sed 's/^/| /' conftest.$ac_ext >&5
29218
29219 ac_header_compiler=no
29220 fi
29221
29222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29223 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29224 echo "${ECHO_T}$ac_header_compiler" >&6; }
29225
29226 # Is the header present?
29227 { echo "$as_me:$LINENO: checking png.h presence" >&5
29228 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
29229 cat >conftest.$ac_ext <<_ACEOF
29230 /* confdefs.h. */
29231 _ACEOF
29232 cat confdefs.h >>conftest.$ac_ext
29233 cat >>conftest.$ac_ext <<_ACEOF
29234 /* end confdefs.h. */
29235 #include <png.h>
29236 _ACEOF
29237 if { (ac_try="$ac_cpp conftest.$ac_ext"
29238 case "(($ac_try" in
29239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29240 *) ac_try_echo=$ac_try;;
29241 esac
29242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29244 ac_status=$?
29245 grep -v '^ *+' conftest.er1 >conftest.err
29246 rm -f conftest.er1
29247 cat conftest.err >&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } >/dev/null; then
29250 if test -s conftest.err; then
29251 ac_cpp_err=$ac_c_preproc_warn_flag
29252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29253 else
29254 ac_cpp_err=
29255 fi
29256 else
29257 ac_cpp_err=yes
29258 fi
29259 if test -z "$ac_cpp_err"; then
29260 ac_header_preproc=yes
29261 else
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29264
29265 ac_header_preproc=no
29266 fi
29267
29268 rm -f conftest.err conftest.$ac_ext
29269 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29270 echo "${ECHO_T}$ac_header_preproc" >&6; }
29271
29272 # So? What about this header?
29273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29274 yes:no: )
29275 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
29276 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29277 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
29278 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
29279 ac_header_preproc=yes
29280 ;;
29281 no:yes:* )
29282 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
29283 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
29284 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
29285 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
29286 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
29287 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
29288 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
29289 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
29290 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
29291 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
29292 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
29293 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
29294 ( cat <<\_ASBOX
29295 ## ----------------------------------------- ##
29296 ## Report this to wx-dev@lists.wxwidgets.org ##
29297 ## ----------------------------------------- ##
29298 _ASBOX
29299 ) | sed "s/^/$as_me: WARNING: /" >&2
29300 ;;
29301 esac
29302 { echo "$as_me:$LINENO: checking for png.h" >&5
29303 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29304 if test "${ac_cv_header_png_h+set}" = set; then
29305 echo $ECHO_N "(cached) $ECHO_C" >&6
29306 else
29307 ac_cv_header_png_h=$ac_header_preproc
29308 fi
29309 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29310 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29311
29312 fi
29313
29314
29315
29316 if test "$ac_cv_header_png_h" = "yes"; then
29317 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29318 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29319 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29320 echo $ECHO_N "(cached) $ECHO_C" >&6
29321 else
29322 ac_check_lib_save_LIBS=$LIBS
29323 LIBS="-lpng -lz -lm $LIBS"
29324 cat >conftest.$ac_ext <<_ACEOF
29325 /* confdefs.h. */
29326 _ACEOF
29327 cat confdefs.h >>conftest.$ac_ext
29328 cat >>conftest.$ac_ext <<_ACEOF
29329 /* end confdefs.h. */
29330
29331 /* Override any GCC internal prototype to avoid an error.
29332 Use char because int might match the return type of a GCC
29333 builtin and then its argument prototype would still apply. */
29334 #ifdef __cplusplus
29335 extern "C"
29336 #endif
29337 char png_check_sig ();
29338 int
29339 main ()
29340 {
29341 return png_check_sig ();
29342 ;
29343 return 0;
29344 }
29345 _ACEOF
29346 rm -f conftest.$ac_objext conftest$ac_exeext
29347 if { (ac_try="$ac_link"
29348 case "(($ac_try" in
29349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29350 *) ac_try_echo=$ac_try;;
29351 esac
29352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29353 (eval "$ac_link") 2>conftest.er1
29354 ac_status=$?
29355 grep -v '^ *+' conftest.er1 >conftest.err
29356 rm -f conftest.er1
29357 cat conftest.err >&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); } &&
29360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29361 { (case "(($ac_try" in
29362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29363 *) ac_try_echo=$ac_try;;
29364 esac
29365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29366 (eval "$ac_try") 2>&5
29367 ac_status=$?
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; } &&
29370 { ac_try='test -s conftest$ac_exeext'
29371 { (case "(($ac_try" in
29372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29373 *) ac_try_echo=$ac_try;;
29374 esac
29375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29376 (eval "$ac_try") 2>&5
29377 ac_status=$?
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29380 ac_cv_lib_png_png_check_sig=yes
29381 else
29382 echo "$as_me: failed program was:" >&5
29383 sed 's/^/| /' conftest.$ac_ext >&5
29384
29385 ac_cv_lib_png_png_check_sig=no
29386 fi
29387
29388 rm -f core conftest.err conftest.$ac_objext \
29389 conftest$ac_exeext conftest.$ac_ext
29390 LIBS=$ac_check_lib_save_LIBS
29391 fi
29392 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29393 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29394 if test $ac_cv_lib_png_png_check_sig = yes; then
29395 PNG_LINK=" -lpng -lz"
29396 fi
29397
29398 fi
29399
29400 if test "x$PNG_LINK" = "x" ; then
29401 if test "$wxUSE_LIBPNG" = "sys" ; then
29402 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29403 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29404 { (exit 1); exit 1; }; }
29405 else
29406 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29407 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29408 wxUSE_LIBPNG=builtin
29409 fi
29410 else
29411 wxUSE_LIBPNG=sys
29412 fi
29413 fi
29414 fi
29415
29416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
29417 fi
29418
29419
29420 JPEG_LINK=
29421 if test "$wxUSE_LIBJPEG" != "no" ; then
29422 cat >>confdefs.h <<\_ACEOF
29423 #define wxUSE_LIBJPEG 1
29424 _ACEOF
29425
29426
29427 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29428 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29429 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29430 wxUSE_LIBJPEG=sys
29431 fi
29432
29433 if test "$wxUSE_MGL" != 1 ; then
29434 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29435 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29436 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29437 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29439 else
29440 cat >conftest.$ac_ext <<_ACEOF
29441 /* confdefs.h. */
29442 _ACEOF
29443 cat confdefs.h >>conftest.$ac_ext
29444 cat >>conftest.$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29446
29447 #undef HAVE_STDLIB_H
29448 #include <stdio.h>
29449 #include <jpeglib.h>
29450
29451 int
29452 main ()
29453 {
29454
29455
29456 ;
29457 return 0;
29458 }
29459 _ACEOF
29460 rm -f conftest.$ac_objext
29461 if { (ac_try="$ac_compile"
29462 case "(($ac_try" in
29463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29464 *) ac_try_echo=$ac_try;;
29465 esac
29466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29467 (eval "$ac_compile") 2>conftest.er1
29468 ac_status=$?
29469 grep -v '^ *+' conftest.er1 >conftest.err
29470 rm -f conftest.er1
29471 cat conftest.err >&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } &&
29474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29475 { (case "(($ac_try" in
29476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29477 *) ac_try_echo=$ac_try;;
29478 esac
29479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29480 (eval "$ac_try") 2>&5
29481 ac_status=$?
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); }; } &&
29484 { ac_try='test -s conftest.$ac_objext'
29485 { (case "(($ac_try" in
29486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29487 *) ac_try_echo=$ac_try;;
29488 esac
29489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29490 (eval "$ac_try") 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_cv_header_jpeglib_h=yes
29495 else
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 ac_cv_header_jpeglib_h=no
29500
29501 fi
29502
29503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29504
29505 fi
29506
29507 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29508 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29509
29510 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29511 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29512 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29513 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 else
29516 ac_check_lib_save_LIBS=$LIBS
29517 LIBS="-ljpeg $LIBS"
29518 cat >conftest.$ac_ext <<_ACEOF
29519 /* confdefs.h. */
29520 _ACEOF
29521 cat confdefs.h >>conftest.$ac_ext
29522 cat >>conftest.$ac_ext <<_ACEOF
29523 /* end confdefs.h. */
29524
29525 /* Override any GCC internal prototype to avoid an error.
29526 Use char because int might match the return type of a GCC
29527 builtin and then its argument prototype would still apply. */
29528 #ifdef __cplusplus
29529 extern "C"
29530 #endif
29531 char jpeg_read_header ();
29532 int
29533 main ()
29534 {
29535 return jpeg_read_header ();
29536 ;
29537 return 0;
29538 }
29539 _ACEOF
29540 rm -f conftest.$ac_objext conftest$ac_exeext
29541 if { (ac_try="$ac_link"
29542 case "(($ac_try" in
29543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29544 *) ac_try_echo=$ac_try;;
29545 esac
29546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29547 (eval "$ac_link") 2>conftest.er1
29548 ac_status=$?
29549 grep -v '^ *+' conftest.er1 >conftest.err
29550 rm -f conftest.er1
29551 cat conftest.err >&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } &&
29554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29555 { (case "(($ac_try" in
29556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29558 esac
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_try") 2>&5
29561 ac_status=$?
29562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563 (exit $ac_status); }; } &&
29564 { ac_try='test -s conftest$ac_exeext'
29565 { (case "(($ac_try" in
29566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29567 *) ac_try_echo=$ac_try;;
29568 esac
29569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29570 (eval "$ac_try") 2>&5
29571 ac_status=$?
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; }; then
29574 ac_cv_lib_jpeg_jpeg_read_header=yes
29575 else
29576 echo "$as_me: failed program was:" >&5
29577 sed 's/^/| /' conftest.$ac_ext >&5
29578
29579 ac_cv_lib_jpeg_jpeg_read_header=no
29580 fi
29581
29582 rm -f core conftest.err conftest.$ac_objext \
29583 conftest$ac_exeext conftest.$ac_ext
29584 LIBS=$ac_check_lib_save_LIBS
29585 fi
29586 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29587 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29588 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29589 JPEG_LINK=" -ljpeg"
29590 fi
29591
29592 fi
29593
29594 if test "x$JPEG_LINK" = "x" ; then
29595 if test "$wxUSE_LIBJPEG" = "sys" ; then
29596 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29597 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29598 { (exit 1); exit 1; }; }
29599 else
29600 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29601 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29602 wxUSE_LIBJPEG=builtin
29603 fi
29604 else
29605 wxUSE_LIBJPEG=sys
29606
29607 if test "$wxUSE_MSW" = 1; then
29608 { echo "$as_me:$LINENO: checking for boolean" >&5
29609 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29610 if test "${ac_cv_type_boolean+set}" = set; then
29611 echo $ECHO_N "(cached) $ECHO_C" >&6
29612 else
29613 cat >conftest.$ac_ext <<_ACEOF
29614 /* confdefs.h. */
29615 _ACEOF
29616 cat confdefs.h >>conftest.$ac_ext
29617 cat >>conftest.$ac_ext <<_ACEOF
29618 /* end confdefs.h. */
29619 #include <windows.h>
29620
29621 typedef boolean ac__type_new_;
29622 int
29623 main ()
29624 {
29625 if ((ac__type_new_ *) 0)
29626 return 0;
29627 if (sizeof (ac__type_new_))
29628 return 0;
29629 ;
29630 return 0;
29631 }
29632 _ACEOF
29633 rm -f conftest.$ac_objext
29634 if { (ac_try="$ac_compile"
29635 case "(($ac_try" in
29636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29637 *) ac_try_echo=$ac_try;;
29638 esac
29639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29640 (eval "$ac_compile") 2>conftest.er1
29641 ac_status=$?
29642 grep -v '^ *+' conftest.er1 >conftest.err
29643 rm -f conftest.er1
29644 cat conftest.err >&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); } &&
29647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29648 { (case "(($ac_try" in
29649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29650 *) ac_try_echo=$ac_try;;
29651 esac
29652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29653 (eval "$ac_try") 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; } &&
29657 { ac_try='test -s conftest.$ac_objext'
29658 { (case "(($ac_try" in
29659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29660 *) ac_try_echo=$ac_try;;
29661 esac
29662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29663 (eval "$ac_try") 2>&5
29664 ac_status=$?
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); }; }; then
29667 ac_cv_type_boolean=yes
29668 else
29669 echo "$as_me: failed program was:" >&5
29670 sed 's/^/| /' conftest.$ac_ext >&5
29671
29672 ac_cv_type_boolean=no
29673 fi
29674
29675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29676 fi
29677 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29678 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29679 if test $ac_cv_type_boolean = yes; then
29680
29681 cat >>confdefs.h <<_ACEOF
29682 #define HAVE_BOOLEAN 1
29683 _ACEOF
29684
29685
29686 { echo "$as_me:$LINENO: checking for boolean" >&5
29687 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29688 if test "${ac_cv_type_boolean+set}" = set; then
29689 echo $ECHO_N "(cached) $ECHO_C" >&6
29690 else
29691 cat >conftest.$ac_ext <<_ACEOF
29692 /* confdefs.h. */
29693 _ACEOF
29694 cat confdefs.h >>conftest.$ac_ext
29695 cat >>conftest.$ac_ext <<_ACEOF
29696 /* end confdefs.h. */
29697
29698 #undef HAVE_BOOLEAN
29699 #include <stdio.h>
29700 #include <jpeglib.h>
29701
29702
29703 typedef boolean ac__type_new_;
29704 int
29705 main ()
29706 {
29707 if ((ac__type_new_ *) 0)
29708 return 0;
29709 if (sizeof (ac__type_new_))
29710 return 0;
29711 ;
29712 return 0;
29713 }
29714 _ACEOF
29715 rm -f conftest.$ac_objext
29716 if { (ac_try="$ac_compile"
29717 case "(($ac_try" in
29718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29719 *) ac_try_echo=$ac_try;;
29720 esac
29721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29722 (eval "$ac_compile") 2>conftest.er1
29723 ac_status=$?
29724 grep -v '^ *+' conftest.er1 >conftest.err
29725 rm -f conftest.er1
29726 cat conftest.err >&5
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); } &&
29729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29730 { (case "(($ac_try" in
29731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29732 *) ac_try_echo=$ac_try;;
29733 esac
29734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29735 (eval "$ac_try") 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; } &&
29739 { ac_try='test -s conftest.$ac_objext'
29740 { (case "(($ac_try" in
29741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29742 *) ac_try_echo=$ac_try;;
29743 esac
29744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29745 (eval "$ac_try") 2>&5
29746 ac_status=$?
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); }; }; then
29749 ac_cv_type_boolean=yes
29750 else
29751 echo "$as_me: failed program was:" >&5
29752 sed 's/^/| /' conftest.$ac_ext >&5
29753
29754 ac_cv_type_boolean=no
29755 fi
29756
29757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29758 fi
29759 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29760 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29761
29762 { echo "$as_me:$LINENO: checking size of boolean" >&5
29763 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29764 if test "${ac_cv_sizeof_boolean+set}" = set; then
29765 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 else
29767 if test "$ac_cv_type_boolean" = yes; then
29768 # The cast to long int works around a bug in the HP C Compiler
29769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29771 # This bug is HP SR number 8606223364.
29772 if test "$cross_compiling" = yes; then
29773 # Depending upon the size, compute the lo and hi bounds.
29774 cat >conftest.$ac_ext <<_ACEOF
29775 /* confdefs.h. */
29776 _ACEOF
29777 cat confdefs.h >>conftest.$ac_ext
29778 cat >>conftest.$ac_ext <<_ACEOF
29779 /* end confdefs.h. */
29780
29781 #undef HAVE_BOOLEAN
29782 #include <stdio.h>
29783 #include <jpeglib.h>
29784
29785
29786 typedef boolean ac__type_sizeof_;
29787 int
29788 main ()
29789 {
29790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29791 test_array [0] = 0
29792
29793 ;
29794 return 0;
29795 }
29796 _ACEOF
29797 rm -f conftest.$ac_objext
29798 if { (ac_try="$ac_compile"
29799 case "(($ac_try" in
29800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29801 *) ac_try_echo=$ac_try;;
29802 esac
29803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29804 (eval "$ac_compile") 2>conftest.er1
29805 ac_status=$?
29806 grep -v '^ *+' conftest.er1 >conftest.err
29807 rm -f conftest.er1
29808 cat conftest.err >&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } &&
29811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29812 { (case "(($ac_try" in
29813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29814 *) ac_try_echo=$ac_try;;
29815 esac
29816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29817 (eval "$ac_try") 2>&5
29818 ac_status=$?
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); }; } &&
29821 { ac_try='test -s conftest.$ac_objext'
29822 { (case "(($ac_try" in
29823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29824 *) ac_try_echo=$ac_try;;
29825 esac
29826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29827 (eval "$ac_try") 2>&5
29828 ac_status=$?
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); }; }; then
29831 ac_lo=0 ac_mid=0
29832 while :; do
29833 cat >conftest.$ac_ext <<_ACEOF
29834 /* confdefs.h. */
29835 _ACEOF
29836 cat confdefs.h >>conftest.$ac_ext
29837 cat >>conftest.$ac_ext <<_ACEOF
29838 /* end confdefs.h. */
29839
29840 #undef HAVE_BOOLEAN
29841 #include <stdio.h>
29842 #include <jpeglib.h>
29843
29844
29845 typedef boolean ac__type_sizeof_;
29846 int
29847 main ()
29848 {
29849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29850 test_array [0] = 0
29851
29852 ;
29853 return 0;
29854 }
29855 _ACEOF
29856 rm -f conftest.$ac_objext
29857 if { (ac_try="$ac_compile"
29858 case "(($ac_try" in
29859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29860 *) ac_try_echo=$ac_try;;
29861 esac
29862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29863 (eval "$ac_compile") 2>conftest.er1
29864 ac_status=$?
29865 grep -v '^ *+' conftest.er1 >conftest.err
29866 rm -f conftest.er1
29867 cat conftest.err >&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); } &&
29870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29871 { (case "(($ac_try" in
29872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29873 *) ac_try_echo=$ac_try;;
29874 esac
29875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_try") 2>&5
29877 ac_status=$?
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; } &&
29880 { ac_try='test -s conftest.$ac_objext'
29881 { (case "(($ac_try" in
29882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29883 *) ac_try_echo=$ac_try;;
29884 esac
29885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29886 (eval "$ac_try") 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; }; then
29890 ac_hi=$ac_mid; break
29891 else
29892 echo "$as_me: failed program was:" >&5
29893 sed 's/^/| /' conftest.$ac_ext >&5
29894
29895 ac_lo=`expr $ac_mid + 1`
29896 if test $ac_lo -le $ac_mid; then
29897 ac_lo= ac_hi=
29898 break
29899 fi
29900 ac_mid=`expr 2 '*' $ac_mid + 1`
29901 fi
29902
29903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29904 done
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 cat >conftest.$ac_ext <<_ACEOF
29910 /* confdefs.h. */
29911 _ACEOF
29912 cat confdefs.h >>conftest.$ac_ext
29913 cat >>conftest.$ac_ext <<_ACEOF
29914 /* end confdefs.h. */
29915
29916 #undef HAVE_BOOLEAN
29917 #include <stdio.h>
29918 #include <jpeglib.h>
29919
29920
29921 typedef boolean ac__type_sizeof_;
29922 int
29923 main ()
29924 {
29925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29926 test_array [0] = 0
29927
29928 ;
29929 return 0;
29930 }
29931 _ACEOF
29932 rm -f conftest.$ac_objext
29933 if { (ac_try="$ac_compile"
29934 case "(($ac_try" in
29935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29936 *) ac_try_echo=$ac_try;;
29937 esac
29938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29939 (eval "$ac_compile") 2>conftest.er1
29940 ac_status=$?
29941 grep -v '^ *+' conftest.er1 >conftest.err
29942 rm -f conftest.er1
29943 cat conftest.err >&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); } &&
29946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29947 { (case "(($ac_try" in
29948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29949 *) ac_try_echo=$ac_try;;
29950 esac
29951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29952 (eval "$ac_try") 2>&5
29953 ac_status=$?
29954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29955 (exit $ac_status); }; } &&
29956 { ac_try='test -s conftest.$ac_objext'
29957 { (case "(($ac_try" in
29958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29959 *) ac_try_echo=$ac_try;;
29960 esac
29961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29962 (eval "$ac_try") 2>&5
29963 ac_status=$?
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); }; }; then
29966 ac_hi=-1 ac_mid=-1
29967 while :; do
29968 cat >conftest.$ac_ext <<_ACEOF
29969 /* confdefs.h. */
29970 _ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29974
29975 #undef HAVE_BOOLEAN
29976 #include <stdio.h>
29977 #include <jpeglib.h>
29978
29979
29980 typedef boolean ac__type_sizeof_;
29981 int
29982 main ()
29983 {
29984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29985 test_array [0] = 0
29986
29987 ;
29988 return 0;
29989 }
29990 _ACEOF
29991 rm -f conftest.$ac_objext
29992 if { (ac_try="$ac_compile"
29993 case "(($ac_try" in
29994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29995 *) ac_try_echo=$ac_try;;
29996 esac
29997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29998 (eval "$ac_compile") 2>conftest.er1
29999 ac_status=$?
30000 grep -v '^ *+' conftest.er1 >conftest.err
30001 rm -f conftest.er1
30002 cat conftest.err >&5
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); } &&
30005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30006 { (case "(($ac_try" in
30007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30008 *) ac_try_echo=$ac_try;;
30009 esac
30010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30011 (eval "$ac_try") 2>&5
30012 ac_status=$?
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); }; } &&
30015 { ac_try='test -s conftest.$ac_objext'
30016 { (case "(($ac_try" in
30017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30018 *) ac_try_echo=$ac_try;;
30019 esac
30020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30021 (eval "$ac_try") 2>&5
30022 ac_status=$?
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); }; }; then
30025 ac_lo=$ac_mid; break
30026 else
30027 echo "$as_me: failed program was:" >&5
30028 sed 's/^/| /' conftest.$ac_ext >&5
30029
30030 ac_hi=`expr '(' $ac_mid ')' - 1`
30031 if test $ac_mid -le $ac_hi; then
30032 ac_lo= ac_hi=
30033 break
30034 fi
30035 ac_mid=`expr 2 '*' $ac_mid`
30036 fi
30037
30038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30039 done
30040 else
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.$ac_ext >&5
30043
30044 ac_lo= ac_hi=
30045 fi
30046
30047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30048 fi
30049
30050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30051 # Binary search between lo and hi bounds.
30052 while test "x$ac_lo" != "x$ac_hi"; do
30053 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
30054 cat >conftest.$ac_ext <<_ACEOF
30055 /* confdefs.h. */
30056 _ACEOF
30057 cat confdefs.h >>conftest.$ac_ext
30058 cat >>conftest.$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30060
30061 #undef HAVE_BOOLEAN
30062 #include <stdio.h>
30063 #include <jpeglib.h>
30064
30065
30066 typedef boolean ac__type_sizeof_;
30067 int
30068 main ()
30069 {
30070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
30071 test_array [0] = 0
30072
30073 ;
30074 return 0;
30075 }
30076 _ACEOF
30077 rm -f conftest.$ac_objext
30078 if { (ac_try="$ac_compile"
30079 case "(($ac_try" in
30080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30081 *) ac_try_echo=$ac_try;;
30082 esac
30083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30084 (eval "$ac_compile") 2>conftest.er1
30085 ac_status=$?
30086 grep -v '^ *+' conftest.er1 >conftest.err
30087 rm -f conftest.er1
30088 cat conftest.err >&5
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); } &&
30091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30092 { (case "(($ac_try" in
30093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30094 *) ac_try_echo=$ac_try;;
30095 esac
30096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30097 (eval "$ac_try") 2>&5
30098 ac_status=$?
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); }; } &&
30101 { ac_try='test -s conftest.$ac_objext'
30102 { (case "(($ac_try" in
30103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30104 *) ac_try_echo=$ac_try;;
30105 esac
30106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30107 (eval "$ac_try") 2>&5
30108 ac_status=$?
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30111 ac_hi=$ac_mid
30112 else
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.$ac_ext >&5
30115
30116 ac_lo=`expr '(' $ac_mid ')' + 1`
30117 fi
30118
30119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30120 done
30121 case $ac_lo in
30122 ?*) ac_cv_sizeof_boolean=$ac_lo;;
30123 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
30124 See \`config.log' for more details." >&5
30125 echo "$as_me: error: cannot compute sizeof (boolean)
30126 See \`config.log' for more details." >&2;}
30127 { (exit 77); exit 77; }; } ;;
30128 esac
30129 else
30130 cat >conftest.$ac_ext <<_ACEOF
30131 /* confdefs.h. */
30132 _ACEOF
30133 cat confdefs.h >>conftest.$ac_ext
30134 cat >>conftest.$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30136
30137 #undef HAVE_BOOLEAN
30138 #include <stdio.h>
30139 #include <jpeglib.h>
30140
30141
30142 typedef boolean ac__type_sizeof_;
30143 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
30144 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
30145 #include <stdio.h>
30146 #include <stdlib.h>
30147 int
30148 main ()
30149 {
30150
30151 FILE *f = fopen ("conftest.val", "w");
30152 if (! f)
30153 return 1;
30154 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
30155 {
30156 long int i = longval ();
30157 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30158 return 1;
30159 fprintf (f, "%ld\n", i);
30160 }
30161 else
30162 {
30163 unsigned long int i = ulongval ();
30164 if (i != ((long int) (sizeof (ac__type_sizeof_))))
30165 return 1;
30166 fprintf (f, "%lu\n", i);
30167 }
30168 return ferror (f) || fclose (f) != 0;
30169
30170 ;
30171 return 0;
30172 }
30173 _ACEOF
30174 rm -f conftest$ac_exeext
30175 if { (ac_try="$ac_link"
30176 case "(($ac_try" in
30177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30178 *) ac_try_echo=$ac_try;;
30179 esac
30180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30181 (eval "$ac_link") 2>&5
30182 ac_status=$?
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30185 { (case "(($ac_try" in
30186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30187 *) ac_try_echo=$ac_try;;
30188 esac
30189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30190 (eval "$ac_try") 2>&5
30191 ac_status=$?
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); }; }; then
30194 ac_cv_sizeof_boolean=`cat conftest.val`
30195 else
30196 echo "$as_me: program exited with status $ac_status" >&5
30197 echo "$as_me: failed program was:" >&5
30198 sed 's/^/| /' conftest.$ac_ext >&5
30199
30200 ( exit $ac_status )
30201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
30202 See \`config.log' for more details." >&5
30203 echo "$as_me: error: cannot compute sizeof (boolean)
30204 See \`config.log' for more details." >&2;}
30205 { (exit 77); exit 77; }; }
30206 fi
30207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30208 fi
30209 rm -f conftest.val
30210 else
30211 ac_cv_sizeof_boolean=0
30212 fi
30213 fi
30214 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
30215 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
30216 cat >>confdefs.h <<_ACEOF
30217 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
30218 _ACEOF
30219
30220
30221 cat >>confdefs.h <<_ACEOF
30222 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
30223 _ACEOF
30224
30225
30226 fi
30227
30228 fi
30229 fi
30230 fi
30231 fi
30232 fi
30233
30234
30235 TIFF_LINK=
30236 TIFF_PREREQ_LINKS=-lm
30237 if test "$wxUSE_LIBTIFF" != "no" ; then
30238 cat >>confdefs.h <<\_ACEOF
30239 #define wxUSE_LIBTIFF 1
30240 _ACEOF
30241
30242
30243 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
30244 if test "$wxUSE_LIBJPEG" = "sys"; then
30245 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
30246 fi
30247 if test "$wxUSE_ZLIB" = "sys"; then
30248 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
30249 fi
30250 if test "${ac_cv_header_tiffio_h+set}" = set; then
30251 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
30252 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
30253 if test "${ac_cv_header_tiffio_h+set}" = set; then
30254 echo $ECHO_N "(cached) $ECHO_C" >&6
30255 fi
30256 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
30257 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30258 else
30259 # Is the header compilable?
30260 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
30261 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
30262 cat >conftest.$ac_ext <<_ACEOF
30263 /* confdefs.h. */
30264 _ACEOF
30265 cat confdefs.h >>conftest.$ac_ext
30266 cat >>conftest.$ac_ext <<_ACEOF
30267 /* end confdefs.h. */
30268 $ac_includes_default
30269 #include <tiffio.h>
30270 _ACEOF
30271 rm -f conftest.$ac_objext
30272 if { (ac_try="$ac_compile"
30273 case "(($ac_try" in
30274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30275 *) ac_try_echo=$ac_try;;
30276 esac
30277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30278 (eval "$ac_compile") 2>conftest.er1
30279 ac_status=$?
30280 grep -v '^ *+' conftest.er1 >conftest.err
30281 rm -f conftest.er1
30282 cat conftest.err >&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); } &&
30285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30286 { (case "(($ac_try" in
30287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30288 *) ac_try_echo=$ac_try;;
30289 esac
30290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30291 (eval "$ac_try") 2>&5
30292 ac_status=$?
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; } &&
30295 { ac_try='test -s conftest.$ac_objext'
30296 { (case "(($ac_try" in
30297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30298 *) ac_try_echo=$ac_try;;
30299 esac
30300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30301 (eval "$ac_try") 2>&5
30302 ac_status=$?
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); }; }; then
30305 ac_header_compiler=yes
30306 else
30307 echo "$as_me: failed program was:" >&5
30308 sed 's/^/| /' conftest.$ac_ext >&5
30309
30310 ac_header_compiler=no
30311 fi
30312
30313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30314 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30315 echo "${ECHO_T}$ac_header_compiler" >&6; }
30316
30317 # Is the header present?
30318 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
30319 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
30320 cat >conftest.$ac_ext <<_ACEOF
30321 /* confdefs.h. */
30322 _ACEOF
30323 cat confdefs.h >>conftest.$ac_ext
30324 cat >>conftest.$ac_ext <<_ACEOF
30325 /* end confdefs.h. */
30326 #include <tiffio.h>
30327 _ACEOF
30328 if { (ac_try="$ac_cpp conftest.$ac_ext"
30329 case "(($ac_try" in
30330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30331 *) ac_try_echo=$ac_try;;
30332 esac
30333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30334 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30335 ac_status=$?
30336 grep -v '^ *+' conftest.er1 >conftest.err
30337 rm -f conftest.er1
30338 cat conftest.err >&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); } >/dev/null; then
30341 if test -s conftest.err; then
30342 ac_cpp_err=$ac_c_preproc_warn_flag
30343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30344 else
30345 ac_cpp_err=
30346 fi
30347 else
30348 ac_cpp_err=yes
30349 fi
30350 if test -z "$ac_cpp_err"; then
30351 ac_header_preproc=yes
30352 else
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.$ac_ext >&5
30355
30356 ac_header_preproc=no
30357 fi
30358
30359 rm -f conftest.err conftest.$ac_ext
30360 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30361 echo "${ECHO_T}$ac_header_preproc" >&6; }
30362
30363 # So? What about this header?
30364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30365 yes:no: )
30366 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
30367 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30368 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
30369 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
30370 ac_header_preproc=yes
30371 ;;
30372 no:yes:* )
30373 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
30374 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
30375 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
30376 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
30377 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
30378 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
30379 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
30380 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
30381 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
30382 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
30383 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
30384 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
30385 ( cat <<\_ASBOX
30386 ## ----------------------------------------- ##
30387 ## Report this to wx-dev@lists.wxwidgets.org ##
30388 ## ----------------------------------------- ##
30389 _ASBOX
30390 ) | sed "s/^/$as_me: WARNING: /" >&2
30391 ;;
30392 esac
30393 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
30394 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
30395 if test "${ac_cv_header_tiffio_h+set}" = set; then
30396 echo $ECHO_N "(cached) $ECHO_C" >&6
30397 else
30398 ac_cv_header_tiffio_h=$ac_header_preproc
30399 fi
30400 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
30401 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
30402
30403 fi
30404 if test $ac_cv_header_tiffio_h = yes; then
30405
30406 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
30407 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
30408 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
30409 echo $ECHO_N "(cached) $ECHO_C" >&6
30410 else
30411 ac_check_lib_save_LIBS=$LIBS
30412 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
30413 cat >conftest.$ac_ext <<_ACEOF
30414 /* confdefs.h. */
30415 _ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30419
30420 /* Override any GCC internal prototype to avoid an error.
30421 Use char because int might match the return type of a GCC
30422 builtin and then its argument prototype would still apply. */
30423 #ifdef __cplusplus
30424 extern "C"
30425 #endif
30426 char TIFFError ();
30427 int
30428 main ()
30429 {
30430 return TIFFError ();
30431 ;
30432 return 0;
30433 }
30434 _ACEOF
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (ac_try="$ac_link"
30437 case "(($ac_try" in
30438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30439 *) ac_try_echo=$ac_try;;
30440 esac
30441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30442 (eval "$ac_link") 2>conftest.er1
30443 ac_status=$?
30444 grep -v '^ *+' conftest.er1 >conftest.err
30445 rm -f conftest.er1
30446 cat conftest.err >&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); } &&
30449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30450 { (case "(($ac_try" in
30451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30452 *) ac_try_echo=$ac_try;;
30453 esac
30454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30455 (eval "$ac_try") 2>&5
30456 ac_status=$?
30457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); }; } &&
30459 { ac_try='test -s conftest$ac_exeext'
30460 { (case "(($ac_try" in
30461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30462 *) ac_try_echo=$ac_try;;
30463 esac
30464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30465 (eval "$ac_try") 2>&5
30466 ac_status=$?
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; }; then
30469 ac_cv_lib_tiff_TIFFError=yes
30470 else
30471 echo "$as_me: failed program was:" >&5
30472 sed 's/^/| /' conftest.$ac_ext >&5
30473
30474 ac_cv_lib_tiff_TIFFError=no
30475 fi
30476
30477 rm -f core conftest.err conftest.$ac_objext \
30478 conftest$ac_exeext conftest.$ac_ext
30479 LIBS=$ac_check_lib_save_LIBS
30480 fi
30481 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
30482 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
30483 if test $ac_cv_lib_tiff_TIFFError = yes; then
30484 TIFF_LINK=" -ltiff"
30485 fi
30486
30487
30488
30489 fi
30490
30491
30492
30493 if test "x$TIFF_LINK" = "x" ; then
30494 if test "$wxUSE_LIBTIFF" = "sys" ; then
30495 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
30496 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
30497 { (exit 1); exit 1; }; }
30498 else
30499 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
30500 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
30501 wxUSE_LIBTIFF=builtin
30502 fi
30503 else
30504 wxUSE_LIBTIFF=sys
30505 fi
30506 fi
30507 fi
30508
30509
30510 if test "$wxUSE_WCHAR_T" != "yes"; then
30511 if test "$wxUSE_EXPAT" != "no"; then
30512 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
30513 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
30514 wxUSE_EXPAT=no
30515 fi
30516 if test "$wxUSE_XML" != "no"; then
30517 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
30518 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30519 wxUSE_XML=no
30520 fi
30521 fi
30522
30523 if test "$wxUSE_EXPAT" != "no"; then
30524 wxUSE_XML=yes
30525 cat >>confdefs.h <<\_ACEOF
30526 #define wxUSE_EXPAT 1
30527 _ACEOF
30528
30529 cat >>confdefs.h <<\_ACEOF
30530 #define wxUSE_XML 1
30531 _ACEOF
30532
30533
30534 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30535 if test "${ac_cv_header_expat_h+set}" = set; then
30536 { echo "$as_me:$LINENO: checking for expat.h" >&5
30537 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30538 if test "${ac_cv_header_expat_h+set}" = set; then
30539 echo $ECHO_N "(cached) $ECHO_C" >&6
30540 fi
30541 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30542 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30543 else
30544 # Is the header compilable?
30545 { echo "$as_me:$LINENO: checking expat.h usability" >&5
30546 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6; }
30547 cat >conftest.$ac_ext <<_ACEOF
30548 /* confdefs.h. */
30549 _ACEOF
30550 cat confdefs.h >>conftest.$ac_ext
30551 cat >>conftest.$ac_ext <<_ACEOF
30552 /* end confdefs.h. */
30553 $ac_includes_default
30554 #include <expat.h>
30555 _ACEOF
30556 rm -f conftest.$ac_objext
30557 if { (ac_try="$ac_compile"
30558 case "(($ac_try" in
30559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30560 *) ac_try_echo=$ac_try;;
30561 esac
30562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30563 (eval "$ac_compile") 2>conftest.er1
30564 ac_status=$?
30565 grep -v '^ *+' conftest.er1 >conftest.err
30566 rm -f conftest.er1
30567 cat conftest.err >&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } &&
30570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30571 { (case "(($ac_try" in
30572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30573 *) ac_try_echo=$ac_try;;
30574 esac
30575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30576 (eval "$ac_try") 2>&5
30577 ac_status=$?
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; } &&
30580 { ac_try='test -s conftest.$ac_objext'
30581 { (case "(($ac_try" in
30582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30583 *) ac_try_echo=$ac_try;;
30584 esac
30585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30586 (eval "$ac_try") 2>&5
30587 ac_status=$?
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30590 ac_header_compiler=yes
30591 else
30592 echo "$as_me: failed program was:" >&5
30593 sed 's/^/| /' conftest.$ac_ext >&5
30594
30595 ac_header_compiler=no
30596 fi
30597
30598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30599 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30600 echo "${ECHO_T}$ac_header_compiler" >&6; }
30601
30602 # Is the header present?
30603 { echo "$as_me:$LINENO: checking expat.h presence" >&5
30604 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6; }
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611 #include <expat.h>
30612 _ACEOF
30613 if { (ac_try="$ac_cpp conftest.$ac_ext"
30614 case "(($ac_try" in
30615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30616 *) ac_try_echo=$ac_try;;
30617 esac
30618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30620 ac_status=$?
30621 grep -v '^ *+' conftest.er1 >conftest.err
30622 rm -f conftest.er1
30623 cat conftest.err >&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } >/dev/null; then
30626 if test -s conftest.err; then
30627 ac_cpp_err=$ac_c_preproc_warn_flag
30628 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30629 else
30630 ac_cpp_err=
30631 fi
30632 else
30633 ac_cpp_err=yes
30634 fi
30635 if test -z "$ac_cpp_err"; then
30636 ac_header_preproc=yes
30637 else
30638 echo "$as_me: failed program was:" >&5
30639 sed 's/^/| /' conftest.$ac_ext >&5
30640
30641 ac_header_preproc=no
30642 fi
30643
30644 rm -f conftest.err conftest.$ac_ext
30645 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30646 echo "${ECHO_T}$ac_header_preproc" >&6; }
30647
30648 # So? What about this header?
30649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30650 yes:no: )
30651 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
30652 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30653 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
30654 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
30655 ac_header_preproc=yes
30656 ;;
30657 no:yes:* )
30658 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
30659 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
30660 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
30661 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
30662 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
30663 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
30664 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
30665 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
30666 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
30667 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
30668 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
30669 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
30670 ( cat <<\_ASBOX
30671 ## ----------------------------------------- ##
30672 ## Report this to wx-dev@lists.wxwidgets.org ##
30673 ## ----------------------------------------- ##
30674 _ASBOX
30675 ) | sed "s/^/$as_me: WARNING: /" >&2
30676 ;;
30677 esac
30678 { echo "$as_me:$LINENO: checking for expat.h" >&5
30679 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30680 if test "${ac_cv_header_expat_h+set}" = set; then
30681 echo $ECHO_N "(cached) $ECHO_C" >&6
30682 else
30683 ac_cv_header_expat_h=$ac_header_preproc
30684 fi
30685 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30686 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30687
30688 fi
30689 if test $ac_cv_header_expat_h = yes; then
30690 found_expat_h=1
30691 fi
30692
30693
30694 if test "x$found_expat_h" = "x1"; then
30695 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30696 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30697 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30698 echo $ECHO_N "(cached) $ECHO_C" >&6
30699 else
30700
30701 ac_ext=cpp
30702 ac_cpp='$CXXCPP $CPPFLAGS'
30703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30706
30707 cat >conftest.$ac_ext <<_ACEOF
30708 /* confdefs.h. */
30709 _ACEOF
30710 cat confdefs.h >>conftest.$ac_ext
30711 cat >>conftest.$ac_ext <<_ACEOF
30712 /* end confdefs.h. */
30713 #include <expat.h>
30714 int
30715 main ()
30716 {
30717
30718 ;
30719 return 0;
30720 }
30721 _ACEOF
30722 rm -f conftest.$ac_objext
30723 if { (ac_try="$ac_compile"
30724 case "(($ac_try" in
30725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30726 *) ac_try_echo=$ac_try;;
30727 esac
30728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30729 (eval "$ac_compile") 2>conftest.er1
30730 ac_status=$?
30731 grep -v '^ *+' conftest.er1 >conftest.err
30732 rm -f conftest.er1
30733 cat conftest.err >&5
30734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30735 (exit $ac_status); } &&
30736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30737 { (case "(($ac_try" in
30738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30740 esac
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_try") 2>&5
30743 ac_status=$?
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); }; } &&
30746 { ac_try='test -s conftest.$ac_objext'
30747 { (case "(($ac_try" in
30748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30749 *) ac_try_echo=$ac_try;;
30750 esac
30751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30752 (eval "$ac_try") 2>&5
30753 ac_status=$?
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; }; then
30756 wx_cv_expat_is_not_broken=yes
30757 else
30758 echo "$as_me: failed program was:" >&5
30759 sed 's/^/| /' conftest.$ac_ext >&5
30760
30761 wx_cv_expat_is_not_broken=no
30762
30763 fi
30764
30765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30771
30772
30773
30774 fi
30775 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30776 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30777 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30778 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30779 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30780 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30781 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 else
30783 ac_check_lib_save_LIBS=$LIBS
30784 LIBS="-lexpat $LIBS"
30785 cat >conftest.$ac_ext <<_ACEOF
30786 /* confdefs.h. */
30787 _ACEOF
30788 cat confdefs.h >>conftest.$ac_ext
30789 cat >>conftest.$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30791
30792 /* Override any GCC internal prototype to avoid an error.
30793 Use char because int might match the return type of a GCC
30794 builtin and then its argument prototype would still apply. */
30795 #ifdef __cplusplus
30796 extern "C"
30797 #endif
30798 char XML_ParserCreate ();
30799 int
30800 main ()
30801 {
30802 return XML_ParserCreate ();
30803 ;
30804 return 0;
30805 }
30806 _ACEOF
30807 rm -f conftest.$ac_objext conftest$ac_exeext
30808 if { (ac_try="$ac_link"
30809 case "(($ac_try" in
30810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30812 esac
30813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30814 (eval "$ac_link") 2>conftest.er1
30815 ac_status=$?
30816 grep -v '^ *+' conftest.er1 >conftest.err
30817 rm -f conftest.er1
30818 cat conftest.err >&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } &&
30821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30822 { (case "(($ac_try" in
30823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30824 *) ac_try_echo=$ac_try;;
30825 esac
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_try") 2>&5
30828 ac_status=$?
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; } &&
30831 { ac_try='test -s conftest$ac_exeext'
30832 { (case "(($ac_try" in
30833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30834 *) ac_try_echo=$ac_try;;
30835 esac
30836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30837 (eval "$ac_try") 2>&5
30838 ac_status=$?
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); }; }; then
30841 ac_cv_lib_expat_XML_ParserCreate=yes
30842 else
30843 echo "$as_me: failed program was:" >&5
30844 sed 's/^/| /' conftest.$ac_ext >&5
30845
30846 ac_cv_lib_expat_XML_ParserCreate=no
30847 fi
30848
30849 rm -f core conftest.err conftest.$ac_objext \
30850 conftest$ac_exeext conftest.$ac_ext
30851 LIBS=$ac_check_lib_save_LIBS
30852 fi
30853 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30854 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30855 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30856 EXPAT_LINK=" -lexpat"
30857 fi
30858
30859 fi
30860 fi
30861 if test "x$EXPAT_LINK" = "x" ; then
30862 if test "$wxUSE_EXPAT" = "sys" ; then
30863 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30864 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30865 { (exit 1); exit 1; }; }
30866 else
30867 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30868 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30869 wxUSE_EXPAT=builtin
30870 fi
30871 else
30872 wxUSE_EXPAT=sys
30873 fi
30874 fi
30875 if test "$wxUSE_EXPAT" = "builtin" ; then
30876 subdirs="$subdirs src/expat"
30877
30878 fi
30879 fi
30880
30881
30882
30883 if test "$wxUSE_LIBMSPACK" != "no"; then
30884 if test "${ac_cv_header_mspack_h+set}" = set; then
30885 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30886 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30887 if test "${ac_cv_header_mspack_h+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 fi
30890 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30891 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30892 else
30893 # Is the header compilable?
30894 { echo "$as_me:$LINENO: checking mspack.h usability" >&5
30895 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6; }
30896 cat >conftest.$ac_ext <<_ACEOF
30897 /* confdefs.h. */
30898 _ACEOF
30899 cat confdefs.h >>conftest.$ac_ext
30900 cat >>conftest.$ac_ext <<_ACEOF
30901 /* end confdefs.h. */
30902 $ac_includes_default
30903 #include <mspack.h>
30904 _ACEOF
30905 rm -f conftest.$ac_objext
30906 if { (ac_try="$ac_compile"
30907 case "(($ac_try" in
30908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30909 *) ac_try_echo=$ac_try;;
30910 esac
30911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30912 (eval "$ac_compile") 2>conftest.er1
30913 ac_status=$?
30914 grep -v '^ *+' conftest.er1 >conftest.err
30915 rm -f conftest.er1
30916 cat conftest.err >&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } &&
30919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30920 { (case "(($ac_try" in
30921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30922 *) ac_try_echo=$ac_try;;
30923 esac
30924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30925 (eval "$ac_try") 2>&5
30926 ac_status=$?
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; } &&
30929 { ac_try='test -s conftest.$ac_objext'
30930 { (case "(($ac_try" in
30931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30932 *) ac_try_echo=$ac_try;;
30933 esac
30934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30935 (eval "$ac_try") 2>&5
30936 ac_status=$?
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; }; then
30939 ac_header_compiler=yes
30940 else
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.$ac_ext >&5
30943
30944 ac_header_compiler=no
30945 fi
30946
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30948 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30949 echo "${ECHO_T}$ac_header_compiler" >&6; }
30950
30951 # Is the header present?
30952 { echo "$as_me:$LINENO: checking mspack.h presence" >&5
30953 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6; }
30954 cat >conftest.$ac_ext <<_ACEOF
30955 /* confdefs.h. */
30956 _ACEOF
30957 cat confdefs.h >>conftest.$ac_ext
30958 cat >>conftest.$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30960 #include <mspack.h>
30961 _ACEOF
30962 if { (ac_try="$ac_cpp conftest.$ac_ext"
30963 case "(($ac_try" in
30964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30965 *) ac_try_echo=$ac_try;;
30966 esac
30967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30969 ac_status=$?
30970 grep -v '^ *+' conftest.er1 >conftest.err
30971 rm -f conftest.er1
30972 cat conftest.err >&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } >/dev/null; then
30975 if test -s conftest.err; then
30976 ac_cpp_err=$ac_c_preproc_warn_flag
30977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30978 else
30979 ac_cpp_err=
30980 fi
30981 else
30982 ac_cpp_err=yes
30983 fi
30984 if test -z "$ac_cpp_err"; then
30985 ac_header_preproc=yes
30986 else
30987 echo "$as_me: failed program was:" >&5
30988 sed 's/^/| /' conftest.$ac_ext >&5
30989
30990 ac_header_preproc=no
30991 fi
30992
30993 rm -f conftest.err conftest.$ac_ext
30994 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30995 echo "${ECHO_T}$ac_header_preproc" >&6; }
30996
30997 # So? What about this header?
30998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30999 yes:no: )
31000 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
31001 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31002 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
31003 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
31004 ac_header_preproc=yes
31005 ;;
31006 no:yes:* )
31007 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
31008 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
31009 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
31010 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
31011 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
31012 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
31013 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
31014 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
31015 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
31016 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
31017 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
31018 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
31019 ( cat <<\_ASBOX
31020 ## ----------------------------------------- ##
31021 ## Report this to wx-dev@lists.wxwidgets.org ##
31022 ## ----------------------------------------- ##
31023 _ASBOX
31024 ) | sed "s/^/$as_me: WARNING: /" >&2
31025 ;;
31026 esac
31027 { echo "$as_me:$LINENO: checking for mspack.h" >&5
31028 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
31029 if test "${ac_cv_header_mspack_h+set}" = set; then
31030 echo $ECHO_N "(cached) $ECHO_C" >&6
31031 else
31032 ac_cv_header_mspack_h=$ac_header_preproc
31033 fi
31034 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
31035 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
31036
31037 fi
31038 if test $ac_cv_header_mspack_h = yes; then
31039 found_mspack_h=1
31040 fi
31041
31042
31043 if test "x$found_mspack_h" = "x1"; then
31044 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
31045 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
31046 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
31047 echo $ECHO_N "(cached) $ECHO_C" >&6
31048 else
31049 ac_check_lib_save_LIBS=$LIBS
31050 LIBS="-lmspack $LIBS"
31051 cat >conftest.$ac_ext <<_ACEOF
31052 /* confdefs.h. */
31053 _ACEOF
31054 cat confdefs.h >>conftest.$ac_ext
31055 cat >>conftest.$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31057
31058 /* Override any GCC internal prototype to avoid an error.
31059 Use char because int might match the return type of a GCC
31060 builtin and then its argument prototype would still apply. */
31061 #ifdef __cplusplus
31062 extern "C"
31063 #endif
31064 char mspack_create_chm_decompressor ();
31065 int
31066 main ()
31067 {
31068 return mspack_create_chm_decompressor ();
31069 ;
31070 return 0;
31071 }
31072 _ACEOF
31073 rm -f conftest.$ac_objext conftest$ac_exeext
31074 if { (ac_try="$ac_link"
31075 case "(($ac_try" in
31076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31077 *) ac_try_echo=$ac_try;;
31078 esac
31079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31080 (eval "$ac_link") 2>conftest.er1
31081 ac_status=$?
31082 grep -v '^ *+' conftest.er1 >conftest.err
31083 rm -f conftest.er1
31084 cat conftest.err >&5
31085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086 (exit $ac_status); } &&
31087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31088 { (case "(($ac_try" in
31089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31090 *) ac_try_echo=$ac_try;;
31091 esac
31092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31093 (eval "$ac_try") 2>&5
31094 ac_status=$?
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); }; } &&
31097 { ac_try='test -s conftest$ac_exeext'
31098 { (case "(($ac_try" in
31099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31100 *) ac_try_echo=$ac_try;;
31101 esac
31102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31103 (eval "$ac_try") 2>&5
31104 ac_status=$?
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; }; then
31107 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
31108 else
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.$ac_ext >&5
31111
31112 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
31113 fi
31114
31115 rm -f core conftest.err conftest.$ac_objext \
31116 conftest$ac_exeext conftest.$ac_ext
31117 LIBS=$ac_check_lib_save_LIBS
31118 fi
31119 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
31120 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
31121 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
31122 MSPACK_LINK=" -lmspack"
31123 fi
31124
31125 fi
31126 if test "x$MSPACK_LINK" = "x" ; then
31127 wxUSE_LIBMSPACK=no
31128 fi
31129 fi
31130
31131 if test "$wxUSE_LIBMSPACK" != "no"; then
31132 cat >>confdefs.h <<\_ACEOF
31133 #define wxUSE_LIBMSPACK 1
31134 _ACEOF
31135
31136 fi
31137
31138
31139
31140 AFMINSTALL=
31141 WIN32INSTALL=
31142
31143 TOOLKIT=
31144 TOOLKIT_INCLUDE=
31145 WIDGET_SET=
31146
31147 if test "$USE_WIN32" = 1 ; then
31148
31149 for ac_header in w32api.h
31150 do
31151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31156 echo $ECHO_N "(cached) $ECHO_C" >&6
31157 fi
31158 ac_res=`eval echo '${'$as_ac_Header'}'`
31159 { echo "$as_me:$LINENO: result: $ac_res" >&5
31160 echo "${ECHO_T}$ac_res" >&6; }
31161 else
31162 # Is the header compilable?
31163 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
31164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31165 cat >conftest.$ac_ext <<_ACEOF
31166 /* confdefs.h. */
31167 _ACEOF
31168 cat confdefs.h >>conftest.$ac_ext
31169 cat >>conftest.$ac_ext <<_ACEOF
31170 /* end confdefs.h. */
31171 $ac_includes_default
31172 #include <$ac_header>
31173 _ACEOF
31174 rm -f conftest.$ac_objext
31175 if { (ac_try="$ac_compile"
31176 case "(($ac_try" in
31177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31178 *) ac_try_echo=$ac_try;;
31179 esac
31180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31181 (eval "$ac_compile") 2>conftest.er1
31182 ac_status=$?
31183 grep -v '^ *+' conftest.er1 >conftest.err
31184 rm -f conftest.er1
31185 cat conftest.err >&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); } &&
31188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31189 { (case "(($ac_try" in
31190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31191 *) ac_try_echo=$ac_try;;
31192 esac
31193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31194 (eval "$ac_try") 2>&5
31195 ac_status=$?
31196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31197 (exit $ac_status); }; } &&
31198 { ac_try='test -s conftest.$ac_objext'
31199 { (case "(($ac_try" in
31200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31201 *) ac_try_echo=$ac_try;;
31202 esac
31203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31204 (eval "$ac_try") 2>&5
31205 ac_status=$?
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); }; }; then
31208 ac_header_compiler=yes
31209 else
31210 echo "$as_me: failed program was:" >&5
31211 sed 's/^/| /' conftest.$ac_ext >&5
31212
31213 ac_header_compiler=no
31214 fi
31215
31216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31217 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31218 echo "${ECHO_T}$ac_header_compiler" >&6; }
31219
31220 # Is the header present?
31221 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
31222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31223 cat >conftest.$ac_ext <<_ACEOF
31224 /* confdefs.h. */
31225 _ACEOF
31226 cat confdefs.h >>conftest.$ac_ext
31227 cat >>conftest.$ac_ext <<_ACEOF
31228 /* end confdefs.h. */
31229 #include <$ac_header>
31230 _ACEOF
31231 if { (ac_try="$ac_cpp conftest.$ac_ext"
31232 case "(($ac_try" in
31233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31234 *) ac_try_echo=$ac_try;;
31235 esac
31236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31238 ac_status=$?
31239 grep -v '^ *+' conftest.er1 >conftest.err
31240 rm -f conftest.er1
31241 cat conftest.err >&5
31242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31243 (exit $ac_status); } >/dev/null; then
31244 if test -s conftest.err; then
31245 ac_cpp_err=$ac_c_preproc_warn_flag
31246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31247 else
31248 ac_cpp_err=
31249 fi
31250 else
31251 ac_cpp_err=yes
31252 fi
31253 if test -z "$ac_cpp_err"; then
31254 ac_header_preproc=yes
31255 else
31256 echo "$as_me: failed program was:" >&5
31257 sed 's/^/| /' conftest.$ac_ext >&5
31258
31259 ac_header_preproc=no
31260 fi
31261
31262 rm -f conftest.err conftest.$ac_ext
31263 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31264 echo "${ECHO_T}$ac_header_preproc" >&6; }
31265
31266 # So? What about this header?
31267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31268 yes:no: )
31269 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31273 ac_header_preproc=yes
31274 ;;
31275 no:yes:* )
31276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31280 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31282 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31283 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31286 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31288 ( cat <<\_ASBOX
31289 ## ----------------------------------------- ##
31290 ## Report this to wx-dev@lists.wxwidgets.org ##
31291 ## ----------------------------------------- ##
31292 _ASBOX
31293 ) | sed "s/^/$as_me: WARNING: /" >&2
31294 ;;
31295 esac
31296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31299 echo $ECHO_N "(cached) $ECHO_C" >&6
31300 else
31301 eval "$as_ac_Header=\$ac_header_preproc"
31302 fi
31303 ac_res=`eval echo '${'$as_ac_Header'}'`
31304 { echo "$as_me:$LINENO: result: $ac_res" >&5
31305 echo "${ECHO_T}$ac_res" >&6; }
31306
31307 fi
31308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31309 cat >>confdefs.h <<_ACEOF
31310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31311 _ACEOF
31312
31313 fi
31314
31315 done
31316
31317 if test "${ac_cv_header_windows_h+set}" = set; then
31318 { echo "$as_me:$LINENO: checking for windows.h" >&5
31319 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
31320 if test "${ac_cv_header_windows_h+set}" = set; then
31321 echo $ECHO_N "(cached) $ECHO_C" >&6
31322 fi
31323 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31324 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31325 else
31326 # Is the header compilable?
31327 { echo "$as_me:$LINENO: checking windows.h usability" >&5
31328 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
31329 cat >conftest.$ac_ext <<_ACEOF
31330 /* confdefs.h. */
31331 _ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31335 $ac_includes_default
31336 #include <windows.h>
31337 _ACEOF
31338 rm -f conftest.$ac_objext
31339 if { (ac_try="$ac_compile"
31340 case "(($ac_try" in
31341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31342 *) ac_try_echo=$ac_try;;
31343 esac
31344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31345 (eval "$ac_compile") 2>conftest.er1
31346 ac_status=$?
31347 grep -v '^ *+' conftest.er1 >conftest.err
31348 rm -f conftest.er1
31349 cat conftest.err >&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); } &&
31352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31353 { (case "(($ac_try" in
31354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31355 *) ac_try_echo=$ac_try;;
31356 esac
31357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31358 (eval "$ac_try") 2>&5
31359 ac_status=$?
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; } &&
31362 { ac_try='test -s conftest.$ac_objext'
31363 { (case "(($ac_try" in
31364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31365 *) ac_try_echo=$ac_try;;
31366 esac
31367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31368 (eval "$ac_try") 2>&5
31369 ac_status=$?
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); }; }; then
31372 ac_header_compiler=yes
31373 else
31374 echo "$as_me: failed program was:" >&5
31375 sed 's/^/| /' conftest.$ac_ext >&5
31376
31377 ac_header_compiler=no
31378 fi
31379
31380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31381 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31382 echo "${ECHO_T}$ac_header_compiler" >&6; }
31383
31384 # Is the header present?
31385 { echo "$as_me:$LINENO: checking windows.h presence" >&5
31386 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
31387 cat >conftest.$ac_ext <<_ACEOF
31388 /* confdefs.h. */
31389 _ACEOF
31390 cat confdefs.h >>conftest.$ac_ext
31391 cat >>conftest.$ac_ext <<_ACEOF
31392 /* end confdefs.h. */
31393 #include <windows.h>
31394 _ACEOF
31395 if { (ac_try="$ac_cpp conftest.$ac_ext"
31396 case "(($ac_try" in
31397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31398 *) ac_try_echo=$ac_try;;
31399 esac
31400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31402 ac_status=$?
31403 grep -v '^ *+' conftest.er1 >conftest.err
31404 rm -f conftest.er1
31405 cat conftest.err >&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } >/dev/null; then
31408 if test -s conftest.err; then
31409 ac_cpp_err=$ac_c_preproc_warn_flag
31410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31411 else
31412 ac_cpp_err=
31413 fi
31414 else
31415 ac_cpp_err=yes
31416 fi
31417 if test -z "$ac_cpp_err"; then
31418 ac_header_preproc=yes
31419 else
31420 echo "$as_me: failed program was:" >&5
31421 sed 's/^/| /' conftest.$ac_ext >&5
31422
31423 ac_header_preproc=no
31424 fi
31425
31426 rm -f conftest.err conftest.$ac_ext
31427 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31428 echo "${ECHO_T}$ac_header_preproc" >&6; }
31429
31430 # So? What about this header?
31431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31432 yes:no: )
31433 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
31434 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31435 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
31436 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
31437 ac_header_preproc=yes
31438 ;;
31439 no:yes:* )
31440 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
31441 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
31442 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
31443 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
31444 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
31445 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
31446 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
31447 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
31448 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
31449 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
31450 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
31451 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
31452 ( cat <<\_ASBOX
31453 ## ----------------------------------------- ##
31454 ## Report this to wx-dev@lists.wxwidgets.org ##
31455 ## ----------------------------------------- ##
31456 _ASBOX
31457 ) | sed "s/^/$as_me: WARNING: /" >&2
31458 ;;
31459 esac
31460 { echo "$as_me:$LINENO: checking for windows.h" >&5
31461 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
31462 if test "${ac_cv_header_windows_h+set}" = set; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31464 else
31465 ac_cv_header_windows_h=$ac_header_preproc
31466 fi
31467 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
31468 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
31469
31470 fi
31471 if test $ac_cv_header_windows_h = yes; then
31472 :
31473 else
31474
31475 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
31476 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
31477 { (exit 1); exit 1; }; }
31478
31479 fi
31480
31481
31482
31483 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
31484
31485 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
31486 LIBS="$LIBS -loleacc"
31487 fi
31488
31489 case "${host}" in
31490 *-*-cygwin* )
31491 LIBS="$LIBS -lkernel32 -luser32"
31492 esac
31493
31494 if test "$wxUSE_ODBC" = "sys" ; then
31495 wxUSE_ODBC = "yes"
31496 fi
31497 if test "$wxUSE_ODBC" = "yes" ; then
31498 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
31499 cat >>confdefs.h <<\_ACEOF
31500 #define wxUSE_ODBC 1
31501 _ACEOF
31502
31503 fi
31504
31505 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
31506 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
31507
31508 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
31509
31510 WIN32INSTALL=win32install
31511
31512
31513 for ac_header in pbt.h
31514 do
31515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31517 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 fi
31522 ac_res=`eval echo '${'$as_ac_Header'}'`
31523 { echo "$as_me:$LINENO: result: $ac_res" >&5
31524 echo "${ECHO_T}$ac_res" >&6; }
31525 else
31526 # Is the header compilable?
31527 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
31528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
31529 cat >conftest.$ac_ext <<_ACEOF
31530 /* confdefs.h. */
31531 _ACEOF
31532 cat confdefs.h >>conftest.$ac_ext
31533 cat >>conftest.$ac_ext <<_ACEOF
31534 /* end confdefs.h. */
31535 $ac_includes_default
31536 #include <$ac_header>
31537 _ACEOF
31538 rm -f conftest.$ac_objext
31539 if { (ac_try="$ac_compile"
31540 case "(($ac_try" in
31541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31542 *) ac_try_echo=$ac_try;;
31543 esac
31544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31545 (eval "$ac_compile") 2>conftest.er1
31546 ac_status=$?
31547 grep -v '^ *+' conftest.er1 >conftest.err
31548 rm -f conftest.er1
31549 cat conftest.err >&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); } &&
31552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31553 { (case "(($ac_try" in
31554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31555 *) ac_try_echo=$ac_try;;
31556 esac
31557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31558 (eval "$ac_try") 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try='test -s conftest.$ac_objext'
31563 { (case "(($ac_try" in
31564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31565 *) ac_try_echo=$ac_try;;
31566 esac
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_try") 2>&5
31569 ac_status=$?
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31572 ac_header_compiler=yes
31573 else
31574 echo "$as_me: failed program was:" >&5
31575 sed 's/^/| /' conftest.$ac_ext >&5
31576
31577 ac_header_compiler=no
31578 fi
31579
31580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31582 echo "${ECHO_T}$ac_header_compiler" >&6; }
31583
31584 # Is the header present?
31585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
31586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
31587 cat >conftest.$ac_ext <<_ACEOF
31588 /* confdefs.h. */
31589 _ACEOF
31590 cat confdefs.h >>conftest.$ac_ext
31591 cat >>conftest.$ac_ext <<_ACEOF
31592 /* end confdefs.h. */
31593 #include <$ac_header>
31594 _ACEOF
31595 if { (ac_try="$ac_cpp conftest.$ac_ext"
31596 case "(($ac_try" in
31597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31598 *) ac_try_echo=$ac_try;;
31599 esac
31600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31602 ac_status=$?
31603 grep -v '^ *+' conftest.er1 >conftest.err
31604 rm -f conftest.er1
31605 cat conftest.err >&5
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); } >/dev/null; then
31608 if test -s conftest.err; then
31609 ac_cpp_err=$ac_c_preproc_warn_flag
31610 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31611 else
31612 ac_cpp_err=
31613 fi
31614 else
31615 ac_cpp_err=yes
31616 fi
31617 if test -z "$ac_cpp_err"; then
31618 ac_header_preproc=yes
31619 else
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.$ac_ext >&5
31622
31623 ac_header_preproc=no
31624 fi
31625
31626 rm -f conftest.err conftest.$ac_ext
31627 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31628 echo "${ECHO_T}$ac_header_preproc" >&6; }
31629
31630 # So? What about this header?
31631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31632 yes:no: )
31633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31636 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31637 ac_header_preproc=yes
31638 ;;
31639 no:yes:* )
31640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31641 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31643 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31645 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31647 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31651 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31652 ( cat <<\_ASBOX
31653 ## ----------------------------------------- ##
31654 ## Report this to wx-dev@lists.wxwidgets.org ##
31655 ## ----------------------------------------- ##
31656 _ASBOX
31657 ) | sed "s/^/$as_me: WARNING: /" >&2
31658 ;;
31659 esac
31660 { echo "$as_me:$LINENO: checking for $ac_header" >&5
31661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
31662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31663 echo $ECHO_N "(cached) $ECHO_C" >&6
31664 else
31665 eval "$as_ac_Header=\$ac_header_preproc"
31666 fi
31667 ac_res=`eval echo '${'$as_ac_Header'}'`
31668 { echo "$as_me:$LINENO: result: $ac_res" >&5
31669 echo "${ECHO_T}$ac_res" >&6; }
31670
31671 fi
31672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31673 cat >>confdefs.h <<_ACEOF
31674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31675 _ACEOF
31676
31677 else
31678 cat >>confdefs.h <<\_ACEOF
31679 #define NEED_PBT_H 1
31680 _ACEOF
31681
31682 fi
31683
31684 done
31685
31686 fi
31687
31688 if test "$wxUSE_GUI" = "yes"; then
31689 USE_GUI=1
31690
31691 GUI_TK_LIBRARY=
31692
31693 WXGTK12=
31694 WXGTK127=
31695 WXGTK20=
31696 WXGPE=
31697
31698 if test "$wxUSE_COCOA" = 1 ; then
31699 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
31700 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
31701 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
31702 wxUSE_PRINTING_ARCHITECTURE=no
31703 fi
31704 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
31705 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
31706 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
31707 wxUSE_DRAG_AND_DROP=no
31708 fi
31709 if test "$wxUSE_DRAGIMAGE" = "yes"; then
31710 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
31711 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
31712 wxUSE_DRAGIMAGE=no
31713 fi
31714 fi
31715
31716 if test "$wxUSE_MSW" = 1 ; then
31717 TOOLKIT=MSW
31718 GUIDIST=MSW_DIST
31719
31720 case "${host}" in
31721 *-*-mingw32* )
31722 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
31723 esac
31724 fi
31725
31726 if test "$wxUSE_GTK" = 1; then
31727 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
31728 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
31729
31730 gtk_version_cached=1
31731 if test "${wx_cv_lib_gtk+set}" = set; then
31732 echo $ECHO_N "(cached) $ECHO_C" >&6
31733 else
31734
31735 gtk_version_cached=0
31736 { echo "$as_me:$LINENO: result: " >&5
31737 echo "${ECHO_T}" >&6; }
31738
31739 GTK_MODULES=
31740 if test "$wxUSE_THREADS" = "yes"; then
31741 GTK_MODULES=gthread
31742 fi
31743
31744 wx_cv_lib_gtk=
31745 if test "x$wxGTK_VERSION" != "x1"
31746 then
31747 case "${host}" in
31748 *-*-solaris2* )
31749 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
31750 enable_gtktest=no
31751 fi
31752 esac
31753
31754 # Check whether --enable-gtktest was given.
31755 if test "${enable_gtktest+set}" = set; then
31756 enableval=$enable_gtktest;
31757 else
31758 enable_gtktest=yes
31759 fi
31760
31761
31762 pkg_config_args=gtk+-2.0
31763 for module in . $GTK_MODULES
31764 do
31765 case "$module" in
31766 gthread)
31767 pkg_config_args="$pkg_config_args gthread-2.0"
31768 ;;
31769 esac
31770 done
31771
31772 no_gtk=""
31773
31774 # Extract the first word of "pkg-config", so it can be a program name with args.
31775 set dummy pkg-config; ac_word=$2
31776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31778 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31779 echo $ECHO_N "(cached) $ECHO_C" >&6
31780 else
31781 case $PKG_CONFIG in
31782 [\\/]* | ?:[\\/]*)
31783 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31784 ;;
31785 *)
31786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31787 for as_dir in $PATH
31788 do
31789 IFS=$as_save_IFS
31790 test -z "$as_dir" && as_dir=.
31791 for ac_exec_ext in '' $ac_executable_extensions; do
31792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31793 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31795 break 2
31796 fi
31797 done
31798 done
31799 IFS=$as_save_IFS
31800
31801 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
31802 ;;
31803 esac
31804 fi
31805 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31806 if test -n "$PKG_CONFIG"; then
31807 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31808 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31809 else
31810 { echo "$as_me:$LINENO: result: no" >&5
31811 echo "${ECHO_T}no" >&6; }
31812 fi
31813
31814
31815
31816 if test x$PKG_CONFIG != xno ; then
31817 if pkg-config --atleast-pkgconfig-version 0.7 ; then
31818 :
31819 else
31820 echo "*** pkg-config too old; version 0.7 or better required."
31821 no_gtk=yes
31822 PKG_CONFIG=no
31823 fi
31824 else
31825 no_gtk=yes
31826 fi
31827
31828 min_gtk_version=2.0.0
31829 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
31830 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
31831
31832 if test x$PKG_CONFIG != xno ; then
31833 ## don't try to run the test against uninstalled libtool libs
31834 if $PKG_CONFIG --uninstalled $pkg_config_args; then
31835 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
31836 enable_gtktest=no
31837 fi
31838
31839 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
31840 :
31841 else
31842 no_gtk=yes
31843 fi
31844 fi
31845
31846 if test x"$no_gtk" = x ; then
31847 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
31848 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
31849 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
31850 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31851 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
31852 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31853 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
31854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31855 if test "x$enable_gtktest" = "xyes" ; then
31856 ac_save_CFLAGS="$CFLAGS"
31857 ac_save_LIBS="$LIBS"
31858 CFLAGS="$CFLAGS $GTK_CFLAGS"
31859 LIBS="$GTK_LIBS $LIBS"
31860 rm -f conf.gtktest
31861 if test "$cross_compiling" = yes; then
31862 echo $ac_n "cross compiling; assumed OK... $ac_c"
31863 else
31864 cat >conftest.$ac_ext <<_ACEOF
31865 /* confdefs.h. */
31866 _ACEOF
31867 cat confdefs.h >>conftest.$ac_ext
31868 cat >>conftest.$ac_ext <<_ACEOF
31869 /* end confdefs.h. */
31870
31871 #include <gtk/gtk.h>
31872 #include <stdio.h>
31873 #include <stdlib.h>
31874
31875 int
31876 main ()
31877 {
31878 int major, minor, micro;
31879 char *tmp_version;
31880
31881 system ("touch conf.gtktest");
31882
31883 /* HP/UX 9 (%@#!) writes to sscanf strings */
31884 tmp_version = g_strdup("$min_gtk_version");
31885 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31886 printf("%s, bad version string\n", "$min_gtk_version");
31887 exit(1);
31888 }
31889
31890 if ((gtk_major_version != $gtk_config_major_version) ||
31891 (gtk_minor_version != $gtk_config_minor_version) ||
31892 (gtk_micro_version != $gtk_config_micro_version))
31893 {
31894 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31895 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31896 gtk_major_version, gtk_minor_version, gtk_micro_version);
31897 printf ("*** was found! If pkg-config was correct, then it is best\n");
31898 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31899 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31900 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31901 printf("*** required on your system.\n");
31902 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
31903 printf("*** to point to the correct configuration files\n");
31904 }
31905 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31906 (gtk_minor_version != GTK_MINOR_VERSION) ||
31907 (gtk_micro_version != GTK_MICRO_VERSION))
31908 {
31909 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31910 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31911 printf("*** library (version %d.%d.%d)\n",
31912 gtk_major_version, gtk_minor_version, gtk_micro_version);
31913 }
31914 else
31915 {
31916 if ((gtk_major_version > major) ||
31917 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31918 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31919 {
31920 return 0;
31921 }
31922 else
31923 {
31924 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31925 gtk_major_version, gtk_minor_version, gtk_micro_version);
31926 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31927 major, minor, micro);
31928 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31929 printf("***\n");
31930 printf("*** If you have already installed a sufficiently new version, this error\n");
31931 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
31932 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31933 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
31934 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
31935 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31936 printf("*** so that the correct libraries are found at run-time))\n");
31937 }
31938 }
31939 return 1;
31940 }
31941
31942 _ACEOF
31943 rm -f conftest$ac_exeext
31944 if { (ac_try="$ac_link"
31945 case "(($ac_try" in
31946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31947 *) ac_try_echo=$ac_try;;
31948 esac
31949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31950 (eval "$ac_link") 2>&5
31951 ac_status=$?
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31954 { (case "(($ac_try" in
31955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31956 *) ac_try_echo=$ac_try;;
31957 esac
31958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31959 (eval "$ac_try") 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 :
31964 else
31965 echo "$as_me: program exited with status $ac_status" >&5
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31968
31969 ( exit $ac_status )
31970 no_gtk=yes
31971 fi
31972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31973 fi
31974
31975
31976 CFLAGS="$ac_save_CFLAGS"
31977 LIBS="$ac_save_LIBS"
31978 fi
31979 fi
31980 if test "x$no_gtk" = x ; then
31981 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
31982 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
31983 wx_cv_lib_gtk=2.0
31984 else
31985 { echo "$as_me:$LINENO: result: no" >&5
31986 echo "${ECHO_T}no" >&6; }
31987 if test "$PKG_CONFIG" = "no" ; then
31988 echo "*** A new enough version of pkg-config was not found."
31989 echo "*** See http://pkgconfig.sourceforge.net"
31990 else
31991 if test -f conf.gtktest ; then
31992 :
31993 else
31994 echo "*** Could not run GTK+ test program, checking why..."
31995 ac_save_CFLAGS="$CFLAGS"
31996 ac_save_LIBS="$LIBS"
31997 CFLAGS="$CFLAGS $GTK_CFLAGS"
31998 LIBS="$LIBS $GTK_LIBS"
31999 cat >conftest.$ac_ext <<_ACEOF
32000 /* confdefs.h. */
32001 _ACEOF
32002 cat confdefs.h >>conftest.$ac_ext
32003 cat >>conftest.$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005
32006 #include <gtk/gtk.h>
32007 #include <stdio.h>
32008
32009 int
32010 main ()
32011 {
32012 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32013 ;
32014 return 0;
32015 }
32016 _ACEOF
32017 rm -f conftest.$ac_objext conftest$ac_exeext
32018 if { (ac_try="$ac_link"
32019 case "(($ac_try" in
32020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32021 *) ac_try_echo=$ac_try;;
32022 esac
32023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32024 (eval "$ac_link") 2>conftest.er1
32025 ac_status=$?
32026 grep -v '^ *+' conftest.er1 >conftest.err
32027 rm -f conftest.er1
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } &&
32031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32032 { (case "(($ac_try" in
32033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32034 *) ac_try_echo=$ac_try;;
32035 esac
32036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32037 (eval "$ac_try") 2>&5
32038 ac_status=$?
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; } &&
32041 { ac_try='test -s conftest$ac_exeext'
32042 { (case "(($ac_try" in
32043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32044 *) ac_try_echo=$ac_try;;
32045 esac
32046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32047 (eval "$ac_try") 2>&5
32048 ac_status=$?
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; }; then
32051 echo "*** The test program compiled, but did not run. This usually means"
32052 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
32053 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
32054 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32055 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32056 echo "*** is required on your system"
32057 echo "***"
32058 echo "*** If you have an old version installed, it is best to remove it, although"
32059 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32060 else
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32063
32064 echo "*** The test program failed to compile or link. See the file config.log for the"
32065 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
32066 fi
32067
32068 rm -f core conftest.err conftest.$ac_objext \
32069 conftest$ac_exeext conftest.$ac_ext
32070 CFLAGS="$ac_save_CFLAGS"
32071 LIBS="$ac_save_LIBS"
32072 fi
32073 fi
32074 GTK_CFLAGS=""
32075 GTK_LIBS=""
32076 :
32077 fi
32078
32079
32080 rm -f conf.gtktest
32081
32082
32083 case "${host}" in
32084 *-*-solaris2* )
32085 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
32086 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
32087 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
32088 fi
32089 if test "$wxUSE_SHARED" != "yes"; then
32090 GTK_LIBS="$GTK_LIBS -lX11"
32091 fi
32092 esac
32093 fi
32094
32095 if test -z "$wx_cv_lib_gtk"; then
32096 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
32097
32098 # Check whether --with-gtk-prefix was given.
32099 if test "${with_gtk_prefix+set}" = set; then
32100 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
32101 else
32102 gtk_config_prefix=""
32103 fi
32104
32105
32106 # Check whether --with-gtk-exec-prefix was given.
32107 if test "${with_gtk_exec_prefix+set}" = set; then
32108 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
32109 else
32110 gtk_config_exec_prefix=""
32111 fi
32112
32113 # Check whether --enable-gtktest was given.
32114 if test "${enable_gtktest+set}" = set; then
32115 enableval=$enable_gtktest;
32116 else
32117 enable_gtktest=yes
32118 fi
32119
32120
32121 for module in . $GTK_MODULES
32122 do
32123 case "$module" in
32124 gthread)
32125 gtk_config_args="$gtk_config_args gthread"
32126 ;;
32127 esac
32128 done
32129
32130 if test x$gtk_config_exec_prefix != x ; then
32131 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
32132 if test x${GTK_CONFIG+set} != xset ; then
32133 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
32134 fi
32135 fi
32136 if test x$gtk_config_prefix != x ; then
32137 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
32138 if test x${GTK_CONFIG+set} != xset ; then
32139 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
32140 fi
32141 fi
32142
32143 # Extract the first word of "gtk-config", so it can be a program name with args.
32144 set dummy gtk-config; ac_word=$2
32145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32147 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
32148 echo $ECHO_N "(cached) $ECHO_C" >&6
32149 else
32150 case $GTK_CONFIG in
32151 [\\/]* | ?:[\\/]*)
32152 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
32153 ;;
32154 *)
32155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32156 for as_dir in $PATH
32157 do
32158 IFS=$as_save_IFS
32159 test -z "$as_dir" && as_dir=.
32160 for ac_exec_ext in '' $ac_executable_extensions; do
32161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
32162 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32164 break 2
32165 fi
32166 done
32167 done
32168 IFS=$as_save_IFS
32169
32170 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
32171 ;;
32172 esac
32173 fi
32174 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
32175 if test -n "$GTK_CONFIG"; then
32176 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
32177 echo "${ECHO_T}$GTK_CONFIG" >&6; }
32178 else
32179 { echo "$as_me:$LINENO: result: no" >&5
32180 echo "${ECHO_T}no" >&6; }
32181 fi
32182
32183
32184 min_gtk_version=1.2.7
32185 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
32186 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
32187 no_gtk=""
32188 if test "$GTK_CONFIG" = "no" ; then
32189 no_gtk=yes
32190 else
32191 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
32192 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
32193 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
32194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32195 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
32196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32197 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
32198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32199 if test "x$enable_gtktest" = "xyes" ; then
32200 ac_save_CFLAGS="$CFLAGS"
32201 ac_save_LIBS="$LIBS"
32202 CFLAGS="$CFLAGS $GTK_CFLAGS"
32203 LIBS="$GTK_LIBS $LIBS"
32204 rm -f conf.gtktest
32205 if test "$cross_compiling" = yes; then
32206 echo $ac_n "cross compiling; assumed OK... $ac_c"
32207 else
32208 cat >conftest.$ac_ext <<_ACEOF
32209 /* confdefs.h. */
32210 _ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214
32215 #include <gtk/gtk.h>
32216 #include <stdio.h>
32217 #include <stdlib.h>
32218
32219 int
32220 main ()
32221 {
32222 int major, minor, micro;
32223 char *tmp_version;
32224
32225 system ("touch conf.gtktest");
32226
32227 /* HP/UX 9 (%@#!) writes to sscanf strings */
32228 tmp_version = g_strdup("$min_gtk_version");
32229 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
32230 printf("%s, bad version string\n", "$min_gtk_version");
32231 exit(1);
32232 }
32233
32234 if ((gtk_major_version != $gtk_config_major_version) ||
32235 (gtk_minor_version != $gtk_config_minor_version) ||
32236 (gtk_micro_version != $gtk_config_micro_version))
32237 {
32238 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
32239 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
32240 gtk_major_version, gtk_minor_version, gtk_micro_version);
32241 printf ("*** was found! If gtk-config was correct, then it is best\n");
32242 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
32243 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
32244 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
32245 printf("*** required on your system.\n");
32246 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
32247 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
32248 printf("*** before re-running configure\n");
32249 }
32250 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
32251 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
32252 (gtk_minor_version != GTK_MINOR_VERSION) ||
32253 (gtk_micro_version != GTK_MICRO_VERSION))
32254 {
32255 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
32256 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
32257 printf("*** library (version %d.%d.%d)\n",
32258 gtk_major_version, gtk_minor_version, gtk_micro_version);
32259 }
32260 #endif /* defined (GTK_MAJOR_VERSION) ... */
32261 else
32262 {
32263 if ((gtk_major_version > major) ||
32264 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
32265 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
32266 {
32267 return 0;
32268 }
32269 else
32270 {
32271 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
32272 gtk_major_version, gtk_minor_version, gtk_micro_version);
32273 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
32274 major, minor, micro);
32275 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
32276 printf("***\n");
32277 printf("*** If you have already installed a sufficiently new version, this error\n");
32278 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
32279 printf("*** being found. The easiest way to fix this is to remove the old version\n");
32280 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
32281 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
32282 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
32283 printf("*** so that the correct libraries are found at run-time))\n");
32284 }
32285 }
32286 return 1;
32287 }
32288
32289 _ACEOF
32290 rm -f conftest$ac_exeext
32291 if { (ac_try="$ac_link"
32292 case "(($ac_try" in
32293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32294 *) ac_try_echo=$ac_try;;
32295 esac
32296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32297 (eval "$ac_link") 2>&5
32298 ac_status=$?
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32301 { (case "(($ac_try" in
32302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32303 *) ac_try_echo=$ac_try;;
32304 esac
32305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32306 (eval "$ac_try") 2>&5
32307 ac_status=$?
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); }; }; then
32310 :
32311 else
32312 echo "$as_me: program exited with status $ac_status" >&5
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32315
32316 ( exit $ac_status )
32317 no_gtk=yes
32318 fi
32319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32320 fi
32321
32322
32323 CFLAGS="$ac_save_CFLAGS"
32324 LIBS="$ac_save_LIBS"
32325 fi
32326 fi
32327 if test "x$no_gtk" = x ; then
32328 { echo "$as_me:$LINENO: result: yes" >&5
32329 echo "${ECHO_T}yes" >&6; }
32330 wx_cv_lib_gtk=1.2.7
32331 else
32332 { echo "$as_me:$LINENO: result: no" >&5
32333 echo "${ECHO_T}no" >&6; }
32334 if test "$GTK_CONFIG" = "no" ; then
32335 echo "*** The gtk-config script installed by GTK could not be found"
32336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
32337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
32338 echo "*** full path to gtk-config."
32339 else
32340 if test -f conf.gtktest ; then
32341 :
32342 else
32343 echo "*** Could not run GTK test program, checking why..."
32344 CFLAGS="$CFLAGS $GTK_CFLAGS"
32345 LIBS="$LIBS $GTK_LIBS"
32346 cat >conftest.$ac_ext <<_ACEOF
32347 /* confdefs.h. */
32348 _ACEOF
32349 cat confdefs.h >>conftest.$ac_ext
32350 cat >>conftest.$ac_ext <<_ACEOF
32351 /* end confdefs.h. */
32352
32353 #include <gtk/gtk.h>
32354 #include <stdio.h>
32355
32356 int
32357 main ()
32358 {
32359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32360 ;
32361 return 0;
32362 }
32363 _ACEOF
32364 rm -f conftest.$ac_objext conftest$ac_exeext
32365 if { (ac_try="$ac_link"
32366 case "(($ac_try" in
32367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32368 *) ac_try_echo=$ac_try;;
32369 esac
32370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32371 (eval "$ac_link") 2>conftest.er1
32372 ac_status=$?
32373 grep -v '^ *+' conftest.er1 >conftest.err
32374 rm -f conftest.er1
32375 cat conftest.err >&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); } &&
32378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32379 { (case "(($ac_try" in
32380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32381 *) ac_try_echo=$ac_try;;
32382 esac
32383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32384 (eval "$ac_try") 2>&5
32385 ac_status=$?
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); }; } &&
32388 { ac_try='test -s conftest$ac_exeext'
32389 { (case "(($ac_try" in
32390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32391 *) ac_try_echo=$ac_try;;
32392 esac
32393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32394 (eval "$ac_try") 2>&5
32395 ac_status=$?
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32398 echo "*** The test program compiled, but did not run. This usually means"
32399 echo "*** that the run-time linker is not finding GTK or finding the wrong"
32400 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
32401 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32402 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32403 echo "*** is required on your system"
32404 echo "***"
32405 echo "*** If you have an old version installed, it is best to remove it, although"
32406 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32407 echo "***"
32408 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32409 echo "*** came with the system with the command"
32410 echo "***"
32411 echo "*** rpm --erase --nodeps gtk gtk-devel"
32412 else
32413 echo "$as_me: failed program was:" >&5
32414 sed 's/^/| /' conftest.$ac_ext >&5
32415
32416 echo "*** The test program failed to compile or link. See the file config.log for the"
32417 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32418 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32419 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32420 fi
32421
32422 rm -f core conftest.err conftest.$ac_objext \
32423 conftest$ac_exeext conftest.$ac_ext
32424 CFLAGS="$ac_save_CFLAGS"
32425 LIBS="$ac_save_LIBS"
32426 fi
32427 fi
32428 GTK_CFLAGS=""
32429 GTK_LIBS=""
32430 :
32431 fi
32432
32433
32434 rm -f conf.gtktest
32435
32436
32437 if test -z "$wx_cv_lib_gtk"; then
32438
32439 # Check whether --with-gtk-prefix was given.
32440 if test "${with_gtk_prefix+set}" = set; then
32441 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
32442 else
32443 gtk_config_prefix=""
32444 fi
32445
32446
32447 # Check whether --with-gtk-exec-prefix was given.
32448 if test "${with_gtk_exec_prefix+set}" = set; then
32449 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
32450 else
32451 gtk_config_exec_prefix=""
32452 fi
32453
32454 # Check whether --enable-gtktest was given.
32455 if test "${enable_gtktest+set}" = set; then
32456 enableval=$enable_gtktest;
32457 else
32458 enable_gtktest=yes
32459 fi
32460
32461
32462 for module in . $GTK_MODULES
32463 do
32464 case "$module" in
32465 gthread)
32466 gtk_config_args="$gtk_config_args gthread"
32467 ;;
32468 esac
32469 done
32470
32471 if test x$gtk_config_exec_prefix != x ; then
32472 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
32473 if test x${GTK_CONFIG+set} != xset ; then
32474 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
32475 fi
32476 fi
32477 if test x$gtk_config_prefix != x ; then
32478 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
32479 if test x${GTK_CONFIG+set} != xset ; then
32480 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
32481 fi
32482 fi
32483
32484 # Extract the first word of "gtk-config", so it can be a program name with args.
32485 set dummy gtk-config; ac_word=$2
32486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32488 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
32489 echo $ECHO_N "(cached) $ECHO_C" >&6
32490 else
32491 case $GTK_CONFIG in
32492 [\\/]* | ?:[\\/]*)
32493 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
32494 ;;
32495 *)
32496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32497 for as_dir in $PATH
32498 do
32499 IFS=$as_save_IFS
32500 test -z "$as_dir" && as_dir=.
32501 for ac_exec_ext in '' $ac_executable_extensions; do
32502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
32503 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32505 break 2
32506 fi
32507 done
32508 done
32509 IFS=$as_save_IFS
32510
32511 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
32512 ;;
32513 esac
32514 fi
32515 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
32516 if test -n "$GTK_CONFIG"; then
32517 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
32518 echo "${ECHO_T}$GTK_CONFIG" >&6; }
32519 else
32520 { echo "$as_me:$LINENO: result: no" >&5
32521 echo "${ECHO_T}no" >&6; }
32522 fi
32523
32524
32525 min_gtk_version=1.2.3
32526 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
32527 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
32528 no_gtk=""
32529 if test "$GTK_CONFIG" = "no" ; then
32530 no_gtk=yes
32531 else
32532 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
32533 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
32534 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
32535 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32536 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
32537 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32538 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
32539 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32540 if test "x$enable_gtktest" = "xyes" ; then
32541 ac_save_CFLAGS="$CFLAGS"
32542 ac_save_LIBS="$LIBS"
32543 CFLAGS="$CFLAGS $GTK_CFLAGS"
32544 LIBS="$GTK_LIBS $LIBS"
32545 rm -f conf.gtktest
32546 if test "$cross_compiling" = yes; then
32547 echo $ac_n "cross compiling; assumed OK... $ac_c"
32548 else
32549 cat >conftest.$ac_ext <<_ACEOF
32550 /* confdefs.h. */
32551 _ACEOF
32552 cat confdefs.h >>conftest.$ac_ext
32553 cat >>conftest.$ac_ext <<_ACEOF
32554 /* end confdefs.h. */
32555
32556 #include <gtk/gtk.h>
32557 #include <stdio.h>
32558 #include <stdlib.h>
32559
32560 int
32561 main ()
32562 {
32563 int major, minor, micro;
32564 char *tmp_version;
32565
32566 system ("touch conf.gtktest");
32567
32568 /* HP/UX 9 (%@#!) writes to sscanf strings */
32569 tmp_version = g_strdup("$min_gtk_version");
32570 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
32571 printf("%s, bad version string\n", "$min_gtk_version");
32572 exit(1);
32573 }
32574
32575 if ((gtk_major_version != $gtk_config_major_version) ||
32576 (gtk_minor_version != $gtk_config_minor_version) ||
32577 (gtk_micro_version != $gtk_config_micro_version))
32578 {
32579 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
32580 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
32581 gtk_major_version, gtk_minor_version, gtk_micro_version);
32582 printf ("*** was found! If gtk-config was correct, then it is best\n");
32583 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
32584 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
32585 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
32586 printf("*** required on your system.\n");
32587 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
32588 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
32589 printf("*** before re-running configure\n");
32590 }
32591 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
32592 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
32593 (gtk_minor_version != GTK_MINOR_VERSION) ||
32594 (gtk_micro_version != GTK_MICRO_VERSION))
32595 {
32596 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
32597 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
32598 printf("*** library (version %d.%d.%d)\n",
32599 gtk_major_version, gtk_minor_version, gtk_micro_version);
32600 }
32601 #endif /* defined (GTK_MAJOR_VERSION) ... */
32602 else
32603 {
32604 if ((gtk_major_version > major) ||
32605 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
32606 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
32607 {
32608 return 0;
32609 }
32610 else
32611 {
32612 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
32613 gtk_major_version, gtk_minor_version, gtk_micro_version);
32614 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
32615 major, minor, micro);
32616 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
32617 printf("***\n");
32618 printf("*** If you have already installed a sufficiently new version, this error\n");
32619 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
32620 printf("*** being found. The easiest way to fix this is to remove the old version\n");
32621 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
32622 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
32623 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
32624 printf("*** so that the correct libraries are found at run-time))\n");
32625 }
32626 }
32627 return 1;
32628 }
32629
32630 _ACEOF
32631 rm -f conftest$ac_exeext
32632 if { (ac_try="$ac_link"
32633 case "(($ac_try" in
32634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32635 *) ac_try_echo=$ac_try;;
32636 esac
32637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32638 (eval "$ac_link") 2>&5
32639 ac_status=$?
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32642 { (case "(($ac_try" in
32643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32644 *) ac_try_echo=$ac_try;;
32645 esac
32646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32647 (eval "$ac_try") 2>&5
32648 ac_status=$?
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; }; then
32651 :
32652 else
32653 echo "$as_me: program exited with status $ac_status" >&5
32654 echo "$as_me: failed program was:" >&5
32655 sed 's/^/| /' conftest.$ac_ext >&5
32656
32657 ( exit $ac_status )
32658 no_gtk=yes
32659 fi
32660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32661 fi
32662
32663
32664 CFLAGS="$ac_save_CFLAGS"
32665 LIBS="$ac_save_LIBS"
32666 fi
32667 fi
32668 if test "x$no_gtk" = x ; then
32669 { echo "$as_me:$LINENO: result: yes" >&5
32670 echo "${ECHO_T}yes" >&6; }
32671 wx_cv_lib_gtk=1.2.3
32672 else
32673 { echo "$as_me:$LINENO: result: no" >&5
32674 echo "${ECHO_T}no" >&6; }
32675 if test "$GTK_CONFIG" = "no" ; then
32676 echo "*** The gtk-config script installed by GTK could not be found"
32677 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
32678 echo "*** your path, or set the GTK_CONFIG environment variable to the"
32679 echo "*** full path to gtk-config."
32680 else
32681 if test -f conf.gtktest ; then
32682 :
32683 else
32684 echo "*** Could not run GTK test program, checking why..."
32685 CFLAGS="$CFLAGS $GTK_CFLAGS"
32686 LIBS="$LIBS $GTK_LIBS"
32687 cat >conftest.$ac_ext <<_ACEOF
32688 /* confdefs.h. */
32689 _ACEOF
32690 cat confdefs.h >>conftest.$ac_ext
32691 cat >>conftest.$ac_ext <<_ACEOF
32692 /* end confdefs.h. */
32693
32694 #include <gtk/gtk.h>
32695 #include <stdio.h>
32696
32697 int
32698 main ()
32699 {
32700 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
32701 ;
32702 return 0;
32703 }
32704 _ACEOF
32705 rm -f conftest.$ac_objext conftest$ac_exeext
32706 if { (ac_try="$ac_link"
32707 case "(($ac_try" in
32708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32709 *) ac_try_echo=$ac_try;;
32710 esac
32711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32712 (eval "$ac_link") 2>conftest.er1
32713 ac_status=$?
32714 grep -v '^ *+' conftest.er1 >conftest.err
32715 rm -f conftest.er1
32716 cat conftest.err >&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); } &&
32719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32720 { (case "(($ac_try" in
32721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32722 *) ac_try_echo=$ac_try;;
32723 esac
32724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32725 (eval "$ac_try") 2>&5
32726 ac_status=$?
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); }; } &&
32729 { ac_try='test -s conftest$ac_exeext'
32730 { (case "(($ac_try" in
32731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32732 *) ac_try_echo=$ac_try;;
32733 esac
32734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32735 (eval "$ac_try") 2>&5
32736 ac_status=$?
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); }; }; then
32739 echo "*** The test program compiled, but did not run. This usually means"
32740 echo "*** that the run-time linker is not finding GTK or finding the wrong"
32741 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
32742 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32743 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32744 echo "*** is required on your system"
32745 echo "***"
32746 echo "*** If you have an old version installed, it is best to remove it, although"
32747 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32748 echo "***"
32749 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
32750 echo "*** came with the system with the command"
32751 echo "***"
32752 echo "*** rpm --erase --nodeps gtk gtk-devel"
32753 else
32754 echo "$as_me: failed program was:" >&5
32755 sed 's/^/| /' conftest.$ac_ext >&5
32756
32757 echo "*** The test program failed to compile or link. See the file config.log for the"
32758 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
32759 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
32760 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
32761 fi
32762
32763 rm -f core conftest.err conftest.$ac_objext \
32764 conftest$ac_exeext conftest.$ac_ext
32765 CFLAGS="$ac_save_CFLAGS"
32766 LIBS="$ac_save_LIBS"
32767 fi
32768 fi
32769 GTK_CFLAGS=""
32770 GTK_LIBS=""
32771 :
32772 fi
32773
32774
32775 rm -f conf.gtktest
32776
32777 fi
32778 fi
32779 fi
32780
32781 if test -z "$wx_cv_lib_gtk"; then
32782 wx_cv_lib_gtk=none
32783 else
32784 wx_cv_cflags_gtk=$GTK_CFLAGS
32785 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
32786 fi
32787
32788
32789 fi
32790
32791
32792 if test "$gtk_version_cached" = 1; then
32793 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
32794 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
32795 fi
32796
32797 case "$wx_cv_lib_gtk" in
32798 2.0) WXGTK20=1
32799 TOOLKIT_VERSION=2
32800 ;;
32801 1.2.7) WXGTK127=1
32802 WXGTK12=1
32803 ;;
32804 1.2.3) WXGTK12=1
32805 ;;
32806 *) { { echo "$as_me:$LINENO: error:
32807 The development files for GTK+ were not found. For GTK+ 2, please
32808 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32809 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32810 and that the version is 1.2.3 or above. Also check that the
32811 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
32812 --libs' are in the LD_LIBRARY_PATH or equivalent.
32813 " >&5
32814 echo "$as_me: error:
32815 The development files for GTK+ were not found. For GTK+ 2, please
32816 ensure that pkg-config is in the path and that gtk+-2.0.pc is
32817 installed. For GTK+ 1.2 please check that gtk-config is in the path,
32818 and that the version is 1.2.3 or above. Also check that the
32819 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
32820 --libs' are in the LD_LIBRARY_PATH or equivalent.
32821 " >&2;}
32822 { (exit 1); exit 1; }; }
32823 ;;
32824 esac
32825
32826 if test "$WXGTK20" = 1; then
32827 save_CFLAGS="$CFLAGS"
32828 save_LIBS="$LIBS"
32829 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
32830 LIBS="$LIBS $wx_cv_libs_gtk"
32831
32832 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
32833 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
32834 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32836 else
32837 cat >conftest.$ac_ext <<_ACEOF
32838 /* confdefs.h. */
32839 _ACEOF
32840 cat confdefs.h >>conftest.$ac_ext
32841 cat >>conftest.$ac_ext <<_ACEOF
32842 /* end confdefs.h. */
32843 #include <gtk/gtk.h>
32844
32845 int
32846 main ()
32847 {
32848 #ifndef gtk_icon_size_lookup
32849 char *p = (char *) gtk_icon_size_lookup;
32850 return !p;
32851 #endif
32852
32853 ;
32854 return 0;
32855 }
32856 _ACEOF
32857 rm -f conftest.$ac_objext
32858 if { (ac_try="$ac_compile"
32859 case "(($ac_try" in
32860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32861 *) ac_try_echo=$ac_try;;
32862 esac
32863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32864 (eval "$ac_compile") 2>conftest.er1
32865 ac_status=$?
32866 grep -v '^ *+' conftest.er1 >conftest.err
32867 rm -f conftest.er1
32868 cat conftest.err >&5
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); } &&
32871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32872 { (case "(($ac_try" in
32873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32874 *) ac_try_echo=$ac_try;;
32875 esac
32876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 (eval "$ac_try") 2>&5
32878 ac_status=$?
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; } &&
32881 { ac_try='test -s conftest.$ac_objext'
32882 { (case "(($ac_try" in
32883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32884 *) ac_try_echo=$ac_try;;
32885 esac
32886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32887 (eval "$ac_try") 2>&5
32888 ac_status=$?
32889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 (exit $ac_status); }; }; then
32891 ac_cv_have_decl_gtk_icon_size_lookup=yes
32892 else
32893 echo "$as_me: failed program was:" >&5
32894 sed 's/^/| /' conftest.$ac_ext >&5
32895
32896 ac_cv_have_decl_gtk_icon_size_lookup=no
32897 fi
32898
32899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32900 fi
32901 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
32902 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
32903 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
32904
32905 cat >>confdefs.h <<_ACEOF
32906 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
32907 _ACEOF
32908
32909
32910 else
32911 cat >>confdefs.h <<_ACEOF
32912 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
32913 _ACEOF
32914
32915 cat >>confdefs.h <<\_ACEOF
32916 #define NEED_GTK_ICON_SIZE_LOOKUP 1
32917 _ACEOF
32918
32919 fi
32920
32921
32922
32923 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
32924 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
32925 cat >conftest.$ac_ext <<_ACEOF
32926 /* confdefs.h. */
32927 _ACEOF
32928 cat confdefs.h >>conftest.$ac_ext
32929 cat >>conftest.$ac_ext <<_ACEOF
32930 /* end confdefs.h. */
32931
32932 #include <gtk/gtk.h>
32933
32934 int
32935 main ()
32936 {
32937
32938 #if !GTK_CHECK_VERSION(2,6,0)
32939 Not GTK+ 2.6
32940 #endif
32941
32942 ;
32943 return 0;
32944 }
32945 _ACEOF
32946 rm -f conftest.$ac_objext
32947 if { (ac_try="$ac_compile"
32948 case "(($ac_try" in
32949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32950 *) ac_try_echo=$ac_try;;
32951 esac
32952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32953 (eval "$ac_compile") 2>conftest.er1
32954 ac_status=$?
32955 grep -v '^ *+' conftest.er1 >conftest.err
32956 rm -f conftest.er1
32957 cat conftest.err >&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); } &&
32960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32961 { (case "(($ac_try" in
32962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32963 *) ac_try_echo=$ac_try;;
32964 esac
32965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32966 (eval "$ac_try") 2>&5
32967 ac_status=$?
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); }; } &&
32970 { ac_try='test -s conftest.$ac_objext'
32971 { (case "(($ac_try" in
32972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32973 *) ac_try_echo=$ac_try;;
32974 esac
32975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32976 (eval "$ac_try") 2>&5
32977 ac_status=$?
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; }; then
32980
32981 cat >>confdefs.h <<\_ACEOF
32982 #define __WXGTK26__ 1
32983 _ACEOF
32984
32985 cat >>confdefs.h <<\_ACEOF
32986 #define __WXGTK24__ 1
32987 _ACEOF
32988
32989 { echo "$as_me:$LINENO: result: yes" >&5
32990 echo "${ECHO_T}yes" >&6; }
32991 ac_wxgtk26=1
32992
32993 else
32994 echo "$as_me: failed program was:" >&5
32995 sed 's/^/| /' conftest.$ac_ext >&5
32996
32997
32998 { echo "$as_me:$LINENO: result: no" >&5
32999 echo "${ECHO_T}no" >&6; }
33000 ac_wxgtk26=0
33001
33002 fi
33003
33004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33005
33006 if test "$ac_wxgtk26" = 0; then
33007 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
33008 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
33009 cat >conftest.$ac_ext <<_ACEOF
33010 /* confdefs.h. */
33011 _ACEOF
33012 cat confdefs.h >>conftest.$ac_ext
33013 cat >>conftest.$ac_ext <<_ACEOF
33014 /* end confdefs.h. */
33015
33016 #include <gtk/gtk.h>
33017
33018 int
33019 main ()
33020 {
33021
33022 #if !GTK_CHECK_VERSION(2,4,0)
33023 Not GTK+ 2.4
33024 #endif
33025
33026 ;
33027 return 0;
33028 }
33029 _ACEOF
33030 rm -f conftest.$ac_objext
33031 if { (ac_try="$ac_compile"
33032 case "(($ac_try" in
33033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33034 *) ac_try_echo=$ac_try;;
33035 esac
33036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33037 (eval "$ac_compile") 2>conftest.er1
33038 ac_status=$?
33039 grep -v '^ *+' conftest.er1 >conftest.err
33040 rm -f conftest.er1
33041 cat conftest.err >&5
33042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043 (exit $ac_status); } &&
33044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33045 { (case "(($ac_try" in
33046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33047 *) ac_try_echo=$ac_try;;
33048 esac
33049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33050 (eval "$ac_try") 2>&5
33051 ac_status=$?
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; } &&
33054 { ac_try='test -s conftest.$ac_objext'
33055 { (case "(($ac_try" in
33056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33057 *) ac_try_echo=$ac_try;;
33058 esac
33059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33060 (eval "$ac_try") 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33064
33065 cat >>confdefs.h <<\_ACEOF
33066 #define __WXGTK24__ 1
33067 _ACEOF
33068
33069 { echo "$as_me:$LINENO: result: yes" >&5
33070 echo "${ECHO_T}yes" >&6; }
33071
33072 else
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.$ac_ext >&5
33075
33076
33077 { echo "$as_me:$LINENO: result: no" >&5
33078 echo "${ECHO_T}no" >&6; }
33079
33080 fi
33081
33082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33083 fi
33084
33085 CFLAGS="$save_CFLAGS"
33086 LIBS="$save_LIBS"
33087 else
33088 if test "$wxUSE_UNICODE" = "yes"; then
33089 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
33090 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
33091 wxUSE_UNICODE=no
33092 fi
33093
33094 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
33095 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
33096 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
33097 echo $ECHO_N "(cached) $ECHO_C" >&6
33098 else
33099 ac_check_lib_save_LIBS=$LIBS
33100 LIBS="-lgdk $LIBS"
33101 cat >conftest.$ac_ext <<_ACEOF
33102 /* confdefs.h. */
33103 _ACEOF
33104 cat confdefs.h >>conftest.$ac_ext
33105 cat >>conftest.$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33107
33108 /* Override any GCC internal prototype to avoid an error.
33109 Use char because int might match the return type of a GCC
33110 builtin and then its argument prototype would still apply. */
33111 #ifdef __cplusplus
33112 extern "C"
33113 #endif
33114 char gdk_im_open ();
33115 int
33116 main ()
33117 {
33118 return gdk_im_open ();
33119 ;
33120 return 0;
33121 }
33122 _ACEOF
33123 rm -f conftest.$ac_objext conftest$ac_exeext
33124 if { (ac_try="$ac_link"
33125 case "(($ac_try" in
33126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33127 *) ac_try_echo=$ac_try;;
33128 esac
33129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33130 (eval "$ac_link") 2>conftest.er1
33131 ac_status=$?
33132 grep -v '^ *+' conftest.er1 >conftest.err
33133 rm -f conftest.er1
33134 cat conftest.err >&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); } &&
33137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33138 { (case "(($ac_try" in
33139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33140 *) ac_try_echo=$ac_try;;
33141 esac
33142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33143 (eval "$ac_try") 2>&5
33144 ac_status=$?
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; } &&
33147 { ac_try='test -s conftest$ac_exeext'
33148 { (case "(($ac_try" in
33149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33150 *) ac_try_echo=$ac_try;;
33151 esac
33152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33153 (eval "$ac_try") 2>&5
33154 ac_status=$?
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); }; }; then
33157 ac_cv_lib_gdk_gdk_im_open=yes
33158 else
33159 echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33161
33162 ac_cv_lib_gdk_gdk_im_open=no
33163 fi
33164
33165 rm -f core conftest.err conftest.$ac_objext \
33166 conftest$ac_exeext conftest.$ac_ext
33167 LIBS=$ac_check_lib_save_LIBS
33168 fi
33169 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
33170 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
33171 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
33172 cat >>confdefs.h <<\_ACEOF
33173 #define HAVE_XIM 1
33174 _ACEOF
33175
33176 fi
33177
33178
33179 if test "$USE_DARWIN" != 1; then
33180
33181 for ac_func in poll
33182 do
33183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33184 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33186 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33188 else
33189 cat >conftest.$ac_ext <<_ACEOF
33190 /* confdefs.h. */
33191 _ACEOF
33192 cat confdefs.h >>conftest.$ac_ext
33193 cat >>conftest.$ac_ext <<_ACEOF
33194 /* end confdefs.h. */
33195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33197 #define $ac_func innocuous_$ac_func
33198
33199 /* System header to define __stub macros and hopefully few prototypes,
33200 which can conflict with char $ac_func (); below.
33201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33202 <limits.h> exists even on freestanding compilers. */
33203
33204 #ifdef __STDC__
33205 # include <limits.h>
33206 #else
33207 # include <assert.h>
33208 #endif
33209
33210 #undef $ac_func
33211
33212 /* Override any GCC internal prototype to avoid an error.
33213 Use char because int might match the return type of a GCC
33214 builtin and then its argument prototype would still apply. */
33215 #ifdef __cplusplus
33216 extern "C"
33217 #endif
33218 char $ac_func ();
33219 /* The GNU C library defines this for functions which it implements
33220 to always fail with ENOSYS. Some functions are actually named
33221 something starting with __ and the normal name is an alias. */
33222 #if defined __stub_$ac_func || defined __stub___$ac_func
33223 choke me
33224 #endif
33225
33226 int
33227 main ()
33228 {
33229 return $ac_func ();
33230 ;
33231 return 0;
33232 }
33233 _ACEOF
33234 rm -f conftest.$ac_objext conftest$ac_exeext
33235 if { (ac_try="$ac_link"
33236 case "(($ac_try" in
33237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33238 *) ac_try_echo=$ac_try;;
33239 esac
33240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33241 (eval "$ac_link") 2>conftest.er1
33242 ac_status=$?
33243 grep -v '^ *+' conftest.er1 >conftest.err
33244 rm -f conftest.er1
33245 cat conftest.err >&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); } &&
33248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33249 { (case "(($ac_try" in
33250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33251 *) ac_try_echo=$ac_try;;
33252 esac
33253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33254 (eval "$ac_try") 2>&5
33255 ac_status=$?
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); }; } &&
33258 { ac_try='test -s conftest$ac_exeext'
33259 { (case "(($ac_try" in
33260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33261 *) ac_try_echo=$ac_try;;
33262 esac
33263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33264 (eval "$ac_try") 2>&5
33265 ac_status=$?
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; }; then
33268 eval "$as_ac_var=yes"
33269 else
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.$ac_ext >&5
33272
33273 eval "$as_ac_var=no"
33274 fi
33275
33276 rm -f core conftest.err conftest.$ac_objext \
33277 conftest$ac_exeext conftest.$ac_ext
33278 fi
33279 ac_res=`eval echo '${'$as_ac_var'}'`
33280 { echo "$as_me:$LINENO: result: $ac_res" >&5
33281 echo "${ECHO_T}$ac_res" >&6; }
33282 if test `eval echo '${'$as_ac_var'}'` = yes; then
33283 cat >>confdefs.h <<_ACEOF
33284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33285 _ACEOF
33286
33287 fi
33288 done
33289
33290 fi
33291 fi
33292
33293 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
33294 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
33295
33296 AFMINSTALL=afminstall
33297 TOOLKIT=GTK
33298 GUIDIST=GTK_DIST
33299
33300 if test "$wxUSE_GPE" = "yes"; then
33301 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
33302 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
33303
33304 ac_find_libraries=
33305 for ac_dir in $SEARCH_LIB;
33306 do
33307 for ac_extension in a so sl dylib dll.a; do
33308 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
33309 ac_find_libraries=$ac_dir
33310 break 2
33311 fi
33312 done
33313 done
33314
33315 if test "$ac_find_libraries" != "" ; then
33316
33317 if test "$ac_find_libraries" = "default location"; then
33318 ac_path_to_link=""
33319 else
33320 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33321 result=$?
33322 if test $result = 0; then
33323 ac_path_to_link=""
33324 else
33325 ac_path_to_link=" -L$ac_find_libraries"
33326 fi
33327 fi
33328
33329 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
33330 WXGPE=1
33331 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33332 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33333 else
33334 { echo "$as_me:$LINENO: result: not found" >&5
33335 echo "${ECHO_T}not found" >&6; }
33336 fi
33337
33338 fi
33339 fi
33340
33341 if test "$wxUSE_MGL" = 1; then
33342 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
33343 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
33344 if test "x$MGL_ROOT" = x ; then
33345 { echo "$as_me:$LINENO: result: not found" >&5
33346 echo "${ECHO_T}not found" >&6; }
33347 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
33348 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
33349 { (exit 1); exit 1; }; }
33350 else
33351 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
33352 echo "${ECHO_T}$MGL_ROOT" >&6; }
33353 fi
33354
33355 { echo "$as_me:$LINENO: checking for libmgl location" >&5
33356 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
33357 case "${host}" in
33358 *-*-linux* )
33359 if test "x$wxUSE_SHARED" = xyes ; then
33360 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
33361 else
33362 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
33363 fi
33364 ;;
33365 *-pc-msdosdjgpp )
33366 mgl_os_candidates="dos32/dj2"
33367 ;;
33368 *)
33369 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
33370 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
33371 { (exit 1); exit 1; }; }
33372 esac
33373
33374 mgl_lib_type=""
33375 mgl_os=""
33376
33377 for mgl_os_i in $mgl_os_candidates ; do
33378 if test "x$mgl_os" = x ; then
33379 if test "$wxUSE_DEBUG_FLAG" = yes ; then
33380 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
33381 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
33382 mgl_lib_type=debug
33383 mgl_os=$mgl_os_i
33384 fi
33385 fi
33386 if test "x$mgl_lib_type" = x ; then
33387 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
33388 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
33389 mgl_lib_type=release
33390 mgl_os=$mgl_os_i
33391 fi
33392 fi
33393 fi
33394 done
33395
33396 if test "x$mgl_os" = x ; then
33397 { echo "$as_me:$LINENO: result: not found" >&5
33398 echo "${ECHO_T}not found" >&6; }
33399 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
33400 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
33401 { (exit 1); exit 1; }; }
33402 fi
33403 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
33404 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
33405
33406 wxUSE_UNIVERSAL="yes"
33407
33408 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
33409 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
33410
33411 AFMINSTALL=afminstall
33412 TOOLKIT=MGL
33413 GUIDIST=MGL_DIST
33414 fi
33415
33416 if test "$wxUSE_DFB" = 1; then
33417
33418
33419 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33420 if test -n "$ac_tool_prefix"; then
33421 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33422 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33425 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33426 echo $ECHO_N "(cached) $ECHO_C" >&6
33427 else
33428 case $PKG_CONFIG in
33429 [\\/]* | ?:[\\/]*)
33430 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33431 ;;
33432 *)
33433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33434 for as_dir in $PATH
33435 do
33436 IFS=$as_save_IFS
33437 test -z "$as_dir" && as_dir=.
33438 for ac_exec_ext in '' $ac_executable_extensions; do
33439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33440 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33442 break 2
33443 fi
33444 done
33445 done
33446 IFS=$as_save_IFS
33447
33448 ;;
33449 esac
33450 fi
33451 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33452 if test -n "$PKG_CONFIG"; then
33453 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33454 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33455 else
33456 { echo "$as_me:$LINENO: result: no" >&5
33457 echo "${ECHO_T}no" >&6; }
33458 fi
33459
33460
33461 fi
33462 if test -z "$ac_cv_path_PKG_CONFIG"; then
33463 ac_pt_PKG_CONFIG=$PKG_CONFIG
33464 # Extract the first word of "pkg-config", so it can be a program name with args.
33465 set dummy pkg-config; ac_word=$2
33466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33468 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33469 echo $ECHO_N "(cached) $ECHO_C" >&6
33470 else
33471 case $ac_pt_PKG_CONFIG in
33472 [\\/]* | ?:[\\/]*)
33473 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33474 ;;
33475 *)
33476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33477 for as_dir in $PATH
33478 do
33479 IFS=$as_save_IFS
33480 test -z "$as_dir" && as_dir=.
33481 for ac_exec_ext in '' $ac_executable_extensions; do
33482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33483 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33485 break 2
33486 fi
33487 done
33488 done
33489 IFS=$as_save_IFS
33490
33491 ;;
33492 esac
33493 fi
33494 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33495 if test -n "$ac_pt_PKG_CONFIG"; then
33496 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33497 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33498 else
33499 { echo "$as_me:$LINENO: result: no" >&5
33500 echo "${ECHO_T}no" >&6; }
33501 fi
33502
33503 if test "x$ac_pt_PKG_CONFIG" = x; then
33504 PKG_CONFIG=""
33505 else
33506 case $cross_compiling:$ac_tool_warned in
33507 yes:)
33508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33509 whose name does not start with the host triplet. If you think this
33510 configuration is useful to you, please write to autoconf@gnu.org." >&5
33511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33512 whose name does not start with the host triplet. If you think this
33513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33514 ac_tool_warned=yes ;;
33515 esac
33516 PKG_CONFIG=$ac_pt_PKG_CONFIG
33517 fi
33518 else
33519 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33520 fi
33521
33522 fi
33523 if test -n "$PKG_CONFIG"; then
33524 _pkg_min_version=0.9.0
33525 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33526 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33527 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33528 { echo "$as_me:$LINENO: result: yes" >&5
33529 echo "${ECHO_T}yes" >&6; }
33530 else
33531 { echo "$as_me:$LINENO: result: no" >&5
33532 echo "${ECHO_T}no" >&6; }
33533 PKG_CONFIG=""
33534 fi
33535
33536 fi
33537
33538
33539 pkg_failed=no
33540 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
33541 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
33542
33543 if test -n "$PKG_CONFIG"; then
33544 if test -n "$DIRECTFB_CFLAGS"; then
33545 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
33546 else
33547 if test -n "$PKG_CONFIG" && \
33548 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
33549 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
33550 ac_status=$?
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); }; then
33553 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
33554 else
33555 pkg_failed=yes
33556 fi
33557 fi
33558 else
33559 pkg_failed=untried
33560 fi
33561 if test -n "$PKG_CONFIG"; then
33562 if test -n "$DIRECTFB_LIBS"; then
33563 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
33564 else
33565 if test -n "$PKG_CONFIG" && \
33566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
33567 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
33568 ac_status=$?
33569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33570 (exit $ac_status); }; then
33571 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
33572 else
33573 pkg_failed=yes
33574 fi
33575 fi
33576 else
33577 pkg_failed=untried
33578 fi
33579
33580
33581
33582 if test $pkg_failed = yes; then
33583
33584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33585 _pkg_short_errors_supported=yes
33586 else
33587 _pkg_short_errors_supported=no
33588 fi
33589 if test $_pkg_short_errors_supported = yes; then
33590 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
33591 else
33592 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
33593 fi
33594 # Put the nasty error message in config.log where it belongs
33595 echo "$DIRECTFB_PKG_ERRORS" >&5
33596
33597
33598 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
33599 echo "$as_me: error: DirectFB not found." >&2;}
33600 { (exit 1); exit 1; }; }
33601
33602
33603 elif test $pkg_failed = untried; then
33604
33605 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
33606 echo "$as_me: error: DirectFB not found." >&2;}
33607 { (exit 1); exit 1; }; }
33608
33609
33610 else
33611 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
33612 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
33613 { echo "$as_me:$LINENO: result: yes" >&5
33614 echo "${ECHO_T}yes" >&6; }
33615
33616 wxUSE_UNIVERSAL="yes"
33617 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
33618 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
33619 TOOLKIT=DFB
33620 GUIDIST=DFB_DIST
33621
33622 fi
33623 fi
33624
33625 if test "$wxUSE_MICROWIN" = 1; then
33626 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
33627 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
33628 if test "x$MICROWINDOWS" = x ; then
33629 { echo "$as_me:$LINENO: result: not found" >&5
33630 echo "${ECHO_T}not found" >&6; }
33631 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
33632 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
33633 { (exit 1); exit 1; }; }
33634 else
33635 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
33636 echo "${ECHO_T}$MICROWINDOWS" >&6; }
33637 fi
33638
33639 if test -f $MICROWINDOWS/lib/libmwin.a; then
33640 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
33641 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
33642 else
33643 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
33644 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
33645 { (exit 1); exit 1; }; }
33646 fi
33647
33648 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
33649 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
33650
33651 wxUSE_UNIVERSAL="yes"
33652
33653 AFMINSTALL=afminstall
33654 TOOLKIT=MICROWIN
33655 GUIDIST=MICROWIN_DIST
33656
33657 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
33658 fi
33659
33660 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33661 { echo "$as_me:$LINENO: checking for X" >&5
33662 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
33663
33664
33665 # Check whether --with-x was given.
33666 if test "${with_x+set}" = set; then
33667 withval=$with_x;
33668 fi
33669
33670 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
33671 if test "x$with_x" = xno; then
33672 # The user explicitly disabled X.
33673 have_x=disabled
33674 else
33675 case $x_includes,$x_libraries in #(
33676 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
33677 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
33678 { (exit 1); exit 1; }; };; #(
33679 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
33680 echo $ECHO_N "(cached) $ECHO_C" >&6
33681 else
33682 # One or both of the vars are not set, and there is no cached value.
33683 ac_x_includes=no ac_x_libraries=no
33684 rm -f -r conftest.dir
33685 if mkdir conftest.dir; then
33686 cd conftest.dir
33687 cat >Imakefile <<'_ACEOF'
33688 incroot:
33689 @echo incroot='${INCROOT}'
33690 usrlibdir:
33691 @echo usrlibdir='${USRLIBDIR}'
33692 libdir:
33693 @echo libdir='${LIBDIR}'
33694 _ACEOF
33695 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
33696 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33697 for ac_var in incroot usrlibdir libdir; do
33698 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
33699 done
33700 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
33701 for ac_extension in a so sl; do
33702 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
33703 test -f "$ac_im_libdir/libX11.$ac_extension"; then
33704 ac_im_usrlibdir=$ac_im_libdir; break
33705 fi
33706 done
33707 # Screen out bogus values from the imake configuration. They are
33708 # bogus both because they are the default anyway, and because
33709 # using them would break gcc on systems where it needs fixed includes.
33710 case $ac_im_incroot in
33711 /usr/include) ac_x_includes= ;;
33712 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
33713 esac
33714 case $ac_im_usrlibdir in
33715 /usr/lib | /lib) ;;
33716 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
33717 esac
33718 fi
33719 cd ..
33720 rm -f -r conftest.dir
33721 fi
33722
33723 # Standard set of common directories for X headers.
33724 # Check X11 before X11Rn because it is often a symlink to the current release.
33725 ac_x_header_dirs='
33726 /usr/X11/include
33727 /usr/X11R6/include
33728 /usr/X11R5/include
33729 /usr/X11R4/include
33730
33731 /usr/include/X11
33732 /usr/include/X11R6
33733 /usr/include/X11R5
33734 /usr/include/X11R4
33735
33736 /usr/local/X11/include
33737 /usr/local/X11R6/include
33738 /usr/local/X11R5/include
33739 /usr/local/X11R4/include
33740
33741 /usr/local/include/X11
33742 /usr/local/include/X11R6
33743 /usr/local/include/X11R5
33744 /usr/local/include/X11R4
33745
33746 /usr/X386/include
33747 /usr/x386/include
33748 /usr/XFree86/include/X11
33749
33750 /usr/include
33751 /usr/local/include
33752 /usr/unsupported/include
33753 /usr/athena/include
33754 /usr/local/x11r5/include
33755 /usr/lpp/Xamples/include
33756
33757 /usr/openwin/include
33758 /usr/openwin/share/include'
33759
33760 if test "$ac_x_includes" = no; then
33761 # Guess where to find include files, by looking for Xlib.h.
33762 # First, try using that file with no special directory specified.
33763 cat >conftest.$ac_ext <<_ACEOF
33764 /* confdefs.h. */
33765 _ACEOF
33766 cat confdefs.h >>conftest.$ac_ext
33767 cat >>conftest.$ac_ext <<_ACEOF
33768 /* end confdefs.h. */
33769 #include <X11/Xlib.h>
33770 _ACEOF
33771 if { (ac_try="$ac_cpp conftest.$ac_ext"
33772 case "(($ac_try" in
33773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33774 *) ac_try_echo=$ac_try;;
33775 esac
33776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33778 ac_status=$?
33779 grep -v '^ *+' conftest.er1 >conftest.err
33780 rm -f conftest.er1
33781 cat conftest.err >&5
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); } >/dev/null; then
33784 if test -s conftest.err; then
33785 ac_cpp_err=$ac_c_preproc_warn_flag
33786 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33787 else
33788 ac_cpp_err=
33789 fi
33790 else
33791 ac_cpp_err=yes
33792 fi
33793 if test -z "$ac_cpp_err"; then
33794 # We can compile using X headers with no special include directory.
33795 ac_x_includes=
33796 else
33797 echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.$ac_ext >&5
33799
33800 for ac_dir in $ac_x_header_dirs; do
33801 if test -r "$ac_dir/X11/Xlib.h"; then
33802 ac_x_includes=$ac_dir
33803 break
33804 fi
33805 done
33806 fi
33807
33808 rm -f conftest.err conftest.$ac_ext
33809 fi # $ac_x_includes = no
33810
33811 if test "$ac_x_libraries" = no; then
33812 # Check for the libraries.
33813 # See if we find them without any special options.
33814 # Don't add to $LIBS permanently.
33815 ac_save_LIBS=$LIBS
33816 LIBS="-lXt $LIBS"
33817 cat >conftest.$ac_ext <<_ACEOF
33818 /* confdefs.h. */
33819 _ACEOF
33820 cat confdefs.h >>conftest.$ac_ext
33821 cat >>conftest.$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33823 #include <X11/Xlib.h>
33824 int
33825 main ()
33826 {
33827 XrmInitialize ()
33828 ;
33829 return 0;
33830 }
33831 _ACEOF
33832 rm -f conftest.$ac_objext conftest$ac_exeext
33833 if { (ac_try="$ac_link"
33834 case "(($ac_try" in
33835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33836 *) ac_try_echo=$ac_try;;
33837 esac
33838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33839 (eval "$ac_link") 2>conftest.er1
33840 ac_status=$?
33841 grep -v '^ *+' conftest.er1 >conftest.err
33842 rm -f conftest.er1
33843 cat conftest.err >&5
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); } &&
33846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33847 { (case "(($ac_try" in
33848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33849 *) ac_try_echo=$ac_try;;
33850 esac
33851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33852 (eval "$ac_try") 2>&5
33853 ac_status=$?
33854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33855 (exit $ac_status); }; } &&
33856 { ac_try='test -s conftest$ac_exeext'
33857 { (case "(($ac_try" in
33858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33859 *) ac_try_echo=$ac_try;;
33860 esac
33861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33862 (eval "$ac_try") 2>&5
33863 ac_status=$?
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; }; then
33866 LIBS=$ac_save_LIBS
33867 # We can link X programs with no special library path.
33868 ac_x_libraries=
33869 else
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.$ac_ext >&5
33872
33873 LIBS=$ac_save_LIBS
33874 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
33875 do
33876 # Don't even attempt the hair of trying to link an X program!
33877 for ac_extension in a so sl; do
33878 if test -r "$ac_dir/libXt.$ac_extension"; then
33879 ac_x_libraries=$ac_dir
33880 break 2
33881 fi
33882 done
33883 done
33884 fi
33885
33886 rm -f core conftest.err conftest.$ac_objext \
33887 conftest$ac_exeext conftest.$ac_ext
33888 fi # $ac_x_libraries = no
33889
33890 case $ac_x_includes,$ac_x_libraries in #(
33891 no,* | *,no | *\'*)
33892 # Didn't find X, or a directory has "'" in its name.
33893 ac_cv_have_x="have_x=no";; #(
33894 *)
33895 # Record where we found X for the cache.
33896 ac_cv_have_x="have_x=yes\
33897 ac_x_includes='$ac_x_includes'\
33898 ac_x_libraries='$ac_x_libraries'"
33899 esac
33900 fi
33901 ;; #(
33902 *) have_x=yes;;
33903 esac
33904 eval "$ac_cv_have_x"
33905 fi # $with_x != no
33906
33907 if test "$have_x" != yes; then
33908 { echo "$as_me:$LINENO: result: $have_x" >&5
33909 echo "${ECHO_T}$have_x" >&6; }
33910 no_x=yes
33911 else
33912 # If each of the values was on the command line, it overrides each guess.
33913 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
33914 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
33915 # Update the cache value to reflect the command line values.
33916 ac_cv_have_x="have_x=yes\
33917 ac_x_includes='$x_includes'\
33918 ac_x_libraries='$x_libraries'"
33919 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
33920 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
33921 fi
33922
33923 if test "$no_x" = yes; then
33924 # Not all programs may use this symbol, but it does not hurt to define it.
33925
33926 cat >>confdefs.h <<\_ACEOF
33927 #define X_DISPLAY_MISSING 1
33928 _ACEOF
33929
33930 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
33931 else
33932 if test -n "$x_includes"; then
33933 X_CFLAGS="$X_CFLAGS -I$x_includes"
33934 fi
33935
33936 # It would also be nice to do this for all -L options, not just this one.
33937 if test -n "$x_libraries"; then
33938 X_LIBS="$X_LIBS -L$x_libraries"
33939 # For Solaris; some versions of Sun CC require a space after -R and
33940 # others require no space. Words are not sufficient . . . .
33941 case `(uname -sr) 2>/dev/null` in
33942 "SunOS 5"*)
33943 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
33944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
33945 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
33946 cat >conftest.$ac_ext <<_ACEOF
33947 /* confdefs.h. */
33948 _ACEOF
33949 cat confdefs.h >>conftest.$ac_ext
33950 cat >>conftest.$ac_ext <<_ACEOF
33951 /* end confdefs.h. */
33952
33953 int
33954 main ()
33955 {
33956
33957 ;
33958 return 0;
33959 }
33960 _ACEOF
33961 rm -f conftest.$ac_objext conftest$ac_exeext
33962 if { (ac_try="$ac_link"
33963 case "(($ac_try" in
33964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33965 *) ac_try_echo=$ac_try;;
33966 esac
33967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33968 (eval "$ac_link") 2>conftest.er1
33969 ac_status=$?
33970 grep -v '^ *+' conftest.er1 >conftest.err
33971 rm -f conftest.er1
33972 cat conftest.err >&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } &&
33975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33976 { (case "(($ac_try" in
33977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33978 *) ac_try_echo=$ac_try;;
33979 esac
33980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33981 (eval "$ac_try") 2>&5
33982 ac_status=$?
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); }; } &&
33985 { ac_try='test -s conftest$ac_exeext'
33986 { (case "(($ac_try" in
33987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33988 *) ac_try_echo=$ac_try;;
33989 esac
33990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33991 (eval "$ac_try") 2>&5
33992 ac_status=$?
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 ac_R_nospace=yes
33996 else
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
33999
34000 ac_R_nospace=no
34001 fi
34002
34003 rm -f core conftest.err conftest.$ac_objext \
34004 conftest$ac_exeext conftest.$ac_ext
34005 if test $ac_R_nospace = yes; then
34006 { echo "$as_me:$LINENO: result: no" >&5
34007 echo "${ECHO_T}no" >&6; }
34008 X_LIBS="$X_LIBS -R$x_libraries"
34009 else
34010 LIBS="$ac_xsave_LIBS -R $x_libraries"
34011 cat >conftest.$ac_ext <<_ACEOF
34012 /* confdefs.h. */
34013 _ACEOF
34014 cat confdefs.h >>conftest.$ac_ext
34015 cat >>conftest.$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34017
34018 int
34019 main ()
34020 {
34021
34022 ;
34023 return 0;
34024 }
34025 _ACEOF
34026 rm -f conftest.$ac_objext conftest$ac_exeext
34027 if { (ac_try="$ac_link"
34028 case "(($ac_try" in
34029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34030 *) ac_try_echo=$ac_try;;
34031 esac
34032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34033 (eval "$ac_link") 2>conftest.er1
34034 ac_status=$?
34035 grep -v '^ *+' conftest.er1 >conftest.err
34036 rm -f conftest.er1
34037 cat conftest.err >&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } &&
34040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34041 { (case "(($ac_try" in
34042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34043 *) ac_try_echo=$ac_try;;
34044 esac
34045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34046 (eval "$ac_try") 2>&5
34047 ac_status=$?
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; } &&
34050 { ac_try='test -s conftest$ac_exeext'
34051 { (case "(($ac_try" in
34052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34053 *) ac_try_echo=$ac_try;;
34054 esac
34055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34056 (eval "$ac_try") 2>&5
34057 ac_status=$?
34058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 (exit $ac_status); }; }; then
34060 ac_R_space=yes
34061 else
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.$ac_ext >&5
34064
34065 ac_R_space=no
34066 fi
34067
34068 rm -f core conftest.err conftest.$ac_objext \
34069 conftest$ac_exeext conftest.$ac_ext
34070 if test $ac_R_space = yes; then
34071 { echo "$as_me:$LINENO: result: yes" >&5
34072 echo "${ECHO_T}yes" >&6; }
34073 X_LIBS="$X_LIBS -R $x_libraries"
34074 else
34075 { echo "$as_me:$LINENO: result: neither works" >&5
34076 echo "${ECHO_T}neither works" >&6; }
34077 fi
34078 fi
34079 LIBS=$ac_xsave_LIBS
34080 esac
34081 fi
34082
34083 # Check for system-dependent libraries X programs must link with.
34084 # Do this before checking for the system-independent R6 libraries
34085 # (-lICE), since we may need -lsocket or whatever for X linking.
34086
34087 if test "$ISC" = yes; then
34088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
34089 else
34090 # Martyn Johnson says this is needed for Ultrix, if the X
34091 # libraries were built with DECnet support. And Karl Berry says
34092 # the Alpha needs dnet_stub (dnet does not exist).
34093 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
34094 cat >conftest.$ac_ext <<_ACEOF
34095 /* confdefs.h. */
34096 _ACEOF
34097 cat confdefs.h >>conftest.$ac_ext
34098 cat >>conftest.$ac_ext <<_ACEOF
34099 /* end confdefs.h. */
34100
34101 /* Override any GCC internal prototype to avoid an error.
34102 Use char because int might match the return type of a GCC
34103 builtin and then its argument prototype would still apply. */
34104 #ifdef __cplusplus
34105 extern "C"
34106 #endif
34107 char XOpenDisplay ();
34108 int
34109 main ()
34110 {
34111 return XOpenDisplay ();
34112 ;
34113 return 0;
34114 }
34115 _ACEOF
34116 rm -f conftest.$ac_objext conftest$ac_exeext
34117 if { (ac_try="$ac_link"
34118 case "(($ac_try" in
34119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34120 *) ac_try_echo=$ac_try;;
34121 esac
34122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34123 (eval "$ac_link") 2>conftest.er1
34124 ac_status=$?
34125 grep -v '^ *+' conftest.er1 >conftest.err
34126 rm -f conftest.er1
34127 cat conftest.err >&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } &&
34130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34131 { (case "(($ac_try" in
34132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34133 *) ac_try_echo=$ac_try;;
34134 esac
34135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34136 (eval "$ac_try") 2>&5
34137 ac_status=$?
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); }; } &&
34140 { ac_try='test -s conftest$ac_exeext'
34141 { (case "(($ac_try" in
34142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34143 *) ac_try_echo=$ac_try;;
34144 esac
34145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34146 (eval "$ac_try") 2>&5
34147 ac_status=$?
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); }; }; then
34150 :
34151 else
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.$ac_ext >&5
34154
34155 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
34156 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
34157 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 else
34160 ac_check_lib_save_LIBS=$LIBS
34161 LIBS="-ldnet $LIBS"
34162 cat >conftest.$ac_ext <<_ACEOF
34163 /* confdefs.h. */
34164 _ACEOF
34165 cat confdefs.h >>conftest.$ac_ext
34166 cat >>conftest.$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34168
34169 /* Override any GCC internal prototype to avoid an error.
34170 Use char because int might match the return type of a GCC
34171 builtin and then its argument prototype would still apply. */
34172 #ifdef __cplusplus
34173 extern "C"
34174 #endif
34175 char dnet_ntoa ();
34176 int
34177 main ()
34178 {
34179 return dnet_ntoa ();
34180 ;
34181 return 0;
34182 }
34183 _ACEOF
34184 rm -f conftest.$ac_objext conftest$ac_exeext
34185 if { (ac_try="$ac_link"
34186 case "(($ac_try" in
34187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34188 *) ac_try_echo=$ac_try;;
34189 esac
34190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34191 (eval "$ac_link") 2>conftest.er1
34192 ac_status=$?
34193 grep -v '^ *+' conftest.er1 >conftest.err
34194 rm -f conftest.er1
34195 cat conftest.err >&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } &&
34198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34199 { (case "(($ac_try" in
34200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34201 *) ac_try_echo=$ac_try;;
34202 esac
34203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34204 (eval "$ac_try") 2>&5
34205 ac_status=$?
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try='test -s conftest$ac_exeext'
34209 { (case "(($ac_try" in
34210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34211 *) ac_try_echo=$ac_try;;
34212 esac
34213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34214 (eval "$ac_try") 2>&5
34215 ac_status=$?
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 ac_cv_lib_dnet_dnet_ntoa=yes
34219 else
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34222
34223 ac_cv_lib_dnet_dnet_ntoa=no
34224 fi
34225
34226 rm -f core conftest.err conftest.$ac_objext \
34227 conftest$ac_exeext conftest.$ac_ext
34228 LIBS=$ac_check_lib_save_LIBS
34229 fi
34230 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
34231 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
34232 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
34233 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
34234 fi
34235
34236 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
34237 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
34238 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
34239 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
34240 echo $ECHO_N "(cached) $ECHO_C" >&6
34241 else
34242 ac_check_lib_save_LIBS=$LIBS
34243 LIBS="-ldnet_stub $LIBS"
34244 cat >conftest.$ac_ext <<_ACEOF
34245 /* confdefs.h. */
34246 _ACEOF
34247 cat confdefs.h >>conftest.$ac_ext
34248 cat >>conftest.$ac_ext <<_ACEOF
34249 /* end confdefs.h. */
34250
34251 /* Override any GCC internal prototype to avoid an error.
34252 Use char because int might match the return type of a GCC
34253 builtin and then its argument prototype would still apply. */
34254 #ifdef __cplusplus
34255 extern "C"
34256 #endif
34257 char dnet_ntoa ();
34258 int
34259 main ()
34260 {
34261 return dnet_ntoa ();
34262 ;
34263 return 0;
34264 }
34265 _ACEOF
34266 rm -f conftest.$ac_objext conftest$ac_exeext
34267 if { (ac_try="$ac_link"
34268 case "(($ac_try" in
34269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34270 *) ac_try_echo=$ac_try;;
34271 esac
34272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34273 (eval "$ac_link") 2>conftest.er1
34274 ac_status=$?
34275 grep -v '^ *+' conftest.er1 >conftest.err
34276 rm -f conftest.er1
34277 cat conftest.err >&5
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); } &&
34280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34281 { (case "(($ac_try" in
34282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34283 *) ac_try_echo=$ac_try;;
34284 esac
34285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34286 (eval "$ac_try") 2>&5
34287 ac_status=$?
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); }; } &&
34290 { ac_try='test -s conftest$ac_exeext'
34291 { (case "(($ac_try" in
34292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34293 *) ac_try_echo=$ac_try;;
34294 esac
34295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34296 (eval "$ac_try") 2>&5
34297 ac_status=$?
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); }; }; then
34300 ac_cv_lib_dnet_stub_dnet_ntoa=yes
34301 else
34302 echo "$as_me: failed program was:" >&5
34303 sed 's/^/| /' conftest.$ac_ext >&5
34304
34305 ac_cv_lib_dnet_stub_dnet_ntoa=no
34306 fi
34307
34308 rm -f core conftest.err conftest.$ac_objext \
34309 conftest$ac_exeext conftest.$ac_ext
34310 LIBS=$ac_check_lib_save_LIBS
34311 fi
34312 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
34313 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
34314 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
34315 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
34316 fi
34317
34318 fi
34319 fi
34320
34321 rm -f core conftest.err conftest.$ac_objext \
34322 conftest$ac_exeext conftest.$ac_ext
34323 LIBS="$ac_xsave_LIBS"
34324
34325 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
34326 # to get the SysV transport functions.
34327 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
34328 # needs -lnsl.
34329 # The nsl library prevents programs from opening the X display
34330 # on Irix 5.2, according to T.E. Dickey.
34331 # The functions gethostbyname, getservbyname, and inet_addr are
34332 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
34333 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
34334 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
34335 if test "${ac_cv_func_gethostbyname+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34337 else
34338 cat >conftest.$ac_ext <<_ACEOF
34339 /* confdefs.h. */
34340 _ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
34345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34346 #define gethostbyname innocuous_gethostbyname
34347
34348 /* System header to define __stub macros and hopefully few prototypes,
34349 which can conflict with char gethostbyname (); below.
34350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34351 <limits.h> exists even on freestanding compilers. */
34352
34353 #ifdef __STDC__
34354 # include <limits.h>
34355 #else
34356 # include <assert.h>
34357 #endif
34358
34359 #undef gethostbyname
34360
34361 /* Override any GCC internal prototype to avoid an error.
34362 Use char because int might match the return type of a GCC
34363 builtin and then its argument prototype would still apply. */
34364 #ifdef __cplusplus
34365 extern "C"
34366 #endif
34367 char gethostbyname ();
34368 /* The GNU C library defines this for functions which it implements
34369 to always fail with ENOSYS. Some functions are actually named
34370 something starting with __ and the normal name is an alias. */
34371 #if defined __stub_gethostbyname || defined __stub___gethostbyname
34372 choke me
34373 #endif
34374
34375 int
34376 main ()
34377 {
34378 return gethostbyname ();
34379 ;
34380 return 0;
34381 }
34382 _ACEOF
34383 rm -f conftest.$ac_objext conftest$ac_exeext
34384 if { (ac_try="$ac_link"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34387 *) ac_try_echo=$ac_try;;
34388 esac
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_link") 2>conftest.er1
34391 ac_status=$?
34392 grep -v '^ *+' conftest.er1 >conftest.err
34393 rm -f conftest.er1
34394 cat conftest.err >&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } &&
34397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34398 { (case "(($ac_try" in
34399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34400 *) ac_try_echo=$ac_try;;
34401 esac
34402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34403 (eval "$ac_try") 2>&5
34404 ac_status=$?
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); }; } &&
34407 { ac_try='test -s conftest$ac_exeext'
34408 { (case "(($ac_try" in
34409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34410 *) ac_try_echo=$ac_try;;
34411 esac
34412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34413 (eval "$ac_try") 2>&5
34414 ac_status=$?
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); }; }; then
34417 ac_cv_func_gethostbyname=yes
34418 else
34419 echo "$as_me: failed program was:" >&5
34420 sed 's/^/| /' conftest.$ac_ext >&5
34421
34422 ac_cv_func_gethostbyname=no
34423 fi
34424
34425 rm -f core conftest.err conftest.$ac_objext \
34426 conftest$ac_exeext conftest.$ac_ext
34427 fi
34428 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
34429 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
34430
34431 if test $ac_cv_func_gethostbyname = no; then
34432 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
34433 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
34434 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
34435 echo $ECHO_N "(cached) $ECHO_C" >&6
34436 else
34437 ac_check_lib_save_LIBS=$LIBS
34438 LIBS="-lnsl $LIBS"
34439 cat >conftest.$ac_ext <<_ACEOF
34440 /* confdefs.h. */
34441 _ACEOF
34442 cat confdefs.h >>conftest.$ac_ext
34443 cat >>conftest.$ac_ext <<_ACEOF
34444 /* end confdefs.h. */
34445
34446 /* Override any GCC internal prototype to avoid an error.
34447 Use char because int might match the return type of a GCC
34448 builtin and then its argument prototype would still apply. */
34449 #ifdef __cplusplus
34450 extern "C"
34451 #endif
34452 char gethostbyname ();
34453 int
34454 main ()
34455 {
34456 return gethostbyname ();
34457 ;
34458 return 0;
34459 }
34460 _ACEOF
34461 rm -f conftest.$ac_objext conftest$ac_exeext
34462 if { (ac_try="$ac_link"
34463 case "(($ac_try" in
34464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34465 *) ac_try_echo=$ac_try;;
34466 esac
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_link") 2>conftest.er1
34469 ac_status=$?
34470 grep -v '^ *+' conftest.er1 >conftest.err
34471 rm -f conftest.er1
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } &&
34475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34476 { (case "(($ac_try" in
34477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34478 *) ac_try_echo=$ac_try;;
34479 esac
34480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34481 (eval "$ac_try") 2>&5
34482 ac_status=$?
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); }; } &&
34485 { ac_try='test -s conftest$ac_exeext'
34486 { (case "(($ac_try" in
34487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34488 *) ac_try_echo=$ac_try;;
34489 esac
34490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34491 (eval "$ac_try") 2>&5
34492 ac_status=$?
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); }; }; then
34495 ac_cv_lib_nsl_gethostbyname=yes
34496 else
34497 echo "$as_me: failed program was:" >&5
34498 sed 's/^/| /' conftest.$ac_ext >&5
34499
34500 ac_cv_lib_nsl_gethostbyname=no
34501 fi
34502
34503 rm -f core conftest.err conftest.$ac_objext \
34504 conftest$ac_exeext conftest.$ac_ext
34505 LIBS=$ac_check_lib_save_LIBS
34506 fi
34507 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
34508 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
34509 if test $ac_cv_lib_nsl_gethostbyname = yes; then
34510 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
34511 fi
34512
34513 if test $ac_cv_lib_nsl_gethostbyname = no; then
34514 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
34515 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
34516 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
34517 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 else
34519 ac_check_lib_save_LIBS=$LIBS
34520 LIBS="-lbsd $LIBS"
34521 cat >conftest.$ac_ext <<_ACEOF
34522 /* confdefs.h. */
34523 _ACEOF
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h. */
34527
34528 /* Override any GCC internal prototype to avoid an error.
34529 Use char because int might match the return type of a GCC
34530 builtin and then its argument prototype would still apply. */
34531 #ifdef __cplusplus
34532 extern "C"
34533 #endif
34534 char gethostbyname ();
34535 int
34536 main ()
34537 {
34538 return gethostbyname ();
34539 ;
34540 return 0;
34541 }
34542 _ACEOF
34543 rm -f conftest.$ac_objext conftest$ac_exeext
34544 if { (ac_try="$ac_link"
34545 case "(($ac_try" in
34546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34547 *) ac_try_echo=$ac_try;;
34548 esac
34549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34550 (eval "$ac_link") 2>conftest.er1
34551 ac_status=$?
34552 grep -v '^ *+' conftest.er1 >conftest.err
34553 rm -f conftest.er1
34554 cat conftest.err >&5
34555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34556 (exit $ac_status); } &&
34557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34558 { (case "(($ac_try" in
34559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34560 *) ac_try_echo=$ac_try;;
34561 esac
34562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34563 (eval "$ac_try") 2>&5
34564 ac_status=$?
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); }; } &&
34567 { ac_try='test -s conftest$ac_exeext'
34568 { (case "(($ac_try" in
34569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34570 *) ac_try_echo=$ac_try;;
34571 esac
34572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34573 (eval "$ac_try") 2>&5
34574 ac_status=$?
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); }; }; then
34577 ac_cv_lib_bsd_gethostbyname=yes
34578 else
34579 echo "$as_me: failed program was:" >&5
34580 sed 's/^/| /' conftest.$ac_ext >&5
34581
34582 ac_cv_lib_bsd_gethostbyname=no
34583 fi
34584
34585 rm -f core conftest.err conftest.$ac_objext \
34586 conftest$ac_exeext conftest.$ac_ext
34587 LIBS=$ac_check_lib_save_LIBS
34588 fi
34589 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
34590 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
34591 if test $ac_cv_lib_bsd_gethostbyname = yes; then
34592 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
34593 fi
34594
34595 fi
34596 fi
34597
34598 # lieder@skyler.mavd.honeywell.com says without -lsocket,
34599 # socket/setsockopt and other routines are undefined under SCO ODT
34600 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
34601 # on later versions), says Simon Leinen: it contains gethostby*
34602 # variants that don't use the name server (or something). -lsocket
34603 # must be given before -lnsl if both are needed. We assume that
34604 # if connect needs -lnsl, so does gethostbyname.
34605 { echo "$as_me:$LINENO: checking for connect" >&5
34606 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
34607 if test "${ac_cv_func_connect+set}" = set; then
34608 echo $ECHO_N "(cached) $ECHO_C" >&6
34609 else
34610 cat >conftest.$ac_ext <<_ACEOF
34611 /* confdefs.h. */
34612 _ACEOF
34613 cat confdefs.h >>conftest.$ac_ext
34614 cat >>conftest.$ac_ext <<_ACEOF
34615 /* end confdefs.h. */
34616 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
34617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34618 #define connect innocuous_connect
34619
34620 /* System header to define __stub macros and hopefully few prototypes,
34621 which can conflict with char connect (); below.
34622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34623 <limits.h> exists even on freestanding compilers. */
34624
34625 #ifdef __STDC__
34626 # include <limits.h>
34627 #else
34628 # include <assert.h>
34629 #endif
34630
34631 #undef connect
34632
34633 /* Override any GCC internal prototype to avoid an error.
34634 Use char because int might match the return type of a GCC
34635 builtin and then its argument prototype would still apply. */
34636 #ifdef __cplusplus
34637 extern "C"
34638 #endif
34639 char connect ();
34640 /* The GNU C library defines this for functions which it implements
34641 to always fail with ENOSYS. Some functions are actually named
34642 something starting with __ and the normal name is an alias. */
34643 #if defined __stub_connect || defined __stub___connect
34644 choke me
34645 #endif
34646
34647 int
34648 main ()
34649 {
34650 return connect ();
34651 ;
34652 return 0;
34653 }
34654 _ACEOF
34655 rm -f conftest.$ac_objext conftest$ac_exeext
34656 if { (ac_try="$ac_link"
34657 case "(($ac_try" in
34658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34659 *) ac_try_echo=$ac_try;;
34660 esac
34661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34662 (eval "$ac_link") 2>conftest.er1
34663 ac_status=$?
34664 grep -v '^ *+' conftest.er1 >conftest.err
34665 rm -f conftest.er1
34666 cat conftest.err >&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); } &&
34669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34670 { (case "(($ac_try" in
34671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34672 *) ac_try_echo=$ac_try;;
34673 esac
34674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34675 (eval "$ac_try") 2>&5
34676 ac_status=$?
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; } &&
34679 { ac_try='test -s conftest$ac_exeext'
34680 { (case "(($ac_try" in
34681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34682 *) ac_try_echo=$ac_try;;
34683 esac
34684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34685 (eval "$ac_try") 2>&5
34686 ac_status=$?
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); }; }; then
34689 ac_cv_func_connect=yes
34690 else
34691 echo "$as_me: failed program was:" >&5
34692 sed 's/^/| /' conftest.$ac_ext >&5
34693
34694 ac_cv_func_connect=no
34695 fi
34696
34697 rm -f core conftest.err conftest.$ac_objext \
34698 conftest$ac_exeext conftest.$ac_ext
34699 fi
34700 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
34701 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
34702
34703 if test $ac_cv_func_connect = no; then
34704 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
34705 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
34706 if test "${ac_cv_lib_socket_connect+set}" = set; then
34707 echo $ECHO_N "(cached) $ECHO_C" >&6
34708 else
34709 ac_check_lib_save_LIBS=$LIBS
34710 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
34711 cat >conftest.$ac_ext <<_ACEOF
34712 /* confdefs.h. */
34713 _ACEOF
34714 cat confdefs.h >>conftest.$ac_ext
34715 cat >>conftest.$ac_ext <<_ACEOF
34716 /* end confdefs.h. */
34717
34718 /* Override any GCC internal prototype to avoid an error.
34719 Use char because int might match the return type of a GCC
34720 builtin and then its argument prototype would still apply. */
34721 #ifdef __cplusplus
34722 extern "C"
34723 #endif
34724 char connect ();
34725 int
34726 main ()
34727 {
34728 return connect ();
34729 ;
34730 return 0;
34731 }
34732 _ACEOF
34733 rm -f conftest.$ac_objext conftest$ac_exeext
34734 if { (ac_try="$ac_link"
34735 case "(($ac_try" in
34736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34737 *) ac_try_echo=$ac_try;;
34738 esac
34739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34740 (eval "$ac_link") 2>conftest.er1
34741 ac_status=$?
34742 grep -v '^ *+' conftest.er1 >conftest.err
34743 rm -f conftest.er1
34744 cat conftest.err >&5
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); } &&
34747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34748 { (case "(($ac_try" in
34749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34750 *) ac_try_echo=$ac_try;;
34751 esac
34752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34753 (eval "$ac_try") 2>&5
34754 ac_status=$?
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); }; } &&
34757 { ac_try='test -s conftest$ac_exeext'
34758 { (case "(($ac_try" in
34759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34760 *) ac_try_echo=$ac_try;;
34761 esac
34762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34763 (eval "$ac_try") 2>&5
34764 ac_status=$?
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 ac_cv_lib_socket_connect=yes
34768 else
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.$ac_ext >&5
34771
34772 ac_cv_lib_socket_connect=no
34773 fi
34774
34775 rm -f core conftest.err conftest.$ac_objext \
34776 conftest$ac_exeext conftest.$ac_ext
34777 LIBS=$ac_check_lib_save_LIBS
34778 fi
34779 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
34780 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
34781 if test $ac_cv_lib_socket_connect = yes; then
34782 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
34783 fi
34784
34785 fi
34786
34787 # Guillermo Gomez says -lposix is necessary on A/UX.
34788 { echo "$as_me:$LINENO: checking for remove" >&5
34789 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
34790 if test "${ac_cv_func_remove+set}" = set; then
34791 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 else
34793 cat >conftest.$ac_ext <<_ACEOF
34794 /* confdefs.h. */
34795 _ACEOF
34796 cat confdefs.h >>conftest.$ac_ext
34797 cat >>conftest.$ac_ext <<_ACEOF
34798 /* end confdefs.h. */
34799 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
34800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34801 #define remove innocuous_remove
34802
34803 /* System header to define __stub macros and hopefully few prototypes,
34804 which can conflict with char remove (); below.
34805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34806 <limits.h> exists even on freestanding compilers. */
34807
34808 #ifdef __STDC__
34809 # include <limits.h>
34810 #else
34811 # include <assert.h>
34812 #endif
34813
34814 #undef remove
34815
34816 /* Override any GCC internal prototype to avoid an error.
34817 Use char because int might match the return type of a GCC
34818 builtin and then its argument prototype would still apply. */
34819 #ifdef __cplusplus
34820 extern "C"
34821 #endif
34822 char remove ();
34823 /* The GNU C library defines this for functions which it implements
34824 to always fail with ENOSYS. Some functions are actually named
34825 something starting with __ and the normal name is an alias. */
34826 #if defined __stub_remove || defined __stub___remove
34827 choke me
34828 #endif
34829
34830 int
34831 main ()
34832 {
34833 return remove ();
34834 ;
34835 return 0;
34836 }
34837 _ACEOF
34838 rm -f conftest.$ac_objext conftest$ac_exeext
34839 if { (ac_try="$ac_link"
34840 case "(($ac_try" in
34841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34842 *) ac_try_echo=$ac_try;;
34843 esac
34844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34845 (eval "$ac_link") 2>conftest.er1
34846 ac_status=$?
34847 grep -v '^ *+' conftest.er1 >conftest.err
34848 rm -f conftest.er1
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } &&
34852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34853 { (case "(($ac_try" in
34854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34855 *) ac_try_echo=$ac_try;;
34856 esac
34857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34858 (eval "$ac_try") 2>&5
34859 ac_status=$?
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); }; } &&
34862 { ac_try='test -s conftest$ac_exeext'
34863 { (case "(($ac_try" in
34864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34865 *) ac_try_echo=$ac_try;;
34866 esac
34867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34868 (eval "$ac_try") 2>&5
34869 ac_status=$?
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); }; }; then
34872 ac_cv_func_remove=yes
34873 else
34874 echo "$as_me: failed program was:" >&5
34875 sed 's/^/| /' conftest.$ac_ext >&5
34876
34877 ac_cv_func_remove=no
34878 fi
34879
34880 rm -f core conftest.err conftest.$ac_objext \
34881 conftest$ac_exeext conftest.$ac_ext
34882 fi
34883 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
34884 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
34885
34886 if test $ac_cv_func_remove = no; then
34887 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
34888 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
34889 if test "${ac_cv_lib_posix_remove+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 else
34892 ac_check_lib_save_LIBS=$LIBS
34893 LIBS="-lposix $LIBS"
34894 cat >conftest.$ac_ext <<_ACEOF
34895 /* confdefs.h. */
34896 _ACEOF
34897 cat confdefs.h >>conftest.$ac_ext
34898 cat >>conftest.$ac_ext <<_ACEOF
34899 /* end confdefs.h. */
34900
34901 /* Override any GCC internal prototype to avoid an error.
34902 Use char because int might match the return type of a GCC
34903 builtin and then its argument prototype would still apply. */
34904 #ifdef __cplusplus
34905 extern "C"
34906 #endif
34907 char remove ();
34908 int
34909 main ()
34910 {
34911 return remove ();
34912 ;
34913 return 0;
34914 }
34915 _ACEOF
34916 rm -f conftest.$ac_objext conftest$ac_exeext
34917 if { (ac_try="$ac_link"
34918 case "(($ac_try" in
34919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34920 *) ac_try_echo=$ac_try;;
34921 esac
34922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34923 (eval "$ac_link") 2>conftest.er1
34924 ac_status=$?
34925 grep -v '^ *+' conftest.er1 >conftest.err
34926 rm -f conftest.er1
34927 cat conftest.err >&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); } &&
34930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34931 { (case "(($ac_try" in
34932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34933 *) ac_try_echo=$ac_try;;
34934 esac
34935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34936 (eval "$ac_try") 2>&5
34937 ac_status=$?
34938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939 (exit $ac_status); }; } &&
34940 { ac_try='test -s conftest$ac_exeext'
34941 { (case "(($ac_try" in
34942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34943 *) ac_try_echo=$ac_try;;
34944 esac
34945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34946 (eval "$ac_try") 2>&5
34947 ac_status=$?
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; }; then
34950 ac_cv_lib_posix_remove=yes
34951 else
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.$ac_ext >&5
34954
34955 ac_cv_lib_posix_remove=no
34956 fi
34957
34958 rm -f core conftest.err conftest.$ac_objext \
34959 conftest$ac_exeext conftest.$ac_ext
34960 LIBS=$ac_check_lib_save_LIBS
34961 fi
34962 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
34963 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
34964 if test $ac_cv_lib_posix_remove = yes; then
34965 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
34966 fi
34967
34968 fi
34969
34970 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
34971 { echo "$as_me:$LINENO: checking for shmat" >&5
34972 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
34973 if test "${ac_cv_func_shmat+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34975 else
34976 cat >conftest.$ac_ext <<_ACEOF
34977 /* confdefs.h. */
34978 _ACEOF
34979 cat confdefs.h >>conftest.$ac_ext
34980 cat >>conftest.$ac_ext <<_ACEOF
34981 /* end confdefs.h. */
34982 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
34983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34984 #define shmat innocuous_shmat
34985
34986 /* System header to define __stub macros and hopefully few prototypes,
34987 which can conflict with char shmat (); below.
34988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34989 <limits.h> exists even on freestanding compilers. */
34990
34991 #ifdef __STDC__
34992 # include <limits.h>
34993 #else
34994 # include <assert.h>
34995 #endif
34996
34997 #undef shmat
34998
34999 /* Override any GCC internal prototype to avoid an error.
35000 Use char because int might match the return type of a GCC
35001 builtin and then its argument prototype would still apply. */
35002 #ifdef __cplusplus
35003 extern "C"
35004 #endif
35005 char shmat ();
35006 /* The GNU C library defines this for functions which it implements
35007 to always fail with ENOSYS. Some functions are actually named
35008 something starting with __ and the normal name is an alias. */
35009 #if defined __stub_shmat || defined __stub___shmat
35010 choke me
35011 #endif
35012
35013 int
35014 main ()
35015 {
35016 return shmat ();
35017 ;
35018 return 0;
35019 }
35020 _ACEOF
35021 rm -f conftest.$ac_objext conftest$ac_exeext
35022 if { (ac_try="$ac_link"
35023 case "(($ac_try" in
35024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35025 *) ac_try_echo=$ac_try;;
35026 esac
35027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35028 (eval "$ac_link") 2>conftest.er1
35029 ac_status=$?
35030 grep -v '^ *+' conftest.er1 >conftest.err
35031 rm -f conftest.er1
35032 cat conftest.err >&5
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); } &&
35035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35036 { (case "(($ac_try" in
35037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35038 *) ac_try_echo=$ac_try;;
35039 esac
35040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35041 (eval "$ac_try") 2>&5
35042 ac_status=$?
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); }; } &&
35045 { ac_try='test -s conftest$ac_exeext'
35046 { (case "(($ac_try" in
35047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35048 *) ac_try_echo=$ac_try;;
35049 esac
35050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35051 (eval "$ac_try") 2>&5
35052 ac_status=$?
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); }; }; then
35055 ac_cv_func_shmat=yes
35056 else
35057 echo "$as_me: failed program was:" >&5
35058 sed 's/^/| /' conftest.$ac_ext >&5
35059
35060 ac_cv_func_shmat=no
35061 fi
35062
35063 rm -f core conftest.err conftest.$ac_objext \
35064 conftest$ac_exeext conftest.$ac_ext
35065 fi
35066 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
35067 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
35068
35069 if test $ac_cv_func_shmat = no; then
35070 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
35071 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
35072 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
35073 echo $ECHO_N "(cached) $ECHO_C" >&6
35074 else
35075 ac_check_lib_save_LIBS=$LIBS
35076 LIBS="-lipc $LIBS"
35077 cat >conftest.$ac_ext <<_ACEOF
35078 /* confdefs.h. */
35079 _ACEOF
35080 cat confdefs.h >>conftest.$ac_ext
35081 cat >>conftest.$ac_ext <<_ACEOF
35082 /* end confdefs.h. */
35083
35084 /* Override any GCC internal prototype to avoid an error.
35085 Use char because int might match the return type of a GCC
35086 builtin and then its argument prototype would still apply. */
35087 #ifdef __cplusplus
35088 extern "C"
35089 #endif
35090 char shmat ();
35091 int
35092 main ()
35093 {
35094 return shmat ();
35095 ;
35096 return 0;
35097 }
35098 _ACEOF
35099 rm -f conftest.$ac_objext conftest$ac_exeext
35100 if { (ac_try="$ac_link"
35101 case "(($ac_try" in
35102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35103 *) ac_try_echo=$ac_try;;
35104 esac
35105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35106 (eval "$ac_link") 2>conftest.er1
35107 ac_status=$?
35108 grep -v '^ *+' conftest.er1 >conftest.err
35109 rm -f conftest.er1
35110 cat conftest.err >&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); } &&
35113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35114 { (case "(($ac_try" in
35115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35116 *) ac_try_echo=$ac_try;;
35117 esac
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_try") 2>&5
35120 ac_status=$?
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; } &&
35123 { ac_try='test -s conftest$ac_exeext'
35124 { (case "(($ac_try" in
35125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35126 *) ac_try_echo=$ac_try;;
35127 esac
35128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35129 (eval "$ac_try") 2>&5
35130 ac_status=$?
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; }; then
35133 ac_cv_lib_ipc_shmat=yes
35134 else
35135 echo "$as_me: failed program was:" >&5
35136 sed 's/^/| /' conftest.$ac_ext >&5
35137
35138 ac_cv_lib_ipc_shmat=no
35139 fi
35140
35141 rm -f core conftest.err conftest.$ac_objext \
35142 conftest$ac_exeext conftest.$ac_ext
35143 LIBS=$ac_check_lib_save_LIBS
35144 fi
35145 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
35146 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
35147 if test $ac_cv_lib_ipc_shmat = yes; then
35148 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
35149 fi
35150
35151 fi
35152 fi
35153
35154 # Check for libraries that X11R6 Xt/Xaw programs need.
35155 ac_save_LDFLAGS=$LDFLAGS
35156 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
35157 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
35158 # check for ICE first), but we must link in the order -lSM -lICE or
35159 # we get undefined symbols. So assume we have SM if we have ICE.
35160 # These have to be linked with before -lX11, unlike the other
35161 # libraries we check for below, so use a different variable.
35162 # John Interrante, Karl Berry
35163 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
35164 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
35165 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
35166 echo $ECHO_N "(cached) $ECHO_C" >&6
35167 else
35168 ac_check_lib_save_LIBS=$LIBS
35169 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
35170 cat >conftest.$ac_ext <<_ACEOF
35171 /* confdefs.h. */
35172 _ACEOF
35173 cat confdefs.h >>conftest.$ac_ext
35174 cat >>conftest.$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35176
35177 /* Override any GCC internal prototype to avoid an error.
35178 Use char because int might match the return type of a GCC
35179 builtin and then its argument prototype would still apply. */
35180 #ifdef __cplusplus
35181 extern "C"
35182 #endif
35183 char IceConnectionNumber ();
35184 int
35185 main ()
35186 {
35187 return IceConnectionNumber ();
35188 ;
35189 return 0;
35190 }
35191 _ACEOF
35192 rm -f conftest.$ac_objext conftest$ac_exeext
35193 if { (ac_try="$ac_link"
35194 case "(($ac_try" in
35195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35196 *) ac_try_echo=$ac_try;;
35197 esac
35198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35199 (eval "$ac_link") 2>conftest.er1
35200 ac_status=$?
35201 grep -v '^ *+' conftest.er1 >conftest.err
35202 rm -f conftest.er1
35203 cat conftest.err >&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } &&
35206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35207 { (case "(($ac_try" in
35208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35209 *) ac_try_echo=$ac_try;;
35210 esac
35211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35212 (eval "$ac_try") 2>&5
35213 ac_status=$?
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); }; } &&
35216 { ac_try='test -s conftest$ac_exeext'
35217 { (case "(($ac_try" in
35218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35219 *) ac_try_echo=$ac_try;;
35220 esac
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_try") 2>&5
35223 ac_status=$?
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; }; then
35226 ac_cv_lib_ICE_IceConnectionNumber=yes
35227 else
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.$ac_ext >&5
35230
35231 ac_cv_lib_ICE_IceConnectionNumber=no
35232 fi
35233
35234 rm -f core conftest.err conftest.$ac_objext \
35235 conftest$ac_exeext conftest.$ac_ext
35236 LIBS=$ac_check_lib_save_LIBS
35237 fi
35238 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
35239 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
35240 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
35241 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
35242 fi
35243
35244 LDFLAGS=$ac_save_LDFLAGS
35245
35246 fi
35247
35248
35249 if test "$no_x" = "yes"; then
35250 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
35251 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
35252 { (exit 1); exit 1; }; }
35253 fi
35254
35255 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
35256 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
35257 AFMINSTALL=afminstall
35258 COMPILED_X_PROGRAM=0
35259
35260 fi
35261
35262 if test "$wxUSE_X11" = 1; then
35263 if test "$wxUSE_NANOX" = "yes"; then
35264 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
35265 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
35266 if test "x$MICROWIN" = x ; then
35267 { echo "$as_me:$LINENO: result: not found" >&5
35268 echo "${ECHO_T}not found" >&6; }
35269 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
35270 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
35271 { (exit 1); exit 1; }; }
35272 else
35273 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
35274 echo "${ECHO_T}$MICROWIN" >&6; }
35275 cat >>confdefs.h <<\_ACEOF
35276 #define wxUSE_NANOX 1
35277 _ACEOF
35278
35279 fi
35280 fi
35281
35282 if test "$wxUSE_UNICODE" = "yes"; then
35283
35284
35285 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35286 if test -n "$ac_tool_prefix"; then
35287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35291 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35293 else
35294 case $PKG_CONFIG in
35295 [\\/]* | ?:[\\/]*)
35296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35297 ;;
35298 *)
35299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35300 for as_dir in $PATH
35301 do
35302 IFS=$as_save_IFS
35303 test -z "$as_dir" && as_dir=.
35304 for ac_exec_ext in '' $ac_executable_extensions; do
35305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35308 break 2
35309 fi
35310 done
35311 done
35312 IFS=$as_save_IFS
35313
35314 ;;
35315 esac
35316 fi
35317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35318 if test -n "$PKG_CONFIG"; then
35319 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35320 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35321 else
35322 { echo "$as_me:$LINENO: result: no" >&5
35323 echo "${ECHO_T}no" >&6; }
35324 fi
35325
35326
35327 fi
35328 if test -z "$ac_cv_path_PKG_CONFIG"; then
35329 ac_pt_PKG_CONFIG=$PKG_CONFIG
35330 # Extract the first word of "pkg-config", so it can be a program name with args.
35331 set dummy pkg-config; ac_word=$2
35332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35334 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35335 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 else
35337 case $ac_pt_PKG_CONFIG in
35338 [\\/]* | ?:[\\/]*)
35339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35340 ;;
35341 *)
35342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35343 for as_dir in $PATH
35344 do
35345 IFS=$as_save_IFS
35346 test -z "$as_dir" && as_dir=.
35347 for ac_exec_ext in '' $ac_executable_extensions; do
35348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
35349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35351 break 2
35352 fi
35353 done
35354 done
35355 IFS=$as_save_IFS
35356
35357 ;;
35358 esac
35359 fi
35360 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35361 if test -n "$ac_pt_PKG_CONFIG"; then
35362 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35363 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35364 else
35365 { echo "$as_me:$LINENO: result: no" >&5
35366 echo "${ECHO_T}no" >&6; }
35367 fi
35368
35369 if test "x$ac_pt_PKG_CONFIG" = x; then
35370 PKG_CONFIG=""
35371 else
35372 case $cross_compiling:$ac_tool_warned in
35373 yes:)
35374 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35375 whose name does not start with the host triplet. If you think this
35376 configuration is useful to you, please write to autoconf@gnu.org." >&5
35377 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35378 whose name does not start with the host triplet. If you think this
35379 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35380 ac_tool_warned=yes ;;
35381 esac
35382 PKG_CONFIG=$ac_pt_PKG_CONFIG
35383 fi
35384 else
35385 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35386 fi
35387
35388 fi
35389 if test -n "$PKG_CONFIG"; then
35390 _pkg_min_version=0.9.0
35391 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35392 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35393 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35394 { echo "$as_me:$LINENO: result: yes" >&5
35395 echo "${ECHO_T}yes" >&6; }
35396 else
35397 { echo "$as_me:$LINENO: result: no" >&5
35398 echo "${ECHO_T}no" >&6; }
35399 PKG_CONFIG=""
35400 fi
35401
35402 fi
35403
35404
35405 pkg_failed=no
35406 { echo "$as_me:$LINENO: checking for PANGOX" >&5
35407 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
35408
35409 if test -n "$PKG_CONFIG"; then
35410 if test -n "$PANGOX_CFLAGS"; then
35411 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
35412 else
35413 if test -n "$PKG_CONFIG" && \
35414 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
35415 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
35416 ac_status=$?
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); }; then
35419 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
35420 else
35421 pkg_failed=yes
35422 fi
35423 fi
35424 else
35425 pkg_failed=untried
35426 fi
35427 if test -n "$PKG_CONFIG"; then
35428 if test -n "$PANGOX_LIBS"; then
35429 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
35430 else
35431 if test -n "$PKG_CONFIG" && \
35432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
35433 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
35434 ac_status=$?
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); }; then
35437 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
35438 else
35439 pkg_failed=yes
35440 fi
35441 fi
35442 else
35443 pkg_failed=untried
35444 fi
35445
35446
35447
35448 if test $pkg_failed = yes; then
35449
35450 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35451 _pkg_short_errors_supported=yes
35452 else
35453 _pkg_short_errors_supported=no
35454 fi
35455 if test $_pkg_short_errors_supported = yes; then
35456 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
35457 else
35458 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
35459 fi
35460 # Put the nasty error message in config.log where it belongs
35461 echo "$PANGOX_PKG_ERRORS" >&5
35462
35463
35464 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
35465 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
35466 { (exit 1); exit 1; }; }
35467
35468
35469 elif test $pkg_failed = untried; then
35470
35471 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
35472 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
35473 { (exit 1); exit 1; }; }
35474
35475
35476 else
35477 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
35478 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
35479 { echo "$as_me:$LINENO: result: yes" >&5
35480 echo "${ECHO_T}yes" >&6; }
35481
35482 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
35483 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
35484 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
35485
35486 fi
35487
35488 pkg_failed=no
35489 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
35490 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
35491
35492 if test -n "$PKG_CONFIG"; then
35493 if test -n "$PANGOFT2_CFLAGS"; then
35494 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
35495 else
35496 if test -n "$PKG_CONFIG" && \
35497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
35498 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
35499 ac_status=$?
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; then
35502 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
35503 else
35504 pkg_failed=yes
35505 fi
35506 fi
35507 else
35508 pkg_failed=untried
35509 fi
35510 if test -n "$PKG_CONFIG"; then
35511 if test -n "$PANGOFT2_LIBS"; then
35512 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
35513 else
35514 if test -n "$PKG_CONFIG" && \
35515 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
35516 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
35517 ac_status=$?
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); }; then
35520 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
35521 else
35522 pkg_failed=yes
35523 fi
35524 fi
35525 else
35526 pkg_failed=untried
35527 fi
35528
35529
35530
35531 if test $pkg_failed = yes; then
35532
35533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35534 _pkg_short_errors_supported=yes
35535 else
35536 _pkg_short_errors_supported=no
35537 fi
35538 if test $_pkg_short_errors_supported = yes; then
35539 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
35540 else
35541 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
35542 fi
35543 # Put the nasty error message in config.log where it belongs
35544 echo "$PANGOFT2_PKG_ERRORS" >&5
35545
35546
35547 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
35548 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
35549 wxUSE_PRINTING_ARCHITECTURE="no"
35550
35551
35552 elif test $pkg_failed = untried; then
35553
35554 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
35555 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
35556 wxUSE_PRINTING_ARCHITECTURE="no"
35557
35558
35559 else
35560 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
35561 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
35562 { echo "$as_me:$LINENO: result: yes" >&5
35563 echo "${ECHO_T}yes" >&6; }
35564
35565 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
35566 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
35567 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
35568
35569 fi
35570
35571 pkg_failed=no
35572 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
35573 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
35574
35575 if test -n "$PKG_CONFIG"; then
35576 if test -n "$PANGOXFT_CFLAGS"; then
35577 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
35578 else
35579 if test -n "$PKG_CONFIG" && \
35580 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
35581 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
35582 ac_status=$?
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); }; then
35585 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
35586 else
35587 pkg_failed=yes
35588 fi
35589 fi
35590 else
35591 pkg_failed=untried
35592 fi
35593 if test -n "$PKG_CONFIG"; then
35594 if test -n "$PANGOXFT_LIBS"; then
35595 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
35596 else
35597 if test -n "$PKG_CONFIG" && \
35598 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
35599 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
35600 ac_status=$?
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); }; then
35603 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
35604 else
35605 pkg_failed=yes
35606 fi
35607 fi
35608 else
35609 pkg_failed=untried
35610 fi
35611
35612
35613
35614 if test $pkg_failed = yes; then
35615
35616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35617 _pkg_short_errors_supported=yes
35618 else
35619 _pkg_short_errors_supported=no
35620 fi
35621 if test $_pkg_short_errors_supported = yes; then
35622 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
35623 else
35624 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
35625 fi
35626 # Put the nasty error message in config.log where it belongs
35627 echo "$PANGOXFT_PKG_ERRORS" >&5
35628
35629
35630 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
35631 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
35632
35633
35634 elif test $pkg_failed = untried; then
35635
35636 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
35637 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
35638
35639
35640 else
35641 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
35642 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
35643 { echo "$as_me:$LINENO: result: yes" >&5
35644 echo "${ECHO_T}yes" >&6; }
35645
35646 cat >>confdefs.h <<\_ACEOF
35647 #define HAVE_PANGO_XFT 1
35648 _ACEOF
35649
35650 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
35651 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
35652 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
35653
35654 fi
35655 save_LIBS="$LIBS"
35656 LIBS="$LIBS $PANGOX_LIBS"
35657
35658 for ac_func in pango_font_family_is_monospace
35659 do
35660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35661 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35663 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35665 else
35666 cat >conftest.$ac_ext <<_ACEOF
35667 /* confdefs.h. */
35668 _ACEOF
35669 cat confdefs.h >>conftest.$ac_ext
35670 cat >>conftest.$ac_ext <<_ACEOF
35671 /* end confdefs.h. */
35672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35674 #define $ac_func innocuous_$ac_func
35675
35676 /* System header to define __stub macros and hopefully few prototypes,
35677 which can conflict with char $ac_func (); below.
35678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35679 <limits.h> exists even on freestanding compilers. */
35680
35681 #ifdef __STDC__
35682 # include <limits.h>
35683 #else
35684 # include <assert.h>
35685 #endif
35686
35687 #undef $ac_func
35688
35689 /* Override any GCC internal prototype to avoid an error.
35690 Use char because int might match the return type of a GCC
35691 builtin and then its argument prototype would still apply. */
35692 #ifdef __cplusplus
35693 extern "C"
35694 #endif
35695 char $ac_func ();
35696 /* The GNU C library defines this for functions which it implements
35697 to always fail with ENOSYS. Some functions are actually named
35698 something starting with __ and the normal name is an alias. */
35699 #if defined __stub_$ac_func || defined __stub___$ac_func
35700 choke me
35701 #endif
35702
35703 int
35704 main ()
35705 {
35706 return $ac_func ();
35707 ;
35708 return 0;
35709 }
35710 _ACEOF
35711 rm -f conftest.$ac_objext conftest$ac_exeext
35712 if { (ac_try="$ac_link"
35713 case "(($ac_try" in
35714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35715 *) ac_try_echo=$ac_try;;
35716 esac
35717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35718 (eval "$ac_link") 2>conftest.er1
35719 ac_status=$?
35720 grep -v '^ *+' conftest.er1 >conftest.err
35721 rm -f conftest.er1
35722 cat conftest.err >&5
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); } &&
35725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35726 { (case "(($ac_try" in
35727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35728 *) ac_try_echo=$ac_try;;
35729 esac
35730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35731 (eval "$ac_try") 2>&5
35732 ac_status=$?
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; } &&
35735 { ac_try='test -s conftest$ac_exeext'
35736 { (case "(($ac_try" in
35737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35738 *) ac_try_echo=$ac_try;;
35739 esac
35740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35741 (eval "$ac_try") 2>&5
35742 ac_status=$?
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; }; then
35745 eval "$as_ac_var=yes"
35746 else
35747 echo "$as_me: failed program was:" >&5
35748 sed 's/^/| /' conftest.$ac_ext >&5
35749
35750 eval "$as_ac_var=no"
35751 fi
35752
35753 rm -f core conftest.err conftest.$ac_objext \
35754 conftest$ac_exeext conftest.$ac_ext
35755 fi
35756 ac_res=`eval echo '${'$as_ac_var'}'`
35757 { echo "$as_me:$LINENO: result: $ac_res" >&5
35758 echo "${ECHO_T}$ac_res" >&6; }
35759 if test `eval echo '${'$as_ac_var'}'` = yes; then
35760 cat >>confdefs.h <<_ACEOF
35761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35762 _ACEOF
35763
35764 fi
35765 done
35766
35767 LIBS="$save_LIBS"
35768 fi
35769
35770 wxUSE_UNIVERSAL="yes"
35771
35772 if test "$wxUSE_NANOX" = "yes"; then
35773 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
35774 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
35775 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
35776 else
35777 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
35778 fi
35779
35780 TOOLKIT=X11
35781 GUIDIST=X11_DIST
35782 fi
35783
35784 if test "$wxUSE_MOTIF" = 1; then
35785 if test "$wxUSE_UNICODE" = "yes"; then
35786 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
35787 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
35788 { (exit 1); exit 1; }; }
35789 fi
35790
35791 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
35792 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
35793
35794 ac_find_includes=
35795 for ac_dir in $SEARCH_INCLUDE /usr/include;
35796 do
35797 if test -f "$ac_dir/Xm/Xm.h"; then
35798 ac_find_includes=$ac_dir
35799 break
35800 fi
35801 done
35802
35803 if test "$ac_find_includes" != "" ; then
35804 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35805 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35806
35807 if test "x$ac_find_includes" = "x/usr/include"; then
35808 ac_path_to_include=""
35809 else
35810 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
35811 result=$?
35812 if test $result = 0; then
35813 ac_path_to_include=""
35814 else
35815 ac_path_to_include=" -I$ac_find_includes"
35816 fi
35817 fi
35818
35819 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
35820 else
35821 save_CFLAGS=$CFLAGS
35822 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35823
35824 cat >conftest.$ac_ext <<_ACEOF
35825 /* confdefs.h. */
35826 _ACEOF
35827 cat confdefs.h >>conftest.$ac_ext
35828 cat >>conftest.$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35830
35831 #include <Xm/Xm.h>
35832
35833 int
35834 main ()
35835 {
35836
35837 int version;
35838 version = xmUseVersion;
35839
35840 ;
35841 return 0;
35842 }
35843 _ACEOF
35844 rm -f conftest.$ac_objext
35845 if { (ac_try="$ac_compile"
35846 case "(($ac_try" in
35847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35848 *) ac_try_echo=$ac_try;;
35849 esac
35850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35851 (eval "$ac_compile") 2>conftest.er1
35852 ac_status=$?
35853 grep -v '^ *+' conftest.er1 >conftest.err
35854 rm -f conftest.er1
35855 cat conftest.err >&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); } &&
35858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35859 { (case "(($ac_try" in
35860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35861 *) ac_try_echo=$ac_try;;
35862 esac
35863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35864 (eval "$ac_try") 2>&5
35865 ac_status=$?
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); }; } &&
35868 { ac_try='test -s conftest.$ac_objext'
35869 { (case "(($ac_try" in
35870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35871 *) ac_try_echo=$ac_try;;
35872 esac
35873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35874 (eval "$ac_try") 2>&5
35875 ac_status=$?
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); }; }; then
35878
35879 { echo "$as_me:$LINENO: result: found in default search path" >&5
35880 echo "${ECHO_T}found in default search path" >&6; }
35881 COMPILED_X_PROGRAM=1
35882
35883 else
35884 echo "$as_me: failed program was:" >&5
35885 sed 's/^/| /' conftest.$ac_ext >&5
35886
35887
35888 { echo "$as_me:$LINENO: result: no" >&5
35889 echo "${ECHO_T}no" >&6; }
35890 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
35891 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
35892 { (exit 1); exit 1; }; }
35893
35894
35895 fi
35896
35897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35898
35899 CFLAGS=$save_CFLAGS
35900 fi
35901
35902
35903 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
35904 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
35905
35906 ac_find_libraries=
35907 for ac_dir in $SEARCH_LIB;
35908 do
35909 for ac_extension in a so sl dylib dll.a; do
35910 if test -f "$ac_dir/libXm.$ac_extension"; then
35911 ac_find_libraries=$ac_dir
35912 break 2
35913 fi
35914 done
35915 done
35916
35917
35918 if test "x$ac_find_libraries" != "x" ; then
35919 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35920 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35921
35922
35923 if test "$ac_find_libraries" = "default location"; then
35924 ac_path_to_link=""
35925 else
35926 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
35927 result=$?
35928 if test $result = 0; then
35929 ac_path_to_link=""
35930 else
35931 ac_path_to_link=" -L$ac_find_libraries"
35932 fi
35933 fi
35934
35935 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
35936 else
35937 save_CFLAGS=$CFLAGS
35938 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
35939 save_LIBS="$LIBS"
35940 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
35941
35942 cat >conftest.$ac_ext <<_ACEOF
35943 /* confdefs.h. */
35944 _ACEOF
35945 cat confdefs.h >>conftest.$ac_ext
35946 cat >>conftest.$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35948
35949 #include <Xm/Xm.h>
35950
35951 int
35952 main ()
35953 {
35954
35955 int version;
35956 version = xmUseVersion;
35957
35958 ;
35959 return 0;
35960 }
35961 _ACEOF
35962 rm -f conftest.$ac_objext conftest$ac_exeext
35963 if { (ac_try="$ac_link"
35964 case "(($ac_try" in
35965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35966 *) ac_try_echo=$ac_try;;
35967 esac
35968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35969 (eval "$ac_link") 2>conftest.er1
35970 ac_status=$?
35971 grep -v '^ *+' conftest.er1 >conftest.err
35972 rm -f conftest.er1
35973 cat conftest.err >&5
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); } &&
35976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35977 { (case "(($ac_try" in
35978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35979 *) ac_try_echo=$ac_try;;
35980 esac
35981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35982 (eval "$ac_try") 2>&5
35983 ac_status=$?
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; } &&
35986 { ac_try='test -s conftest$ac_exeext'
35987 { (case "(($ac_try" in
35988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35989 *) ac_try_echo=$ac_try;;
35990 esac
35991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35992 (eval "$ac_try") 2>&5
35993 ac_status=$?
35994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995 (exit $ac_status); }; }; then
35996
35997 { echo "$as_me:$LINENO: result: found in default search path" >&5
35998 echo "${ECHO_T}found in default search path" >&6; }
35999 COMPILED_X_PROGRAM=1
36000
36001 else
36002 echo "$as_me: failed program was:" >&5
36003 sed 's/^/| /' conftest.$ac_ext >&5
36004
36005
36006 { echo "$as_me:$LINENO: result: no" >&5
36007 echo "${ECHO_T}no" >&6; }
36008 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
36009 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
36010 { (exit 1); exit 1; }; }
36011
36012
36013 fi
36014
36015 rm -f core conftest.err conftest.$ac_objext \
36016 conftest$ac_exeext conftest.$ac_ext
36017
36018 CFLAGS=$save_CFLAGS
36019 LIBS="$save_LIBS"
36020 fi
36021
36022 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
36023 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
36024 libp_link=""
36025 libsm_ice_link=""
36026 libs_found=0
36027 for libp in "" " -lXp"; do
36028 if test "$libs_found" = "0"; then
36029 for libsm_ice in "" " -lSM -lICE"; do
36030 if test "$libs_found" = "0"; then
36031 save_LIBS="$LIBS"
36032 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
36033 save_CFLAGS=$CFLAGS
36034 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
36035
36036 cat >conftest.$ac_ext <<_ACEOF
36037 /* confdefs.h. */
36038 _ACEOF
36039 cat confdefs.h >>conftest.$ac_ext
36040 cat >>conftest.$ac_ext <<_ACEOF
36041 /* end confdefs.h. */
36042
36043 #include <Xm/Xm.h>
36044 #include <Xm/List.h>
36045
36046 int
36047 main ()
36048 {
36049
36050 XmString string = NULL;
36051 Widget w = NULL;
36052 int position = 0;
36053 XmListAddItem(w, string, position);
36054
36055 ;
36056 return 0;
36057 }
36058 _ACEOF
36059 rm -f conftest.$ac_objext conftest$ac_exeext
36060 if { (ac_try="$ac_link"
36061 case "(($ac_try" in
36062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36063 *) ac_try_echo=$ac_try;;
36064 esac
36065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36066 (eval "$ac_link") 2>conftest.er1
36067 ac_status=$?
36068 grep -v '^ *+' conftest.er1 >conftest.err
36069 rm -f conftest.er1
36070 cat conftest.err >&5
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); } &&
36073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36074 { (case "(($ac_try" in
36075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36076 *) ac_try_echo=$ac_try;;
36077 esac
36078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36079 (eval "$ac_try") 2>&5
36080 ac_status=$?
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); }; } &&
36083 { ac_try='test -s conftest$ac_exeext'
36084 { (case "(($ac_try" in
36085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36086 *) ac_try_echo=$ac_try;;
36087 esac
36088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36089 (eval "$ac_try") 2>&5
36090 ac_status=$?
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); }; }; then
36093
36094 libp_link="$libp"
36095 libsm_ice_link="$libsm_ice"
36096 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
36097 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
36098 libs_found=1
36099
36100 else
36101 echo "$as_me: failed program was:" >&5
36102 sed 's/^/| /' conftest.$ac_ext >&5
36103
36104
36105
36106 fi
36107
36108 rm -f core conftest.err conftest.$ac_objext \
36109 conftest$ac_exeext conftest.$ac_ext
36110
36111 LIBS="$save_LIBS"
36112 CFLAGS=$save_CFLAGS
36113 fi
36114 done
36115 fi
36116 done
36117
36118 if test "$libs_found" = "0"; then
36119 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
36120 echo "${ECHO_T}can't find the right libraries" >&6; }
36121 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
36122 echo "$as_me: error: can't link a simple motif program" >&2;}
36123 { (exit 1); exit 1; }; }
36124 fi
36125
36126 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
36127 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
36128 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131 ac_check_lib_save_LIBS=$LIBS
36132 LIBS="-lSgm $LIBS"
36133 cat >conftest.$ac_ext <<_ACEOF
36134 /* confdefs.h. */
36135 _ACEOF
36136 cat confdefs.h >>conftest.$ac_ext
36137 cat >>conftest.$ac_ext <<_ACEOF
36138 /* end confdefs.h. */
36139
36140 /* Override any GCC internal prototype to avoid an error.
36141 Use char because int might match the return type of a GCC
36142 builtin and then its argument prototype would still apply. */
36143 #ifdef __cplusplus
36144 extern "C"
36145 #endif
36146 char SgCreateList ();
36147 int
36148 main ()
36149 {
36150 return SgCreateList ();
36151 ;
36152 return 0;
36153 }
36154 _ACEOF
36155 rm -f conftest.$ac_objext conftest$ac_exeext
36156 if { (ac_try="$ac_link"
36157 case "(($ac_try" in
36158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36159 *) ac_try_echo=$ac_try;;
36160 esac
36161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36162 (eval "$ac_link") 2>conftest.er1
36163 ac_status=$?
36164 grep -v '^ *+' conftest.er1 >conftest.err
36165 rm -f conftest.er1
36166 cat conftest.err >&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } &&
36169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36170 { (case "(($ac_try" in
36171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36172 *) ac_try_echo=$ac_try;;
36173 esac
36174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36175 (eval "$ac_try") 2>&5
36176 ac_status=$?
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); }; } &&
36179 { ac_try='test -s conftest$ac_exeext'
36180 { (case "(($ac_try" in
36181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36182 *) ac_try_echo=$ac_try;;
36183 esac
36184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36185 (eval "$ac_try") 2>&5
36186 ac_status=$?
36187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36188 (exit $ac_status); }; }; then
36189 ac_cv_lib_Sgm_SgCreateList=yes
36190 else
36191 echo "$as_me: failed program was:" >&5
36192 sed 's/^/| /' conftest.$ac_ext >&5
36193
36194 ac_cv_lib_Sgm_SgCreateList=no
36195 fi
36196
36197 rm -f core conftest.err conftest.$ac_objext \
36198 conftest$ac_exeext conftest.$ac_ext
36199 LIBS=$ac_check_lib_save_LIBS
36200 fi
36201 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
36202 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
36203 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
36204 libsgm_link=" -lSgm"
36205 fi
36206
36207
36208 save_CFLAGS=$CFLAGS
36209 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
36210
36211 { echo "$as_me:$LINENO: checking for Motif 2" >&5
36212 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
36213 if test "${wx_cv_lib_motif2+set}" = set; then
36214 echo $ECHO_N "(cached) $ECHO_C" >&6
36215 else
36216 cat >conftest.$ac_ext <<_ACEOF
36217 /* confdefs.h. */
36218 _ACEOF
36219 cat confdefs.h >>conftest.$ac_ext
36220 cat >>conftest.$ac_ext <<_ACEOF
36221 /* end confdefs.h. */
36222
36223 #include <Xm/Xm.h>
36224
36225 int
36226 main ()
36227 {
36228
36229 #if XmVersion < 2000
36230 Not Motif 2
36231 #endif
36232
36233 ;
36234 return 0;
36235 }
36236 _ACEOF
36237 rm -f conftest.$ac_objext
36238 if { (ac_try="$ac_compile"
36239 case "(($ac_try" in
36240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36241 *) ac_try_echo=$ac_try;;
36242 esac
36243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36244 (eval "$ac_compile") 2>conftest.er1
36245 ac_status=$?
36246 grep -v '^ *+' conftest.er1 >conftest.err
36247 rm -f conftest.er1
36248 cat conftest.err >&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); } &&
36251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36252 { (case "(($ac_try" in
36253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36254 *) ac_try_echo=$ac_try;;
36255 esac
36256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36257 (eval "$ac_try") 2>&5
36258 ac_status=$?
36259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260 (exit $ac_status); }; } &&
36261 { ac_try='test -s conftest.$ac_objext'
36262 { (case "(($ac_try" in
36263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36264 *) ac_try_echo=$ac_try;;
36265 esac
36266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36267 (eval "$ac_try") 2>&5
36268 ac_status=$?
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); }; }; then
36271 wx_cv_lib_motif2="yes"
36272 else
36273 echo "$as_me: failed program was:" >&5
36274 sed 's/^/| /' conftest.$ac_ext >&5
36275
36276 wx_cv_lib_motif2="no"
36277 fi
36278
36279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36280 fi
36281 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
36282 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
36283 if test "$wx_cv_lib_motif2" = "yes"; then
36284 cat >>confdefs.h <<\_ACEOF
36285 #define __WXMOTIF20__ 1
36286 _ACEOF
36287
36288 else
36289 cat >>confdefs.h <<\_ACEOF
36290 #define __WXMOTIF20__ 0
36291 _ACEOF
36292
36293 fi
36294
36295 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
36296 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
36297 if test "${wx_cv_lib_lesstif+set}" = set; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36299 else
36300 cat >conftest.$ac_ext <<_ACEOF
36301 /* confdefs.h. */
36302 _ACEOF
36303 cat confdefs.h >>conftest.$ac_ext
36304 cat >>conftest.$ac_ext <<_ACEOF
36305 /* end confdefs.h. */
36306
36307 #include <Xm/Xm.h>
36308
36309 int
36310 main ()
36311 {
36312
36313 #if !defined(LesstifVersion) || LesstifVersion <= 0
36314 Not Lesstif
36315 #endif
36316
36317 ;
36318 return 0;
36319 }
36320 _ACEOF
36321 rm -f conftest.$ac_objext
36322 if { (ac_try="$ac_compile"
36323 case "(($ac_try" in
36324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36325 *) ac_try_echo=$ac_try;;
36326 esac
36327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36328 (eval "$ac_compile") 2>conftest.er1
36329 ac_status=$?
36330 grep -v '^ *+' conftest.er1 >conftest.err
36331 rm -f conftest.er1
36332 cat conftest.err >&5
36333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 (exit $ac_status); } &&
36335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36336 { (case "(($ac_try" in
36337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36338 *) ac_try_echo=$ac_try;;
36339 esac
36340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36341 (eval "$ac_try") 2>&5
36342 ac_status=$?
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); }; } &&
36345 { ac_try='test -s conftest.$ac_objext'
36346 { (case "(($ac_try" in
36347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36348 *) ac_try_echo=$ac_try;;
36349 esac
36350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36351 (eval "$ac_try") 2>&5
36352 ac_status=$?
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); }; }; then
36355 wx_cv_lib_lesstif="yes"
36356 else
36357 echo "$as_me: failed program was:" >&5
36358 sed 's/^/| /' conftest.$ac_ext >&5
36359
36360 wx_cv_lib_lesstif="no"
36361 fi
36362
36363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36364
36365 fi
36366 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
36367 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
36368 if test "$wx_cv_lib_lesstif" = "yes"; then
36369 cat >>confdefs.h <<\_ACEOF
36370 #define __WXLESSTIF__ 1
36371 _ACEOF
36372
36373 else
36374 cat >>confdefs.h <<\_ACEOF
36375 #define __WXLESSTIF__ 0
36376 _ACEOF
36377
36378 fi
36379
36380 CFLAGS=$save_CFLAGS
36381
36382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
36383 TOOLKIT=MOTIF
36384 GUIDIST=MOTIF_DIST
36385 fi
36386
36387 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
36388 if test "$wxUSE_LIBXPM" = "sys"; then
36389 { echo "$as_me:$LINENO: checking for Xpm library" >&5
36390 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
36391
36392 ac_find_libraries=
36393 for ac_dir in $SEARCH_LIB;
36394 do
36395 for ac_extension in a so sl dylib dll.a; do
36396 if test -f "$ac_dir/libXpm.$ac_extension"; then
36397 ac_find_libraries=$ac_dir
36398 break 2
36399 fi
36400 done
36401 done
36402
36403 if test "$ac_find_libraries" != "" ; then
36404
36405 if test "$ac_find_libraries" = "default location"; then
36406 ac_path_to_link=""
36407 else
36408 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
36409 result=$?
36410 if test $result = 0; then
36411 ac_path_to_link=""
36412 else
36413 ac_path_to_link=" -L$ac_find_libraries"
36414 fi
36415 fi
36416
36417 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
36418 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
36419 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
36420
36421 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
36422 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
36423 if test "${wx_cv_x11_xpm_h+set}" = set; then
36424 echo $ECHO_N "(cached) $ECHO_C" >&6
36425 else
36426
36427 save_CFLAGS=$CFLAGS
36428 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
36429
36430 cat >conftest.$ac_ext <<_ACEOF
36431 /* confdefs.h. */
36432 _ACEOF
36433 cat confdefs.h >>conftest.$ac_ext
36434 cat >>conftest.$ac_ext <<_ACEOF
36435 /* end confdefs.h. */
36436
36437 #include <X11/xpm.h>
36438
36439 int
36440 main ()
36441 {
36442
36443 int version;
36444 version = XpmLibraryVersion();
36445
36446 ;
36447 return 0;
36448 }
36449 _ACEOF
36450 rm -f conftest.$ac_objext
36451 if { (ac_try="$ac_compile"
36452 case "(($ac_try" in
36453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36454 *) ac_try_echo=$ac_try;;
36455 esac
36456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36457 (eval "$ac_compile") 2>conftest.er1
36458 ac_status=$?
36459 grep -v '^ *+' conftest.er1 >conftest.err
36460 rm -f conftest.er1
36461 cat conftest.err >&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); } &&
36464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36465 { (case "(($ac_try" in
36466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36467 *) ac_try_echo=$ac_try;;
36468 esac
36469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36470 (eval "$ac_try") 2>&5
36471 ac_status=$?
36472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36473 (exit $ac_status); }; } &&
36474 { ac_try='test -s conftest.$ac_objext'
36475 { (case "(($ac_try" in
36476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36477 *) ac_try_echo=$ac_try;;
36478 esac
36479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36480 (eval "$ac_try") 2>&5
36481 ac_status=$?
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); }; }; then
36484 wx_cv_x11_xpm_h=yes
36485 else
36486 echo "$as_me: failed program was:" >&5
36487 sed 's/^/| /' conftest.$ac_ext >&5
36488
36489 wx_cv_x11_xpm_h=no
36490
36491 fi
36492
36493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36494
36495 CFLAGS=$save_CFLAGS
36496
36497
36498 fi
36499 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
36500 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
36501
36502 if test $wx_cv_x11_xpm_h = "yes"; then
36503 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
36504 cat >>confdefs.h <<\_ACEOF
36505 #define wxHAVE_LIB_XPM 1
36506 _ACEOF
36507
36508 else
36509 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
36510 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
36511 fi
36512 fi
36513
36514 fi
36515
36516 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
36517 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
36518 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
36519 echo $ECHO_N "(cached) $ECHO_C" >&6
36520 else
36521 ac_check_lib_save_LIBS=$LIBS
36522 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
36523 cat >conftest.$ac_ext <<_ACEOF
36524 /* confdefs.h. */
36525 _ACEOF
36526 cat confdefs.h >>conftest.$ac_ext
36527 cat >>conftest.$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36529
36530 /* Override any GCC internal prototype to avoid an error.
36531 Use char because int might match the return type of a GCC
36532 builtin and then its argument prototype would still apply. */
36533 #ifdef __cplusplus
36534 extern "C"
36535 #endif
36536 char XShapeQueryExtension ();
36537 int
36538 main ()
36539 {
36540 return XShapeQueryExtension ();
36541 ;
36542 return 0;
36543 }
36544 _ACEOF
36545 rm -f conftest.$ac_objext conftest$ac_exeext
36546 if { (ac_try="$ac_link"
36547 case "(($ac_try" in
36548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36549 *) ac_try_echo=$ac_try;;
36550 esac
36551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36552 (eval "$ac_link") 2>conftest.er1
36553 ac_status=$?
36554 grep -v '^ *+' conftest.er1 >conftest.err
36555 rm -f conftest.er1
36556 cat conftest.err >&5
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); } &&
36559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36560 { (case "(($ac_try" in
36561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36562 *) ac_try_echo=$ac_try;;
36563 esac
36564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36565 (eval "$ac_try") 2>&5
36566 ac_status=$?
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; } &&
36569 { ac_try='test -s conftest$ac_exeext'
36570 { (case "(($ac_try" in
36571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36572 *) ac_try_echo=$ac_try;;
36573 esac
36574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36575 (eval "$ac_try") 2>&5
36576 ac_status=$?
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 ac_cv_lib_Xext_XShapeQueryExtension=yes
36580 else
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.$ac_ext >&5
36583
36584 ac_cv_lib_Xext_XShapeQueryExtension=no
36585 fi
36586
36587 rm -f core conftest.err conftest.$ac_objext \
36588 conftest$ac_exeext conftest.$ac_ext
36589 LIBS=$ac_check_lib_save_LIBS
36590 fi
36591 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
36592 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
36593 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
36594
36595 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
36596 wxHAVE_XEXT_LIB=1
36597
36598 fi
36599
36600
36601 if test "$wxHAVE_XEXT_LIB" = 1; then
36602 save_CFLAGS="$CFLAGS"
36603 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
36604
36605 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
36606 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
36607 cat >conftest.$ac_ext <<_ACEOF
36608 /* confdefs.h. */
36609 _ACEOF
36610 cat confdefs.h >>conftest.$ac_ext
36611 cat >>conftest.$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36613
36614 #include <X11/Xlib.h>
36615 #include <X11/extensions/shape.h>
36616
36617 int
36618 main ()
36619 {
36620
36621 int dummy1, dummy2;
36622 XShapeQueryExtension((Display*)NULL,
36623 (int*)NULL, (int*)NULL);
36624
36625 ;
36626 return 0;
36627 }
36628 _ACEOF
36629 rm -f conftest.$ac_objext
36630 if { (ac_try="$ac_compile"
36631 case "(($ac_try" in
36632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36633 *) ac_try_echo=$ac_try;;
36634 esac
36635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36636 (eval "$ac_compile") 2>conftest.er1
36637 ac_status=$?
36638 grep -v '^ *+' conftest.er1 >conftest.err
36639 rm -f conftest.er1
36640 cat conftest.err >&5
36641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36642 (exit $ac_status); } &&
36643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36644 { (case "(($ac_try" in
36645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36646 *) ac_try_echo=$ac_try;;
36647 esac
36648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36649 (eval "$ac_try") 2>&5
36650 ac_status=$?
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); }; } &&
36653 { ac_try='test -s conftest.$ac_objext'
36654 { (case "(($ac_try" in
36655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36656 *) ac_try_echo=$ac_try;;
36657 esac
36658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36659 (eval "$ac_try") 2>&5
36660 ac_status=$?
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; }; then
36663
36664 cat >>confdefs.h <<\_ACEOF
36665 #define HAVE_XSHAPE 1
36666 _ACEOF
36667
36668 { echo "$as_me:$LINENO: result: found" >&5
36669 echo "${ECHO_T}found" >&6; }
36670
36671 else
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.$ac_ext >&5
36674
36675
36676 { echo "$as_me:$LINENO: result: not found" >&5
36677 echo "${ECHO_T}not found" >&6; }
36678
36679 fi
36680
36681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36682 CFLAGS="$save_CFLAGS"
36683
36684 fi
36685 fi
36686
36687 if test "$wxUSE_MAC" = 1; then
36688 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
36689 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
36690 if test "$GCC" = yes; then
36691 { echo "$as_me:$LINENO: result: gcc" >&5
36692 echo "${ECHO_T}gcc" >&6; }
36693 CPPFLAGS_PASCAL="-fpascal-strings"
36694 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
36695 { echo "$as_me:$LINENO: result: xlc" >&5
36696 echo "${ECHO_T}xlc" >&6; }
36697 CPPFLAGS_PASCAL="-qmacpstr"
36698 else
36699 { echo "$as_me:$LINENO: result: none" >&5
36700 echo "${ECHO_T}none" >&6; }
36701 fi
36702
36703 if test "x$wxUSE_UNIX" = "xyes"; then
36704 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
36705 else
36706 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
36707 fi
36708
36709 TOOLKIT=MAC
36710 GUIDIST=MACX_DIST
36711 WXBASEPORT="_carbon"
36712 fi
36713
36714 if test "$wxUSE_COCOA" = 1; then
36715 TOOLKIT=COCOA
36716 GUIDIST=COCOA_DIST
36717 fi
36718
36719 if test "$wxUSE_PM" = 1; then
36720 TOOLKIT=PM
36721 GUIDIST=PM_DIST
36722 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
36723 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
36724 if test "${wx_cv_spbcdata+set}" = set; then
36725 echo $ECHO_N "(cached) $ECHO_C" >&6
36726 else
36727
36728 cat >conftest.$ac_ext <<_ACEOF
36729 /* confdefs.h. */
36730 _ACEOF
36731 cat confdefs.h >>conftest.$ac_ext
36732 cat >>conftest.$ac_ext <<_ACEOF
36733 /* end confdefs.h. */
36734
36735 #define INCL_PM
36736 #include <os2.h>
36737
36738 int
36739 main ()
36740 {
36741
36742 SPBCDATA test;
36743
36744 ;
36745 return 0;
36746 }
36747 _ACEOF
36748 rm -f conftest.$ac_objext
36749 if { (ac_try="$ac_compile"
36750 case "(($ac_try" in
36751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36752 *) ac_try_echo=$ac_try;;
36753 esac
36754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36755 (eval "$ac_compile") 2>conftest.er1
36756 ac_status=$?
36757 grep -v '^ *+' conftest.er1 >conftest.err
36758 rm -f conftest.er1
36759 cat conftest.err >&5
36760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36761 (exit $ac_status); } &&
36762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36763 { (case "(($ac_try" in
36764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36765 *) ac_try_echo=$ac_try;;
36766 esac
36767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36768 (eval "$ac_try") 2>&5
36769 ac_status=$?
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; } &&
36772 { ac_try='test -s conftest.$ac_objext'
36773 { (case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36776 esac
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_try") 2>&5
36779 ac_status=$?
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); }; }; then
36782 wx_cv_spbcdata=yes
36783 else
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.$ac_ext >&5
36786
36787 wx_cv_spbcdata=no
36788
36789 fi
36790
36791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36792
36793
36794 fi
36795 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
36796 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
36797
36798 if test $wx_cv_spbcdata = "yes"; then
36799 cat >>confdefs.h <<\_ACEOF
36800 #define HAVE_SPBCDATA 1
36801 _ACEOF
36802
36803 fi
36804 fi
36805
36806 if test "$TOOLKIT" = "PM" ; then
36807 TOOLKIT_DIR="os2"
36808 else
36809 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
36810 fi
36811
36812 if test "$wxUSE_UNIVERSAL" = "yes"; then
36813 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
36814 WIDGET_SET=univ
36815 fi
36816
36817 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
36818 DISTDIR="wx\$(TOOLKIT)"
36819 else
36820 USE_GUI=0
36821
36822 TOOLKIT_DIR="base"
36823
36824 if test "$USE_WIN32" = 1 ; then
36825 TOOLKIT="MSW"
36826 fi
36827
36828 GUIDIST="BASE_DIST"
36829 DISTDIR="wxBase"
36830 fi
36831
36832
36833 if test "$wxUSE_GUI" = "yes"; then
36834 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
36835
36836 for ac_header in X11/Xlib.h
36837 do
36838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36843 echo $ECHO_N "(cached) $ECHO_C" >&6
36844 fi
36845 ac_res=`eval echo '${'$as_ac_Header'}'`
36846 { echo "$as_me:$LINENO: result: $ac_res" >&5
36847 echo "${ECHO_T}$ac_res" >&6; }
36848 else
36849 # Is the header compilable?
36850 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
36851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
36852 cat >conftest.$ac_ext <<_ACEOF
36853 /* confdefs.h. */
36854 _ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 $ac_includes_default
36859 #include <$ac_header>
36860 _ACEOF
36861 rm -f conftest.$ac_objext
36862 if { (ac_try="$ac_compile"
36863 case "(($ac_try" in
36864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36865 *) ac_try_echo=$ac_try;;
36866 esac
36867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36868 (eval "$ac_compile") 2>conftest.er1
36869 ac_status=$?
36870 grep -v '^ *+' conftest.er1 >conftest.err
36871 rm -f conftest.er1
36872 cat conftest.err >&5
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); } &&
36875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36876 { (case "(($ac_try" in
36877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36878 *) ac_try_echo=$ac_try;;
36879 esac
36880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36881 (eval "$ac_try") 2>&5
36882 ac_status=$?
36883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36884 (exit $ac_status); }; } &&
36885 { ac_try='test -s conftest.$ac_objext'
36886 { (case "(($ac_try" in
36887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36888 *) ac_try_echo=$ac_try;;
36889 esac
36890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36891 (eval "$ac_try") 2>&5
36892 ac_status=$?
36893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894 (exit $ac_status); }; }; then
36895 ac_header_compiler=yes
36896 else
36897 echo "$as_me: failed program was:" >&5
36898 sed 's/^/| /' conftest.$ac_ext >&5
36899
36900 ac_header_compiler=no
36901 fi
36902
36903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36904 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36905 echo "${ECHO_T}$ac_header_compiler" >&6; }
36906
36907 # Is the header present?
36908 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
36909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
36910 cat >conftest.$ac_ext <<_ACEOF
36911 /* confdefs.h. */
36912 _ACEOF
36913 cat confdefs.h >>conftest.$ac_ext
36914 cat >>conftest.$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916 #include <$ac_header>
36917 _ACEOF
36918 if { (ac_try="$ac_cpp conftest.$ac_ext"
36919 case "(($ac_try" in
36920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36921 *) ac_try_echo=$ac_try;;
36922 esac
36923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36925 ac_status=$?
36926 grep -v '^ *+' conftest.er1 >conftest.err
36927 rm -f conftest.er1
36928 cat conftest.err >&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); } >/dev/null; then
36931 if test -s conftest.err; then
36932 ac_cpp_err=$ac_c_preproc_warn_flag
36933 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36934 else
36935 ac_cpp_err=
36936 fi
36937 else
36938 ac_cpp_err=yes
36939 fi
36940 if test -z "$ac_cpp_err"; then
36941 ac_header_preproc=yes
36942 else
36943 echo "$as_me: failed program was:" >&5
36944 sed 's/^/| /' conftest.$ac_ext >&5
36945
36946 ac_header_preproc=no
36947 fi
36948
36949 rm -f conftest.err conftest.$ac_ext
36950 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36951 echo "${ECHO_T}$ac_header_preproc" >&6; }
36952
36953 # So? What about this header?
36954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36955 yes:no: )
36956 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36957 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36959 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36960 ac_header_preproc=yes
36961 ;;
36962 no:yes:* )
36963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36967 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36968 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36969 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36970 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36974 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36975 ( cat <<\_ASBOX
36976 ## ----------------------------------------- ##
36977 ## Report this to wx-dev@lists.wxwidgets.org ##
36978 ## ----------------------------------------- ##
36979 _ASBOX
36980 ) | sed "s/^/$as_me: WARNING: /" >&2
36981 ;;
36982 esac
36983 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36987 else
36988 eval "$as_ac_Header=\$ac_header_preproc"
36989 fi
36990 ac_res=`eval echo '${'$as_ac_Header'}'`
36991 { echo "$as_me:$LINENO: result: $ac_res" >&5
36992 echo "${ECHO_T}$ac_res" >&6; }
36993
36994 fi
36995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36996 cat >>confdefs.h <<_ACEOF
36997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36998 _ACEOF
36999
37000 fi
37001
37002 done
37003
37004
37005 for ac_header in X11/XKBlib.h
37006 do
37007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37012 else
37013 cat >conftest.$ac_ext <<_ACEOF
37014 /* confdefs.h. */
37015 _ACEOF
37016 cat confdefs.h >>conftest.$ac_ext
37017 cat >>conftest.$ac_ext <<_ACEOF
37018 /* end confdefs.h. */
37019
37020 #if HAVE_X11_XLIB_H
37021 #include <X11/Xlib.h>
37022 #endif
37023
37024
37025 #include <$ac_header>
37026 _ACEOF
37027 rm -f conftest.$ac_objext
37028 if { (ac_try="$ac_compile"
37029 case "(($ac_try" in
37030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37031 *) ac_try_echo=$ac_try;;
37032 esac
37033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37034 (eval "$ac_compile") 2>conftest.er1
37035 ac_status=$?
37036 grep -v '^ *+' conftest.er1 >conftest.err
37037 rm -f conftest.er1
37038 cat conftest.err >&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); } &&
37041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37042 { (case "(($ac_try" in
37043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37044 *) ac_try_echo=$ac_try;;
37045 esac
37046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37047 (eval "$ac_try") 2>&5
37048 ac_status=$?
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); }; } &&
37051 { ac_try='test -s conftest.$ac_objext'
37052 { (case "(($ac_try" in
37053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37055 esac
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_try") 2>&5
37058 ac_status=$?
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); }; }; then
37061 eval "$as_ac_Header=yes"
37062 else
37063 echo "$as_me: failed program was:" >&5
37064 sed 's/^/| /' conftest.$ac_ext >&5
37065
37066 eval "$as_ac_Header=no"
37067 fi
37068
37069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37070 fi
37071 ac_res=`eval echo '${'$as_ac_Header'}'`
37072 { echo "$as_me:$LINENO: result: $ac_res" >&5
37073 echo "${ECHO_T}$ac_res" >&6; }
37074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37075 cat >>confdefs.h <<_ACEOF
37076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37077 _ACEOF
37078
37079 fi
37080
37081 done
37082
37083 fi
37084 fi
37085
37086
37087
37088 IODBC_C_SRC=""
37089
37090
37091 if test "$TOOLKIT" != "MSW" ; then
37092
37093 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
37094
37095 if test "${ac_cv_header_sql_h+set}" = set; then
37096 { echo "$as_me:$LINENO: checking for sql.h" >&5
37097 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
37098 if test "${ac_cv_header_sql_h+set}" = set; then
37099 echo $ECHO_N "(cached) $ECHO_C" >&6
37100 fi
37101 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
37102 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
37103 else
37104 # Is the header compilable?
37105 { echo "$as_me:$LINENO: checking sql.h usability" >&5
37106 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
37107 cat >conftest.$ac_ext <<_ACEOF
37108 /* confdefs.h. */
37109 _ACEOF
37110 cat confdefs.h >>conftest.$ac_ext
37111 cat >>conftest.$ac_ext <<_ACEOF
37112 /* end confdefs.h. */
37113 $ac_includes_default
37114 #include <sql.h>
37115 _ACEOF
37116 rm -f conftest.$ac_objext
37117 if { (ac_try="$ac_compile"
37118 case "(($ac_try" in
37119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37120 *) ac_try_echo=$ac_try;;
37121 esac
37122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37123 (eval "$ac_compile") 2>conftest.er1
37124 ac_status=$?
37125 grep -v '^ *+' conftest.er1 >conftest.err
37126 rm -f conftest.er1
37127 cat conftest.err >&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } &&
37130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37131 { (case "(($ac_try" in
37132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37133 *) ac_try_echo=$ac_try;;
37134 esac
37135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37136 (eval "$ac_try") 2>&5
37137 ac_status=$?
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); }; } &&
37140 { ac_try='test -s conftest.$ac_objext'
37141 { (case "(($ac_try" in
37142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37143 *) ac_try_echo=$ac_try;;
37144 esac
37145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37146 (eval "$ac_try") 2>&5
37147 ac_status=$?
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); }; }; then
37150 ac_header_compiler=yes
37151 else
37152 echo "$as_me: failed program was:" >&5
37153 sed 's/^/| /' conftest.$ac_ext >&5
37154
37155 ac_header_compiler=no
37156 fi
37157
37158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37160 echo "${ECHO_T}$ac_header_compiler" >&6; }
37161
37162 # Is the header present?
37163 { echo "$as_me:$LINENO: checking sql.h presence" >&5
37164 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
37165 cat >conftest.$ac_ext <<_ACEOF
37166 /* confdefs.h. */
37167 _ACEOF
37168 cat confdefs.h >>conftest.$ac_ext
37169 cat >>conftest.$ac_ext <<_ACEOF
37170 /* end confdefs.h. */
37171 #include <sql.h>
37172 _ACEOF
37173 if { (ac_try="$ac_cpp conftest.$ac_ext"
37174 case "(($ac_try" in
37175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37176 *) ac_try_echo=$ac_try;;
37177 esac
37178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37180 ac_status=$?
37181 grep -v '^ *+' conftest.er1 >conftest.err
37182 rm -f conftest.er1
37183 cat conftest.err >&5
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); } >/dev/null; then
37186 if test -s conftest.err; then
37187 ac_cpp_err=$ac_c_preproc_warn_flag
37188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37189 else
37190 ac_cpp_err=
37191 fi
37192 else
37193 ac_cpp_err=yes
37194 fi
37195 if test -z "$ac_cpp_err"; then
37196 ac_header_preproc=yes
37197 else
37198 echo "$as_me: failed program was:" >&5
37199 sed 's/^/| /' conftest.$ac_ext >&5
37200
37201 ac_header_preproc=no
37202 fi
37203
37204 rm -f conftest.err conftest.$ac_ext
37205 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37206 echo "${ECHO_T}$ac_header_preproc" >&6; }
37207
37208 # So? What about this header?
37209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37210 yes:no: )
37211 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
37212 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37213 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
37214 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
37215 ac_header_preproc=yes
37216 ;;
37217 no:yes:* )
37218 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
37219 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
37220 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
37221 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
37222 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
37223 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
37224 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
37225 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
37226 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
37227 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
37228 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
37229 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
37230 ( cat <<\_ASBOX
37231 ## ----------------------------------------- ##
37232 ## Report this to wx-dev@lists.wxwidgets.org ##
37233 ## ----------------------------------------- ##
37234 _ASBOX
37235 ) | sed "s/^/$as_me: WARNING: /" >&2
37236 ;;
37237 esac
37238 { echo "$as_me:$LINENO: checking for sql.h" >&5
37239 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
37240 if test "${ac_cv_header_sql_h+set}" = set; then
37241 echo $ECHO_N "(cached) $ECHO_C" >&6
37242 else
37243 ac_cv_header_sql_h=$ac_header_preproc
37244 fi
37245 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
37246 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
37247
37248 fi
37249 if test $ac_cv_header_sql_h = yes; then
37250 found_sql_h=1
37251 fi
37252
37253
37254 if test "x$found_sql_h" = "x1" ; then
37255 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
37256 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
37257 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
37258 echo $ECHO_N "(cached) $ECHO_C" >&6
37259 else
37260 ac_check_lib_save_LIBS=$LIBS
37261 LIBS="-liodbc $LIBS"
37262 cat >conftest.$ac_ext <<_ACEOF
37263 /* confdefs.h. */
37264 _ACEOF
37265 cat confdefs.h >>conftest.$ac_ext
37266 cat >>conftest.$ac_ext <<_ACEOF
37267 /* end confdefs.h. */
37268
37269 /* Override any GCC internal prototype to avoid an error.
37270 Use char because int might match the return type of a GCC
37271 builtin and then its argument prototype would still apply. */
37272 #ifdef __cplusplus
37273 extern "C"
37274 #endif
37275 char SQLAllocEnv ();
37276 int
37277 main ()
37278 {
37279 return SQLAllocEnv ();
37280 ;
37281 return 0;
37282 }
37283 _ACEOF
37284 rm -f conftest.$ac_objext conftest$ac_exeext
37285 if { (ac_try="$ac_link"
37286 case "(($ac_try" in
37287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37288 *) ac_try_echo=$ac_try;;
37289 esac
37290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37291 (eval "$ac_link") 2>conftest.er1
37292 ac_status=$?
37293 grep -v '^ *+' conftest.er1 >conftest.err
37294 rm -f conftest.er1
37295 cat conftest.err >&5
37296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 (exit $ac_status); } &&
37298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37299 { (case "(($ac_try" in
37300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37301 *) ac_try_echo=$ac_try;;
37302 esac
37303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37304 (eval "$ac_try") 2>&5
37305 ac_status=$?
37306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37307 (exit $ac_status); }; } &&
37308 { ac_try='test -s conftest$ac_exeext'
37309 { (case "(($ac_try" in
37310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37311 *) ac_try_echo=$ac_try;;
37312 esac
37313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37314 (eval "$ac_try") 2>&5
37315 ac_status=$?
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); }; }; then
37318 ac_cv_lib_iodbc_SQLAllocEnv=yes
37319 else
37320 echo "$as_me: failed program was:" >&5
37321 sed 's/^/| /' conftest.$ac_ext >&5
37322
37323 ac_cv_lib_iodbc_SQLAllocEnv=no
37324 fi
37325
37326 rm -f core conftest.err conftest.$ac_objext \
37327 conftest$ac_exeext conftest.$ac_ext
37328 LIBS=$ac_check_lib_save_LIBS
37329 fi
37330 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
37331 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
37332 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
37333 ODBC_LINK=" -liodbc"
37334 else
37335
37336 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
37337 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
37338 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 else
37341 ac_check_lib_save_LIBS=$LIBS
37342 LIBS="-lunixodbc $LIBS"
37343 cat >conftest.$ac_ext <<_ACEOF
37344 /* confdefs.h. */
37345 _ACEOF
37346 cat confdefs.h >>conftest.$ac_ext
37347 cat >>conftest.$ac_ext <<_ACEOF
37348 /* end confdefs.h. */
37349
37350 /* Override any GCC internal prototype to avoid an error.
37351 Use char because int might match the return type of a GCC
37352 builtin and then its argument prototype would still apply. */
37353 #ifdef __cplusplus
37354 extern "C"
37355 #endif
37356 char SQLAllocEnv ();
37357 int
37358 main ()
37359 {
37360 return SQLAllocEnv ();
37361 ;
37362 return 0;
37363 }
37364 _ACEOF
37365 rm -f conftest.$ac_objext conftest$ac_exeext
37366 if { (ac_try="$ac_link"
37367 case "(($ac_try" in
37368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37369 *) ac_try_echo=$ac_try;;
37370 esac
37371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37372 (eval "$ac_link") 2>conftest.er1
37373 ac_status=$?
37374 grep -v '^ *+' conftest.er1 >conftest.err
37375 rm -f conftest.er1
37376 cat conftest.err >&5
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); } &&
37379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37380 { (case "(($ac_try" in
37381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37382 *) ac_try_echo=$ac_try;;
37383 esac
37384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37385 (eval "$ac_try") 2>&5
37386 ac_status=$?
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); }; } &&
37389 { ac_try='test -s conftest$ac_exeext'
37390 { (case "(($ac_try" in
37391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37392 *) ac_try_echo=$ac_try;;
37393 esac
37394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37395 (eval "$ac_try") 2>&5
37396 ac_status=$?
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); }; }; then
37399 ac_cv_lib_unixodbc_SQLAllocEnv=yes
37400 else
37401 echo "$as_me: failed program was:" >&5
37402 sed 's/^/| /' conftest.$ac_ext >&5
37403
37404 ac_cv_lib_unixodbc_SQLAllocEnv=no
37405 fi
37406
37407 rm -f core conftest.err conftest.$ac_objext \
37408 conftest$ac_exeext conftest.$ac_ext
37409 LIBS=$ac_check_lib_save_LIBS
37410 fi
37411 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
37412 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
37413 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
37414 ODBC_LINK=" -lunixodbc"
37415 else
37416
37417 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
37418 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
37419 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 else
37422 ac_check_lib_save_LIBS=$LIBS
37423 LIBS="-lodbc $LIBS"
37424 cat >conftest.$ac_ext <<_ACEOF
37425 /* confdefs.h. */
37426 _ACEOF
37427 cat confdefs.h >>conftest.$ac_ext
37428 cat >>conftest.$ac_ext <<_ACEOF
37429 /* end confdefs.h. */
37430
37431 /* Override any GCC internal prototype to avoid an error.
37432 Use char because int might match the return type of a GCC
37433 builtin and then its argument prototype would still apply. */
37434 #ifdef __cplusplus
37435 extern "C"
37436 #endif
37437 char SQLAllocEnv ();
37438 int
37439 main ()
37440 {
37441 return SQLAllocEnv ();
37442 ;
37443 return 0;
37444 }
37445 _ACEOF
37446 rm -f conftest.$ac_objext conftest$ac_exeext
37447 if { (ac_try="$ac_link"
37448 case "(($ac_try" in
37449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37450 *) ac_try_echo=$ac_try;;
37451 esac
37452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37453 (eval "$ac_link") 2>conftest.er1
37454 ac_status=$?
37455 grep -v '^ *+' conftest.er1 >conftest.err
37456 rm -f conftest.er1
37457 cat conftest.err >&5
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); } &&
37460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37461 { (case "(($ac_try" in
37462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37463 *) ac_try_echo=$ac_try;;
37464 esac
37465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37466 (eval "$ac_try") 2>&5
37467 ac_status=$?
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); }; } &&
37470 { ac_try='test -s conftest$ac_exeext'
37471 { (case "(($ac_try" in
37472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37473 *) ac_try_echo=$ac_try;;
37474 esac
37475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37476 (eval "$ac_try") 2>&5
37477 ac_status=$?
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; }; then
37480 ac_cv_lib_odbc_SQLAllocEnv=yes
37481 else
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.$ac_ext >&5
37484
37485 ac_cv_lib_odbc_SQLAllocEnv=no
37486 fi
37487
37488 rm -f core conftest.err conftest.$ac_objext \
37489 conftest$ac_exeext conftest.$ac_ext
37490 LIBS=$ac_check_lib_save_LIBS
37491 fi
37492 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
37493 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
37494 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
37495 ODBC_LINK=" -lodbc"
37496 fi
37497
37498
37499 fi
37500
37501
37502 fi
37503
37504 fi
37505 if test "x$ODBC_LINK" = "x" ; then
37506 if test "$wxUSE_ODBC" = "sys" ; then
37507 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
37508 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
37509 { (exit 1); exit 1; }; }
37510 else
37511 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
37512 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
37513 wxUSE_ODBC=builtin
37514 fi
37515 else
37516 wxUSE_ODBC=sys
37517 fi
37518 fi
37519
37520 if test "$wxUSE_ODBC" = "builtin" ; then
37521 cat >>confdefs.h <<\_ACEOF
37522 #define wxUSE_BUILTIN_IODBC 1
37523 _ACEOF
37524
37525 fi
37526 fi
37527
37528 if test "$wxUSE_ODBC" != "no" ; then
37529 cat >>confdefs.h <<\_ACEOF
37530 #define wxUSE_ODBC 1
37531 _ACEOF
37532
37533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
37534
37535 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
37536 fi
37537
37538
37539 if test "$wxUSE_DISPLAY" = "yes"; then
37540 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
37541 { echo "$as_me:$LINENO: checking for Xinerama" >&5
37542 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
37543
37544 ac_find_libraries=
37545 for ac_dir in $SEARCH_LIB;
37546 do
37547 for ac_extension in a so sl dylib dll.a; do
37548 if test -f "$ac_dir/libXinerama.$ac_extension"; then
37549 ac_find_libraries=$ac_dir
37550 break 2
37551 fi
37552 done
37553 done
37554
37555 if test "$ac_find_libraries" != "" ; then
37556
37557 if test "$ac_find_libraries" = "default location"; then
37558 ac_path_to_link=""
37559 else
37560 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37561 result=$?
37562 if test $result = 0; then
37563 ac_path_to_link=""
37564 else
37565 ac_path_to_link=" -L$ac_find_libraries"
37566 fi
37567 fi
37568
37569 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37570 LDFLAGS="$LDFLAGS $ac_path_to_link"
37571 fi
37572 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
37573 { echo "$as_me:$LINENO: result: yes" >&5
37574 echo "${ECHO_T}yes" >&6; }
37575
37576 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
37577 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
37578
37579 ac_find_libraries=
37580 for ac_dir in $SEARCH_LIB;
37581 do
37582 for ac_extension in a so sl dylib dll.a; do
37583 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
37584 ac_find_libraries=$ac_dir
37585 break 2
37586 fi
37587 done
37588 done
37589
37590 if test "$ac_find_libraries" != "" ; then
37591 { echo "$as_me:$LINENO: result: yes" >&5
37592 echo "${ECHO_T}yes" >&6; }
37593
37594 for ac_header in X11/extensions/xf86vmode.h
37595 do
37596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37600 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 else
37602 cat >conftest.$ac_ext <<_ACEOF
37603 /* confdefs.h. */
37604 _ACEOF
37605 cat confdefs.h >>conftest.$ac_ext
37606 cat >>conftest.$ac_ext <<_ACEOF
37607 /* end confdefs.h. */
37608
37609 #if HAVE_X11_XLIB_H
37610 #include <X11/Xlib.h>
37611 #endif
37612
37613
37614 #include <$ac_header>
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (ac_try="$ac_compile"
37618 case "(($ac_try" in
37619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37620 *) ac_try_echo=$ac_try;;
37621 esac
37622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_compile") 2>conftest.er1
37624 ac_status=$?
37625 grep -v '^ *+' conftest.er1 >conftest.err
37626 rm -f conftest.er1
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } &&
37630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37631 { (case "(($ac_try" in
37632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37633 *) ac_try_echo=$ac_try;;
37634 esac
37635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37636 (eval "$ac_try") 2>&5
37637 ac_status=$?
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); }; } &&
37640 { ac_try='test -s conftest.$ac_objext'
37641 { (case "(($ac_try" in
37642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37643 *) ac_try_echo=$ac_try;;
37644 esac
37645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37646 (eval "$ac_try") 2>&5
37647 ac_status=$?
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; }; then
37650 eval "$as_ac_Header=yes"
37651 else
37652 echo "$as_me: failed program was:" >&5
37653 sed 's/^/| /' conftest.$ac_ext >&5
37654
37655 eval "$as_ac_Header=no"
37656 fi
37657
37658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37659 fi
37660 ac_res=`eval echo '${'$as_ac_Header'}'`
37661 { echo "$as_me:$LINENO: result: $ac_res" >&5
37662 echo "${ECHO_T}$ac_res" >&6; }
37663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37664 cat >>confdefs.h <<_ACEOF
37665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37666 _ACEOF
37667
37668 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
37669
37670 fi
37671
37672 done
37673
37674 else
37675 { echo "$as_me:$LINENO: result: no" >&5
37676 echo "${ECHO_T}no" >&6; }
37677 fi
37678
37679 else
37680 { echo "$as_me:$LINENO: result: no" >&5
37681 echo "${ECHO_T}no" >&6; }
37682 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
37683 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
37684 wxUSE_DISPLAY="no"
37685 fi
37686 elif test "$wxUSE_MSW" = 1; then
37687
37688 for ac_header in ddraw.h
37689 do
37690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37691 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37695 else
37696 cat >conftest.$ac_ext <<_ACEOF
37697 /* confdefs.h. */
37698 _ACEOF
37699 cat confdefs.h >>conftest.$ac_ext
37700 cat >>conftest.$ac_ext <<_ACEOF
37701 /* end confdefs.h. */
37702 #include <windows.h>
37703
37704 #include <$ac_header>
37705 _ACEOF
37706 rm -f conftest.$ac_objext
37707 if { (ac_try="$ac_compile"
37708 case "(($ac_try" in
37709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37710 *) ac_try_echo=$ac_try;;
37711 esac
37712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37713 (eval "$ac_compile") 2>conftest.er1
37714 ac_status=$?
37715 grep -v '^ *+' conftest.er1 >conftest.err
37716 rm -f conftest.er1
37717 cat conftest.err >&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); } &&
37720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37721 { (case "(($ac_try" in
37722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37723 *) ac_try_echo=$ac_try;;
37724 esac
37725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37726 (eval "$ac_try") 2>&5
37727 ac_status=$?
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); }; } &&
37730 { ac_try='test -s conftest.$ac_objext'
37731 { (case "(($ac_try" in
37732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37733 *) ac_try_echo=$ac_try;;
37734 esac
37735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37736 (eval "$ac_try") 2>&5
37737 ac_status=$?
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; }; then
37740 eval "$as_ac_Header=yes"
37741 else
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37744
37745 eval "$as_ac_Header=no"
37746 fi
37747
37748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37749 fi
37750 ac_res=`eval echo '${'$as_ac_Header'}'`
37751 { echo "$as_me:$LINENO: result: $ac_res" >&5
37752 echo "${ECHO_T}$ac_res" >&6; }
37753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37754 cat >>confdefs.h <<_ACEOF
37755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37756 _ACEOF
37757
37758 fi
37759
37760 done
37761
37762 fi
37763 fi
37764
37765 if test "$wxUSE_DETECT_SM" = "yes"; then
37766 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
37767 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
37768 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
37769
37770 ac_find_libraries=
37771 for ac_dir in $SEARCH_LIB;
37772 do
37773 for ac_extension in a so sl dylib dll.a; do
37774 if test -f "$ac_dir/libSM.$ac_extension"; then
37775 ac_find_libraries=$ac_dir
37776 break 2
37777 fi
37778 done
37779 done
37780
37781 if test "$ac_find_libraries" != "" ; then
37782
37783 if test "$ac_find_libraries" = "default location"; then
37784 ac_path_to_link=""
37785 else
37786 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37787 result=$?
37788 if test $result = 0; then
37789 ac_path_to_link=""
37790 else
37791 ac_path_to_link=" -L$ac_find_libraries"
37792 fi
37793 fi
37794
37795 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37796 LDFLAGS="$LDFLAGS $ac_path_to_link"
37797 fi
37798 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
37799 { echo "$as_me:$LINENO: result: yes" >&5
37800 echo "${ECHO_T}yes" >&6; }
37801 else
37802 { echo "$as_me:$LINENO: result: no" >&5
37803 echo "${ECHO_T}no" >&6; }
37804 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
37805 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
37806 wxUSE_DETECT_SM="no"
37807 fi
37808 else
37809 wxUSE_DETECT_SM="no"
37810 fi
37811 fi
37812
37813
37814
37815 USE_OPENGL=0
37816 if test "$wxUSE_OPENGL" = "yes"; then
37817 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
37818 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37819 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37820 wxUSE_OPENGL="no"
37821 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
37822 OPENGL_LIBS="-framework OpenGL -framework AGL"
37823 elif test "$wxUSE_MSW" = 1; then
37824 OPENGL_LIBS="-lopengl32 -lglu32"
37825 else
37826 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
37827 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
37828
37829 ac_find_includes=
37830 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
37831 do
37832 if test -f "$ac_dir/GL/gl.h"; then
37833 ac_find_includes=$ac_dir
37834 break
37835 fi
37836 done
37837
37838 if test "$ac_find_includes" != "" ; then
37839 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
37840 echo "${ECHO_T}found in $ac_find_includes" >&6; }
37841
37842 if test "x$ac_find_includes" = "x/usr/include"; then
37843 ac_path_to_include=""
37844 else
37845 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
37846 result=$?
37847 if test $result = 0; then
37848 ac_path_to_include=""
37849 else
37850 ac_path_to_include=" -I$ac_find_includes"
37851 fi
37852 fi
37853
37854 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
37855 else
37856 { echo "$as_me:$LINENO: result: not found" >&5
37857 echo "${ECHO_T}not found" >&6; }
37858 fi
37859
37860 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37861 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
37862 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
37863 if test "${ac_cv_header_GL_gl_h+set}" = set; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37865 fi
37866 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
37867 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
37868 else
37869 # Is the header compilable?
37870 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
37871 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
37872 cat >conftest.$ac_ext <<_ACEOF
37873 /* confdefs.h. */
37874 _ACEOF
37875 cat confdefs.h >>conftest.$ac_ext
37876 cat >>conftest.$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37878 $ac_includes_default
37879 #include <GL/gl.h>
37880 _ACEOF
37881 rm -f conftest.$ac_objext
37882 if { (ac_try="$ac_compile"
37883 case "(($ac_try" in
37884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37885 *) ac_try_echo=$ac_try;;
37886 esac
37887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37888 (eval "$ac_compile") 2>conftest.er1
37889 ac_status=$?
37890 grep -v '^ *+' conftest.er1 >conftest.err
37891 rm -f conftest.er1
37892 cat conftest.err >&5
37893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37894 (exit $ac_status); } &&
37895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37896 { (case "(($ac_try" in
37897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37898 *) ac_try_echo=$ac_try;;
37899 esac
37900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37901 (eval "$ac_try") 2>&5
37902 ac_status=$?
37903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37904 (exit $ac_status); }; } &&
37905 { ac_try='test -s conftest.$ac_objext'
37906 { (case "(($ac_try" in
37907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37908 *) ac_try_echo=$ac_try;;
37909 esac
37910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37911 (eval "$ac_try") 2>&5
37912 ac_status=$?
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); }; }; then
37915 ac_header_compiler=yes
37916 else
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.$ac_ext >&5
37919
37920 ac_header_compiler=no
37921 fi
37922
37923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37924 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37925 echo "${ECHO_T}$ac_header_compiler" >&6; }
37926
37927 # Is the header present?
37928 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
37929 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
37930 cat >conftest.$ac_ext <<_ACEOF
37931 /* confdefs.h. */
37932 _ACEOF
37933 cat confdefs.h >>conftest.$ac_ext
37934 cat >>conftest.$ac_ext <<_ACEOF
37935 /* end confdefs.h. */
37936 #include <GL/gl.h>
37937 _ACEOF
37938 if { (ac_try="$ac_cpp conftest.$ac_ext"
37939 case "(($ac_try" in
37940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37941 *) ac_try_echo=$ac_try;;
37942 esac
37943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37945 ac_status=$?
37946 grep -v '^ *+' conftest.er1 >conftest.err
37947 rm -f conftest.er1
37948 cat conftest.err >&5
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); } >/dev/null; then
37951 if test -s conftest.err; then
37952 ac_cpp_err=$ac_c_preproc_warn_flag
37953 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37954 else
37955 ac_cpp_err=
37956 fi
37957 else
37958 ac_cpp_err=yes
37959 fi
37960 if test -z "$ac_cpp_err"; then
37961 ac_header_preproc=yes
37962 else
37963 echo "$as_me: failed program was:" >&5
37964 sed 's/^/| /' conftest.$ac_ext >&5
37965
37966 ac_header_preproc=no
37967 fi
37968
37969 rm -f conftest.err conftest.$ac_ext
37970 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37971 echo "${ECHO_T}$ac_header_preproc" >&6; }
37972
37973 # So? What about this header?
37974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37975 yes:no: )
37976 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
37977 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37978 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
37979 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
37980 ac_header_preproc=yes
37981 ;;
37982 no:yes:* )
37983 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
37984 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
37985 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
37986 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
37987 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
37988 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
37989 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
37990 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
37991 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
37992 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
37993 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
37994 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
37995 ( cat <<\_ASBOX
37996 ## ----------------------------------------- ##
37997 ## Report this to wx-dev@lists.wxwidgets.org ##
37998 ## ----------------------------------------- ##
37999 _ASBOX
38000 ) | sed "s/^/$as_me: WARNING: /" >&2
38001 ;;
38002 esac
38003 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
38004 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
38005 if test "${ac_cv_header_GL_gl_h+set}" = set; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 else
38008 ac_cv_header_GL_gl_h=$ac_header_preproc
38009 fi
38010 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
38011 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
38012
38013 fi
38014 if test $ac_cv_header_GL_gl_h = yes; then
38015
38016 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38017 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
38018 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
38019 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38020 echo $ECHO_N "(cached) $ECHO_C" >&6
38021 fi
38022 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
38023 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
38024 else
38025 # Is the header compilable?
38026 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
38027 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
38028 cat >conftest.$ac_ext <<_ACEOF
38029 /* confdefs.h. */
38030 _ACEOF
38031 cat confdefs.h >>conftest.$ac_ext
38032 cat >>conftest.$ac_ext <<_ACEOF
38033 /* end confdefs.h. */
38034 $ac_includes_default
38035 #include <GL/glu.h>
38036 _ACEOF
38037 rm -f conftest.$ac_objext
38038 if { (ac_try="$ac_compile"
38039 case "(($ac_try" in
38040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38041 *) ac_try_echo=$ac_try;;
38042 esac
38043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38044 (eval "$ac_compile") 2>conftest.er1
38045 ac_status=$?
38046 grep -v '^ *+' conftest.er1 >conftest.err
38047 rm -f conftest.er1
38048 cat conftest.err >&5
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); } &&
38051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38052 { (case "(($ac_try" in
38053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38054 *) ac_try_echo=$ac_try;;
38055 esac
38056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38057 (eval "$ac_try") 2>&5
38058 ac_status=$?
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); }; } &&
38061 { ac_try='test -s conftest.$ac_objext'
38062 { (case "(($ac_try" in
38063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38064 *) ac_try_echo=$ac_try;;
38065 esac
38066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38067 (eval "$ac_try") 2>&5
38068 ac_status=$?
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); }; }; then
38071 ac_header_compiler=yes
38072 else
38073 echo "$as_me: failed program was:" >&5
38074 sed 's/^/| /' conftest.$ac_ext >&5
38075
38076 ac_header_compiler=no
38077 fi
38078
38079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38080 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38081 echo "${ECHO_T}$ac_header_compiler" >&6; }
38082
38083 # Is the header present?
38084 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
38085 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
38086 cat >conftest.$ac_ext <<_ACEOF
38087 /* confdefs.h. */
38088 _ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h. */
38092 #include <GL/glu.h>
38093 _ACEOF
38094 if { (ac_try="$ac_cpp conftest.$ac_ext"
38095 case "(($ac_try" in
38096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38097 *) ac_try_echo=$ac_try;;
38098 esac
38099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38101 ac_status=$?
38102 grep -v '^ *+' conftest.er1 >conftest.err
38103 rm -f conftest.er1
38104 cat conftest.err >&5
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); } >/dev/null; then
38107 if test -s conftest.err; then
38108 ac_cpp_err=$ac_c_preproc_warn_flag
38109 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38110 else
38111 ac_cpp_err=
38112 fi
38113 else
38114 ac_cpp_err=yes
38115 fi
38116 if test -z "$ac_cpp_err"; then
38117 ac_header_preproc=yes
38118 else
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38121
38122 ac_header_preproc=no
38123 fi
38124
38125 rm -f conftest.err conftest.$ac_ext
38126 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38127 echo "${ECHO_T}$ac_header_preproc" >&6; }
38128
38129 # So? What about this header?
38130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38131 yes:no: )
38132 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
38133 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
38134 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
38135 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
38136 ac_header_preproc=yes
38137 ;;
38138 no:yes:* )
38139 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
38140 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
38141 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
38142 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
38143 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
38144 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
38145 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
38146 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
38147 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
38148 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
38149 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
38150 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
38151 ( cat <<\_ASBOX
38152 ## ----------------------------------------- ##
38153 ## Report this to wx-dev@lists.wxwidgets.org ##
38154 ## ----------------------------------------- ##
38155 _ASBOX
38156 ) | sed "s/^/$as_me: WARNING: /" >&2
38157 ;;
38158 esac
38159 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
38160 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
38161 if test "${ac_cv_header_GL_glu_h+set}" = set; then
38162 echo $ECHO_N "(cached) $ECHO_C" >&6
38163 else
38164 ac_cv_header_GL_glu_h=$ac_header_preproc
38165 fi
38166 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
38167 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
38168
38169 fi
38170 if test $ac_cv_header_GL_glu_h = yes; then
38171
38172 found_gl=0
38173
38174 { echo "$as_me:$LINENO: checking for -lGL" >&5
38175 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
38176
38177 ac_find_libraries=
38178 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
38179 do
38180 for ac_extension in a so sl dylib dll.a; do
38181 if test -f "$ac_dir/libGL.$ac_extension"; then
38182 ac_find_libraries=$ac_dir
38183 break 2
38184 fi
38185 done
38186 done
38187
38188 if test "$ac_find_libraries" != "" ; then
38189 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
38190 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
38191
38192
38193 if test "$ac_find_libraries" = "default location"; then
38194 ac_path_to_link=""
38195 else
38196 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
38197 result=$?
38198 if test $result = 0; then
38199 ac_path_to_link=""
38200 else
38201 ac_path_to_link=" -L$ac_find_libraries"
38202 fi
38203 fi
38204
38205 if test "$ac_path_to_link" != " -L/usr/lib" ; then
38206 LDFLAGS_GL="$ac_path_to_link"
38207 fi
38208
38209 { echo "$as_me:$LINENO: checking for -lGLU" >&5
38210 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
38211
38212 ac_find_libraries=
38213 for ac_dir in $SEARCH_LIB;
38214 do
38215 for ac_extension in a so sl dylib dll.a; do
38216 if test -f "$ac_dir/libGLU.$ac_extension"; then
38217 ac_find_libraries=$ac_dir
38218 break 2
38219 fi
38220 done
38221 done
38222
38223 if test "$ac_find_libraries" != "" ; then
38224
38225 if test "$ac_find_libraries" = "default location"; then
38226 ac_path_to_link=""
38227 else
38228 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
38229 result=$?
38230 if test $result = 0; then
38231 ac_path_to_link=""
38232 else
38233 ac_path_to_link=" -L$ac_find_libraries"
38234 fi
38235 fi
38236
38237 if test "$ac_path_to_link" != " -L/usr/lib" -a \
38238 "$ac_path_to_link" != "$LDFLAGS_GL"; then
38239 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
38240 fi
38241
38242 found_gl=1
38243 OPENGL_LIBS="-lGL -lGLU"
38244 { echo "$as_me:$LINENO: result: yes" >&5
38245 echo "${ECHO_T}yes" >&6; }
38246 else
38247 { echo "$as_me:$LINENO: result: no" >&5
38248 echo "${ECHO_T}no" >&6; }
38249 fi
38250 else
38251 { echo "$as_me:$LINENO: result: no" >&5
38252 echo "${ECHO_T}no" >&6; }
38253 fi
38254
38255 if test "$found_gl" != 1; then
38256 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
38257 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
38258
38259 ac_find_libraries=
38260 for ac_dir in $SEARCH_LIB;
38261 do
38262 for ac_extension in a so sl dylib dll.a; do
38263 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
38264 ac_find_libraries=$ac_dir
38265 break 2
38266 fi
38267 done
38268 done
38269
38270 if test "$ac_find_libraries" != "" ; then
38271
38272 if test "$ac_find_libraries" = "default location"; then
38273 ac_path_to_link=""
38274 else
38275 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
38276 result=$?
38277 if test $result = 0; then
38278 ac_path_to_link=""
38279 else
38280 ac_path_to_link=" -L$ac_find_libraries"
38281 fi
38282 fi
38283
38284 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
38285 OPENGL_LIBS="-lMesaGL -lMesaGLU"
38286 { echo "$as_me:$LINENO: result: yes" >&5
38287 echo "${ECHO_T}yes" >&6; }
38288 else
38289 { echo "$as_me:$LINENO: result: no" >&5
38290 echo "${ECHO_T}no" >&6; }
38291 fi
38292 fi
38293
38294 fi
38295
38296
38297
38298 fi
38299
38300
38301
38302 if test "x$OPENGL_LIBS" = "x"; then
38303 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
38304 echo "$as_me: error: OpenGL libraries not available" >&2;}
38305 { (exit 1); exit 1; }; }
38306 fi
38307 fi
38308
38309 if test "$wxUSE_OPENGL" = "yes"; then
38310 USE_OPENGL=1
38311 cat >>confdefs.h <<\_ACEOF
38312 #define wxUSE_OPENGL 1
38313 _ACEOF
38314
38315 cat >>confdefs.h <<\_ACEOF
38316 #define wxUSE_GLCANVAS 1
38317 _ACEOF
38318
38319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
38320 fi
38321 fi
38322
38323
38324 if test -n "$TOOLKIT" ; then
38325 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
38326 fi
38327
38328
38329
38330 if test "$wxUSE_SHARED" = "yes"; then
38331 case "${host}" in
38332 *-pc-msdosdjgpp )
38333 wxUSE_SHARED=no
38334 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
38335 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
38336 ;;
38337 esac
38338 fi
38339
38340 if test "$wxUSE_SHARED" = "yes"; then
38341
38342
38343 case "${host}" in
38344 *-*-cygwin* | *-*-mingw* )
38345 wx_cv_version_script=no
38346 ;;
38347
38348 *)
38349 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
38350 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
38351 if test "${wx_cv_version_script+set}" = set; then
38352 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 else
38354
38355 echo "VER_1 { *; };" >conftest.sym
38356 echo "int main() { return 0; }" >conftest.cpp
38357
38358 if { ac_try='
38359 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38360 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
38361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38362 (eval $ac_try) 2>&5
38363 ac_status=$?
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); }; } ; then
38366 if test -s conftest.stderr ; then
38367 wx_cv_version_script=no
38368 else
38369 wx_cv_version_script=yes
38370 fi
38371 else
38372 wx_cv_version_script=no
38373 fi
38374
38375 if test $wx_cv_version_script = yes
38376 then
38377 echo "struct B { virtual ~B() { } }; \
38378 struct D : public B { }; \
38379 void F() { D d; }" > conftest.cpp
38380
38381 if { ac_try='
38382 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38383 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
38384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38385 (eval $ac_try) 2>&5
38386 ac_status=$?
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); }; } &&
38389 { ac_try='
38390 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38391 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
38392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38393 (eval $ac_try) 2>&5
38394 ac_status=$?
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); }; }
38397 then
38398 if { ac_try='
38399 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
38400 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
38401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38402 (eval $ac_try) 2>&5
38403 ac_status=$?
38404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38405 (exit $ac_status); }; }
38406 then
38407 wx_cv_version_script=yes
38408 else
38409 wx_cv_version_script=no
38410 fi
38411 fi
38412 fi
38413
38414 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
38415 rm -f conftest1.output conftest2.output conftest3.output
38416
38417 fi
38418 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
38419 echo "${ECHO_T}$wx_cv_version_script" >&6; }
38420
38421 if test $wx_cv_version_script = yes ; then
38422 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
38423 fi
38424 ;;
38425 esac
38426
38427
38428 case "${host}" in
38429 *-*-linux* | *-*-gnu* )
38430 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
38431 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
38432 ;;
38433
38434 *-*-solaris2* )
38435 if test "$GCC" = yes ; then
38436 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
38437
38438 saveLdflags="$LDFLAGS"
38439 LDFLAGS="$saveLdflags -Wl,-rpath,/"
38440 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
38441 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
38442 cat >conftest.$ac_ext <<_ACEOF
38443 /* confdefs.h. */
38444 _ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448
38449 int
38450 main ()
38451 {
38452
38453 ;
38454 return 0;
38455 }
38456 _ACEOF
38457 rm -f conftest.$ac_objext conftest$ac_exeext
38458 if { (ac_try="$ac_link"
38459 case "(($ac_try" in
38460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38461 *) ac_try_echo=$ac_try;;
38462 esac
38463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38464 (eval "$ac_link") 2>conftest.er1
38465 ac_status=$?
38466 grep -v '^ *+' conftest.er1 >conftest.err
38467 rm -f conftest.er1
38468 cat conftest.err >&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); } &&
38471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38472 { (case "(($ac_try" in
38473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38474 *) ac_try_echo=$ac_try;;
38475 esac
38476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38477 (eval "$ac_try") 2>&5
38478 ac_status=$?
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); }; } &&
38481 { ac_try='test -s conftest$ac_exeext'
38482 { (case "(($ac_try" in
38483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38484 *) ac_try_echo=$ac_try;;
38485 esac
38486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38487 (eval "$ac_try") 2>&5
38488 ac_status=$?
38489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38490 (exit $ac_status); }; }; then
38491
38492 { echo "$as_me:$LINENO: result: yes" >&5
38493 echo "${ECHO_T}yes" >&6; }
38494 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
38495 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
38496
38497 else
38498 echo "$as_me: failed program was:" >&5
38499 sed 's/^/| /' conftest.$ac_ext >&5
38500
38501
38502 { echo "$as_me:$LINENO: result: no" >&5
38503 echo "${ECHO_T}no" >&6; }
38504 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
38505 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
38506 LDFLAGS="$saveLdflags -Wl,-R,/"
38507 cat >conftest.$ac_ext <<_ACEOF
38508 /* confdefs.h. */
38509 _ACEOF
38510 cat confdefs.h >>conftest.$ac_ext
38511 cat >>conftest.$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38513
38514 int
38515 main ()
38516 {
38517
38518 ;
38519 return 0;
38520 }
38521 _ACEOF
38522 rm -f conftest.$ac_objext conftest$ac_exeext
38523 if { (ac_try="$ac_link"
38524 case "(($ac_try" in
38525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38526 *) ac_try_echo=$ac_try;;
38527 esac
38528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38529 (eval "$ac_link") 2>conftest.er1
38530 ac_status=$?
38531 grep -v '^ *+' conftest.er1 >conftest.err
38532 rm -f conftest.er1
38533 cat conftest.err >&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); } &&
38536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38537 { (case "(($ac_try" in
38538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38539 *) ac_try_echo=$ac_try;;
38540 esac
38541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38542 (eval "$ac_try") 2>&5
38543 ac_status=$?
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); }; } &&
38546 { ac_try='test -s conftest$ac_exeext'
38547 { (case "(($ac_try" in
38548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38549 *) ac_try_echo=$ac_try;;
38550 esac
38551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38552 (eval "$ac_try") 2>&5
38553 ac_status=$?
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; }; then
38556
38557 { echo "$as_me:$LINENO: result: yes" >&5
38558 echo "${ECHO_T}yes" >&6; }
38559 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
38560 WXCONFIG_RPATH="-Wl,-R,\$libdir"
38561
38562 else
38563 echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.$ac_ext >&5
38565
38566
38567 { echo "$as_me:$LINENO: result: no" >&5
38568 echo "${ECHO_T}no" >&6; }
38569
38570 fi
38571
38572 rm -f core conftest.err conftest.$ac_objext \
38573 conftest$ac_exeext conftest.$ac_ext
38574
38575 fi
38576
38577 rm -f core conftest.err conftest.$ac_objext \
38578 conftest$ac_exeext conftest.$ac_ext
38579 LDFLAGS="$saveLdflags"
38580 else
38581 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
38582 WXCONFIG_RPATH="-R\$libdir"
38583 fi
38584 ;;
38585
38586 *-*-darwin* )
38587 install_name_tool=`which install_name_tool`
38588 if test "$install_name_tool" -a -x "$install_name_tool"; then
38589 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
38590 cat <<EOF >change-install-names
38591 #!/bin/sh
38592 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
38593 inst_cmd="install_name_tool "
38594 for i in \${libnames} ; do
38595 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
38596 done
38597 \${inst_cmd} \${3}
38598 EOF
38599 chmod +x change-install-names
38600 fi
38601 ;;
38602
38603 *-*-cygwin* | *-*-mingw32* )
38604 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
38605 ;;
38606
38607 *-*-hpux* )
38608 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
38609 WXCONFIG_RPATH="-Wl,+b,\$libdir"
38610 ;;
38611
38612 esac
38613
38614 if test $wxUSE_RPATH = "no"; then
38615 SAMPLES_RPATH_FLAG=''
38616 SAMPLES_RPATH_POSTLINK=''
38617 WXCONFIG_RPATH=''
38618 fi
38619
38620 SHARED=1
38621
38622 else
38623
38624 config_linkage_component="-static"
38625 SHARED=0
38626
38627 fi
38628
38629
38630 UNICODE=0
38631 lib_unicode_suffix=
38632 WX_CHARTYPE="ansi"
38633 if test "$wxUSE_UNICODE" = "yes"; then
38634 lib_unicode_suffix=u
38635 WX_CHARTYPE="unicode"
38636 UNICODE=1
38637 fi
38638
38639 lib_debug_suffix=
38640 WX_DEBUGTYPE="release"
38641 DEBUG_FLAG=0
38642 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
38643 lib_debug_suffix=d
38644 WX_DEBUGTYPE="debug"
38645 DEBUG_FLAG=1
38646 fi
38647
38648 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
38649 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
38650
38651 DEBUG_INFO=0
38652 if test "$wxUSE_DEBUG_INFO" = "yes"; then
38653 DEBUG_INFO=1
38654 fi
38655
38656 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
38657
38658 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
38659
38660 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
38661
38662 if test "$cross_compiling" = "yes"; then
38663 HOST_SUFFIX="-$host_alias"
38664 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
38665 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
38666 fi
38667
38668 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38669 if test "${TOOLKIT_DIR}" = "os2"; then
38670 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38671 else
38672 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
38673 fi
38674
38675
38676
38677 if test "$wxUSE_COCOA" = 1; then
38678
38679 ac_ext=c
38680 ac_cpp='$CPP $CPPFLAGS'
38681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38684
38685 ac_ext=m
38686
38687 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38688 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38689 cat >conftest.$ac_ext <<_ACEOF
38690 /* confdefs.h. */
38691 _ACEOF
38692 cat confdefs.h >>conftest.$ac_ext
38693 cat >>conftest.$ac_ext <<_ACEOF
38694 /* end confdefs.h. */
38695 #include <AppKit/NSEvent.h>
38696 #include <CoreFoundation/CoreFoundation.h>
38697
38698 int
38699 main ()
38700 {
38701
38702 ;
38703 return 0;
38704 }
38705 _ACEOF
38706 rm -f conftest.$ac_objext
38707 if { (ac_try="$ac_compile"
38708 case "(($ac_try" in
38709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38710 *) ac_try_echo=$ac_try;;
38711 esac
38712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38713 (eval "$ac_compile") 2>conftest.er1
38714 ac_status=$?
38715 grep -v '^ *+' conftest.er1 >conftest.err
38716 rm -f conftest.er1
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } &&
38720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38721 { (case "(($ac_try" in
38722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38723 *) ac_try_echo=$ac_try;;
38724 esac
38725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38726 (eval "$ac_try") 2>&5
38727 ac_status=$?
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); }; } &&
38730 { ac_try='test -s conftest.$ac_objext'
38731 { (case "(($ac_try" in
38732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38733 *) ac_try_echo=$ac_try;;
38734 esac
38735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38736 (eval "$ac_try") 2>&5
38737 ac_status=$?
38738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739 (exit $ac_status); }; }; then
38740 { echo "$as_me:$LINENO: result: no" >&5
38741 echo "${ECHO_T}no" >&6; }
38742 else
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38745
38746 { echo "$as_me:$LINENO: result: yes" >&5
38747 echo "${ECHO_T}yes" >&6; }
38748 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38749 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38750 cat >conftest.$ac_ext <<_ACEOF
38751 /* confdefs.h. */
38752 _ACEOF
38753 cat confdefs.h >>conftest.$ac_ext
38754 cat >>conftest.$ac_ext <<_ACEOF
38755 /* end confdefs.h. */
38756 #define __Point__ 1
38757 #include <AppKit/NSEvent.h>
38758 #include <CoreFoundation/CoreFoundation.h>
38759
38760 int
38761 main ()
38762 {
38763
38764 ;
38765 return 0;
38766 }
38767 _ACEOF
38768 rm -f conftest.$ac_objext
38769 if { (ac_try="$ac_compile"
38770 case "(($ac_try" in
38771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38772 *) ac_try_echo=$ac_try;;
38773 esac
38774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38775 (eval "$ac_compile") 2>conftest.er1
38776 ac_status=$?
38777 grep -v '^ *+' conftest.er1 >conftest.err
38778 rm -f conftest.er1
38779 cat conftest.err >&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); } &&
38782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38783 { (case "(($ac_try" in
38784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38785 *) ac_try_echo=$ac_try;;
38786 esac
38787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38788 (eval "$ac_try") 2>&5
38789 ac_status=$?
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); }; } &&
38792 { ac_try='test -s conftest.$ac_objext'
38793 { (case "(($ac_try" in
38794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38795 *) ac_try_echo=$ac_try;;
38796 esac
38797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38798 (eval "$ac_try") 2>&5
38799 ac_status=$?
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; }; then
38802 { echo "$as_me:$LINENO: result: yes" >&5
38803 echo "${ECHO_T}yes" >&6; }
38804 cat >>confdefs.h <<\_ACEOF
38805 #define __Point__ 1
38806 _ACEOF
38807
38808
38809 else
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.$ac_ext >&5
38812
38813 { { echo "$as_me:$LINENO: error: no
38814 See \`config.log' for more details." >&5
38815 echo "$as_me: error: no
38816 See \`config.log' for more details." >&2;}
38817 { (exit 1); exit 1; }; }
38818
38819 fi
38820
38821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38822
38823 fi
38824
38825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38826 ac_ext=c
38827 ac_cpp='$CPP $CPPFLAGS'
38828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38831
38832 fi
38833
38834 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
38835 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
38836 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
38837
38838 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
38839
38840 # Extract the first word of "Rez", so it can be a program name with args.
38841 set dummy Rez; ac_word=$2
38842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38844 if test "${ac_cv_prog_REZ+set}" = set; then
38845 echo $ECHO_N "(cached) $ECHO_C" >&6
38846 else
38847 if test -n "$REZ"; then
38848 ac_cv_prog_REZ="$REZ" # Let the user override the test.
38849 else
38850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38851 for as_dir in $PATH
38852 do
38853 IFS=$as_save_IFS
38854 test -z "$as_dir" && as_dir=.
38855 for ac_exec_ext in '' $ac_executable_extensions; do
38856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38857 ac_cv_prog_REZ="Rez"
38858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38859 break 2
38860 fi
38861 done
38862 done
38863 IFS=$as_save_IFS
38864
38865 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
38866 fi
38867 fi
38868 REZ=$ac_cv_prog_REZ
38869 if test -n "$REZ"; then
38870 { echo "$as_me:$LINENO: result: $REZ" >&5
38871 echo "${ECHO_T}$REZ" >&6; }
38872 else
38873 { echo "$as_me:$LINENO: result: no" >&5
38874 echo "${ECHO_T}no" >&6; }
38875 fi
38876
38877
38878 # Extract the first word of "DeRez", so it can be a program name with args.
38879 set dummy DeRez; ac_word=$2
38880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38882 if test "${ac_cv_prog_DEREZ+set}" = set; then
38883 echo $ECHO_N "(cached) $ECHO_C" >&6
38884 else
38885 if test -n "$DEREZ"; then
38886 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
38887 else
38888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38889 for as_dir in $PATH
38890 do
38891 IFS=$as_save_IFS
38892 test -z "$as_dir" && as_dir=.
38893 for ac_exec_ext in '' $ac_executable_extensions; do
38894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38895 ac_cv_prog_DEREZ="DeRez"
38896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38897 break 2
38898 fi
38899 done
38900 done
38901 IFS=$as_save_IFS
38902
38903 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
38904 fi
38905 fi
38906 DEREZ=$ac_cv_prog_DEREZ
38907 if test -n "$DEREZ"; then
38908 { echo "$as_me:$LINENO: result: $DEREZ" >&5
38909 echo "${ECHO_T}$DEREZ" >&6; }
38910 else
38911 { echo "$as_me:$LINENO: result: no" >&5
38912 echo "${ECHO_T}no" >&6; }
38913 fi
38914
38915
38916 # Extract the first word of "SetFile", so it can be a program name with args.
38917 set dummy SetFile; ac_word=$2
38918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
38919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
38920 if test "${ac_cv_prog_SETFILE+set}" = set; then
38921 echo $ECHO_N "(cached) $ECHO_C" >&6
38922 else
38923 if test -n "$SETFILE"; then
38924 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
38925 else
38926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38927 for as_dir in $PATH
38928 do
38929 IFS=$as_save_IFS
38930 test -z "$as_dir" && as_dir=.
38931 for ac_exec_ext in '' $ac_executable_extensions; do
38932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
38933 ac_cv_prog_SETFILE="SetFile"
38934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38935 break 2
38936 fi
38937 done
38938 done
38939 IFS=$as_save_IFS
38940
38941 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
38942 fi
38943 fi
38944 SETFILE=$ac_cv_prog_SETFILE
38945 if test -n "$SETFILE"; then
38946 { echo "$as_me:$LINENO: result: $SETFILE" >&5
38947 echo "${ECHO_T}$SETFILE" >&6; }
38948 else
38949 { echo "$as_me:$LINENO: result: no" >&5
38950 echo "${ECHO_T}no" >&6; }
38951 fi
38952
38953
38954
38955 MACSETFILE="\$(SETFILE)"
38956
38957 if test "$wxUSE_MAC" = 1; then
38958 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
38959 RESCOMP="$REZ"
38960 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
38961 else
38962 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
38963 RESCOMP="echo -n \| $REZ"
38964 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
38965 fi
38966
38967 else
38968 MACSETFILE="@true"
38969
38970 if test "$wxUSE_PM" = 1; then
38971 RESCOMP="emxbind"
38972 WXCONFIG_RESFLAGS="-ep"
38973
38974 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
38975 else
38976 POSTLINK_COMMAND="@true"
38977 fi
38978
38979 fi
38980
38981
38982
38983 { echo "$as_me:$LINENO: checking for mode_t" >&5
38984 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38985 if test "${ac_cv_type_mode_t+set}" = set; then
38986 echo $ECHO_N "(cached) $ECHO_C" >&6
38987 else
38988 cat >conftest.$ac_ext <<_ACEOF
38989 /* confdefs.h. */
38990 _ACEOF
38991 cat confdefs.h >>conftest.$ac_ext
38992 cat >>conftest.$ac_ext <<_ACEOF
38993 /* end confdefs.h. */
38994 $ac_includes_default
38995 typedef mode_t ac__type_new_;
38996 int
38997 main ()
38998 {
38999 if ((ac__type_new_ *) 0)
39000 return 0;
39001 if (sizeof (ac__type_new_))
39002 return 0;
39003 ;
39004 return 0;
39005 }
39006 _ACEOF
39007 rm -f conftest.$ac_objext
39008 if { (ac_try="$ac_compile"
39009 case "(($ac_try" in
39010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39011 *) ac_try_echo=$ac_try;;
39012 esac
39013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39014 (eval "$ac_compile") 2>conftest.er1
39015 ac_status=$?
39016 grep -v '^ *+' conftest.er1 >conftest.err
39017 rm -f conftest.er1
39018 cat conftest.err >&5
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); } &&
39021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39022 { (case "(($ac_try" in
39023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39024 *) ac_try_echo=$ac_try;;
39025 esac
39026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39027 (eval "$ac_try") 2>&5
39028 ac_status=$?
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); }; } &&
39031 { ac_try='test -s conftest.$ac_objext'
39032 { (case "(($ac_try" in
39033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39034 *) ac_try_echo=$ac_try;;
39035 esac
39036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39037 (eval "$ac_try") 2>&5
39038 ac_status=$?
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; }; then
39041 ac_cv_type_mode_t=yes
39042 else
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39045
39046 ac_cv_type_mode_t=no
39047 fi
39048
39049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39050 fi
39051 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
39052 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
39053 if test $ac_cv_type_mode_t = yes; then
39054 :
39055 else
39056
39057 cat >>confdefs.h <<_ACEOF
39058 #define mode_t int
39059 _ACEOF
39060
39061 fi
39062
39063 { echo "$as_me:$LINENO: checking for off_t" >&5
39064 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
39065 if test "${ac_cv_type_off_t+set}" = set; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 else
39068 cat >conftest.$ac_ext <<_ACEOF
39069 /* confdefs.h. */
39070 _ACEOF
39071 cat confdefs.h >>conftest.$ac_ext
39072 cat >>conftest.$ac_ext <<_ACEOF
39073 /* end confdefs.h. */
39074 $ac_includes_default
39075 typedef off_t ac__type_new_;
39076 int
39077 main ()
39078 {
39079 if ((ac__type_new_ *) 0)
39080 return 0;
39081 if (sizeof (ac__type_new_))
39082 return 0;
39083 ;
39084 return 0;
39085 }
39086 _ACEOF
39087 rm -f conftest.$ac_objext
39088 if { (ac_try="$ac_compile"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39091 *) ac_try_echo=$ac_try;;
39092 esac
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_compile") 2>conftest.er1
39095 ac_status=$?
39096 grep -v '^ *+' conftest.er1 >conftest.err
39097 rm -f conftest.er1
39098 cat conftest.err >&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } &&
39101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39102 { (case "(($ac_try" in
39103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39104 *) ac_try_echo=$ac_try;;
39105 esac
39106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39107 (eval "$ac_try") 2>&5
39108 ac_status=$?
39109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110 (exit $ac_status); }; } &&
39111 { ac_try='test -s conftest.$ac_objext'
39112 { (case "(($ac_try" in
39113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39114 *) ac_try_echo=$ac_try;;
39115 esac
39116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39117 (eval "$ac_try") 2>&5
39118 ac_status=$?
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); }; }; then
39121 ac_cv_type_off_t=yes
39122 else
39123 echo "$as_me: failed program was:" >&5
39124 sed 's/^/| /' conftest.$ac_ext >&5
39125
39126 ac_cv_type_off_t=no
39127 fi
39128
39129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39130 fi
39131 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
39132 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
39133 if test $ac_cv_type_off_t = yes; then
39134 :
39135 else
39136
39137 cat >>confdefs.h <<_ACEOF
39138 #define off_t long int
39139 _ACEOF
39140
39141 fi
39142
39143 { echo "$as_me:$LINENO: checking for pid_t" >&5
39144 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
39145 if test "${ac_cv_type_pid_t+set}" = set; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39147 else
39148 cat >conftest.$ac_ext <<_ACEOF
39149 /* confdefs.h. */
39150 _ACEOF
39151 cat confdefs.h >>conftest.$ac_ext
39152 cat >>conftest.$ac_ext <<_ACEOF
39153 /* end confdefs.h. */
39154 $ac_includes_default
39155 typedef pid_t ac__type_new_;
39156 int
39157 main ()
39158 {
39159 if ((ac__type_new_ *) 0)
39160 return 0;
39161 if (sizeof (ac__type_new_))
39162 return 0;
39163 ;
39164 return 0;
39165 }
39166 _ACEOF
39167 rm -f conftest.$ac_objext
39168 if { (ac_try="$ac_compile"
39169 case "(($ac_try" in
39170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39171 *) ac_try_echo=$ac_try;;
39172 esac
39173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39174 (eval "$ac_compile") 2>conftest.er1
39175 ac_status=$?
39176 grep -v '^ *+' conftest.er1 >conftest.err
39177 rm -f conftest.er1
39178 cat conftest.err >&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); } &&
39181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39182 { (case "(($ac_try" in
39183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39184 *) ac_try_echo=$ac_try;;
39185 esac
39186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39187 (eval "$ac_try") 2>&5
39188 ac_status=$?
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; } &&
39191 { ac_try='test -s conftest.$ac_objext'
39192 { (case "(($ac_try" in
39193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39194 *) ac_try_echo=$ac_try;;
39195 esac
39196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39197 (eval "$ac_try") 2>&5
39198 ac_status=$?
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); }; }; then
39201 ac_cv_type_pid_t=yes
39202 else
39203 echo "$as_me: failed program was:" >&5
39204 sed 's/^/| /' conftest.$ac_ext >&5
39205
39206 ac_cv_type_pid_t=no
39207 fi
39208
39209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39210 fi
39211 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
39212 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
39213 if test $ac_cv_type_pid_t = yes; then
39214 :
39215 else
39216
39217 cat >>confdefs.h <<_ACEOF
39218 #define pid_t int
39219 _ACEOF
39220
39221 fi
39222
39223 { echo "$as_me:$LINENO: checking for size_t" >&5
39224 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
39225 if test "${ac_cv_type_size_t+set}" = set; then
39226 echo $ECHO_N "(cached) $ECHO_C" >&6
39227 else
39228 cat >conftest.$ac_ext <<_ACEOF
39229 /* confdefs.h. */
39230 _ACEOF
39231 cat confdefs.h >>conftest.$ac_ext
39232 cat >>conftest.$ac_ext <<_ACEOF
39233 /* end confdefs.h. */
39234 $ac_includes_default
39235 typedef size_t ac__type_new_;
39236 int
39237 main ()
39238 {
39239 if ((ac__type_new_ *) 0)
39240 return 0;
39241 if (sizeof (ac__type_new_))
39242 return 0;
39243 ;
39244 return 0;
39245 }
39246 _ACEOF
39247 rm -f conftest.$ac_objext
39248 if { (ac_try="$ac_compile"
39249 case "(($ac_try" in
39250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39251 *) ac_try_echo=$ac_try;;
39252 esac
39253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39254 (eval "$ac_compile") 2>conftest.er1
39255 ac_status=$?
39256 grep -v '^ *+' conftest.er1 >conftest.err
39257 rm -f conftest.er1
39258 cat conftest.err >&5
39259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39260 (exit $ac_status); } &&
39261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39262 { (case "(($ac_try" in
39263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39264 *) ac_try_echo=$ac_try;;
39265 esac
39266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39267 (eval "$ac_try") 2>&5
39268 ac_status=$?
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); }; } &&
39271 { ac_try='test -s conftest.$ac_objext'
39272 { (case "(($ac_try" in
39273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39274 *) ac_try_echo=$ac_try;;
39275 esac
39276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39277 (eval "$ac_try") 2>&5
39278 ac_status=$?
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); }; }; then
39281 ac_cv_type_size_t=yes
39282 else
39283 echo "$as_me: failed program was:" >&5
39284 sed 's/^/| /' conftest.$ac_ext >&5
39285
39286 ac_cv_type_size_t=no
39287 fi
39288
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39290 fi
39291 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
39292 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
39293 if test $ac_cv_type_size_t = yes; then
39294 :
39295 else
39296
39297 cat >>confdefs.h <<_ACEOF
39298 #define size_t unsigned int
39299 _ACEOF
39300
39301 fi
39302
39303 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
39304 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
39305 if test "${ac_cv_type_uid_t+set}" = set; then
39306 echo $ECHO_N "(cached) $ECHO_C" >&6
39307 else
39308 cat >conftest.$ac_ext <<_ACEOF
39309 /* confdefs.h. */
39310 _ACEOF
39311 cat confdefs.h >>conftest.$ac_ext
39312 cat >>conftest.$ac_ext <<_ACEOF
39313 /* end confdefs.h. */
39314 #include <sys/types.h>
39315
39316 _ACEOF
39317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
39318 $EGREP "uid_t" >/dev/null 2>&1; then
39319 ac_cv_type_uid_t=yes
39320 else
39321 ac_cv_type_uid_t=no
39322 fi
39323 rm -f conftest*
39324
39325 fi
39326 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
39327 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
39328 if test $ac_cv_type_uid_t = no; then
39329
39330 cat >>confdefs.h <<\_ACEOF
39331 #define uid_t int
39332 _ACEOF
39333
39334
39335 cat >>confdefs.h <<\_ACEOF
39336 #define gid_t int
39337 _ACEOF
39338
39339 fi
39340
39341
39342 { echo "$as_me:$LINENO: checking for ssize_t" >&5
39343 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
39344 if test "${ac_cv_type_ssize_t+set}" = set; then
39345 echo $ECHO_N "(cached) $ECHO_C" >&6
39346 else
39347 cat >conftest.$ac_ext <<_ACEOF
39348 /* confdefs.h. */
39349 _ACEOF
39350 cat confdefs.h >>conftest.$ac_ext
39351 cat >>conftest.$ac_ext <<_ACEOF
39352 /* end confdefs.h. */
39353 $ac_includes_default
39354 typedef ssize_t ac__type_new_;
39355 int
39356 main ()
39357 {
39358 if ((ac__type_new_ *) 0)
39359 return 0;
39360 if (sizeof (ac__type_new_))
39361 return 0;
39362 ;
39363 return 0;
39364 }
39365 _ACEOF
39366 rm -f conftest.$ac_objext
39367 if { (ac_try="$ac_compile"
39368 case "(($ac_try" in
39369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39370 *) ac_try_echo=$ac_try;;
39371 esac
39372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39373 (eval "$ac_compile") 2>conftest.er1
39374 ac_status=$?
39375 grep -v '^ *+' conftest.er1 >conftest.err
39376 rm -f conftest.er1
39377 cat conftest.err >&5
39378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39379 (exit $ac_status); } &&
39380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39381 { (case "(($ac_try" in
39382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39383 *) ac_try_echo=$ac_try;;
39384 esac
39385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39386 (eval "$ac_try") 2>&5
39387 ac_status=$?
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); }; } &&
39390 { ac_try='test -s conftest.$ac_objext'
39391 { (case "(($ac_try" in
39392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39393 *) ac_try_echo=$ac_try;;
39394 esac
39395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39396 (eval "$ac_try") 2>&5
39397 ac_status=$?
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); }; }; then
39400 ac_cv_type_ssize_t=yes
39401 else
39402 echo "$as_me: failed program was:" >&5
39403 sed 's/^/| /' conftest.$ac_ext >&5
39404
39405 ac_cv_type_ssize_t=no
39406 fi
39407
39408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39409 fi
39410 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
39411 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
39412 if test $ac_cv_type_ssize_t = yes; then
39413
39414 cat >>confdefs.h <<_ACEOF
39415 #define HAVE_SSIZE_T 1
39416 _ACEOF
39417
39418
39419 fi
39420
39421
39422 ac_ext=cpp
39423 ac_cpp='$CXXCPP $CPPFLAGS'
39424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39427 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
39428 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
39429 if test "${wx_cv_size_t_is_uint+set}" = set; then
39430 echo $ECHO_N "(cached) $ECHO_C" >&6
39431 else
39432
39433 cat >conftest.$ac_ext <<_ACEOF
39434 /* confdefs.h. */
39435 _ACEOF
39436 cat confdefs.h >>conftest.$ac_ext
39437 cat >>conftest.$ac_ext <<_ACEOF
39438 /* end confdefs.h. */
39439 #include <stddef.h>
39440 int
39441 main ()
39442 {
39443
39444 return 0; }
39445
39446 struct Foo { void foo(size_t); void foo(unsigned int); };
39447
39448 int bar() {
39449
39450 ;
39451 return 0;
39452 }
39453 _ACEOF
39454 rm -f conftest.$ac_objext
39455 if { (ac_try="$ac_compile"
39456 case "(($ac_try" in
39457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39458 *) ac_try_echo=$ac_try;;
39459 esac
39460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39461 (eval "$ac_compile") 2>conftest.er1
39462 ac_status=$?
39463 grep -v '^ *+' conftest.er1 >conftest.err
39464 rm -f conftest.er1
39465 cat conftest.err >&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); } &&
39468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39469 { (case "(($ac_try" in
39470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39471 *) ac_try_echo=$ac_try;;
39472 esac
39473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39474 (eval "$ac_try") 2>&5
39475 ac_status=$?
39476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477 (exit $ac_status); }; } &&
39478 { ac_try='test -s conftest.$ac_objext'
39479 { (case "(($ac_try" in
39480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39481 *) ac_try_echo=$ac_try;;
39482 esac
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_try") 2>&5
39485 ac_status=$?
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); }; }; then
39488 wx_cv_size_t_is_uint=no
39489 else
39490 echo "$as_me: failed program was:" >&5
39491 sed 's/^/| /' conftest.$ac_ext >&5
39492
39493 wx_cv_size_t_is_uint=yes
39494
39495 fi
39496
39497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498
39499
39500 fi
39501 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
39502 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
39503
39504 if test "$wx_cv_size_t_is_uint" = "yes"; then
39505 cat >>confdefs.h <<\_ACEOF
39506 #define wxSIZE_T_IS_UINT 1
39507 _ACEOF
39508
39509 else
39510 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
39511 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
39512 if test "${wx_cv_size_t_is_ulong+set}" = set; then
39513 echo $ECHO_N "(cached) $ECHO_C" >&6
39514 else
39515 cat >conftest.$ac_ext <<_ACEOF
39516 /* confdefs.h. */
39517 _ACEOF
39518 cat confdefs.h >>conftest.$ac_ext
39519 cat >>conftest.$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39521 #include <stddef.h>
39522 int
39523 main ()
39524 {
39525
39526 return 0; }
39527
39528 struct Foo { void foo(size_t); void foo(unsigned long); };
39529
39530 int bar() {
39531
39532 ;
39533 return 0;
39534 }
39535 _ACEOF
39536 rm -f conftest.$ac_objext
39537 if { (ac_try="$ac_compile"
39538 case "(($ac_try" in
39539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39540 *) ac_try_echo=$ac_try;;
39541 esac
39542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39543 (eval "$ac_compile") 2>conftest.er1
39544 ac_status=$?
39545 grep -v '^ *+' conftest.er1 >conftest.err
39546 rm -f conftest.er1
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39551 { (case "(($ac_try" in
39552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39553 *) ac_try_echo=$ac_try;;
39554 esac
39555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39556 (eval "$ac_try") 2>&5
39557 ac_status=$?
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; } &&
39560 { ac_try='test -s conftest.$ac_objext'
39561 { (case "(($ac_try" in
39562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39563 *) ac_try_echo=$ac_try;;
39564 esac
39565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39566 (eval "$ac_try") 2>&5
39567 ac_status=$?
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); }; }; then
39570 wx_cv_size_t_is_ulong=no
39571 else
39572 echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39574
39575 wx_cv_size_t_is_ulong=yes
39576
39577 fi
39578
39579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39580
39581 fi
39582 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
39583 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
39584
39585 if test "$wx_cv_size_t_is_ulong" = "yes"; then
39586 cat >>confdefs.h <<\_ACEOF
39587 #define wxSIZE_T_IS_ULONG 1
39588 _ACEOF
39589
39590 fi
39591 fi
39592
39593 ac_ext=c
39594 ac_cpp='$CPP $CPPFLAGS'
39595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39598
39599
39600 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
39601 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
39602 if test "${wx_cv_struct_pw_gecos+set}" = set; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39604 else
39605
39606 cat >conftest.$ac_ext <<_ACEOF
39607 /* confdefs.h. */
39608 _ACEOF
39609 cat confdefs.h >>conftest.$ac_ext
39610 cat >>conftest.$ac_ext <<_ACEOF
39611 /* end confdefs.h. */
39612 #include <pwd.h>
39613 int
39614 main ()
39615 {
39616
39617 char *p;
39618 struct passwd *pw;
39619 p = pw->pw_gecos;
39620
39621 ;
39622 return 0;
39623 }
39624 _ACEOF
39625 rm -f conftest.$ac_objext
39626 if { (ac_try="$ac_compile"
39627 case "(($ac_try" in
39628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39629 *) ac_try_echo=$ac_try;;
39630 esac
39631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39632 (eval "$ac_compile") 2>conftest.er1
39633 ac_status=$?
39634 grep -v '^ *+' conftest.er1 >conftest.err
39635 rm -f conftest.er1
39636 cat conftest.err >&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } &&
39639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39640 { (case "(($ac_try" in
39641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39642 *) ac_try_echo=$ac_try;;
39643 esac
39644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39645 (eval "$ac_try") 2>&5
39646 ac_status=$?
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); }; } &&
39649 { ac_try='test -s conftest.$ac_objext'
39650 { (case "(($ac_try" in
39651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39652 *) ac_try_echo=$ac_try;;
39653 esac
39654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39655 (eval "$ac_try") 2>&5
39656 ac_status=$?
39657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658 (exit $ac_status); }; }; then
39659
39660 wx_cv_struct_pw_gecos=yes
39661
39662 else
39663 echo "$as_me: failed program was:" >&5
39664 sed 's/^/| /' conftest.$ac_ext >&5
39665
39666
39667 wx_cv_struct_pw_gecos=no
39668
39669
39670 fi
39671
39672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39673
39674
39675 fi
39676 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
39677 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
39678
39679 if test "$wx_cv_struct_pw_gecos" = "yes"; then
39680 cat >>confdefs.h <<\_ACEOF
39681 #define HAVE_PW_GECOS 1
39682 _ACEOF
39683
39684 fi
39685
39686
39687 if test "$wxUSE_WCHAR_T" = "yes"; then
39688 cat >>confdefs.h <<\_ACEOF
39689 #define wxUSE_WCHAR_T 1
39690 _ACEOF
39691
39692
39693 WCSLEN_FOUND=0
39694 WCHAR_LINK=
39695
39696 for ac_func in wcslen
39697 do
39698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39702 echo $ECHO_N "(cached) $ECHO_C" >&6
39703 else
39704 cat >conftest.$ac_ext <<_ACEOF
39705 /* confdefs.h. */
39706 _ACEOF
39707 cat confdefs.h >>conftest.$ac_ext
39708 cat >>conftest.$ac_ext <<_ACEOF
39709 /* end confdefs.h. */
39710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39712 #define $ac_func innocuous_$ac_func
39713
39714 /* System header to define __stub macros and hopefully few prototypes,
39715 which can conflict with char $ac_func (); below.
39716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39717 <limits.h> exists even on freestanding compilers. */
39718
39719 #ifdef __STDC__
39720 # include <limits.h>
39721 #else
39722 # include <assert.h>
39723 #endif
39724
39725 #undef $ac_func
39726
39727 /* Override any GCC internal prototype to avoid an error.
39728 Use char because int might match the return type of a GCC
39729 builtin and then its argument prototype would still apply. */
39730 #ifdef __cplusplus
39731 extern "C"
39732 #endif
39733 char $ac_func ();
39734 /* The GNU C library defines this for functions which it implements
39735 to always fail with ENOSYS. Some functions are actually named
39736 something starting with __ and the normal name is an alias. */
39737 #if defined __stub_$ac_func || defined __stub___$ac_func
39738 choke me
39739 #endif
39740
39741 int
39742 main ()
39743 {
39744 return $ac_func ();
39745 ;
39746 return 0;
39747 }
39748 _ACEOF
39749 rm -f conftest.$ac_objext conftest$ac_exeext
39750 if { (ac_try="$ac_link"
39751 case "(($ac_try" in
39752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39753 *) ac_try_echo=$ac_try;;
39754 esac
39755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39756 (eval "$ac_link") 2>conftest.er1
39757 ac_status=$?
39758 grep -v '^ *+' conftest.er1 >conftest.err
39759 rm -f conftest.er1
39760 cat conftest.err >&5
39761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39762 (exit $ac_status); } &&
39763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39764 { (case "(($ac_try" in
39765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39766 *) ac_try_echo=$ac_try;;
39767 esac
39768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39769 (eval "$ac_try") 2>&5
39770 ac_status=$?
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); }; } &&
39773 { ac_try='test -s conftest$ac_exeext'
39774 { (case "(($ac_try" in
39775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39777 esac
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_try") 2>&5
39780 ac_status=$?
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); }; }; then
39783 eval "$as_ac_var=yes"
39784 else
39785 echo "$as_me: failed program was:" >&5
39786 sed 's/^/| /' conftest.$ac_ext >&5
39787
39788 eval "$as_ac_var=no"
39789 fi
39790
39791 rm -f core conftest.err conftest.$ac_objext \
39792 conftest$ac_exeext conftest.$ac_ext
39793 fi
39794 ac_res=`eval echo '${'$as_ac_var'}'`
39795 { echo "$as_me:$LINENO: result: $ac_res" >&5
39796 echo "${ECHO_T}$ac_res" >&6; }
39797 if test `eval echo '${'$as_ac_var'}'` = yes; then
39798 cat >>confdefs.h <<_ACEOF
39799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39800 _ACEOF
39801 WCSLEN_FOUND=1
39802 fi
39803 done
39804
39805
39806 if test "$WCSLEN_FOUND" = 0; then
39807 if test "$TOOLKIT" = "MSW"; then
39808 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
39809 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
39810 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
39811 echo $ECHO_N "(cached) $ECHO_C" >&6
39812 else
39813 ac_check_lib_save_LIBS=$LIBS
39814 LIBS="-lmsvcrt $LIBS"
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821
39822 /* Override any GCC internal prototype to avoid an error.
39823 Use char because int might match the return type of a GCC
39824 builtin and then its argument prototype would still apply. */
39825 #ifdef __cplusplus
39826 extern "C"
39827 #endif
39828 char wcslen ();
39829 int
39830 main ()
39831 {
39832 return wcslen ();
39833 ;
39834 return 0;
39835 }
39836 _ACEOF
39837 rm -f conftest.$ac_objext conftest$ac_exeext
39838 if { (ac_try="$ac_link"
39839 case "(($ac_try" in
39840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39841 *) ac_try_echo=$ac_try;;
39842 esac
39843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39844 (eval "$ac_link") 2>conftest.er1
39845 ac_status=$?
39846 grep -v '^ *+' conftest.er1 >conftest.err
39847 rm -f conftest.er1
39848 cat conftest.err >&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); } &&
39851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39852 { (case "(($ac_try" in
39853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39854 *) ac_try_echo=$ac_try;;
39855 esac
39856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39857 (eval "$ac_try") 2>&5
39858 ac_status=$?
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); }; } &&
39861 { ac_try='test -s conftest$ac_exeext'
39862 { (case "(($ac_try" in
39863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39865 esac
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_try") 2>&5
39868 ac_status=$?
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); }; }; then
39871 ac_cv_lib_msvcrt_wcslen=yes
39872 else
39873 echo "$as_me: failed program was:" >&5
39874 sed 's/^/| /' conftest.$ac_ext >&5
39875
39876 ac_cv_lib_msvcrt_wcslen=no
39877 fi
39878
39879 rm -f core conftest.err conftest.$ac_objext \
39880 conftest$ac_exeext conftest.$ac_ext
39881 LIBS=$ac_check_lib_save_LIBS
39882 fi
39883 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
39884 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
39885 if test $ac_cv_lib_msvcrt_wcslen = yes; then
39886 WCHAR_OK=1
39887 fi
39888
39889 else
39890 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
39891 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
39892 if test "${ac_cv_lib_w_wcslen+set}" = set; then
39893 echo $ECHO_N "(cached) $ECHO_C" >&6
39894 else
39895 ac_check_lib_save_LIBS=$LIBS
39896 LIBS="-lw $LIBS"
39897 cat >conftest.$ac_ext <<_ACEOF
39898 /* confdefs.h. */
39899 _ACEOF
39900 cat confdefs.h >>conftest.$ac_ext
39901 cat >>conftest.$ac_ext <<_ACEOF
39902 /* end confdefs.h. */
39903
39904 /* Override any GCC internal prototype to avoid an error.
39905 Use char because int might match the return type of a GCC
39906 builtin and then its argument prototype would still apply. */
39907 #ifdef __cplusplus
39908 extern "C"
39909 #endif
39910 char wcslen ();
39911 int
39912 main ()
39913 {
39914 return wcslen ();
39915 ;
39916 return 0;
39917 }
39918 _ACEOF
39919 rm -f conftest.$ac_objext conftest$ac_exeext
39920 if { (ac_try="$ac_link"
39921 case "(($ac_try" in
39922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39923 *) ac_try_echo=$ac_try;;
39924 esac
39925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39926 (eval "$ac_link") 2>conftest.er1
39927 ac_status=$?
39928 grep -v '^ *+' conftest.er1 >conftest.err
39929 rm -f conftest.er1
39930 cat conftest.err >&5
39931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932 (exit $ac_status); } &&
39933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39934 { (case "(($ac_try" in
39935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39936 *) ac_try_echo=$ac_try;;
39937 esac
39938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39939 (eval "$ac_try") 2>&5
39940 ac_status=$?
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; } &&
39943 { ac_try='test -s conftest$ac_exeext'
39944 { (case "(($ac_try" in
39945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39946 *) ac_try_echo=$ac_try;;
39947 esac
39948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39949 (eval "$ac_try") 2>&5
39950 ac_status=$?
39951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39952 (exit $ac_status); }; }; then
39953 ac_cv_lib_w_wcslen=yes
39954 else
39955 echo "$as_me: failed program was:" >&5
39956 sed 's/^/| /' conftest.$ac_ext >&5
39957
39958 ac_cv_lib_w_wcslen=no
39959 fi
39960
39961 rm -f core conftest.err conftest.$ac_objext \
39962 conftest$ac_exeext conftest.$ac_ext
39963 LIBS=$ac_check_lib_save_LIBS
39964 fi
39965 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
39966 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
39967 if test $ac_cv_lib_w_wcslen = yes; then
39968
39969 WCHAR_LINK=" -lw"
39970 WCSLEN_FOUND=1
39971
39972 fi
39973
39974 fi
39975 fi
39976
39977 if test "$WCSLEN_FOUND" = 1; then
39978 cat >>confdefs.h <<\_ACEOF
39979 #define HAVE_WCSLEN 1
39980 _ACEOF
39981
39982 fi
39983
39984 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39985 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39986 fi
39987
39988 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
39989 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
39990 if test "${ac_cv_type_mbstate_t+set}" = set; then
39991 echo $ECHO_N "(cached) $ECHO_C" >&6
39992 else
39993 cat >conftest.$ac_ext <<_ACEOF
39994 /* confdefs.h. */
39995 _ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
39999 #include <wchar.h>
40000
40001 typedef mbstate_t ac__type_new_;
40002 int
40003 main ()
40004 {
40005 if ((ac__type_new_ *) 0)
40006 return 0;
40007 if (sizeof (ac__type_new_))
40008 return 0;
40009 ;
40010 return 0;
40011 }
40012 _ACEOF
40013 rm -f conftest.$ac_objext
40014 if { (ac_try="$ac_compile"
40015 case "(($ac_try" in
40016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40017 *) ac_try_echo=$ac_try;;
40018 esac
40019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40020 (eval "$ac_compile") 2>conftest.er1
40021 ac_status=$?
40022 grep -v '^ *+' conftest.er1 >conftest.err
40023 rm -f conftest.er1
40024 cat conftest.err >&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } &&
40027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40028 { (case "(($ac_try" in
40029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40030 *) ac_try_echo=$ac_try;;
40031 esac
40032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40033 (eval "$ac_try") 2>&5
40034 ac_status=$?
40035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40036 (exit $ac_status); }; } &&
40037 { ac_try='test -s conftest.$ac_objext'
40038 { (case "(($ac_try" in
40039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40040 *) ac_try_echo=$ac_try;;
40041 esac
40042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40043 (eval "$ac_try") 2>&5
40044 ac_status=$?
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); }; }; then
40047 ac_cv_type_mbstate_t=yes
40048 else
40049 echo "$as_me: failed program was:" >&5
40050 sed 's/^/| /' conftest.$ac_ext >&5
40051
40052 ac_cv_type_mbstate_t=no
40053 fi
40054
40055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40056 fi
40057 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
40058 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
40059 if test $ac_cv_type_mbstate_t = yes; then
40060
40061 cat >>confdefs.h <<_ACEOF
40062 #define HAVE_MBSTATE_T 1
40063 _ACEOF
40064
40065
40066 for ac_func in wcsrtombs
40067 do
40068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40071 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40072 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 else
40074 cat >conftest.$ac_ext <<_ACEOF
40075 /* confdefs.h. */
40076 _ACEOF
40077 cat confdefs.h >>conftest.$ac_ext
40078 cat >>conftest.$ac_ext <<_ACEOF
40079 /* end confdefs.h. */
40080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40082 #define $ac_func innocuous_$ac_func
40083
40084 /* System header to define __stub macros and hopefully few prototypes,
40085 which can conflict with char $ac_func (); below.
40086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40087 <limits.h> exists even on freestanding compilers. */
40088
40089 #ifdef __STDC__
40090 # include <limits.h>
40091 #else
40092 # include <assert.h>
40093 #endif
40094
40095 #undef $ac_func
40096
40097 /* Override any GCC internal prototype to avoid an error.
40098 Use char because int might match the return type of a GCC
40099 builtin and then its argument prototype would still apply. */
40100 #ifdef __cplusplus
40101 extern "C"
40102 #endif
40103 char $ac_func ();
40104 /* The GNU C library defines this for functions which it implements
40105 to always fail with ENOSYS. Some functions are actually named
40106 something starting with __ and the normal name is an alias. */
40107 #if defined __stub_$ac_func || defined __stub___$ac_func
40108 choke me
40109 #endif
40110
40111 int
40112 main ()
40113 {
40114 return $ac_func ();
40115 ;
40116 return 0;
40117 }
40118 _ACEOF
40119 rm -f conftest.$ac_objext conftest$ac_exeext
40120 if { (ac_try="$ac_link"
40121 case "(($ac_try" in
40122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40123 *) ac_try_echo=$ac_try;;
40124 esac
40125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40126 (eval "$ac_link") 2>conftest.er1
40127 ac_status=$?
40128 grep -v '^ *+' conftest.er1 >conftest.err
40129 rm -f conftest.er1
40130 cat conftest.err >&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } &&
40133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40134 { (case "(($ac_try" in
40135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40136 *) ac_try_echo=$ac_try;;
40137 esac
40138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40139 (eval "$ac_try") 2>&5
40140 ac_status=$?
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); }; } &&
40143 { ac_try='test -s conftest$ac_exeext'
40144 { (case "(($ac_try" in
40145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40146 *) ac_try_echo=$ac_try;;
40147 esac
40148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40149 (eval "$ac_try") 2>&5
40150 ac_status=$?
40151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40152 (exit $ac_status); }; }; then
40153 eval "$as_ac_var=yes"
40154 else
40155 echo "$as_me: failed program was:" >&5
40156 sed 's/^/| /' conftest.$ac_ext >&5
40157
40158 eval "$as_ac_var=no"
40159 fi
40160
40161 rm -f core conftest.err conftest.$ac_objext \
40162 conftest$ac_exeext conftest.$ac_ext
40163 fi
40164 ac_res=`eval echo '${'$as_ac_var'}'`
40165 { echo "$as_me:$LINENO: result: $ac_res" >&5
40166 echo "${ECHO_T}$ac_res" >&6; }
40167 if test `eval echo '${'$as_ac_var'}'` = yes; then
40168 cat >>confdefs.h <<_ACEOF
40169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40170 _ACEOF
40171
40172 fi
40173 done
40174
40175 fi
40176
40177 else
40178 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
40179 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
40180 fi
40181
40182
40183
40184 for ac_func in snprintf vsnprintf
40185 do
40186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40187 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40190 echo $ECHO_N "(cached) $ECHO_C" >&6
40191 else
40192 cat >conftest.$ac_ext <<_ACEOF
40193 /* confdefs.h. */
40194 _ACEOF
40195 cat confdefs.h >>conftest.$ac_ext
40196 cat >>conftest.$ac_ext <<_ACEOF
40197 /* end confdefs.h. */
40198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40200 #define $ac_func innocuous_$ac_func
40201
40202 /* System header to define __stub macros and hopefully few prototypes,
40203 which can conflict with char $ac_func (); below.
40204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40205 <limits.h> exists even on freestanding compilers. */
40206
40207 #ifdef __STDC__
40208 # include <limits.h>
40209 #else
40210 # include <assert.h>
40211 #endif
40212
40213 #undef $ac_func
40214
40215 /* Override any GCC internal prototype to avoid an error.
40216 Use char because int might match the return type of a GCC
40217 builtin and then its argument prototype would still apply. */
40218 #ifdef __cplusplus
40219 extern "C"
40220 #endif
40221 char $ac_func ();
40222 /* The GNU C library defines this for functions which it implements
40223 to always fail with ENOSYS. Some functions are actually named
40224 something starting with __ and the normal name is an alias. */
40225 #if defined __stub_$ac_func || defined __stub___$ac_func
40226 choke me
40227 #endif
40228
40229 int
40230 main ()
40231 {
40232 return $ac_func ();
40233 ;
40234 return 0;
40235 }
40236 _ACEOF
40237 rm -f conftest.$ac_objext conftest$ac_exeext
40238 if { (ac_try="$ac_link"
40239 case "(($ac_try" in
40240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40241 *) ac_try_echo=$ac_try;;
40242 esac
40243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40244 (eval "$ac_link") 2>conftest.er1
40245 ac_status=$?
40246 grep -v '^ *+' conftest.er1 >conftest.err
40247 rm -f conftest.er1
40248 cat conftest.err >&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); } &&
40251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40252 { (case "(($ac_try" in
40253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40254 *) ac_try_echo=$ac_try;;
40255 esac
40256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40257 (eval "$ac_try") 2>&5
40258 ac_status=$?
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; } &&
40261 { ac_try='test -s conftest$ac_exeext'
40262 { (case "(($ac_try" in
40263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40264 *) ac_try_echo=$ac_try;;
40265 esac
40266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40267 (eval "$ac_try") 2>&5
40268 ac_status=$?
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); }; }; then
40271 eval "$as_ac_var=yes"
40272 else
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.$ac_ext >&5
40275
40276 eval "$as_ac_var=no"
40277 fi
40278
40279 rm -f core conftest.err conftest.$ac_objext \
40280 conftest$ac_exeext conftest.$ac_ext
40281 fi
40282 ac_res=`eval echo '${'$as_ac_var'}'`
40283 { echo "$as_me:$LINENO: result: $ac_res" >&5
40284 echo "${ECHO_T}$ac_res" >&6; }
40285 if test `eval echo '${'$as_ac_var'}'` = yes; then
40286 cat >>confdefs.h <<_ACEOF
40287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40288 _ACEOF
40289
40290 fi
40291 done
40292
40293
40294 if test "$ac_cv_func_vsnprintf" = "yes"; then
40295 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
40296 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
40297 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
40298 echo $ECHO_N "(cached) $ECHO_C" >&6
40299 else
40300
40301 cat >conftest.$ac_ext <<_ACEOF
40302 /* confdefs.h. */
40303 _ACEOF
40304 cat confdefs.h >>conftest.$ac_ext
40305 cat >>conftest.$ac_ext <<_ACEOF
40306 /* end confdefs.h. */
40307
40308 #include <stdio.h>
40309 #include <stdarg.h>
40310 #ifdef __MSL__
40311 #if __MSL__ >= 0x6000
40312 namespace std {}
40313 using namespace std;
40314 #endif
40315 #endif
40316
40317 int
40318 main ()
40319 {
40320
40321 char *buf;
40322 va_list ap;
40323 vsnprintf(buf, 10u, "%s", ap);
40324
40325 ;
40326 return 0;
40327 }
40328 _ACEOF
40329 rm -f conftest.$ac_objext
40330 if { (ac_try="$ac_compile"
40331 case "(($ac_try" in
40332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40333 *) ac_try_echo=$ac_try;;
40334 esac
40335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40336 (eval "$ac_compile") 2>conftest.er1
40337 ac_status=$?
40338 grep -v '^ *+' conftest.er1 >conftest.err
40339 rm -f conftest.er1
40340 cat conftest.err >&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); } &&
40343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40344 { (case "(($ac_try" in
40345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40346 *) ac_try_echo=$ac_try;;
40347 esac
40348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40349 (eval "$ac_try") 2>&5
40350 ac_status=$?
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); }; } &&
40353 { ac_try='test -s conftest.$ac_objext'
40354 { (case "(($ac_try" in
40355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40356 *) ac_try_echo=$ac_try;;
40357 esac
40358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40359 (eval "$ac_try") 2>&5
40360 ac_status=$?
40361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40362 (exit $ac_status); }; }; then
40363 wx_cv_func_vsnprintf_decl=yes
40364 else
40365 echo "$as_me: failed program was:" >&5
40366 sed 's/^/| /' conftest.$ac_ext >&5
40367
40368 wx_cv_func_vsnprintf_decl=no
40369
40370 fi
40371
40372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40373
40374
40375 fi
40376 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
40377 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
40378
40379 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
40380 cat >>confdefs.h <<\_ACEOF
40381 #define HAVE_VSNPRINTF_DECL 1
40382 _ACEOF
40383
40384
40385 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
40386 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
40387 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
40388 echo $ECHO_N "(cached) $ECHO_C" >&6
40389 else
40390
40391 cat >conftest.$ac_ext <<_ACEOF
40392 /* confdefs.h. */
40393 _ACEOF
40394 cat confdefs.h >>conftest.$ac_ext
40395 cat >>conftest.$ac_ext <<_ACEOF
40396 /* end confdefs.h. */
40397
40398 #include <stdio.h>
40399 #include <stdarg.h>
40400 #ifdef __MSL__
40401 #if __MSL__ >= 0x6000
40402 namespace std {}
40403 using namespace std;
40404 #endif
40405 #endif
40406
40407 int
40408 main ()
40409 {
40410
40411 char *buf;
40412 va_list ap;
40413 const char *fmt = "%s";
40414 vsnprintf(buf, 10u, fmt, ap);
40415
40416 ;
40417 return 0;
40418 }
40419 _ACEOF
40420 rm -f conftest.$ac_objext
40421 if { (ac_try="$ac_compile"
40422 case "(($ac_try" in
40423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40424 *) ac_try_echo=$ac_try;;
40425 esac
40426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40427 (eval "$ac_compile") 2>conftest.er1
40428 ac_status=$?
40429 grep -v '^ *+' conftest.er1 >conftest.err
40430 rm -f conftest.er1
40431 cat conftest.err >&5
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); } &&
40434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40435 { (case "(($ac_try" in
40436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40437 *) ac_try_echo=$ac_try;;
40438 esac
40439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40440 (eval "$ac_try") 2>&5
40441 ac_status=$?
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); }; } &&
40444 { ac_try='test -s conftest.$ac_objext'
40445 { (case "(($ac_try" in
40446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40447 *) ac_try_echo=$ac_try;;
40448 esac
40449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40450 (eval "$ac_try") 2>&5
40451 ac_status=$?
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; }; then
40454 wx_cv_func_broken_vsnprintf_decl=no
40455 else
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.$ac_ext >&5
40458
40459 wx_cv_func_broken_vsnprintf_decl=yes
40460
40461 fi
40462
40463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40464
40465
40466 fi
40467 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
40468 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
40469
40470 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
40471 cat >>confdefs.h <<\_ACEOF
40472 #define HAVE_BROKEN_VSNPRINTF_DECL 1
40473 _ACEOF
40474
40475 fi
40476 fi
40477 fi
40478
40479 if test "$ac_cv_func_snprintf" = "yes"; then
40480 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
40481 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
40482 if test "${wx_cv_func_snprintf_decl+set}" = set; then
40483 echo $ECHO_N "(cached) $ECHO_C" >&6
40484 else
40485
40486 cat >conftest.$ac_ext <<_ACEOF
40487 /* confdefs.h. */
40488 _ACEOF
40489 cat confdefs.h >>conftest.$ac_ext
40490 cat >>conftest.$ac_ext <<_ACEOF
40491 /* end confdefs.h. */
40492
40493 #include <stdio.h>
40494 #include <stdarg.h>
40495 #ifdef __MSL__
40496 #if __MSL__ >= 0x6000
40497 namespace std {}
40498 using namespace std;
40499 #endif
40500 #endif
40501
40502 int
40503 main ()
40504 {
40505
40506 char *buf;
40507 snprintf(buf, 10u, "%s", "wx");
40508
40509 ;
40510 return 0;
40511 }
40512 _ACEOF
40513 rm -f conftest.$ac_objext
40514 if { (ac_try="$ac_compile"
40515 case "(($ac_try" in
40516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40517 *) ac_try_echo=$ac_try;;
40518 esac
40519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40520 (eval "$ac_compile") 2>conftest.er1
40521 ac_status=$?
40522 grep -v '^ *+' conftest.er1 >conftest.err
40523 rm -f conftest.er1
40524 cat conftest.err >&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } &&
40527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40528 { (case "(($ac_try" in
40529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40530 *) ac_try_echo=$ac_try;;
40531 esac
40532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40533 (eval "$ac_try") 2>&5
40534 ac_status=$?
40535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40536 (exit $ac_status); }; } &&
40537 { ac_try='test -s conftest.$ac_objext'
40538 { (case "(($ac_try" in
40539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40540 *) ac_try_echo=$ac_try;;
40541 esac
40542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40543 (eval "$ac_try") 2>&5
40544 ac_status=$?
40545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40546 (exit $ac_status); }; }; then
40547 wx_cv_func_snprintf_decl=yes
40548 else
40549 echo "$as_me: failed program was:" >&5
40550 sed 's/^/| /' conftest.$ac_ext >&5
40551
40552 wx_cv_func_snprintf_decl=no
40553
40554 fi
40555
40556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40557
40558
40559 fi
40560 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
40561 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
40562
40563 if test "$wx_cv_func_snprintf_decl" = "yes"; then
40564 cat >>confdefs.h <<\_ACEOF
40565 #define HAVE_SNPRINTF_DECL 1
40566 _ACEOF
40567
40568
40569 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
40570 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
40571 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
40572 echo $ECHO_N "(cached) $ECHO_C" >&6
40573 else
40574
40575 cat >conftest.$ac_ext <<_ACEOF
40576 /* confdefs.h. */
40577 _ACEOF
40578 cat confdefs.h >>conftest.$ac_ext
40579 cat >>conftest.$ac_ext <<_ACEOF
40580 /* end confdefs.h. */
40581
40582 #include <stdio.h>
40583 #include <stdarg.h>
40584 #ifdef __MSL__
40585 #if __MSL__ >= 0x6000
40586 namespace std {}
40587 using namespace std;
40588 #endif
40589 #endif
40590
40591 int
40592 main ()
40593 {
40594
40595 char *buf;
40596 const char *fmt = "%s";
40597 snprintf(buf, 10u, fmt, "wx");
40598
40599 ;
40600 return 0;
40601 }
40602 _ACEOF
40603 rm -f conftest.$ac_objext
40604 if { (ac_try="$ac_compile"
40605 case "(($ac_try" in
40606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40607 *) ac_try_echo=$ac_try;;
40608 esac
40609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40610 (eval "$ac_compile") 2>conftest.er1
40611 ac_status=$?
40612 grep -v '^ *+' conftest.er1 >conftest.err
40613 rm -f conftest.er1
40614 cat conftest.err >&5
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); } &&
40617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40618 { (case "(($ac_try" in
40619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40620 *) ac_try_echo=$ac_try;;
40621 esac
40622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40623 (eval "$ac_try") 2>&5
40624 ac_status=$?
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); }; } &&
40627 { ac_try='test -s conftest.$ac_objext'
40628 { (case "(($ac_try" in
40629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40630 *) ac_try_echo=$ac_try;;
40631 esac
40632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40633 (eval "$ac_try") 2>&5
40634 ac_status=$?
40635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636 (exit $ac_status); }; }; then
40637 wx_cv_func_broken_snprintf_decl=no
40638 else
40639 echo "$as_me: failed program was:" >&5
40640 sed 's/^/| /' conftest.$ac_ext >&5
40641
40642 wx_cv_func_broken_snprintf_decl=yes
40643
40644 fi
40645
40646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40647
40648
40649 fi
40650 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
40651 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
40652
40653 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
40654 cat >>confdefs.h <<\_ACEOF
40655 #define HAVE_BROKEN_SNPRINTF_DECL 1
40656 _ACEOF
40657
40658 fi
40659 fi
40660
40661 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
40662
40663 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
40664 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
40665 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
40666 echo $ECHO_N "(cached) $ECHO_C" >&6
40667 else
40668
40669 if test "$cross_compiling" = yes; then
40670
40671 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
40672 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
40673 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
40674 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
40675 wx_cv_func_snprintf_pos_params=no
40676
40677
40678 else
40679 cat >conftest.$ac_ext <<_ACEOF
40680 /* confdefs.h. */
40681 _ACEOF
40682 cat confdefs.h >>conftest.$ac_ext
40683 cat >>conftest.$ac_ext <<_ACEOF
40684 /* end confdefs.h. */
40685
40686 #include <stdio.h>
40687
40688 int main (void)
40689 {
40690 char buffer[128];
40691 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
40692 if (strcmp ("2 3 1", buffer) == 0)
40693 exit (0);
40694 exit (1);
40695 }
40696
40697 _ACEOF
40698 rm -f conftest$ac_exeext
40699 if { (ac_try="$ac_link"
40700 case "(($ac_try" in
40701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40702 *) ac_try_echo=$ac_try;;
40703 esac
40704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40705 (eval "$ac_link") 2>&5
40706 ac_status=$?
40707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40709 { (case "(($ac_try" in
40710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40711 *) ac_try_echo=$ac_try;;
40712 esac
40713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40714 (eval "$ac_try") 2>&5
40715 ac_status=$?
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); }; }; then
40718 wx_cv_func_snprintf_pos_params=no
40719 else
40720 echo "$as_me: program exited with status $ac_status" >&5
40721 echo "$as_me: failed program was:" >&5
40722 sed 's/^/| /' conftest.$ac_ext >&5
40723
40724 ( exit $ac_status )
40725 wx_cv_func_snprintf_pos_params=yes
40726 fi
40727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40728 fi
40729
40730
40731
40732
40733 fi
40734 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
40735 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
40736
40737 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
40738 cat >>confdefs.h <<\_ACEOF
40739 #define HAVE_UNIX98_PRINTF 1
40740 _ACEOF
40741
40742 fi
40743 fi
40744 fi
40745
40746 if test "$wxUSE_UNICODE" = yes; then
40747
40748
40749 for ac_func in swprintf
40750 do
40751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40752 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40754 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40755 echo $ECHO_N "(cached) $ECHO_C" >&6
40756 else
40757 cat >conftest.$ac_ext <<_ACEOF
40758 /* confdefs.h. */
40759 _ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40765 #define $ac_func innocuous_$ac_func
40766
40767 /* System header to define __stub macros and hopefully few prototypes,
40768 which can conflict with char $ac_func (); below.
40769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40770 <limits.h> exists even on freestanding compilers. */
40771
40772 #ifdef __STDC__
40773 # include <limits.h>
40774 #else
40775 # include <assert.h>
40776 #endif
40777
40778 #undef $ac_func
40779
40780 /* Override any GCC internal prototype to avoid an error.
40781 Use char because int might match the return type of a GCC
40782 builtin and then its argument prototype would still apply. */
40783 #ifdef __cplusplus
40784 extern "C"
40785 #endif
40786 char $ac_func ();
40787 /* The GNU C library defines this for functions which it implements
40788 to always fail with ENOSYS. Some functions are actually named
40789 something starting with __ and the normal name is an alias. */
40790 #if defined __stub_$ac_func || defined __stub___$ac_func
40791 choke me
40792 #endif
40793
40794 int
40795 main ()
40796 {
40797 return $ac_func ();
40798 ;
40799 return 0;
40800 }
40801 _ACEOF
40802 rm -f conftest.$ac_objext conftest$ac_exeext
40803 if { (ac_try="$ac_link"
40804 case "(($ac_try" in
40805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40806 *) ac_try_echo=$ac_try;;
40807 esac
40808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40809 (eval "$ac_link") 2>conftest.er1
40810 ac_status=$?
40811 grep -v '^ *+' conftest.er1 >conftest.err
40812 rm -f conftest.er1
40813 cat conftest.err >&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); } &&
40816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40817 { (case "(($ac_try" in
40818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40819 *) ac_try_echo=$ac_try;;
40820 esac
40821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40822 (eval "$ac_try") 2>&5
40823 ac_status=$?
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); }; } &&
40826 { ac_try='test -s conftest$ac_exeext'
40827 { (case "(($ac_try" in
40828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40829 *) ac_try_echo=$ac_try;;
40830 esac
40831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40832 (eval "$ac_try") 2>&5
40833 ac_status=$?
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); }; }; then
40836 eval "$as_ac_var=yes"
40837 else
40838 echo "$as_me: failed program was:" >&5
40839 sed 's/^/| /' conftest.$ac_ext >&5
40840
40841 eval "$as_ac_var=no"
40842 fi
40843
40844 rm -f core conftest.err conftest.$ac_objext \
40845 conftest$ac_exeext conftest.$ac_ext
40846 fi
40847 ac_res=`eval echo '${'$as_ac_var'}'`
40848 { echo "$as_me:$LINENO: result: $ac_res" >&5
40849 echo "${ECHO_T}$ac_res" >&6; }
40850 if test `eval echo '${'$as_ac_var'}'` = yes; then
40851 cat >>confdefs.h <<_ACEOF
40852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40853 _ACEOF
40854
40855 fi
40856 done
40857
40858
40859 if test "$ac_cv_func_swprintf" = "yes"; then
40860 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
40861 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
40862 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
40863 echo $ECHO_N "(cached) $ECHO_C" >&6
40864 else
40865
40866 cat >conftest.$ac_ext <<_ACEOF
40867 /* confdefs.h. */
40868 _ACEOF
40869 cat confdefs.h >>conftest.$ac_ext
40870 cat >>conftest.$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40872
40873 #include <stdio.h>
40874 #include <stdarg.h>
40875 #include <wchar.h>
40876
40877 int
40878 main ()
40879 {
40880
40881 wchar_t *buf;
40882 const wchar_t *fmt = L"test";
40883 swprintf(buf, 10u, fmt);
40884
40885 ;
40886 return 0;
40887 }
40888 _ACEOF
40889 rm -f conftest.$ac_objext
40890 if { (ac_try="$ac_compile"
40891 case "(($ac_try" in
40892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40893 *) ac_try_echo=$ac_try;;
40894 esac
40895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40896 (eval "$ac_compile") 2>conftest.er1
40897 ac_status=$?
40898 grep -v '^ *+' conftest.er1 >conftest.err
40899 rm -f conftest.er1
40900 cat conftest.err >&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } &&
40903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40904 { (case "(($ac_try" in
40905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40906 *) ac_try_echo=$ac_try;;
40907 esac
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_try") 2>&5
40910 ac_status=$?
40911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40912 (exit $ac_status); }; } &&
40913 { ac_try='test -s conftest.$ac_objext'
40914 { (case "(($ac_try" in
40915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40916 *) ac_try_echo=$ac_try;;
40917 esac
40918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40919 (eval "$ac_try") 2>&5
40920 ac_status=$?
40921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922 (exit $ac_status); }; }; then
40923 wx_cv_func_broken_swprintf_decl=no
40924 else
40925 echo "$as_me: failed program was:" >&5
40926 sed 's/^/| /' conftest.$ac_ext >&5
40927
40928 wx_cv_func_broken_swprintf_decl=yes
40929
40930 fi
40931
40932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40933
40934
40935 fi
40936 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
40937 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
40938
40939 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
40940 cat >>confdefs.h <<\_ACEOF
40941 #define HAVE_BROKEN_SWPRINTF_DECL 1
40942 _ACEOF
40943
40944 fi
40945 fi
40946
40947 wchar_headers="#include <stdio.h>
40948 #include <wchar.h>"
40949 case "${host}" in
40950 *-*-solaris2* )
40951
40952 for ac_header in widec.h
40953 do
40954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40959 echo $ECHO_N "(cached) $ECHO_C" >&6
40960 fi
40961 ac_res=`eval echo '${'$as_ac_Header'}'`
40962 { echo "$as_me:$LINENO: result: $ac_res" >&5
40963 echo "${ECHO_T}$ac_res" >&6; }
40964 else
40965 # Is the header compilable?
40966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
40967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
40968 cat >conftest.$ac_ext <<_ACEOF
40969 /* confdefs.h. */
40970 _ACEOF
40971 cat confdefs.h >>conftest.$ac_ext
40972 cat >>conftest.$ac_ext <<_ACEOF
40973 /* end confdefs.h. */
40974 $ac_includes_default
40975 #include <$ac_header>
40976 _ACEOF
40977 rm -f conftest.$ac_objext
40978 if { (ac_try="$ac_compile"
40979 case "(($ac_try" in
40980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40981 *) ac_try_echo=$ac_try;;
40982 esac
40983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40984 (eval "$ac_compile") 2>conftest.er1
40985 ac_status=$?
40986 grep -v '^ *+' conftest.er1 >conftest.err
40987 rm -f conftest.er1
40988 cat conftest.err >&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } &&
40991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40992 { (case "(($ac_try" in
40993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40994 *) ac_try_echo=$ac_try;;
40995 esac
40996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40997 (eval "$ac_try") 2>&5
40998 ac_status=$?
40999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000 (exit $ac_status); }; } &&
41001 { ac_try='test -s conftest.$ac_objext'
41002 { (case "(($ac_try" in
41003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41004 *) ac_try_echo=$ac_try;;
41005 esac
41006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41007 (eval "$ac_try") 2>&5
41008 ac_status=$?
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; }; then
41011 ac_header_compiler=yes
41012 else
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41015
41016 ac_header_compiler=no
41017 fi
41018
41019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41020 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41021 echo "${ECHO_T}$ac_header_compiler" >&6; }
41022
41023 # Is the header present?
41024 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
41025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
41026 cat >conftest.$ac_ext <<_ACEOF
41027 /* confdefs.h. */
41028 _ACEOF
41029 cat confdefs.h >>conftest.$ac_ext
41030 cat >>conftest.$ac_ext <<_ACEOF
41031 /* end confdefs.h. */
41032 #include <$ac_header>
41033 _ACEOF
41034 if { (ac_try="$ac_cpp conftest.$ac_ext"
41035 case "(($ac_try" in
41036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41037 *) ac_try_echo=$ac_try;;
41038 esac
41039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
41041 ac_status=$?
41042 grep -v '^ *+' conftest.er1 >conftest.err
41043 rm -f conftest.er1
41044 cat conftest.err >&5
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); } >/dev/null; then
41047 if test -s conftest.err; then
41048 ac_cpp_err=$ac_c_preproc_warn_flag
41049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41050 else
41051 ac_cpp_err=
41052 fi
41053 else
41054 ac_cpp_err=yes
41055 fi
41056 if test -z "$ac_cpp_err"; then
41057 ac_header_preproc=yes
41058 else
41059 echo "$as_me: failed program was:" >&5
41060 sed 's/^/| /' conftest.$ac_ext >&5
41061
41062 ac_header_preproc=no
41063 fi
41064
41065 rm -f conftest.err conftest.$ac_ext
41066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41067 echo "${ECHO_T}$ac_header_preproc" >&6; }
41068
41069 # So? What about this header?
41070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41071 yes:no: )
41072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41076 ac_header_preproc=yes
41077 ;;
41078 no:yes:* )
41079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41091 ( cat <<\_ASBOX
41092 ## ----------------------------------------- ##
41093 ## Report this to wx-dev@lists.wxwidgets.org ##
41094 ## ----------------------------------------- ##
41095 _ASBOX
41096 ) | sed "s/^/$as_me: WARNING: /" >&2
41097 ;;
41098 esac
41099 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41101 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41102 echo $ECHO_N "(cached) $ECHO_C" >&6
41103 else
41104 eval "$as_ac_Header=\$ac_header_preproc"
41105 fi
41106 ac_res=`eval echo '${'$as_ac_Header'}'`
41107 { echo "$as_me:$LINENO: result: $ac_res" >&5
41108 echo "${ECHO_T}$ac_res" >&6; }
41109
41110 fi
41111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41112 cat >>confdefs.h <<_ACEOF
41113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41114 _ACEOF
41115
41116 fi
41117
41118 done
41119
41120 if test "$ac_cv_header_widec_h" = "yes"; then
41121 wchar_headers="$wchar_headers
41122 #include <widec.h>"
41123 fi
41124 esac
41125
41126
41127 for wx_func in wputc wputchar putws fputws wprintf vswprintf
41128 do
41129 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41130 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41131 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41132 echo $ECHO_N "(cached) $ECHO_C" >&6
41133 else
41134
41135 cat >conftest.$ac_ext <<_ACEOF
41136
41137 /* confdefs.h. */
41138 _ACEOF
41139 cat confdefs.h >>conftest.$ac_ext
41140 cat >>conftest.$ac_ext <<_ACEOF
41141 /* end confdefs.h. */
41142
41143 $wchar_headers
41144 $ac_includes_default
41145
41146 int
41147 main ()
41148 {
41149
41150 #ifndef $wx_func
41151 &$wx_func;
41152 #endif
41153
41154
41155 ;
41156 return 0;
41157 }
41158
41159 _ACEOF
41160 rm -f conftest.$ac_objext conftest$ac_exeext
41161 if { (ac_try="$ac_link"
41162 case "(($ac_try" in
41163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41164 *) ac_try_echo=$ac_try;;
41165 esac
41166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41167 (eval "$ac_link") 2>conftest.er1
41168 ac_status=$?
41169 grep -v '^ *+' conftest.er1 >conftest.err
41170 rm -f conftest.er1
41171 cat conftest.err >&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); } &&
41174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41175 { (case "(($ac_try" in
41176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41177 *) ac_try_echo=$ac_try;;
41178 esac
41179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41180 (eval "$ac_try") 2>&5
41181 ac_status=$?
41182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41183 (exit $ac_status); }; } &&
41184 { ac_try='test -s conftest$ac_exeext'
41185 { (case "(($ac_try" in
41186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41187 *) ac_try_echo=$ac_try;;
41188 esac
41189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41190 (eval "$ac_try") 2>&5
41191 ac_status=$?
41192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41193 (exit $ac_status); }; }; then
41194 eval wx_cv_func_$wx_func=yes
41195 else
41196 echo "$as_me: failed program was:" >&5
41197 sed 's/^/| /' conftest.$ac_ext >&5
41198
41199 eval wx_cv_func_$wx_func=no
41200 fi
41201
41202 rm -f core conftest.err conftest.$ac_objext \
41203 conftest$ac_exeext conftest.$ac_ext
41204
41205 fi
41206 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41207 { echo "$as_me:$LINENO: result: $ac_res" >&5
41208 echo "${ECHO_T}$ac_res" >&6; }
41209
41210 if eval test \$wx_cv_func_$wx_func = yes
41211 then
41212 cat >>confdefs.h <<_ACEOF
41213 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41214 _ACEOF
41215
41216
41217 else
41218 :
41219
41220 fi
41221 done
41222
41223
41224 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
41225 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
41226 cat >conftest.$ac_ext <<_ACEOF
41227 /* confdefs.h. */
41228 _ACEOF
41229 cat confdefs.h >>conftest.$ac_ext
41230 cat >>conftest.$ac_ext <<_ACEOF
41231 /* end confdefs.h. */
41232 #include <wchar.h>
41233 int
41234 main ()
41235 {
41236 &_vsnwprintf;
41237 ;
41238 return 0;
41239 }
41240 _ACEOF
41241 rm -f conftest.$ac_objext
41242 if { (ac_try="$ac_compile"
41243 case "(($ac_try" in
41244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41245 *) ac_try_echo=$ac_try;;
41246 esac
41247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41248 (eval "$ac_compile") 2>conftest.er1
41249 ac_status=$?
41250 grep -v '^ *+' conftest.er1 >conftest.err
41251 rm -f conftest.er1
41252 cat conftest.err >&5
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); } &&
41255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41256 { (case "(($ac_try" in
41257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41258 *) ac_try_echo=$ac_try;;
41259 esac
41260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41261 (eval "$ac_try") 2>&5
41262 ac_status=$?
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); }; } &&
41265 { ac_try='test -s conftest.$ac_objext'
41266 { (case "(($ac_try" in
41267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41268 *) ac_try_echo=$ac_try;;
41269 esac
41270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41271 (eval "$ac_try") 2>&5
41272 ac_status=$?
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); }; }; then
41275 { echo "$as_me:$LINENO: result: yes" >&5
41276 echo "${ECHO_T}yes" >&6; }
41277 cat >>confdefs.h <<\_ACEOF
41278 #define HAVE__VSNWPRINTF 1
41279 _ACEOF
41280
41281 else
41282 echo "$as_me: failed program was:" >&5
41283 sed 's/^/| /' conftest.$ac_ext >&5
41284
41285 { echo "$as_me:$LINENO: result: no" >&5
41286 echo "${ECHO_T}no" >&6; }
41287 fi
41288
41289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
41290 fi
41291
41292 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
41293
41294 for wx_func in fnmatch
41295 do
41296 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41297 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41298 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41299 echo $ECHO_N "(cached) $ECHO_C" >&6
41300 else
41301
41302 cat >conftest.$ac_ext <<_ACEOF
41303
41304 /* confdefs.h. */
41305 _ACEOF
41306 cat confdefs.h >>conftest.$ac_ext
41307 cat >>conftest.$ac_ext <<_ACEOF
41308 /* end confdefs.h. */
41309
41310 #include <fnmatch.h>
41311 $ac_includes_default
41312
41313 int
41314 main ()
41315 {
41316
41317 #ifndef $wx_func
41318 &$wx_func;
41319 #endif
41320
41321
41322 ;
41323 return 0;
41324 }
41325
41326 _ACEOF
41327 rm -f conftest.$ac_objext conftest$ac_exeext
41328 if { (ac_try="$ac_link"
41329 case "(($ac_try" in
41330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41331 *) ac_try_echo=$ac_try;;
41332 esac
41333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41334 (eval "$ac_link") 2>conftest.er1
41335 ac_status=$?
41336 grep -v '^ *+' conftest.er1 >conftest.err
41337 rm -f conftest.er1
41338 cat conftest.err >&5
41339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41340 (exit $ac_status); } &&
41341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41342 { (case "(($ac_try" in
41343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41344 *) ac_try_echo=$ac_try;;
41345 esac
41346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41347 (eval "$ac_try") 2>&5
41348 ac_status=$?
41349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41350 (exit $ac_status); }; } &&
41351 { ac_try='test -s conftest$ac_exeext'
41352 { (case "(($ac_try" in
41353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41354 *) ac_try_echo=$ac_try;;
41355 esac
41356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41357 (eval "$ac_try") 2>&5
41358 ac_status=$?
41359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41360 (exit $ac_status); }; }; then
41361 eval wx_cv_func_$wx_func=yes
41362 else
41363 echo "$as_me: failed program was:" >&5
41364 sed 's/^/| /' conftest.$ac_ext >&5
41365
41366 eval wx_cv_func_$wx_func=no
41367 fi
41368
41369 rm -f core conftest.err conftest.$ac_objext \
41370 conftest$ac_exeext conftest.$ac_ext
41371
41372 fi
41373 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41374 { echo "$as_me:$LINENO: result: $ac_res" >&5
41375 echo "${ECHO_T}$ac_res" >&6; }
41376
41377 if eval test \$wx_cv_func_$wx_func = yes
41378 then
41379 cat >>confdefs.h <<_ACEOF
41380 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41381 _ACEOF
41382
41383
41384 else
41385 :
41386
41387 fi
41388 done
41389
41390 fi
41391
41392 if test "$wxUSE_FILE" = "yes"; then
41393
41394 for wx_func in fsync
41395 do
41396 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41397 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41398 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41399 echo $ECHO_N "(cached) $ECHO_C" >&6
41400 else
41401
41402 cat >conftest.$ac_ext <<_ACEOF
41403
41404 /* confdefs.h. */
41405 _ACEOF
41406 cat confdefs.h >>conftest.$ac_ext
41407 cat >>conftest.$ac_ext <<_ACEOF
41408 /* end confdefs.h. */
41409
41410
41411 $ac_includes_default
41412
41413 int
41414 main ()
41415 {
41416
41417 #ifndef $wx_func
41418 &$wx_func;
41419 #endif
41420
41421
41422 ;
41423 return 0;
41424 }
41425
41426 _ACEOF
41427 rm -f conftest.$ac_objext conftest$ac_exeext
41428 if { (ac_try="$ac_link"
41429 case "(($ac_try" in
41430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41431 *) ac_try_echo=$ac_try;;
41432 esac
41433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41434 (eval "$ac_link") 2>conftest.er1
41435 ac_status=$?
41436 grep -v '^ *+' conftest.er1 >conftest.err
41437 rm -f conftest.er1
41438 cat conftest.err >&5
41439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41440 (exit $ac_status); } &&
41441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41442 { (case "(($ac_try" in
41443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41444 *) ac_try_echo=$ac_try;;
41445 esac
41446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41447 (eval "$ac_try") 2>&5
41448 ac_status=$?
41449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450 (exit $ac_status); }; } &&
41451 { ac_try='test -s conftest$ac_exeext'
41452 { (case "(($ac_try" in
41453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41454 *) ac_try_echo=$ac_try;;
41455 esac
41456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41457 (eval "$ac_try") 2>&5
41458 ac_status=$?
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); }; }; then
41461 eval wx_cv_func_$wx_func=yes
41462 else
41463 echo "$as_me: failed program was:" >&5
41464 sed 's/^/| /' conftest.$ac_ext >&5
41465
41466 eval wx_cv_func_$wx_func=no
41467 fi
41468
41469 rm -f core conftest.err conftest.$ac_objext \
41470 conftest$ac_exeext conftest.$ac_ext
41471
41472 fi
41473 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41474 { echo "$as_me:$LINENO: result: $ac_res" >&5
41475 echo "${ECHO_T}$ac_res" >&6; }
41476
41477 if eval test \$wx_cv_func_$wx_func = yes
41478 then
41479 cat >>confdefs.h <<_ACEOF
41480 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41481 _ACEOF
41482
41483
41484 else
41485 :
41486
41487 fi
41488 done
41489
41490 fi
41491
41492
41493 for wx_func in round
41494 do
41495 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41496 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41497 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41498 echo $ECHO_N "(cached) $ECHO_C" >&6
41499 else
41500
41501 cat >conftest.$ac_ext <<_ACEOF
41502
41503 /* confdefs.h. */
41504 _ACEOF
41505 cat confdefs.h >>conftest.$ac_ext
41506 cat >>conftest.$ac_ext <<_ACEOF
41507 /* end confdefs.h. */
41508
41509 #include <math.h>
41510 $ac_includes_default
41511
41512 int
41513 main ()
41514 {
41515
41516 #ifndef $wx_func
41517 &$wx_func;
41518 #endif
41519
41520
41521 ;
41522 return 0;
41523 }
41524
41525 _ACEOF
41526 rm -f conftest.$ac_objext conftest$ac_exeext
41527 if { (ac_try="$ac_link"
41528 case "(($ac_try" in
41529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41530 *) ac_try_echo=$ac_try;;
41531 esac
41532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41533 (eval "$ac_link") 2>conftest.er1
41534 ac_status=$?
41535 grep -v '^ *+' conftest.er1 >conftest.err
41536 rm -f conftest.er1
41537 cat conftest.err >&5
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); } &&
41540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41541 { (case "(($ac_try" in
41542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41543 *) ac_try_echo=$ac_try;;
41544 esac
41545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41546 (eval "$ac_try") 2>&5
41547 ac_status=$?
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); }; } &&
41550 { ac_try='test -s conftest$ac_exeext'
41551 { (case "(($ac_try" in
41552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41553 *) ac_try_echo=$ac_try;;
41554 esac
41555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41556 (eval "$ac_try") 2>&5
41557 ac_status=$?
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; }; then
41560 eval wx_cv_func_$wx_func=yes
41561 else
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.$ac_ext >&5
41564
41565 eval wx_cv_func_$wx_func=no
41566 fi
41567
41568 rm -f core conftest.err conftest.$ac_objext \
41569 conftest$ac_exeext conftest.$ac_ext
41570
41571 fi
41572 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41573 { echo "$as_me:$LINENO: result: $ac_res" >&5
41574 echo "${ECHO_T}$ac_res" >&6; }
41575
41576 if eval test \$wx_cv_func_$wx_func = yes
41577 then
41578 cat >>confdefs.h <<_ACEOF
41579 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41580 _ACEOF
41581
41582
41583 else
41584 :
41585
41586 fi
41587 done
41588
41589
41590 if test "$TOOLKIT" != "MSW"; then
41591
41592
41593
41594
41595
41596 # Check whether --with-libiconv-prefix was given.
41597 if test "${with_libiconv_prefix+set}" = set; then
41598 withval=$with_libiconv_prefix;
41599 for dir in `echo "$withval" | tr : ' '`; do
41600 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
41601 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
41602 done
41603
41604 fi
41605
41606
41607 { echo "$as_me:$LINENO: checking for iconv" >&5
41608 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
41609 if test "${am_cv_func_iconv+set}" = set; then
41610 echo $ECHO_N "(cached) $ECHO_C" >&6
41611 else
41612
41613 am_cv_func_iconv="no, consider installing GNU libiconv"
41614 am_cv_lib_iconv=no
41615 cat >conftest.$ac_ext <<_ACEOF
41616 /* confdefs.h. */
41617 _ACEOF
41618 cat confdefs.h >>conftest.$ac_ext
41619 cat >>conftest.$ac_ext <<_ACEOF
41620 /* end confdefs.h. */
41621 #include <stdlib.h>
41622 #include <iconv.h>
41623 int
41624 main ()
41625 {
41626 iconv_t cd = iconv_open("","");
41627 iconv(cd,NULL,NULL,NULL,NULL);
41628 iconv_close(cd);
41629 ;
41630 return 0;
41631 }
41632 _ACEOF
41633 rm -f conftest.$ac_objext conftest$ac_exeext
41634 if { (ac_try="$ac_link"
41635 case "(($ac_try" in
41636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41637 *) ac_try_echo=$ac_try;;
41638 esac
41639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41640 (eval "$ac_link") 2>conftest.er1
41641 ac_status=$?
41642 grep -v '^ *+' conftest.er1 >conftest.err
41643 rm -f conftest.er1
41644 cat conftest.err >&5
41645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41646 (exit $ac_status); } &&
41647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41648 { (case "(($ac_try" in
41649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41650 *) ac_try_echo=$ac_try;;
41651 esac
41652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41653 (eval "$ac_try") 2>&5
41654 ac_status=$?
41655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41656 (exit $ac_status); }; } &&
41657 { ac_try='test -s conftest$ac_exeext'
41658 { (case "(($ac_try" in
41659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41660 *) ac_try_echo=$ac_try;;
41661 esac
41662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41663 (eval "$ac_try") 2>&5
41664 ac_status=$?
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); }; }; then
41667 am_cv_func_iconv=yes
41668 else
41669 echo "$as_me: failed program was:" >&5
41670 sed 's/^/| /' conftest.$ac_ext >&5
41671
41672
41673 fi
41674
41675 rm -f core conftest.err conftest.$ac_objext \
41676 conftest$ac_exeext conftest.$ac_ext
41677 if test "$am_cv_func_iconv" != yes; then
41678 am_save_LIBS="$LIBS"
41679 LIBS="$LIBS -liconv"
41680 cat >conftest.$ac_ext <<_ACEOF
41681 /* confdefs.h. */
41682 _ACEOF
41683 cat confdefs.h >>conftest.$ac_ext
41684 cat >>conftest.$ac_ext <<_ACEOF
41685 /* end confdefs.h. */
41686 #include <stdlib.h>
41687 #include <iconv.h>
41688 int
41689 main ()
41690 {
41691 iconv_t cd = iconv_open("","");
41692 iconv(cd,NULL,NULL,NULL,NULL);
41693 iconv_close(cd);
41694 ;
41695 return 0;
41696 }
41697 _ACEOF
41698 rm -f conftest.$ac_objext conftest$ac_exeext
41699 if { (ac_try="$ac_link"
41700 case "(($ac_try" in
41701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41702 *) ac_try_echo=$ac_try;;
41703 esac
41704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41705 (eval "$ac_link") 2>conftest.er1
41706 ac_status=$?
41707 grep -v '^ *+' conftest.er1 >conftest.err
41708 rm -f conftest.er1
41709 cat conftest.err >&5
41710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41711 (exit $ac_status); } &&
41712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41713 { (case "(($ac_try" in
41714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41715 *) ac_try_echo=$ac_try;;
41716 esac
41717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41718 (eval "$ac_try") 2>&5
41719 ac_status=$?
41720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41721 (exit $ac_status); }; } &&
41722 { ac_try='test -s conftest$ac_exeext'
41723 { (case "(($ac_try" in
41724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41725 *) ac_try_echo=$ac_try;;
41726 esac
41727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41728 (eval "$ac_try") 2>&5
41729 ac_status=$?
41730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41731 (exit $ac_status); }; }; then
41732 am_cv_lib_iconv=yes
41733 am_cv_func_iconv=yes
41734 else
41735 echo "$as_me: failed program was:" >&5
41736 sed 's/^/| /' conftest.$ac_ext >&5
41737
41738
41739 fi
41740
41741 rm -f core conftest.err conftest.$ac_objext \
41742 conftest$ac_exeext conftest.$ac_ext
41743 LIBS="$am_save_LIBS"
41744 fi
41745
41746 fi
41747 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41748 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
41749 if test "$am_cv_func_iconv" = yes; then
41750
41751 cat >>confdefs.h <<\_ACEOF
41752 #define HAVE_ICONV 1
41753 _ACEOF
41754
41755 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
41756 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
41757 if test "${wx_cv_func_iconv_const+set}" = set; then
41758 echo $ECHO_N "(cached) $ECHO_C" >&6
41759 else
41760 cat >conftest.$ac_ext <<_ACEOF
41761 /* confdefs.h. */
41762 _ACEOF
41763 cat confdefs.h >>conftest.$ac_ext
41764 cat >>conftest.$ac_ext <<_ACEOF
41765 /* end confdefs.h. */
41766
41767 #include <stdlib.h>
41768 #include <iconv.h>
41769 extern
41770 #ifdef __cplusplus
41771 "C"
41772 #endif
41773 #if defined(__STDC__) || defined(__cplusplus)
41774 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41775 #else
41776 size_t iconv();
41777 #endif
41778
41779 int
41780 main ()
41781 {
41782
41783 ;
41784 return 0;
41785 }
41786 _ACEOF
41787 rm -f conftest.$ac_objext
41788 if { (ac_try="$ac_compile"
41789 case "(($ac_try" in
41790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41791 *) ac_try_echo=$ac_try;;
41792 esac
41793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41794 (eval "$ac_compile") 2>conftest.er1
41795 ac_status=$?
41796 grep -v '^ *+' conftest.er1 >conftest.err
41797 rm -f conftest.er1
41798 cat conftest.err >&5
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); } &&
41801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41802 { (case "(($ac_try" in
41803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41804 *) ac_try_echo=$ac_try;;
41805 esac
41806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41807 (eval "$ac_try") 2>&5
41808 ac_status=$?
41809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41810 (exit $ac_status); }; } &&
41811 { ac_try='test -s conftest.$ac_objext'
41812 { (case "(($ac_try" in
41813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41814 *) ac_try_echo=$ac_try;;
41815 esac
41816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41817 (eval "$ac_try") 2>&5
41818 ac_status=$?
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); }; }; then
41821 wx_cv_func_iconv_const="no"
41822 else
41823 echo "$as_me: failed program was:" >&5
41824 sed 's/^/| /' conftest.$ac_ext >&5
41825
41826 wx_cv_func_iconv_const="yes"
41827
41828 fi
41829
41830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41831
41832 fi
41833 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
41834 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
41835
41836 iconv_const=
41837 if test "x$wx_cv_func_iconv_const" = "xyes"; then
41838 iconv_const="const"
41839 fi
41840
41841
41842 cat >>confdefs.h <<_ACEOF
41843 #define ICONV_CONST $iconv_const
41844 _ACEOF
41845
41846 fi
41847 LIBICONV=
41848 if test "$am_cv_lib_iconv" = yes; then
41849 LIBICONV="-liconv"
41850 fi
41851
41852
41853 LIBS="$LIBICONV $LIBS"
41854
41855 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
41856
41857 for ac_func in sigaction
41858 do
41859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41863 echo $ECHO_N "(cached) $ECHO_C" >&6
41864 else
41865 cat >conftest.$ac_ext <<_ACEOF
41866 /* confdefs.h. */
41867 _ACEOF
41868 cat confdefs.h >>conftest.$ac_ext
41869 cat >>conftest.$ac_ext <<_ACEOF
41870 /* end confdefs.h. */
41871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41873 #define $ac_func innocuous_$ac_func
41874
41875 /* System header to define __stub macros and hopefully few prototypes,
41876 which can conflict with char $ac_func (); below.
41877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41878 <limits.h> exists even on freestanding compilers. */
41879
41880 #ifdef __STDC__
41881 # include <limits.h>
41882 #else
41883 # include <assert.h>
41884 #endif
41885
41886 #undef $ac_func
41887
41888 /* Override any GCC internal prototype to avoid an error.
41889 Use char because int might match the return type of a GCC
41890 builtin and then its argument prototype would still apply. */
41891 #ifdef __cplusplus
41892 extern "C"
41893 #endif
41894 char $ac_func ();
41895 /* The GNU C library defines this for functions which it implements
41896 to always fail with ENOSYS. Some functions are actually named
41897 something starting with __ and the normal name is an alias. */
41898 #if defined __stub_$ac_func || defined __stub___$ac_func
41899 choke me
41900 #endif
41901
41902 int
41903 main ()
41904 {
41905 return $ac_func ();
41906 ;
41907 return 0;
41908 }
41909 _ACEOF
41910 rm -f conftest.$ac_objext conftest$ac_exeext
41911 if { (ac_try="$ac_link"
41912 case "(($ac_try" in
41913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41914 *) ac_try_echo=$ac_try;;
41915 esac
41916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41917 (eval "$ac_link") 2>conftest.er1
41918 ac_status=$?
41919 grep -v '^ *+' conftest.er1 >conftest.err
41920 rm -f conftest.er1
41921 cat conftest.err >&5
41922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923 (exit $ac_status); } &&
41924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41925 { (case "(($ac_try" in
41926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41927 *) ac_try_echo=$ac_try;;
41928 esac
41929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41930 (eval "$ac_try") 2>&5
41931 ac_status=$?
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); }; } &&
41934 { ac_try='test -s conftest$ac_exeext'
41935 { (case "(($ac_try" in
41936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41937 *) ac_try_echo=$ac_try;;
41938 esac
41939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41940 (eval "$ac_try") 2>&5
41941 ac_status=$?
41942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41943 (exit $ac_status); }; }; then
41944 eval "$as_ac_var=yes"
41945 else
41946 echo "$as_me: failed program was:" >&5
41947 sed 's/^/| /' conftest.$ac_ext >&5
41948
41949 eval "$as_ac_var=no"
41950 fi
41951
41952 rm -f core conftest.err conftest.$ac_objext \
41953 conftest$ac_exeext conftest.$ac_ext
41954 fi
41955 ac_res=`eval echo '${'$as_ac_var'}'`
41956 { echo "$as_me:$LINENO: result: $ac_res" >&5
41957 echo "${ECHO_T}$ac_res" >&6; }
41958 if test `eval echo '${'$as_ac_var'}'` = yes; then
41959 cat >>confdefs.h <<_ACEOF
41960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41961 _ACEOF
41962
41963 fi
41964 done
41965
41966
41967 if test "$ac_cv_func_sigaction" = "no"; then
41968 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
41969 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
41970 wxUSE_ON_FATAL_EXCEPTION=no
41971 fi
41972
41973 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41974 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
41975 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
41976 if test "${wx_cv_type_sa_handler+set}" = set; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 else
41979
41980 ac_ext=cpp
41981 ac_cpp='$CXXCPP $CPPFLAGS'
41982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41985
41986 cat >conftest.$ac_ext <<_ACEOF
41987 /* confdefs.h. */
41988 _ACEOF
41989 cat confdefs.h >>conftest.$ac_ext
41990 cat >>conftest.$ac_ext <<_ACEOF
41991 /* end confdefs.h. */
41992 #include <signal.h>
41993 int
41994 main ()
41995 {
41996
41997 extern void testSigHandler(int);
41998
41999 struct sigaction sa;
42000 sa.sa_handler = testSigHandler;
42001
42002 ;
42003 return 0;
42004 }
42005 _ACEOF
42006 rm -f conftest.$ac_objext
42007 if { (ac_try="$ac_compile"
42008 case "(($ac_try" in
42009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42010 *) ac_try_echo=$ac_try;;
42011 esac
42012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42013 (eval "$ac_compile") 2>conftest.er1
42014 ac_status=$?
42015 grep -v '^ *+' conftest.er1 >conftest.err
42016 rm -f conftest.er1
42017 cat conftest.err >&5
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); } &&
42020 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42021 { (case "(($ac_try" in
42022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42023 *) ac_try_echo=$ac_try;;
42024 esac
42025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42026 (eval "$ac_try") 2>&5
42027 ac_status=$?
42028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42029 (exit $ac_status); }; } &&
42030 { ac_try='test -s conftest.$ac_objext'
42031 { (case "(($ac_try" in
42032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42033 *) ac_try_echo=$ac_try;;
42034 esac
42035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42036 (eval "$ac_try") 2>&5
42037 ac_status=$?
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); }; }; then
42040
42041 wx_cv_type_sa_handler=int
42042
42043 else
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42046
42047
42048 wx_cv_type_sa_handler=void
42049
42050 fi
42051
42052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42053 ac_ext=c
42054 ac_cpp='$CPP $CPPFLAGS'
42055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42058
42059
42060 fi
42061 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
42062 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
42063
42064 cat >>confdefs.h <<_ACEOF
42065 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
42066 _ACEOF
42067
42068 fi
42069 fi
42070
42071 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
42072 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
42073 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
42074 if test "${wx_cv_func_backtrace+set}" = set; then
42075 echo $ECHO_N "(cached) $ECHO_C" >&6
42076 else
42077
42078 ac_ext=cpp
42079 ac_cpp='$CXXCPP $CPPFLAGS'
42080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42083
42084 cat >conftest.$ac_ext <<_ACEOF
42085 /* confdefs.h. */
42086 _ACEOF
42087 cat confdefs.h >>conftest.$ac_ext
42088 cat >>conftest.$ac_ext <<_ACEOF
42089 /* end confdefs.h. */
42090 #include <execinfo.h>
42091 int
42092 main ()
42093 {
42094
42095 void *trace[1];
42096 char **messages;
42097
42098 backtrace(trace, 1);
42099 messages = backtrace_symbols(trace, 1);
42100
42101 ;
42102 return 0;
42103 }
42104 _ACEOF
42105 rm -f conftest.$ac_objext
42106 if { (ac_try="$ac_compile"
42107 case "(($ac_try" in
42108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42109 *) ac_try_echo=$ac_try;;
42110 esac
42111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42112 (eval "$ac_compile") 2>conftest.er1
42113 ac_status=$?
42114 grep -v '^ *+' conftest.er1 >conftest.err
42115 rm -f conftest.er1
42116 cat conftest.err >&5
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); } &&
42119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42120 { (case "(($ac_try" in
42121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42122 *) ac_try_echo=$ac_try;;
42123 esac
42124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42125 (eval "$ac_try") 2>&5
42126 ac_status=$?
42127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42128 (exit $ac_status); }; } &&
42129 { ac_try='test -s conftest.$ac_objext'
42130 { (case "(($ac_try" in
42131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42132 *) ac_try_echo=$ac_try;;
42133 esac
42134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42135 (eval "$ac_try") 2>&5
42136 ac_status=$?
42137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42138 (exit $ac_status); }; }; then
42139 wx_cv_func_backtrace=yes
42140 else
42141 echo "$as_me: failed program was:" >&5
42142 sed 's/^/| /' conftest.$ac_ext >&5
42143
42144 wx_cv_func_backtrace=no
42145
42146 fi
42147
42148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42149 ac_ext=c
42150 ac_cpp='$CPP $CPPFLAGS'
42151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42154
42155
42156
42157 fi
42158 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
42159 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
42160
42161
42162 if test "$wx_cv_func_backtrace" = "no"; then
42163 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
42164 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
42165 wxUSE_STACKWALKER=no
42166 else
42167 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
42168 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
42169 if test "${wx_cv_func_cxa_demangle+set}" = set; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42171 else
42172
42173 ac_ext=cpp
42174 ac_cpp='$CXXCPP $CPPFLAGS'
42175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42178
42179 cat >conftest.$ac_ext <<_ACEOF
42180 /* confdefs.h. */
42181 _ACEOF
42182 cat confdefs.h >>conftest.$ac_ext
42183 cat >>conftest.$ac_ext <<_ACEOF
42184 /* end confdefs.h. */
42185 #include <cxxabi.h>
42186 int
42187 main ()
42188 {
42189
42190 int rc;
42191 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
42192
42193 ;
42194 return 0;
42195 }
42196 _ACEOF
42197 rm -f conftest.$ac_objext conftest$ac_exeext
42198 if { (ac_try="$ac_link"
42199 case "(($ac_try" in
42200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42201 *) ac_try_echo=$ac_try;;
42202 esac
42203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42204 (eval "$ac_link") 2>conftest.er1
42205 ac_status=$?
42206 grep -v '^ *+' conftest.er1 >conftest.err
42207 rm -f conftest.er1
42208 cat conftest.err >&5
42209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42210 (exit $ac_status); } &&
42211 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42212 { (case "(($ac_try" in
42213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42214 *) ac_try_echo=$ac_try;;
42215 esac
42216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42217 (eval "$ac_try") 2>&5
42218 ac_status=$?
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); }; } &&
42221 { ac_try='test -s conftest$ac_exeext'
42222 { (case "(($ac_try" in
42223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42224 *) ac_try_echo=$ac_try;;
42225 esac
42226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42227 (eval "$ac_try") 2>&5
42228 ac_status=$?
42229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42230 (exit $ac_status); }; }; then
42231 wx_cv_func_cxa_demangle=yes
42232 else
42233 echo "$as_me: failed program was:" >&5
42234 sed 's/^/| /' conftest.$ac_ext >&5
42235
42236 wx_cv_func_cxa_demangle=no
42237
42238 fi
42239
42240 rm -f core conftest.err conftest.$ac_objext \
42241 conftest$ac_exeext conftest.$ac_ext
42242 ac_ext=c
42243 ac_cpp='$CPP $CPPFLAGS'
42244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42247
42248
42249
42250 fi
42251 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
42252 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
42253
42254 if test "$wx_cv_func_cxa_demangle" = "yes"; then
42255 cat >>confdefs.h <<\_ACEOF
42256 #define HAVE_CXA_DEMANGLE 1
42257 _ACEOF
42258
42259 fi
42260 fi
42261 fi
42262
42263 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
42264 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
42265 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
42266 wxUSE_STACKWALKER=no
42267 fi
42268
42269
42270
42271
42272 for ac_func in mkstemp mktemp
42273 do
42274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42277 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42278 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 else
42280 cat >conftest.$ac_ext <<_ACEOF
42281 /* confdefs.h. */
42282 _ACEOF
42283 cat confdefs.h >>conftest.$ac_ext
42284 cat >>conftest.$ac_ext <<_ACEOF
42285 /* end confdefs.h. */
42286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42288 #define $ac_func innocuous_$ac_func
42289
42290 /* System header to define __stub macros and hopefully few prototypes,
42291 which can conflict with char $ac_func (); below.
42292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42293 <limits.h> exists even on freestanding compilers. */
42294
42295 #ifdef __STDC__
42296 # include <limits.h>
42297 #else
42298 # include <assert.h>
42299 #endif
42300
42301 #undef $ac_func
42302
42303 /* Override any GCC internal prototype to avoid an error.
42304 Use char because int might match the return type of a GCC
42305 builtin and then its argument prototype would still apply. */
42306 #ifdef __cplusplus
42307 extern "C"
42308 #endif
42309 char $ac_func ();
42310 /* The GNU C library defines this for functions which it implements
42311 to always fail with ENOSYS. Some functions are actually named
42312 something starting with __ and the normal name is an alias. */
42313 #if defined __stub_$ac_func || defined __stub___$ac_func
42314 choke me
42315 #endif
42316
42317 int
42318 main ()
42319 {
42320 return $ac_func ();
42321 ;
42322 return 0;
42323 }
42324 _ACEOF
42325 rm -f conftest.$ac_objext conftest$ac_exeext
42326 if { (ac_try="$ac_link"
42327 case "(($ac_try" in
42328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42329 *) ac_try_echo=$ac_try;;
42330 esac
42331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42332 (eval "$ac_link") 2>conftest.er1
42333 ac_status=$?
42334 grep -v '^ *+' conftest.er1 >conftest.err
42335 rm -f conftest.er1
42336 cat conftest.err >&5
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); } &&
42339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42340 { (case "(($ac_try" in
42341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42342 *) ac_try_echo=$ac_try;;
42343 esac
42344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42345 (eval "$ac_try") 2>&5
42346 ac_status=$?
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); }; } &&
42349 { ac_try='test -s conftest$ac_exeext'
42350 { (case "(($ac_try" in
42351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42352 *) ac_try_echo=$ac_try;;
42353 esac
42354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42355 (eval "$ac_try") 2>&5
42356 ac_status=$?
42357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42358 (exit $ac_status); }; }; then
42359 eval "$as_ac_var=yes"
42360 else
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.$ac_ext >&5
42363
42364 eval "$as_ac_var=no"
42365 fi
42366
42367 rm -f core conftest.err conftest.$ac_objext \
42368 conftest$ac_exeext conftest.$ac_ext
42369 fi
42370 ac_res=`eval echo '${'$as_ac_var'}'`
42371 { echo "$as_me:$LINENO: result: $ac_res" >&5
42372 echo "${ECHO_T}$ac_res" >&6; }
42373 if test `eval echo '${'$as_ac_var'}'` = yes; then
42374 cat >>confdefs.h <<_ACEOF
42375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42376 _ACEOF
42377 break
42378 fi
42379 done
42380
42381
42382 { echo "$as_me:$LINENO: checking for statfs" >&5
42383 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
42384 if test "${wx_cv_func_statfs+set}" = set; then
42385 echo $ECHO_N "(cached) $ECHO_C" >&6
42386 else
42387 cat >conftest.$ac_ext <<_ACEOF
42388 /* confdefs.h. */
42389 _ACEOF
42390 cat confdefs.h >>conftest.$ac_ext
42391 cat >>conftest.$ac_ext <<_ACEOF
42392 /* end confdefs.h. */
42393
42394 #if defined(__BSD__)
42395 #include <sys/param.h>
42396 #include <sys/mount.h>
42397 #else
42398 #include <sys/vfs.h>
42399 #endif
42400
42401 int
42402 main ()
42403 {
42404
42405 long l;
42406 struct statfs fs;
42407 statfs("/", &fs);
42408 l = fs.f_bsize;
42409 l += fs.f_blocks;
42410 l += fs.f_bavail;
42411
42412 ;
42413 return 0;
42414 }
42415 _ACEOF
42416 rm -f conftest.$ac_objext
42417 if { (ac_try="$ac_compile"
42418 case "(($ac_try" in
42419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42420 *) ac_try_echo=$ac_try;;
42421 esac
42422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42423 (eval "$ac_compile") 2>conftest.er1
42424 ac_status=$?
42425 grep -v '^ *+' conftest.er1 >conftest.err
42426 rm -f conftest.er1
42427 cat conftest.err >&5
42428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42429 (exit $ac_status); } &&
42430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42431 { (case "(($ac_try" in
42432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42433 *) ac_try_echo=$ac_try;;
42434 esac
42435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42436 (eval "$ac_try") 2>&5
42437 ac_status=$?
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); }; } &&
42440 { ac_try='test -s conftest.$ac_objext'
42441 { (case "(($ac_try" in
42442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42443 *) ac_try_echo=$ac_try;;
42444 esac
42445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42446 (eval "$ac_try") 2>&5
42447 ac_status=$?
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; }; then
42450 wx_cv_func_statfs=yes
42451 else
42452 echo "$as_me: failed program was:" >&5
42453 sed 's/^/| /' conftest.$ac_ext >&5
42454
42455 wx_cv_func_statfs=no
42456
42457 fi
42458
42459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42460
42461 fi
42462 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
42463 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
42464
42465 if test "$wx_cv_func_statfs" = "yes"; then
42466 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
42467 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
42468 if test "${wx_cv_func_statfs_decl+set}" = set; then
42469 echo $ECHO_N "(cached) $ECHO_C" >&6
42470 else
42471 ac_ext=cpp
42472 ac_cpp='$CXXCPP $CPPFLAGS'
42473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42476
42477 cat >conftest.$ac_ext <<_ACEOF
42478 /* confdefs.h. */
42479 _ACEOF
42480 cat confdefs.h >>conftest.$ac_ext
42481 cat >>conftest.$ac_ext <<_ACEOF
42482 /* end confdefs.h. */
42483
42484 #if defined(__BSD__)
42485 #include <sys/param.h>
42486 #include <sys/mount.h>
42487 #else
42488 #include <sys/vfs.h>
42489 #endif
42490
42491 int
42492 main ()
42493 {
42494
42495 struct statfs fs;
42496 statfs("", &fs);
42497
42498 ;
42499 return 0;
42500 }
42501 _ACEOF
42502 rm -f conftest.$ac_objext
42503 if { (ac_try="$ac_compile"
42504 case "(($ac_try" in
42505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42506 *) ac_try_echo=$ac_try;;
42507 esac
42508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42509 (eval "$ac_compile") 2>conftest.er1
42510 ac_status=$?
42511 grep -v '^ *+' conftest.er1 >conftest.err
42512 rm -f conftest.er1
42513 cat conftest.err >&5
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); } &&
42516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42517 { (case "(($ac_try" in
42518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42519 *) ac_try_echo=$ac_try;;
42520 esac
42521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42522 (eval "$ac_try") 2>&5
42523 ac_status=$?
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); }; } &&
42526 { ac_try='test -s conftest.$ac_objext'
42527 { (case "(($ac_try" in
42528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42529 *) ac_try_echo=$ac_try;;
42530 esac
42531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42532 (eval "$ac_try") 2>&5
42533 ac_status=$?
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); }; }; then
42536 wx_cv_func_statfs_decl=yes
42537 else
42538 echo "$as_me: failed program was:" >&5
42539 sed 's/^/| /' conftest.$ac_ext >&5
42540
42541 wx_cv_func_statfs_decl=no
42542
42543 fi
42544
42545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42546 ac_ext=c
42547 ac_cpp='$CPP $CPPFLAGS'
42548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42551
42552
42553 fi
42554 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
42555 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
42556
42557 if test "$wx_cv_func_statfs_decl" = "yes"; then
42558 cat >>confdefs.h <<\_ACEOF
42559 #define HAVE_STATFS_DECL 1
42560 _ACEOF
42561
42562 fi
42563
42564 wx_cv_type_statvfs_t="struct statfs"
42565 cat >>confdefs.h <<\_ACEOF
42566 #define HAVE_STATFS 1
42567 _ACEOF
42568
42569 else
42570 { echo "$as_me:$LINENO: checking for statvfs" >&5
42571 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
42572 if test "${wx_cv_func_statvfs+set}" = set; then
42573 echo $ECHO_N "(cached) $ECHO_C" >&6
42574 else
42575 cat >conftest.$ac_ext <<_ACEOF
42576 /* confdefs.h. */
42577 _ACEOF
42578 cat confdefs.h >>conftest.$ac_ext
42579 cat >>conftest.$ac_ext <<_ACEOF
42580 /* end confdefs.h. */
42581
42582 #include <stddef.h>
42583 #include <sys/statvfs.h>
42584
42585 int
42586 main ()
42587 {
42588
42589 statvfs("/", NULL);
42590
42591 ;
42592 return 0;
42593 }
42594 _ACEOF
42595 rm -f conftest.$ac_objext
42596 if { (ac_try="$ac_compile"
42597 case "(($ac_try" in
42598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42599 *) ac_try_echo=$ac_try;;
42600 esac
42601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42602 (eval "$ac_compile") 2>conftest.er1
42603 ac_status=$?
42604 grep -v '^ *+' conftest.er1 >conftest.err
42605 rm -f conftest.er1
42606 cat conftest.err >&5
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); } &&
42609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42610 { (case "(($ac_try" in
42611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42612 *) ac_try_echo=$ac_try;;
42613 esac
42614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42615 (eval "$ac_try") 2>&5
42616 ac_status=$?
42617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42618 (exit $ac_status); }; } &&
42619 { ac_try='test -s conftest.$ac_objext'
42620 { (case "(($ac_try" in
42621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42622 *) ac_try_echo=$ac_try;;
42623 esac
42624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42625 (eval "$ac_try") 2>&5
42626 ac_status=$?
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); }; }; then
42629 wx_cv_func_statvfs=yes
42630 else
42631 echo "$as_me: failed program was:" >&5
42632 sed 's/^/| /' conftest.$ac_ext >&5
42633
42634 wx_cv_func_statvfs=no
42635
42636 fi
42637
42638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42639
42640 fi
42641 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
42642 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
42643
42644 if test "$wx_cv_func_statvfs" = "yes"; then
42645 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
42646 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
42647 if test "${wx_cv_type_statvfs_t+set}" = set; then
42648 echo $ECHO_N "(cached) $ECHO_C" >&6
42649 else
42650 ac_ext=cpp
42651 ac_cpp='$CXXCPP $CPPFLAGS'
42652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42655
42656 cat >conftest.$ac_ext <<_ACEOF
42657 /* confdefs.h. */
42658 _ACEOF
42659 cat confdefs.h >>conftest.$ac_ext
42660 cat >>conftest.$ac_ext <<_ACEOF
42661 /* end confdefs.h. */
42662
42663 #include <sys/statvfs.h>
42664
42665 int
42666 main ()
42667 {
42668
42669 long l;
42670 statvfs_t fs;
42671 statvfs("/", &fs);
42672 l = fs.f_bsize;
42673 l += fs.f_blocks;
42674 l += fs.f_bavail;
42675
42676 ;
42677 return 0;
42678 }
42679 _ACEOF
42680 rm -f conftest.$ac_objext
42681 if { (ac_try="$ac_compile"
42682 case "(($ac_try" in
42683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42684 *) ac_try_echo=$ac_try;;
42685 esac
42686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42687 (eval "$ac_compile") 2>conftest.er1
42688 ac_status=$?
42689 grep -v '^ *+' conftest.er1 >conftest.err
42690 rm -f conftest.er1
42691 cat conftest.err >&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } &&
42694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42695 { (case "(($ac_try" in
42696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42697 *) ac_try_echo=$ac_try;;
42698 esac
42699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42700 (eval "$ac_try") 2>&5
42701 ac_status=$?
42702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42703 (exit $ac_status); }; } &&
42704 { ac_try='test -s conftest.$ac_objext'
42705 { (case "(($ac_try" in
42706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42707 *) ac_try_echo=$ac_try;;
42708 esac
42709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42710 (eval "$ac_try") 2>&5
42711 ac_status=$?
42712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42713 (exit $ac_status); }; }; then
42714 wx_cv_type_statvfs_t=statvfs_t
42715 else
42716 echo "$as_me: failed program was:" >&5
42717 sed 's/^/| /' conftest.$ac_ext >&5
42718
42719
42720 cat >conftest.$ac_ext <<_ACEOF
42721 /* confdefs.h. */
42722 _ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42726
42727 #include <sys/statvfs.h>
42728
42729 int
42730 main ()
42731 {
42732
42733 long l;
42734 struct statvfs fs;
42735 statvfs("/", &fs);
42736 l = fs.f_bsize;
42737 l += fs.f_blocks;
42738 l += fs.f_bavail;
42739
42740 ;
42741 return 0;
42742 }
42743 _ACEOF
42744 rm -f conftest.$ac_objext
42745 if { (ac_try="$ac_compile"
42746 case "(($ac_try" in
42747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42748 *) ac_try_echo=$ac_try;;
42749 esac
42750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42751 (eval "$ac_compile") 2>conftest.er1
42752 ac_status=$?
42753 grep -v '^ *+' conftest.er1 >conftest.err
42754 rm -f conftest.er1
42755 cat conftest.err >&5
42756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42757 (exit $ac_status); } &&
42758 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42759 { (case "(($ac_try" in
42760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42761 *) ac_try_echo=$ac_try;;
42762 esac
42763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42764 (eval "$ac_try") 2>&5
42765 ac_status=$?
42766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42767 (exit $ac_status); }; } &&
42768 { ac_try='test -s conftest.$ac_objext'
42769 { (case "(($ac_try" in
42770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42771 *) ac_try_echo=$ac_try;;
42772 esac
42773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42774 (eval "$ac_try") 2>&5
42775 ac_status=$?
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; }; then
42778 wx_cv_type_statvfs_t="struct statvfs"
42779 else
42780 echo "$as_me: failed program was:" >&5
42781 sed 's/^/| /' conftest.$ac_ext >&5
42782
42783 wx_cv_type_statvfs_t="unknown"
42784
42785 fi
42786
42787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42788
42789
42790 fi
42791
42792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42793 ac_ext=c
42794 ac_cpp='$CPP $CPPFLAGS'
42795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42798
42799
42800 fi
42801 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
42802 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
42803
42804 if test "$wx_cv_type_statvfs_t" != "unknown"; then
42805 cat >>confdefs.h <<\_ACEOF
42806 #define HAVE_STATVFS 1
42807 _ACEOF
42808
42809 fi
42810 else
42811 wx_cv_type_statvfs_t="unknown"
42812 fi
42813 fi
42814
42815 if test "$wx_cv_type_statvfs_t" != "unknown"; then
42816 cat >>confdefs.h <<_ACEOF
42817 #define WX_STATFS_T $wx_cv_type_statvfs_t
42818 _ACEOF
42819
42820 else
42821 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
42822 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
42823 fi
42824
42825 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42826
42827
42828 for ac_func in fcntl flock
42829 do
42830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42834 echo $ECHO_N "(cached) $ECHO_C" >&6
42835 else
42836 cat >conftest.$ac_ext <<_ACEOF
42837 /* confdefs.h. */
42838 _ACEOF
42839 cat confdefs.h >>conftest.$ac_ext
42840 cat >>conftest.$ac_ext <<_ACEOF
42841 /* end confdefs.h. */
42842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42844 #define $ac_func innocuous_$ac_func
42845
42846 /* System header to define __stub macros and hopefully few prototypes,
42847 which can conflict with char $ac_func (); below.
42848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42849 <limits.h> exists even on freestanding compilers. */
42850
42851 #ifdef __STDC__
42852 # include <limits.h>
42853 #else
42854 # include <assert.h>
42855 #endif
42856
42857 #undef $ac_func
42858
42859 /* Override any GCC internal prototype to avoid an error.
42860 Use char because int might match the return type of a GCC
42861 builtin and then its argument prototype would still apply. */
42862 #ifdef __cplusplus
42863 extern "C"
42864 #endif
42865 char $ac_func ();
42866 /* The GNU C library defines this for functions which it implements
42867 to always fail with ENOSYS. Some functions are actually named
42868 something starting with __ and the normal name is an alias. */
42869 #if defined __stub_$ac_func || defined __stub___$ac_func
42870 choke me
42871 #endif
42872
42873 int
42874 main ()
42875 {
42876 return $ac_func ();
42877 ;
42878 return 0;
42879 }
42880 _ACEOF
42881 rm -f conftest.$ac_objext conftest$ac_exeext
42882 if { (ac_try="$ac_link"
42883 case "(($ac_try" in
42884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42885 *) ac_try_echo=$ac_try;;
42886 esac
42887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42888 (eval "$ac_link") 2>conftest.er1
42889 ac_status=$?
42890 grep -v '^ *+' conftest.er1 >conftest.err
42891 rm -f conftest.er1
42892 cat conftest.err >&5
42893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42894 (exit $ac_status); } &&
42895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42896 { (case "(($ac_try" in
42897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42898 *) ac_try_echo=$ac_try;;
42899 esac
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_try") 2>&5
42902 ac_status=$?
42903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904 (exit $ac_status); }; } &&
42905 { ac_try='test -s conftest$ac_exeext'
42906 { (case "(($ac_try" in
42907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42908 *) ac_try_echo=$ac_try;;
42909 esac
42910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42911 (eval "$ac_try") 2>&5
42912 ac_status=$?
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; }; then
42915 eval "$as_ac_var=yes"
42916 else
42917 echo "$as_me: failed program was:" >&5
42918 sed 's/^/| /' conftest.$ac_ext >&5
42919
42920 eval "$as_ac_var=no"
42921 fi
42922
42923 rm -f core conftest.err conftest.$ac_objext \
42924 conftest$ac_exeext conftest.$ac_ext
42925 fi
42926 ac_res=`eval echo '${'$as_ac_var'}'`
42927 { echo "$as_me:$LINENO: result: $ac_res" >&5
42928 echo "${ECHO_T}$ac_res" >&6; }
42929 if test `eval echo '${'$as_ac_var'}'` = yes; then
42930 cat >>confdefs.h <<_ACEOF
42931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42932 _ACEOF
42933 break
42934 fi
42935 done
42936
42937
42938 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
42939 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
42940 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
42941 wxUSE_SNGLINST_CHECKER=no
42942 fi
42943 fi
42944
42945
42946 for ac_func in timegm
42947 do
42948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42952 echo $ECHO_N "(cached) $ECHO_C" >&6
42953 else
42954 cat >conftest.$ac_ext <<_ACEOF
42955 /* confdefs.h. */
42956 _ACEOF
42957 cat confdefs.h >>conftest.$ac_ext
42958 cat >>conftest.$ac_ext <<_ACEOF
42959 /* end confdefs.h. */
42960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42962 #define $ac_func innocuous_$ac_func
42963
42964 /* System header to define __stub macros and hopefully few prototypes,
42965 which can conflict with char $ac_func (); below.
42966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42967 <limits.h> exists even on freestanding compilers. */
42968
42969 #ifdef __STDC__
42970 # include <limits.h>
42971 #else
42972 # include <assert.h>
42973 #endif
42974
42975 #undef $ac_func
42976
42977 /* Override any GCC internal prototype to avoid an error.
42978 Use char because int might match the return type of a GCC
42979 builtin and then its argument prototype would still apply. */
42980 #ifdef __cplusplus
42981 extern "C"
42982 #endif
42983 char $ac_func ();
42984 /* The GNU C library defines this for functions which it implements
42985 to always fail with ENOSYS. Some functions are actually named
42986 something starting with __ and the normal name is an alias. */
42987 #if defined __stub_$ac_func || defined __stub___$ac_func
42988 choke me
42989 #endif
42990
42991 int
42992 main ()
42993 {
42994 return $ac_func ();
42995 ;
42996 return 0;
42997 }
42998 _ACEOF
42999 rm -f conftest.$ac_objext conftest$ac_exeext
43000 if { (ac_try="$ac_link"
43001 case "(($ac_try" in
43002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43003 *) ac_try_echo=$ac_try;;
43004 esac
43005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43006 (eval "$ac_link") 2>conftest.er1
43007 ac_status=$?
43008 grep -v '^ *+' conftest.er1 >conftest.err
43009 rm -f conftest.er1
43010 cat conftest.err >&5
43011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43012 (exit $ac_status); } &&
43013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43014 { (case "(($ac_try" in
43015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43016 *) ac_try_echo=$ac_try;;
43017 esac
43018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43019 (eval "$ac_try") 2>&5
43020 ac_status=$?
43021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022 (exit $ac_status); }; } &&
43023 { ac_try='test -s conftest$ac_exeext'
43024 { (case "(($ac_try" in
43025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43026 *) ac_try_echo=$ac_try;;
43027 esac
43028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43029 (eval "$ac_try") 2>&5
43030 ac_status=$?
43031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43032 (exit $ac_status); }; }; then
43033 eval "$as_ac_var=yes"
43034 else
43035 echo "$as_me: failed program was:" >&5
43036 sed 's/^/| /' conftest.$ac_ext >&5
43037
43038 eval "$as_ac_var=no"
43039 fi
43040
43041 rm -f core conftest.err conftest.$ac_objext \
43042 conftest$ac_exeext conftest.$ac_ext
43043 fi
43044 ac_res=`eval echo '${'$as_ac_var'}'`
43045 { echo "$as_me:$LINENO: result: $ac_res" >&5
43046 echo "${ECHO_T}$ac_res" >&6; }
43047 if test `eval echo '${'$as_ac_var'}'` = yes; then
43048 cat >>confdefs.h <<_ACEOF
43049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43050 _ACEOF
43051
43052 fi
43053 done
43054
43055
43056
43057
43058 for ac_func in putenv setenv
43059 do
43060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43064 echo $ECHO_N "(cached) $ECHO_C" >&6
43065 else
43066 cat >conftest.$ac_ext <<_ACEOF
43067 /* confdefs.h. */
43068 _ACEOF
43069 cat confdefs.h >>conftest.$ac_ext
43070 cat >>conftest.$ac_ext <<_ACEOF
43071 /* end confdefs.h. */
43072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43074 #define $ac_func innocuous_$ac_func
43075
43076 /* System header to define __stub macros and hopefully few prototypes,
43077 which can conflict with char $ac_func (); below.
43078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43079 <limits.h> exists even on freestanding compilers. */
43080
43081 #ifdef __STDC__
43082 # include <limits.h>
43083 #else
43084 # include <assert.h>
43085 #endif
43086
43087 #undef $ac_func
43088
43089 /* Override any GCC internal prototype to avoid an error.
43090 Use char because int might match the return type of a GCC
43091 builtin and then its argument prototype would still apply. */
43092 #ifdef __cplusplus
43093 extern "C"
43094 #endif
43095 char $ac_func ();
43096 /* The GNU C library defines this for functions which it implements
43097 to always fail with ENOSYS. Some functions are actually named
43098 something starting with __ and the normal name is an alias. */
43099 #if defined __stub_$ac_func || defined __stub___$ac_func
43100 choke me
43101 #endif
43102
43103 int
43104 main ()
43105 {
43106 return $ac_func ();
43107 ;
43108 return 0;
43109 }
43110 _ACEOF
43111 rm -f conftest.$ac_objext conftest$ac_exeext
43112 if { (ac_try="$ac_link"
43113 case "(($ac_try" in
43114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43115 *) ac_try_echo=$ac_try;;
43116 esac
43117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43118 (eval "$ac_link") 2>conftest.er1
43119 ac_status=$?
43120 grep -v '^ *+' conftest.er1 >conftest.err
43121 rm -f conftest.er1
43122 cat conftest.err >&5
43123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43124 (exit $ac_status); } &&
43125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43126 { (case "(($ac_try" in
43127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43128 *) ac_try_echo=$ac_try;;
43129 esac
43130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43131 (eval "$ac_try") 2>&5
43132 ac_status=$?
43133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43134 (exit $ac_status); }; } &&
43135 { ac_try='test -s conftest$ac_exeext'
43136 { (case "(($ac_try" in
43137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43138 *) ac_try_echo=$ac_try;;
43139 esac
43140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43141 (eval "$ac_try") 2>&5
43142 ac_status=$?
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); }; }; then
43145 eval "$as_ac_var=yes"
43146 else
43147 echo "$as_me: failed program was:" >&5
43148 sed 's/^/| /' conftest.$ac_ext >&5
43149
43150 eval "$as_ac_var=no"
43151 fi
43152
43153 rm -f core conftest.err conftest.$ac_objext \
43154 conftest$ac_exeext conftest.$ac_ext
43155 fi
43156 ac_res=`eval echo '${'$as_ac_var'}'`
43157 { echo "$as_me:$LINENO: result: $ac_res" >&5
43158 echo "${ECHO_T}$ac_res" >&6; }
43159 if test `eval echo '${'$as_ac_var'}'` = yes; then
43160 cat >>confdefs.h <<_ACEOF
43161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43162 _ACEOF
43163 break
43164 fi
43165 done
43166
43167
43168 HAVE_SOME_SLEEP_FUNC=0
43169 if test "$USE_BEOS" = 1; then
43170 cat >>confdefs.h <<\_ACEOF
43171 #define HAVE_SLEEP 1
43172 _ACEOF
43173
43174 HAVE_SOME_SLEEP_FUNC=1
43175 fi
43176
43177 if test "$USE_DARWIN" = 1; then
43178 cat >>confdefs.h <<\_ACEOF
43179 #define HAVE_USLEEP 1
43180 _ACEOF
43181
43182 HAVE_SOME_SLEEP_FUNC=1
43183 fi
43184
43185 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
43186 POSIX4_LINK=
43187
43188 for ac_func in nanosleep
43189 do
43190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43194 echo $ECHO_N "(cached) $ECHO_C" >&6
43195 else
43196 cat >conftest.$ac_ext <<_ACEOF
43197 /* confdefs.h. */
43198 _ACEOF
43199 cat confdefs.h >>conftest.$ac_ext
43200 cat >>conftest.$ac_ext <<_ACEOF
43201 /* end confdefs.h. */
43202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43204 #define $ac_func innocuous_$ac_func
43205
43206 /* System header to define __stub macros and hopefully few prototypes,
43207 which can conflict with char $ac_func (); below.
43208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43209 <limits.h> exists even on freestanding compilers. */
43210
43211 #ifdef __STDC__
43212 # include <limits.h>
43213 #else
43214 # include <assert.h>
43215 #endif
43216
43217 #undef $ac_func
43218
43219 /* Override any GCC internal prototype to avoid an error.
43220 Use char because int might match the return type of a GCC
43221 builtin and then its argument prototype would still apply. */
43222 #ifdef __cplusplus
43223 extern "C"
43224 #endif
43225 char $ac_func ();
43226 /* The GNU C library defines this for functions which it implements
43227 to always fail with ENOSYS. Some functions are actually named
43228 something starting with __ and the normal name is an alias. */
43229 #if defined __stub_$ac_func || defined __stub___$ac_func
43230 choke me
43231 #endif
43232
43233 int
43234 main ()
43235 {
43236 return $ac_func ();
43237 ;
43238 return 0;
43239 }
43240 _ACEOF
43241 rm -f conftest.$ac_objext conftest$ac_exeext
43242 if { (ac_try="$ac_link"
43243 case "(($ac_try" in
43244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43245 *) ac_try_echo=$ac_try;;
43246 esac
43247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43248 (eval "$ac_link") 2>conftest.er1
43249 ac_status=$?
43250 grep -v '^ *+' conftest.er1 >conftest.err
43251 rm -f conftest.er1
43252 cat conftest.err >&5
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); } &&
43255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43256 { (case "(($ac_try" in
43257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43258 *) ac_try_echo=$ac_try;;
43259 esac
43260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43261 (eval "$ac_try") 2>&5
43262 ac_status=$?
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); }; } &&
43265 { ac_try='test -s conftest$ac_exeext'
43266 { (case "(($ac_try" in
43267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43268 *) ac_try_echo=$ac_try;;
43269 esac
43270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43271 (eval "$ac_try") 2>&5
43272 ac_status=$?
43273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274 (exit $ac_status); }; }; then
43275 eval "$as_ac_var=yes"
43276 else
43277 echo "$as_me: failed program was:" >&5
43278 sed 's/^/| /' conftest.$ac_ext >&5
43279
43280 eval "$as_ac_var=no"
43281 fi
43282
43283 rm -f core conftest.err conftest.$ac_objext \
43284 conftest$ac_exeext conftest.$ac_ext
43285 fi
43286 ac_res=`eval echo '${'$as_ac_var'}'`
43287 { echo "$as_me:$LINENO: result: $ac_res" >&5
43288 echo "${ECHO_T}$ac_res" >&6; }
43289 if test `eval echo '${'$as_ac_var'}'` = yes; then
43290 cat >>confdefs.h <<_ACEOF
43291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43292 _ACEOF
43293 cat >>confdefs.h <<\_ACEOF
43294 #define HAVE_NANOSLEEP 1
43295 _ACEOF
43296
43297 else
43298
43299 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
43300 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
43301 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
43302 echo $ECHO_N "(cached) $ECHO_C" >&6
43303 else
43304 ac_check_lib_save_LIBS=$LIBS
43305 LIBS="-lposix4 $LIBS"
43306 cat >conftest.$ac_ext <<_ACEOF
43307 /* confdefs.h. */
43308 _ACEOF
43309 cat confdefs.h >>conftest.$ac_ext
43310 cat >>conftest.$ac_ext <<_ACEOF
43311 /* end confdefs.h. */
43312
43313 /* Override any GCC internal prototype to avoid an error.
43314 Use char because int might match the return type of a GCC
43315 builtin and then its argument prototype would still apply. */
43316 #ifdef __cplusplus
43317 extern "C"
43318 #endif
43319 char nanosleep ();
43320 int
43321 main ()
43322 {
43323 return nanosleep ();
43324 ;
43325 return 0;
43326 }
43327 _ACEOF
43328 rm -f conftest.$ac_objext conftest$ac_exeext
43329 if { (ac_try="$ac_link"
43330 case "(($ac_try" in
43331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43333 esac
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_link") 2>conftest.er1
43336 ac_status=$?
43337 grep -v '^ *+' conftest.er1 >conftest.err
43338 rm -f conftest.er1
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } &&
43342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43343 { (case "(($ac_try" in
43344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43345 *) ac_try_echo=$ac_try;;
43346 esac
43347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43348 (eval "$ac_try") 2>&5
43349 ac_status=$?
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); }; } &&
43352 { ac_try='test -s conftest$ac_exeext'
43353 { (case "(($ac_try" in
43354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43355 *) ac_try_echo=$ac_try;;
43356 esac
43357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43358 (eval "$ac_try") 2>&5
43359 ac_status=$?
43360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43361 (exit $ac_status); }; }; then
43362 ac_cv_lib_posix4_nanosleep=yes
43363 else
43364 echo "$as_me: failed program was:" >&5
43365 sed 's/^/| /' conftest.$ac_ext >&5
43366
43367 ac_cv_lib_posix4_nanosleep=no
43368 fi
43369
43370 rm -f core conftest.err conftest.$ac_objext \
43371 conftest$ac_exeext conftest.$ac_ext
43372 LIBS=$ac_check_lib_save_LIBS
43373 fi
43374 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
43375 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
43376 if test $ac_cv_lib_posix4_nanosleep = yes; then
43377
43378 cat >>confdefs.h <<\_ACEOF
43379 #define HAVE_NANOSLEEP 1
43380 _ACEOF
43381
43382 POSIX4_LINK=" -lposix4"
43383
43384 else
43385
43386
43387 for wx_func in usleep
43388 do
43389 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43390 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43391 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43392 echo $ECHO_N "(cached) $ECHO_C" >&6
43393 else
43394
43395 cat >conftest.$ac_ext <<_ACEOF
43396
43397 /* confdefs.h. */
43398 _ACEOF
43399 cat confdefs.h >>conftest.$ac_ext
43400 cat >>conftest.$ac_ext <<_ACEOF
43401 /* end confdefs.h. */
43402
43403
43404 $ac_includes_default
43405
43406 int
43407 main ()
43408 {
43409
43410 #ifndef $wx_func
43411 &$wx_func;
43412 #endif
43413
43414
43415 ;
43416 return 0;
43417 }
43418
43419 _ACEOF
43420 rm -f conftest.$ac_objext conftest$ac_exeext
43421 if { (ac_try="$ac_link"
43422 case "(($ac_try" in
43423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43424 *) ac_try_echo=$ac_try;;
43425 esac
43426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43427 (eval "$ac_link") 2>conftest.er1
43428 ac_status=$?
43429 grep -v '^ *+' conftest.er1 >conftest.err
43430 rm -f conftest.er1
43431 cat conftest.err >&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); } &&
43434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43435 { (case "(($ac_try" in
43436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43437 *) ac_try_echo=$ac_try;;
43438 esac
43439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43440 (eval "$ac_try") 2>&5
43441 ac_status=$?
43442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443 (exit $ac_status); }; } &&
43444 { ac_try='test -s conftest$ac_exeext'
43445 { (case "(($ac_try" in
43446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43447 *) ac_try_echo=$ac_try;;
43448 esac
43449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43450 (eval "$ac_try") 2>&5
43451 ac_status=$?
43452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43453 (exit $ac_status); }; }; then
43454 eval wx_cv_func_$wx_func=yes
43455 else
43456 echo "$as_me: failed program was:" >&5
43457 sed 's/^/| /' conftest.$ac_ext >&5
43458
43459 eval wx_cv_func_$wx_func=no
43460 fi
43461
43462 rm -f core conftest.err conftest.$ac_objext \
43463 conftest$ac_exeext conftest.$ac_ext
43464
43465 fi
43466 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43467 { echo "$as_me:$LINENO: result: $ac_res" >&5
43468 echo "${ECHO_T}$ac_res" >&6; }
43469
43470 if eval test \$wx_cv_func_$wx_func = yes
43471 then
43472 cat >>confdefs.h <<_ACEOF
43473 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43474 _ACEOF
43475
43476
43477 else
43478 :
43479 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
43480 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
43481
43482 fi
43483 done
43484
43485
43486
43487 fi
43488
43489
43490
43491 fi
43492 done
43493
43494 fi
43495
43496
43497 for wx_func in uname
43498 do
43499 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43501 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43502 echo $ECHO_N "(cached) $ECHO_C" >&6
43503 else
43504
43505 cat >conftest.$ac_ext <<_ACEOF
43506
43507 /* confdefs.h. */
43508 _ACEOF
43509 cat confdefs.h >>conftest.$ac_ext
43510 cat >>conftest.$ac_ext <<_ACEOF
43511 /* end confdefs.h. */
43512
43513 #include <sys/utsname.h>
43514 $ac_includes_default
43515
43516 int
43517 main ()
43518 {
43519
43520 #ifndef $wx_func
43521 &$wx_func;
43522 #endif
43523
43524
43525 ;
43526 return 0;
43527 }
43528
43529 _ACEOF
43530 rm -f conftest.$ac_objext conftest$ac_exeext
43531 if { (ac_try="$ac_link"
43532 case "(($ac_try" in
43533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43534 *) ac_try_echo=$ac_try;;
43535 esac
43536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43537 (eval "$ac_link") 2>conftest.er1
43538 ac_status=$?
43539 grep -v '^ *+' conftest.er1 >conftest.err
43540 rm -f conftest.er1
43541 cat conftest.err >&5
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); } &&
43544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43545 { (case "(($ac_try" in
43546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43547 *) ac_try_echo=$ac_try;;
43548 esac
43549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43550 (eval "$ac_try") 2>&5
43551 ac_status=$?
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); }; } &&
43554 { ac_try='test -s conftest$ac_exeext'
43555 { (case "(($ac_try" in
43556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43557 *) ac_try_echo=$ac_try;;
43558 esac
43559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43560 (eval "$ac_try") 2>&5
43561 ac_status=$?
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); }; }; then
43564 eval wx_cv_func_$wx_func=yes
43565 else
43566 echo "$as_me: failed program was:" >&5
43567 sed 's/^/| /' conftest.$ac_ext >&5
43568
43569 eval wx_cv_func_$wx_func=no
43570 fi
43571
43572 rm -f core conftest.err conftest.$ac_objext \
43573 conftest$ac_exeext conftest.$ac_ext
43574
43575 fi
43576 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43577 { echo "$as_me:$LINENO: result: $ac_res" >&5
43578 echo "${ECHO_T}$ac_res" >&6; }
43579
43580 if eval test \$wx_cv_func_$wx_func = yes
43581 then
43582 cat >>confdefs.h <<_ACEOF
43583 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43584 _ACEOF
43585
43586
43587 else
43588 :
43589
43590 fi
43591 done
43592
43593 if test "$wx_cv_func_uname" != yes; then
43594
43595 for wx_func in gethostname
43596 do
43597 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43598 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43599 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43600 echo $ECHO_N "(cached) $ECHO_C" >&6
43601 else
43602
43603 cat >conftest.$ac_ext <<_ACEOF
43604
43605 /* confdefs.h. */
43606 _ACEOF
43607 cat confdefs.h >>conftest.$ac_ext
43608 cat >>conftest.$ac_ext <<_ACEOF
43609 /* end confdefs.h. */
43610
43611
43612 $ac_includes_default
43613
43614 int
43615 main ()
43616 {
43617
43618 #ifndef $wx_func
43619 &$wx_func;
43620 #endif
43621
43622
43623 ;
43624 return 0;
43625 }
43626
43627 _ACEOF
43628 rm -f conftest.$ac_objext conftest$ac_exeext
43629 if { (ac_try="$ac_link"
43630 case "(($ac_try" in
43631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43632 *) ac_try_echo=$ac_try;;
43633 esac
43634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43635 (eval "$ac_link") 2>conftest.er1
43636 ac_status=$?
43637 grep -v '^ *+' conftest.er1 >conftest.err
43638 rm -f conftest.er1
43639 cat conftest.err >&5
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); } &&
43642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43643 { (case "(($ac_try" in
43644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43645 *) ac_try_echo=$ac_try;;
43646 esac
43647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43648 (eval "$ac_try") 2>&5
43649 ac_status=$?
43650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43651 (exit $ac_status); }; } &&
43652 { ac_try='test -s conftest$ac_exeext'
43653 { (case "(($ac_try" in
43654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43655 *) ac_try_echo=$ac_try;;
43656 esac
43657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43658 (eval "$ac_try") 2>&5
43659 ac_status=$?
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); }; }; then
43662 eval wx_cv_func_$wx_func=yes
43663 else
43664 echo "$as_me: failed program was:" >&5
43665 sed 's/^/| /' conftest.$ac_ext >&5
43666
43667 eval wx_cv_func_$wx_func=no
43668 fi
43669
43670 rm -f core conftest.err conftest.$ac_objext \
43671 conftest$ac_exeext conftest.$ac_ext
43672
43673 fi
43674 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43675 { echo "$as_me:$LINENO: result: $ac_res" >&5
43676 echo "${ECHO_T}$ac_res" >&6; }
43677
43678 if eval test \$wx_cv_func_$wx_func = yes
43679 then
43680 cat >>confdefs.h <<_ACEOF
43681 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43682 _ACEOF
43683
43684
43685 else
43686 :
43687
43688 fi
43689 done
43690
43691 fi
43692
43693
43694 for wx_func in strtok_r
43695 do
43696 { echo "$as_me:$LINENO: checking for $wx_func" >&5
43697 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
43698 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
43699 echo $ECHO_N "(cached) $ECHO_C" >&6
43700 else
43701
43702 cat >conftest.$ac_ext <<_ACEOF
43703
43704 /* confdefs.h. */
43705 _ACEOF
43706 cat confdefs.h >>conftest.$ac_ext
43707 cat >>conftest.$ac_ext <<_ACEOF
43708 /* end confdefs.h. */
43709
43710 #define _REENTRANT
43711 $ac_includes_default
43712
43713 int
43714 main ()
43715 {
43716
43717 #ifndef $wx_func
43718 &$wx_func;
43719 #endif
43720
43721
43722 ;
43723 return 0;
43724 }
43725
43726 _ACEOF
43727 rm -f conftest.$ac_objext conftest$ac_exeext
43728 if { (ac_try="$ac_link"
43729 case "(($ac_try" in
43730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43731 *) ac_try_echo=$ac_try;;
43732 esac
43733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43734 (eval "$ac_link") 2>conftest.er1
43735 ac_status=$?
43736 grep -v '^ *+' conftest.er1 >conftest.err
43737 rm -f conftest.er1
43738 cat conftest.err >&5
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); } &&
43741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43742 { (case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43744 *) ac_try_echo=$ac_try;;
43745 esac
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_try") 2>&5
43748 ac_status=$?
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); }; } &&
43751 { ac_try='test -s conftest$ac_exeext'
43752 { (case "(($ac_try" in
43753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43754 *) ac_try_echo=$ac_try;;
43755 esac
43756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43757 (eval "$ac_try") 2>&5
43758 ac_status=$?
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); }; }; then
43761 eval wx_cv_func_$wx_func=yes
43762 else
43763 echo "$as_me: failed program was:" >&5
43764 sed 's/^/| /' conftest.$ac_ext >&5
43765
43766 eval wx_cv_func_$wx_func=no
43767 fi
43768
43769 rm -f core conftest.err conftest.$ac_objext \
43770 conftest$ac_exeext conftest.$ac_ext
43771
43772 fi
43773 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
43774 { echo "$as_me:$LINENO: result: $ac_res" >&5
43775 echo "${ECHO_T}$ac_res" >&6; }
43776
43777 if eval test \$wx_cv_func_$wx_func = yes
43778 then
43779 cat >>confdefs.h <<_ACEOF
43780 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
43781 _ACEOF
43782
43783
43784 else
43785 :
43786
43787 fi
43788 done
43789
43790
43791 INET_LINK=
43792
43793 for ac_func in inet_addr
43794 do
43795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43799 echo $ECHO_N "(cached) $ECHO_C" >&6
43800 else
43801 cat >conftest.$ac_ext <<_ACEOF
43802 /* confdefs.h. */
43803 _ACEOF
43804 cat confdefs.h >>conftest.$ac_ext
43805 cat >>conftest.$ac_ext <<_ACEOF
43806 /* end confdefs.h. */
43807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43809 #define $ac_func innocuous_$ac_func
43810
43811 /* System header to define __stub macros and hopefully few prototypes,
43812 which can conflict with char $ac_func (); below.
43813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43814 <limits.h> exists even on freestanding compilers. */
43815
43816 #ifdef __STDC__
43817 # include <limits.h>
43818 #else
43819 # include <assert.h>
43820 #endif
43821
43822 #undef $ac_func
43823
43824 /* Override any GCC internal prototype to avoid an error.
43825 Use char because int might match the return type of a GCC
43826 builtin and then its argument prototype would still apply. */
43827 #ifdef __cplusplus
43828 extern "C"
43829 #endif
43830 char $ac_func ();
43831 /* The GNU C library defines this for functions which it implements
43832 to always fail with ENOSYS. Some functions are actually named
43833 something starting with __ and the normal name is an alias. */
43834 #if defined __stub_$ac_func || defined __stub___$ac_func
43835 choke me
43836 #endif
43837
43838 int
43839 main ()
43840 {
43841 return $ac_func ();
43842 ;
43843 return 0;
43844 }
43845 _ACEOF
43846 rm -f conftest.$ac_objext conftest$ac_exeext
43847 if { (ac_try="$ac_link"
43848 case "(($ac_try" in
43849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43850 *) ac_try_echo=$ac_try;;
43851 esac
43852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43853 (eval "$ac_link") 2>conftest.er1
43854 ac_status=$?
43855 grep -v '^ *+' conftest.er1 >conftest.err
43856 rm -f conftest.er1
43857 cat conftest.err >&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); } &&
43860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43861 { (case "(($ac_try" in
43862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43863 *) ac_try_echo=$ac_try;;
43864 esac
43865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43866 (eval "$ac_try") 2>&5
43867 ac_status=$?
43868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43869 (exit $ac_status); }; } &&
43870 { ac_try='test -s conftest$ac_exeext'
43871 { (case "(($ac_try" in
43872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43873 *) ac_try_echo=$ac_try;;
43874 esac
43875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43876 (eval "$ac_try") 2>&5
43877 ac_status=$?
43878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43879 (exit $ac_status); }; }; then
43880 eval "$as_ac_var=yes"
43881 else
43882 echo "$as_me: failed program was:" >&5
43883 sed 's/^/| /' conftest.$ac_ext >&5
43884
43885 eval "$as_ac_var=no"
43886 fi
43887
43888 rm -f core conftest.err conftest.$ac_objext \
43889 conftest$ac_exeext conftest.$ac_ext
43890 fi
43891 ac_res=`eval echo '${'$as_ac_var'}'`
43892 { echo "$as_me:$LINENO: result: $ac_res" >&5
43893 echo "${ECHO_T}$ac_res" >&6; }
43894 if test `eval echo '${'$as_ac_var'}'` = yes; then
43895 cat >>confdefs.h <<_ACEOF
43896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43897 _ACEOF
43898 cat >>confdefs.h <<\_ACEOF
43899 #define HAVE_INET_ADDR 1
43900 _ACEOF
43901
43902 else
43903
43904 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
43905 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
43906 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
43907 echo $ECHO_N "(cached) $ECHO_C" >&6
43908 else
43909 ac_check_lib_save_LIBS=$LIBS
43910 LIBS="-lnsl $LIBS"
43911 cat >conftest.$ac_ext <<_ACEOF
43912 /* confdefs.h. */
43913 _ACEOF
43914 cat confdefs.h >>conftest.$ac_ext
43915 cat >>conftest.$ac_ext <<_ACEOF
43916 /* end confdefs.h. */
43917
43918 /* Override any GCC internal prototype to avoid an error.
43919 Use char because int might match the return type of a GCC
43920 builtin and then its argument prototype would still apply. */
43921 #ifdef __cplusplus
43922 extern "C"
43923 #endif
43924 char inet_addr ();
43925 int
43926 main ()
43927 {
43928 return inet_addr ();
43929 ;
43930 return 0;
43931 }
43932 _ACEOF
43933 rm -f conftest.$ac_objext conftest$ac_exeext
43934 if { (ac_try="$ac_link"
43935 case "(($ac_try" in
43936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43937 *) ac_try_echo=$ac_try;;
43938 esac
43939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43940 (eval "$ac_link") 2>conftest.er1
43941 ac_status=$?
43942 grep -v '^ *+' conftest.er1 >conftest.err
43943 rm -f conftest.er1
43944 cat conftest.err >&5
43945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946 (exit $ac_status); } &&
43947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43948 { (case "(($ac_try" in
43949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43950 *) ac_try_echo=$ac_try;;
43951 esac
43952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43953 (eval "$ac_try") 2>&5
43954 ac_status=$?
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); }; } &&
43957 { ac_try='test -s conftest$ac_exeext'
43958 { (case "(($ac_try" in
43959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43960 *) ac_try_echo=$ac_try;;
43961 esac
43962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43963 (eval "$ac_try") 2>&5
43964 ac_status=$?
43965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43966 (exit $ac_status); }; }; then
43967 ac_cv_lib_nsl_inet_addr=yes
43968 else
43969 echo "$as_me: failed program was:" >&5
43970 sed 's/^/| /' conftest.$ac_ext >&5
43971
43972 ac_cv_lib_nsl_inet_addr=no
43973 fi
43974
43975 rm -f core conftest.err conftest.$ac_objext \
43976 conftest$ac_exeext conftest.$ac_ext
43977 LIBS=$ac_check_lib_save_LIBS
43978 fi
43979 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
43980 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
43981 if test $ac_cv_lib_nsl_inet_addr = yes; then
43982 INET_LINK="nsl"
43983 else
43984
43985 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
43986 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
43987 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
43988 echo $ECHO_N "(cached) $ECHO_C" >&6
43989 else
43990 ac_check_lib_save_LIBS=$LIBS
43991 LIBS="-lresolv $LIBS"
43992 cat >conftest.$ac_ext <<_ACEOF
43993 /* confdefs.h. */
43994 _ACEOF
43995 cat confdefs.h >>conftest.$ac_ext
43996 cat >>conftest.$ac_ext <<_ACEOF
43997 /* end confdefs.h. */
43998
43999 /* Override any GCC internal prototype to avoid an error.
44000 Use char because int might match the return type of a GCC
44001 builtin and then its argument prototype would still apply. */
44002 #ifdef __cplusplus
44003 extern "C"
44004 #endif
44005 char inet_addr ();
44006 int
44007 main ()
44008 {
44009 return inet_addr ();
44010 ;
44011 return 0;
44012 }
44013 _ACEOF
44014 rm -f conftest.$ac_objext conftest$ac_exeext
44015 if { (ac_try="$ac_link"
44016 case "(($ac_try" in
44017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44018 *) ac_try_echo=$ac_try;;
44019 esac
44020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44021 (eval "$ac_link") 2>conftest.er1
44022 ac_status=$?
44023 grep -v '^ *+' conftest.er1 >conftest.err
44024 rm -f conftest.er1
44025 cat conftest.err >&5
44026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44027 (exit $ac_status); } &&
44028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44029 { (case "(($ac_try" in
44030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44031 *) ac_try_echo=$ac_try;;
44032 esac
44033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44034 (eval "$ac_try") 2>&5
44035 ac_status=$?
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; } &&
44038 { ac_try='test -s conftest$ac_exeext'
44039 { (case "(($ac_try" in
44040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44041 *) ac_try_echo=$ac_try;;
44042 esac
44043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44044 (eval "$ac_try") 2>&5
44045 ac_status=$?
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; }; then
44048 ac_cv_lib_resolv_inet_addr=yes
44049 else
44050 echo "$as_me: failed program was:" >&5
44051 sed 's/^/| /' conftest.$ac_ext >&5
44052
44053 ac_cv_lib_resolv_inet_addr=no
44054 fi
44055
44056 rm -f core conftest.err conftest.$ac_objext \
44057 conftest$ac_exeext conftest.$ac_ext
44058 LIBS=$ac_check_lib_save_LIBS
44059 fi
44060 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
44061 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
44062 if test $ac_cv_lib_resolv_inet_addr = yes; then
44063 INET_LINK="resolv"
44064 else
44065
44066 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
44067 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
44068 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
44069 echo $ECHO_N "(cached) $ECHO_C" >&6
44070 else
44071 ac_check_lib_save_LIBS=$LIBS
44072 LIBS="-lsocket $LIBS"
44073 cat >conftest.$ac_ext <<_ACEOF
44074 /* confdefs.h. */
44075 _ACEOF
44076 cat confdefs.h >>conftest.$ac_ext
44077 cat >>conftest.$ac_ext <<_ACEOF
44078 /* end confdefs.h. */
44079
44080 /* Override any GCC internal prototype to avoid an error.
44081 Use char because int might match the return type of a GCC
44082 builtin and then its argument prototype would still apply. */
44083 #ifdef __cplusplus
44084 extern "C"
44085 #endif
44086 char inet_addr ();
44087 int
44088 main ()
44089 {
44090 return inet_addr ();
44091 ;
44092 return 0;
44093 }
44094 _ACEOF
44095 rm -f conftest.$ac_objext conftest$ac_exeext
44096 if { (ac_try="$ac_link"
44097 case "(($ac_try" in
44098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44099 *) ac_try_echo=$ac_try;;
44100 esac
44101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44102 (eval "$ac_link") 2>conftest.er1
44103 ac_status=$?
44104 grep -v '^ *+' conftest.er1 >conftest.err
44105 rm -f conftest.er1
44106 cat conftest.err >&5
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); } &&
44109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44110 { (case "(($ac_try" in
44111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44112 *) ac_try_echo=$ac_try;;
44113 esac
44114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44115 (eval "$ac_try") 2>&5
44116 ac_status=$?
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); }; } &&
44119 { ac_try='test -s conftest$ac_exeext'
44120 { (case "(($ac_try" in
44121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44122 *) ac_try_echo=$ac_try;;
44123 esac
44124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44125 (eval "$ac_try") 2>&5
44126 ac_status=$?
44127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44128 (exit $ac_status); }; }; then
44129 ac_cv_lib_socket_inet_addr=yes
44130 else
44131 echo "$as_me: failed program was:" >&5
44132 sed 's/^/| /' conftest.$ac_ext >&5
44133
44134 ac_cv_lib_socket_inet_addr=no
44135 fi
44136
44137 rm -f core conftest.err conftest.$ac_objext \
44138 conftest$ac_exeext conftest.$ac_ext
44139 LIBS=$ac_check_lib_save_LIBS
44140 fi
44141 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
44142 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
44143 if test $ac_cv_lib_socket_inet_addr = yes; then
44144 INET_LINK="socket"
44145
44146 fi
44147
44148
44149
44150 fi
44151
44152
44153
44154 fi
44155
44156
44157
44158 fi
44159 done
44160
44161
44162
44163 for ac_func in inet_aton
44164 do
44165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44166 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44168 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44169 echo $ECHO_N "(cached) $ECHO_C" >&6
44170 else
44171 cat >conftest.$ac_ext <<_ACEOF
44172 /* confdefs.h. */
44173 _ACEOF
44174 cat confdefs.h >>conftest.$ac_ext
44175 cat >>conftest.$ac_ext <<_ACEOF
44176 /* end confdefs.h. */
44177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44179 #define $ac_func innocuous_$ac_func
44180
44181 /* System header to define __stub macros and hopefully few prototypes,
44182 which can conflict with char $ac_func (); below.
44183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44184 <limits.h> exists even on freestanding compilers. */
44185
44186 #ifdef __STDC__
44187 # include <limits.h>
44188 #else
44189 # include <assert.h>
44190 #endif
44191
44192 #undef $ac_func
44193
44194 /* Override any GCC internal prototype to avoid an error.
44195 Use char because int might match the return type of a GCC
44196 builtin and then its argument prototype would still apply. */
44197 #ifdef __cplusplus
44198 extern "C"
44199 #endif
44200 char $ac_func ();
44201 /* The GNU C library defines this for functions which it implements
44202 to always fail with ENOSYS. Some functions are actually named
44203 something starting with __ and the normal name is an alias. */
44204 #if defined __stub_$ac_func || defined __stub___$ac_func
44205 choke me
44206 #endif
44207
44208 int
44209 main ()
44210 {
44211 return $ac_func ();
44212 ;
44213 return 0;
44214 }
44215 _ACEOF
44216 rm -f conftest.$ac_objext conftest$ac_exeext
44217 if { (ac_try="$ac_link"
44218 case "(($ac_try" in
44219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44220 *) ac_try_echo=$ac_try;;
44221 esac
44222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44223 (eval "$ac_link") 2>conftest.er1
44224 ac_status=$?
44225 grep -v '^ *+' conftest.er1 >conftest.err
44226 rm -f conftest.er1
44227 cat conftest.err >&5
44228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44229 (exit $ac_status); } &&
44230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44231 { (case "(($ac_try" in
44232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44233 *) ac_try_echo=$ac_try;;
44234 esac
44235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44236 (eval "$ac_try") 2>&5
44237 ac_status=$?
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; } &&
44240 { ac_try='test -s conftest$ac_exeext'
44241 { (case "(($ac_try" in
44242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44243 *) ac_try_echo=$ac_try;;
44244 esac
44245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44246 (eval "$ac_try") 2>&5
44247 ac_status=$?
44248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44249 (exit $ac_status); }; }; then
44250 eval "$as_ac_var=yes"
44251 else
44252 echo "$as_me: failed program was:" >&5
44253 sed 's/^/| /' conftest.$ac_ext >&5
44254
44255 eval "$as_ac_var=no"
44256 fi
44257
44258 rm -f core conftest.err conftest.$ac_objext \
44259 conftest$ac_exeext conftest.$ac_ext
44260 fi
44261 ac_res=`eval echo '${'$as_ac_var'}'`
44262 { echo "$as_me:$LINENO: result: $ac_res" >&5
44263 echo "${ECHO_T}$ac_res" >&6; }
44264 if test `eval echo '${'$as_ac_var'}'` = yes; then
44265 cat >>confdefs.h <<_ACEOF
44266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44267 _ACEOF
44268 cat >>confdefs.h <<\_ACEOF
44269 #define HAVE_INET_ATON 1
44270 _ACEOF
44271
44272 else
44273
44274 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
44275 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
44276 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
44277 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
44278 echo $ECHO_N "(cached) $ECHO_C" >&6
44279 else
44280 ac_check_lib_save_LIBS=$LIBS
44281 LIBS="-l$INET_LINK $LIBS"
44282 cat >conftest.$ac_ext <<_ACEOF
44283 /* confdefs.h. */
44284 _ACEOF
44285 cat confdefs.h >>conftest.$ac_ext
44286 cat >>conftest.$ac_ext <<_ACEOF
44287 /* end confdefs.h. */
44288
44289 /* Override any GCC internal prototype to avoid an error.
44290 Use char because int might match the return type of a GCC
44291 builtin and then its argument prototype would still apply. */
44292 #ifdef __cplusplus
44293 extern "C"
44294 #endif
44295 char inet_aton ();
44296 int
44297 main ()
44298 {
44299 return inet_aton ();
44300 ;
44301 return 0;
44302 }
44303 _ACEOF
44304 rm -f conftest.$ac_objext conftest$ac_exeext
44305 if { (ac_try="$ac_link"
44306 case "(($ac_try" in
44307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44308 *) ac_try_echo=$ac_try;;
44309 esac
44310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44311 (eval "$ac_link") 2>conftest.er1
44312 ac_status=$?
44313 grep -v '^ *+' conftest.er1 >conftest.err
44314 rm -f conftest.er1
44315 cat conftest.err >&5
44316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317 (exit $ac_status); } &&
44318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44319 { (case "(($ac_try" in
44320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44321 *) ac_try_echo=$ac_try;;
44322 esac
44323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44324 (eval "$ac_try") 2>&5
44325 ac_status=$?
44326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327 (exit $ac_status); }; } &&
44328 { ac_try='test -s conftest$ac_exeext'
44329 { (case "(($ac_try" in
44330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44331 *) ac_try_echo=$ac_try;;
44332 esac
44333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44334 (eval "$ac_try") 2>&5
44335 ac_status=$?
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); }; }; then
44338 eval "$as_ac_Lib=yes"
44339 else
44340 echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44342
44343 eval "$as_ac_Lib=no"
44344 fi
44345
44346 rm -f core conftest.err conftest.$ac_objext \
44347 conftest$ac_exeext conftest.$ac_ext
44348 LIBS=$ac_check_lib_save_LIBS
44349 fi
44350 ac_res=`eval echo '${'$as_ac_Lib'}'`
44351 { echo "$as_me:$LINENO: result: $ac_res" >&5
44352 echo "${ECHO_T}$ac_res" >&6; }
44353 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define HAVE_INET_ATON 1
44356 _ACEOF
44357
44358 fi
44359
44360
44361 fi
44362 done
44363
44364
44365 if test "x$INET_LINK" != "x"; then
44366 cat >>confdefs.h <<\_ACEOF
44367 #define HAVE_INET_ADDR 1
44368 _ACEOF
44369
44370 INET_LINK=" -l$INET_LINK"
44371 fi
44372
44373
44374 for wx_func in fdopen
44375 do
44376 { echo "$as_me:$LINENO: checking for $wx_func" >&5
44377 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
44378 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
44379 echo $ECHO_N "(cached) $ECHO_C" >&6
44380 else
44381
44382 cat >conftest.$ac_ext <<_ACEOF
44383
44384 /* confdefs.h. */
44385 _ACEOF
44386 cat confdefs.h >>conftest.$ac_ext
44387 cat >>conftest.$ac_ext <<_ACEOF
44388 /* end confdefs.h. */
44389
44390
44391 $ac_includes_default
44392
44393 int
44394 main ()
44395 {
44396
44397 #ifndef $wx_func
44398 &$wx_func;
44399 #endif
44400
44401
44402 ;
44403 return 0;
44404 }
44405
44406 _ACEOF
44407 rm -f conftest.$ac_objext conftest$ac_exeext
44408 if { (ac_try="$ac_link"
44409 case "(($ac_try" in
44410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44411 *) ac_try_echo=$ac_try;;
44412 esac
44413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44414 (eval "$ac_link") 2>conftest.er1
44415 ac_status=$?
44416 grep -v '^ *+' conftest.er1 >conftest.err
44417 rm -f conftest.er1
44418 cat conftest.err >&5
44419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44420 (exit $ac_status); } &&
44421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44422 { (case "(($ac_try" in
44423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44424 *) ac_try_echo=$ac_try;;
44425 esac
44426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44427 (eval "$ac_try") 2>&5
44428 ac_status=$?
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); }; } &&
44431 { ac_try='test -s conftest$ac_exeext'
44432 { (case "(($ac_try" in
44433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44434 *) ac_try_echo=$ac_try;;
44435 esac
44436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44437 (eval "$ac_try") 2>&5
44438 ac_status=$?
44439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440 (exit $ac_status); }; }; then
44441 eval wx_cv_func_$wx_func=yes
44442 else
44443 echo "$as_me: failed program was:" >&5
44444 sed 's/^/| /' conftest.$ac_ext >&5
44445
44446 eval wx_cv_func_$wx_func=no
44447 fi
44448
44449 rm -f core conftest.err conftest.$ac_objext \
44450 conftest$ac_exeext conftest.$ac_ext
44451
44452 fi
44453 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
44454 { echo "$as_me:$LINENO: result: $ac_res" >&5
44455 echo "${ECHO_T}$ac_res" >&6; }
44456
44457 if eval test \$wx_cv_func_$wx_func = yes
44458 then
44459 cat >>confdefs.h <<_ACEOF
44460 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
44461 _ACEOF
44462
44463
44464 else
44465 :
44466
44467 fi
44468 done
44469
44470
44471 fi
44472
44473
44474
44475
44476 EXTRALIBS_ESD=
44477 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
44478 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
44479 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
44480 echo $ECHO_N "(cached) $ECHO_C" >&6
44481 else
44482 ac_check_lib_save_LIBS=$LIBS
44483 LIBS="-lesd $LIBS"
44484 cat >conftest.$ac_ext <<_ACEOF
44485 /* confdefs.h. */
44486 _ACEOF
44487 cat confdefs.h >>conftest.$ac_ext
44488 cat >>conftest.$ac_ext <<_ACEOF
44489 /* end confdefs.h. */
44490
44491 /* Override any GCC internal prototype to avoid an error.
44492 Use char because int might match the return type of a GCC
44493 builtin and then its argument prototype would still apply. */
44494 #ifdef __cplusplus
44495 extern "C"
44496 #endif
44497 char esd_close ();
44498 int
44499 main ()
44500 {
44501 return esd_close ();
44502 ;
44503 return 0;
44504 }
44505 _ACEOF
44506 rm -f conftest.$ac_objext conftest$ac_exeext
44507 if { (ac_try="$ac_link"
44508 case "(($ac_try" in
44509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44510 *) ac_try_echo=$ac_try;;
44511 esac
44512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44513 (eval "$ac_link") 2>conftest.er1
44514 ac_status=$?
44515 grep -v '^ *+' conftest.er1 >conftest.err
44516 rm -f conftest.er1
44517 cat conftest.err >&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } &&
44520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44521 { (case "(($ac_try" in
44522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44523 *) ac_try_echo=$ac_try;;
44524 esac
44525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44526 (eval "$ac_try") 2>&5
44527 ac_status=$?
44528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44529 (exit $ac_status); }; } &&
44530 { ac_try='test -s conftest$ac_exeext'
44531 { (case "(($ac_try" in
44532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44533 *) ac_try_echo=$ac_try;;
44534 esac
44535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44536 (eval "$ac_try") 2>&5
44537 ac_status=$?
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); }; }; then
44540 ac_cv_lib_esd_esd_close=yes
44541 else
44542 echo "$as_me: failed program was:" >&5
44543 sed 's/^/| /' conftest.$ac_ext >&5
44544
44545 ac_cv_lib_esd_esd_close=no
44546 fi
44547
44548 rm -f core conftest.err conftest.$ac_objext \
44549 conftest$ac_exeext conftest.$ac_ext
44550 LIBS=$ac_check_lib_save_LIBS
44551 fi
44552 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
44553 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
44554 if test $ac_cv_lib_esd_esd_close = yes; then
44555
44556
44557 for ac_header in esd.h
44558 do
44559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44564 echo $ECHO_N "(cached) $ECHO_C" >&6
44565 fi
44566 ac_res=`eval echo '${'$as_ac_Header'}'`
44567 { echo "$as_me:$LINENO: result: $ac_res" >&5
44568 echo "${ECHO_T}$ac_res" >&6; }
44569 else
44570 # Is the header compilable?
44571 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
44572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
44573 cat >conftest.$ac_ext <<_ACEOF
44574 /* confdefs.h. */
44575 _ACEOF
44576 cat confdefs.h >>conftest.$ac_ext
44577 cat >>conftest.$ac_ext <<_ACEOF
44578 /* end confdefs.h. */
44579 $ac_includes_default
44580 #include <$ac_header>
44581 _ACEOF
44582 rm -f conftest.$ac_objext
44583 if { (ac_try="$ac_compile"
44584 case "(($ac_try" in
44585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44586 *) ac_try_echo=$ac_try;;
44587 esac
44588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44589 (eval "$ac_compile") 2>conftest.er1
44590 ac_status=$?
44591 grep -v '^ *+' conftest.er1 >conftest.err
44592 rm -f conftest.er1
44593 cat conftest.err >&5
44594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44595 (exit $ac_status); } &&
44596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44597 { (case "(($ac_try" in
44598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44599 *) ac_try_echo=$ac_try;;
44600 esac
44601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44602 (eval "$ac_try") 2>&5
44603 ac_status=$?
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; } &&
44606 { ac_try='test -s conftest.$ac_objext'
44607 { (case "(($ac_try" in
44608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44609 *) ac_try_echo=$ac_try;;
44610 esac
44611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44612 (eval "$ac_try") 2>&5
44613 ac_status=$?
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); }; }; then
44616 ac_header_compiler=yes
44617 else
44618 echo "$as_me: failed program was:" >&5
44619 sed 's/^/| /' conftest.$ac_ext >&5
44620
44621 ac_header_compiler=no
44622 fi
44623
44624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44625 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44626 echo "${ECHO_T}$ac_header_compiler" >&6; }
44627
44628 # Is the header present?
44629 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
44630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
44631 cat >conftest.$ac_ext <<_ACEOF
44632 /* confdefs.h. */
44633 _ACEOF
44634 cat confdefs.h >>conftest.$ac_ext
44635 cat >>conftest.$ac_ext <<_ACEOF
44636 /* end confdefs.h. */
44637 #include <$ac_header>
44638 _ACEOF
44639 if { (ac_try="$ac_cpp conftest.$ac_ext"
44640 case "(($ac_try" in
44641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44642 *) ac_try_echo=$ac_try;;
44643 esac
44644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
44646 ac_status=$?
44647 grep -v '^ *+' conftest.er1 >conftest.err
44648 rm -f conftest.er1
44649 cat conftest.err >&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } >/dev/null; then
44652 if test -s conftest.err; then
44653 ac_cpp_err=$ac_c_preproc_warn_flag
44654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
44655 else
44656 ac_cpp_err=
44657 fi
44658 else
44659 ac_cpp_err=yes
44660 fi
44661 if test -z "$ac_cpp_err"; then
44662 ac_header_preproc=yes
44663 else
44664 echo "$as_me: failed program was:" >&5
44665 sed 's/^/| /' conftest.$ac_ext >&5
44666
44667 ac_header_preproc=no
44668 fi
44669
44670 rm -f conftest.err conftest.$ac_ext
44671 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44672 echo "${ECHO_T}$ac_header_preproc" >&6; }
44673
44674 # So? What about this header?
44675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
44676 yes:no: )
44677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44681 ac_header_preproc=yes
44682 ;;
44683 no:yes:* )
44684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44696 ( cat <<\_ASBOX
44697 ## ----------------------------------------- ##
44698 ## Report this to wx-dev@lists.wxwidgets.org ##
44699 ## ----------------------------------------- ##
44700 _ASBOX
44701 ) | sed "s/^/$as_me: WARNING: /" >&2
44702 ;;
44703 esac
44704 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44707 echo $ECHO_N "(cached) $ECHO_C" >&6
44708 else
44709 eval "$as_ac_Header=\$ac_header_preproc"
44710 fi
44711 ac_res=`eval echo '${'$as_ac_Header'}'`
44712 { echo "$as_me:$LINENO: result: $ac_res" >&5
44713 echo "${ECHO_T}$ac_res" >&6; }
44714
44715 fi
44716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44717 cat >>confdefs.h <<_ACEOF
44718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44719 _ACEOF
44720
44721 EXTRALIBS_ESD="-lesd"
44722
44723 fi
44724
44725 done
44726
44727
44728 fi
44729
44730
44731
44732 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
44733 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
44734 cat >conftest.$ac_ext <<_ACEOF
44735 /* confdefs.h. */
44736 _ACEOF
44737 cat confdefs.h >>conftest.$ac_ext
44738 cat >>conftest.$ac_ext <<_ACEOF
44739 /* end confdefs.h. */
44740 #ifdef __linux__
44741 #include <linux/cdrom.h>
44742 #else
44743 /* For Solaris */
44744 #include <sys/cdio.h>
44745 #endif
44746
44747 int
44748 main ()
44749 {
44750 struct cdrom_tocentry entry, old_entry;
44751 ;
44752 return 0;
44753 }
44754 _ACEOF
44755 rm -f conftest.$ac_objext
44756 if { (ac_try="$ac_compile"
44757 case "(($ac_try" in
44758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44759 *) ac_try_echo=$ac_try;;
44760 esac
44761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44762 (eval "$ac_compile") 2>conftest.er1
44763 ac_status=$?
44764 grep -v '^ *+' conftest.er1 >conftest.err
44765 rm -f conftest.er1
44766 cat conftest.err >&5
44767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768 (exit $ac_status); } &&
44769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44770 { (case "(($ac_try" in
44771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44772 *) ac_try_echo=$ac_try;;
44773 esac
44774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44775 (eval "$ac_try") 2>&5
44776 ac_status=$?
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); }; } &&
44779 { ac_try='test -s conftest.$ac_objext'
44780 { (case "(($ac_try" in
44781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44782 *) ac_try_echo=$ac_try;;
44783 esac
44784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44785 (eval "$ac_try") 2>&5
44786 ac_status=$?
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); }; }; then
44789 { echo "$as_me:$LINENO: result: yes" >&5
44790 echo "${ECHO_T}yes" >&6; }
44791 cat >>confdefs.h <<\_ACEOF
44792 #define HAVE_KNOWN_CDROM_INTERFACE 1
44793 _ACEOF
44794
44795 else
44796 echo "$as_me: failed program was:" >&5
44797 sed 's/^/| /' conftest.$ac_ext >&5
44798
44799 { echo "$as_me:$LINENO: result: no" >&5
44800 echo "${ECHO_T}no" >&6; }
44801 fi
44802
44803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804
44805
44806 cat >confcache <<\_ACEOF
44807 # This file is a shell script that caches the results of configure
44808 # tests run on this system so they can be shared between configure
44809 # scripts and configure runs, see configure's option --config-cache.
44810 # It is not useful on other systems. If it contains results you don't
44811 # want to keep, you may remove or edit it.
44812 #
44813 # config.status only pays attention to the cache file if you give it
44814 # the --recheck option to rerun configure.
44815 #
44816 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44817 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44818 # following values.
44819
44820 _ACEOF
44821
44822 # The following way of writing the cache mishandles newlines in values,
44823 # but we know of no workaround that is simple, portable, and efficient.
44824 # So, we kill variables containing newlines.
44825 # Ultrix sh set writes to stderr and can't be redirected directly,
44826 # and sets the high bit in the cache file unless we assign to the vars.
44827 (
44828 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
44829 eval ac_val=\$$ac_var
44830 case $ac_val in #(
44831 *${as_nl}*)
44832 case $ac_var in #(
44833 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
44834 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
44835 esac
44836 case $ac_var in #(
44837 _ | IFS | as_nl) ;; #(
44838 *) $as_unset $ac_var ;;
44839 esac ;;
44840 esac
44841 done
44842
44843 (set) 2>&1 |
44844 case $as_nl`(ac_space=' '; set) 2>&1` in #(
44845 *${as_nl}ac_space=\ *)
44846 # `set' does not quote correctly, so add quotes (double-quote
44847 # substitution turns \\\\ into \\, and sed turns \\ into \).
44848 sed -n \
44849 "s/'/'\\\\''/g;
44850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44851 ;; #(
44852 *)
44853 # `set' quotes correctly as required by POSIX, so do not add quotes.
44854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
44855 ;;
44856 esac |
44857 sort
44858 ) |
44859 sed '
44860 /^ac_cv_env_/b end
44861 t clear
44862 :clear
44863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44864 t end
44865 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44866 :end' >>confcache
44867 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
44868 if test -w "$cache_file"; then
44869 test "x$cache_file" != "x/dev/null" &&
44870 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
44871 echo "$as_me: updating cache $cache_file" >&6;}
44872 cat confcache >$cache_file
44873 else
44874 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
44875 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
44876 fi
44877 fi
44878 rm -f confcache
44879
44880
44881 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44882
44883
44884 THREADS_LINK=
44885 THREADS_CFLAGS=
44886
44887 if test "$wxUSE_THREADS" = "yes" ; then
44888 if test "$USE_BEOS" = 1; then
44889 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
44890 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
44891 wxUSE_THREADS="no"
44892 fi
44893 fi
44894
44895 if test "$wxUSE_THREADS" = "yes" ; then
44896
44897
44898 THREAD_OPTS="-pthread"
44899 case "${host}" in
44900 *-*-solaris2* | *-*-sunos4* )
44901 if test "x$GCC" = "xyes"; then
44902 THREAD_OPTS="-pthreads $THREAD_OPTS"
44903 else
44904 THREAD_OPTS="-mt $THREAD_OPTS"
44905 fi
44906 ;;
44907 *-*-freebsd*)
44908 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
44909 ;;
44910 *-*-darwin* | *-*-cygwin* )
44911 THREAD_OPTS=""
44912 ;;
44913 *-*-aix*)
44914 THREAD_OPTS="pthreads"
44915 ;;
44916 *-hp-hpux* )
44917 if test "x$GCC" = "xyes"; then
44918 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
44919 THREAD_OPTS=""
44920 else
44921 THREAD_OPTS="-mt"
44922 fi
44923 ;;
44924
44925 *-*-irix* )
44926 if test "x$GCC" = "xyes"; then
44927 THREAD_OPTS=""
44928 fi
44929 ;;
44930
44931 *-*-*UnixWare*)
44932 if test "x$GCC" != "xyes"; then
44933 THREAD_OPTS="-Ethread"
44934 fi
44935 ;;
44936 esac
44937
44938 THREAD_OPTS="$THREAD_OPTS pthread none"
44939
44940 THREADS_OK=no
44941 for flag in $THREAD_OPTS; do
44942 case $flag in
44943 none)
44944 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
44945 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
44946 ;;
44947
44948 -*)
44949 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
44950 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
44951 THREADS_CFLAGS="$flag"
44952 ;;
44953
44954 *)
44955 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
44956 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
44957 THREADS_LINK="-l$flag"
44958 ;;
44959 esac
44960
44961 save_LIBS="$LIBS"
44962 save_CFLAGS="$CFLAGS"
44963 LIBS="$THREADS_LINK $LIBS"
44964 CFLAGS="$THREADS_CFLAGS $CFLAGS"
44965
44966 cat >conftest.$ac_ext <<_ACEOF
44967 /* confdefs.h. */
44968 _ACEOF
44969 cat confdefs.h >>conftest.$ac_ext
44970 cat >>conftest.$ac_ext <<_ACEOF
44971 /* end confdefs.h. */
44972 #include <pthread.h>
44973 int
44974 main ()
44975 {
44976 pthread_create(0,0,0,0);
44977 ;
44978 return 0;
44979 }
44980 _ACEOF
44981 rm -f conftest.$ac_objext conftest$ac_exeext
44982 if { (ac_try="$ac_link"
44983 case "(($ac_try" in
44984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44985 *) ac_try_echo=$ac_try;;
44986 esac
44987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44988 (eval "$ac_link") 2>conftest.er1
44989 ac_status=$?
44990 grep -v '^ *+' conftest.er1 >conftest.err
44991 rm -f conftest.er1
44992 cat conftest.err >&5
44993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994 (exit $ac_status); } &&
44995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44996 { (case "(($ac_try" in
44997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44998 *) ac_try_echo=$ac_try;;
44999 esac
45000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45001 (eval "$ac_try") 2>&5
45002 ac_status=$?
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); }; } &&
45005 { ac_try='test -s conftest$ac_exeext'
45006 { (case "(($ac_try" in
45007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45008 *) ac_try_echo=$ac_try;;
45009 esac
45010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45011 (eval "$ac_try") 2>&5
45012 ac_status=$?
45013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45014 (exit $ac_status); }; }; then
45015 THREADS_OK=yes
45016 else
45017 echo "$as_me: failed program was:" >&5
45018 sed 's/^/| /' conftest.$ac_ext >&5
45019
45020
45021 fi
45022
45023 rm -f core conftest.err conftest.$ac_objext \
45024 conftest$ac_exeext conftest.$ac_ext
45025
45026 LIBS="$save_LIBS"
45027 CFLAGS="$save_CFLAGS"
45028
45029 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
45030 echo "${ECHO_T}$THREADS_OK" >&6; }
45031 if test "x$THREADS_OK" = "xyes"; then
45032 break;
45033 fi
45034
45035 THREADS_LINK=""
45036 THREADS_CFLAGS=""
45037 done
45038
45039 if test "x$THREADS_OK" != "xyes"; then
45040 wxUSE_THREADS=no
45041 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
45042 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
45043 else
45044 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
45045 LIBS="$THREADS_LINK $LIBS"
45046
45047 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
45048 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
45049 flag=no
45050 case "${host}" in
45051 *-aix*)
45052 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
45053 flag="-D_THREAD_SAFE"
45054 ;;
45055 *-freebsd*)
45056 flag="-D_THREAD_SAFE"
45057 ;;
45058 *-hp-hpux* )
45059 flag="-D_REENTRANT"
45060 if test "x$GCC" != "xyes"; then
45061 flag="$flag -D_RWSTD_MULTI_THREAD"
45062 fi
45063 ;;
45064 *solaris* | alpha*-osf*)
45065 flag="-D_REENTRANT"
45066 ;;
45067 esac
45068 { echo "$as_me:$LINENO: result: ${flag}" >&5
45069 echo "${ECHO_T}${flag}" >&6; }
45070 if test "x$flag" != xno; then
45071 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
45072 fi
45073
45074 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
45075 fi
45076 fi
45077
45078 if test "$wxUSE_THREADS" = "yes" ; then
45079
45080 for ac_func in thr_setconcurrency
45081 do
45082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45086 echo $ECHO_N "(cached) $ECHO_C" >&6
45087 else
45088 cat >conftest.$ac_ext <<_ACEOF
45089 /* confdefs.h. */
45090 _ACEOF
45091 cat confdefs.h >>conftest.$ac_ext
45092 cat >>conftest.$ac_ext <<_ACEOF
45093 /* end confdefs.h. */
45094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45096 #define $ac_func innocuous_$ac_func
45097
45098 /* System header to define __stub macros and hopefully few prototypes,
45099 which can conflict with char $ac_func (); below.
45100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45101 <limits.h> exists even on freestanding compilers. */
45102
45103 #ifdef __STDC__
45104 # include <limits.h>
45105 #else
45106 # include <assert.h>
45107 #endif
45108
45109 #undef $ac_func
45110
45111 /* Override any GCC internal prototype to avoid an error.
45112 Use char because int might match the return type of a GCC
45113 builtin and then its argument prototype would still apply. */
45114 #ifdef __cplusplus
45115 extern "C"
45116 #endif
45117 char $ac_func ();
45118 /* The GNU C library defines this for functions which it implements
45119 to always fail with ENOSYS. Some functions are actually named
45120 something starting with __ and the normal name is an alias. */
45121 #if defined __stub_$ac_func || defined __stub___$ac_func
45122 choke me
45123 #endif
45124
45125 int
45126 main ()
45127 {
45128 return $ac_func ();
45129 ;
45130 return 0;
45131 }
45132 _ACEOF
45133 rm -f conftest.$ac_objext conftest$ac_exeext
45134 if { (ac_try="$ac_link"
45135 case "(($ac_try" in
45136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45137 *) ac_try_echo=$ac_try;;
45138 esac
45139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45140 (eval "$ac_link") 2>conftest.er1
45141 ac_status=$?
45142 grep -v '^ *+' conftest.er1 >conftest.err
45143 rm -f conftest.er1
45144 cat conftest.err >&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } &&
45147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45148 { (case "(($ac_try" in
45149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45150 *) ac_try_echo=$ac_try;;
45151 esac
45152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45153 (eval "$ac_try") 2>&5
45154 ac_status=$?
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); }; } &&
45157 { ac_try='test -s conftest$ac_exeext'
45158 { (case "(($ac_try" in
45159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45160 *) ac_try_echo=$ac_try;;
45161 esac
45162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45163 (eval "$ac_try") 2>&5
45164 ac_status=$?
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); }; }; then
45167 eval "$as_ac_var=yes"
45168 else
45169 echo "$as_me: failed program was:" >&5
45170 sed 's/^/| /' conftest.$ac_ext >&5
45171
45172 eval "$as_ac_var=no"
45173 fi
45174
45175 rm -f core conftest.err conftest.$ac_objext \
45176 conftest$ac_exeext conftest.$ac_ext
45177 fi
45178 ac_res=`eval echo '${'$as_ac_var'}'`
45179 { echo "$as_me:$LINENO: result: $ac_res" >&5
45180 echo "${ECHO_T}$ac_res" >&6; }
45181 if test `eval echo '${'$as_ac_var'}'` = yes; then
45182 cat >>confdefs.h <<_ACEOF
45183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45184 _ACEOF
45185
45186 fi
45187 done
45188
45189
45190 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
45191 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
45192 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
45193 echo $ECHO_N "(cached) $ECHO_C" >&6
45194 else
45195
45196 cat >conftest.$ac_ext <<_ACEOF
45197 /* confdefs.h. */
45198 _ACEOF
45199 cat confdefs.h >>conftest.$ac_ext
45200 cat >>conftest.$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 #include <pthread.h>
45203 void ThreadCleanupFunc(void *p);
45204
45205 int
45206 main ()
45207 {
45208
45209 void *p;
45210 pthread_cleanup_push(ThreadCleanupFunc, p);
45211 pthread_cleanup_pop(0);
45212
45213 ;
45214 return 0;
45215 }
45216 _ACEOF
45217 rm -f conftest.$ac_objext
45218 if { (ac_try="$ac_compile"
45219 case "(($ac_try" in
45220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45221 *) ac_try_echo=$ac_try;;
45222 esac
45223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45224 (eval "$ac_compile") 2>conftest.er1
45225 ac_status=$?
45226 grep -v '^ *+' conftest.er1 >conftest.err
45227 rm -f conftest.er1
45228 cat conftest.err >&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } &&
45231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45232 { (case "(($ac_try" in
45233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45234 *) ac_try_echo=$ac_try;;
45235 esac
45236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45237 (eval "$ac_try") 2>&5
45238 ac_status=$?
45239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45240 (exit $ac_status); }; } &&
45241 { ac_try='test -s conftest.$ac_objext'
45242 { (case "(($ac_try" in
45243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45244 *) ac_try_echo=$ac_try;;
45245 esac
45246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45247 (eval "$ac_try") 2>&5
45248 ac_status=$?
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); }; }; then
45251
45252 wx_cv_func_pthread_cleanup=yes
45253
45254 else
45255 echo "$as_me: failed program was:" >&5
45256 sed 's/^/| /' conftest.$ac_ext >&5
45257
45258
45259 wx_cv_func_pthread_cleanup=no
45260
45261
45262 fi
45263
45264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45265
45266 fi
45267 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
45268 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
45269 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
45270 cat >>confdefs.h <<\_ACEOF
45271 #define wxHAVE_PTHREAD_CLEANUP 1
45272 _ACEOF
45273
45274 fi
45275
45276
45277 for ac_header in sched.h
45278 do
45279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45281 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45283 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45284 echo $ECHO_N "(cached) $ECHO_C" >&6
45285 fi
45286 ac_res=`eval echo '${'$as_ac_Header'}'`
45287 { echo "$as_me:$LINENO: result: $ac_res" >&5
45288 echo "${ECHO_T}$ac_res" >&6; }
45289 else
45290 # Is the header compilable?
45291 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45292 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45293 cat >conftest.$ac_ext <<_ACEOF
45294 /* confdefs.h. */
45295 _ACEOF
45296 cat confdefs.h >>conftest.$ac_ext
45297 cat >>conftest.$ac_ext <<_ACEOF
45298 /* end confdefs.h. */
45299 $ac_includes_default
45300 #include <$ac_header>
45301 _ACEOF
45302 rm -f conftest.$ac_objext
45303 if { (ac_try="$ac_compile"
45304 case "(($ac_try" in
45305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45306 *) ac_try_echo=$ac_try;;
45307 esac
45308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45309 (eval "$ac_compile") 2>conftest.er1
45310 ac_status=$?
45311 grep -v '^ *+' conftest.er1 >conftest.err
45312 rm -f conftest.er1
45313 cat conftest.err >&5
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); } &&
45316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45317 { (case "(($ac_try" in
45318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45319 *) ac_try_echo=$ac_try;;
45320 esac
45321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45322 (eval "$ac_try") 2>&5
45323 ac_status=$?
45324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45325 (exit $ac_status); }; } &&
45326 { ac_try='test -s conftest.$ac_objext'
45327 { (case "(($ac_try" in
45328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45329 *) ac_try_echo=$ac_try;;
45330 esac
45331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45332 (eval "$ac_try") 2>&5
45333 ac_status=$?
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); }; }; then
45336 ac_header_compiler=yes
45337 else
45338 echo "$as_me: failed program was:" >&5
45339 sed 's/^/| /' conftest.$ac_ext >&5
45340
45341 ac_header_compiler=no
45342 fi
45343
45344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45345 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45346 echo "${ECHO_T}$ac_header_compiler" >&6; }
45347
45348 # Is the header present?
45349 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45350 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45351 cat >conftest.$ac_ext <<_ACEOF
45352 /* confdefs.h. */
45353 _ACEOF
45354 cat confdefs.h >>conftest.$ac_ext
45355 cat >>conftest.$ac_ext <<_ACEOF
45356 /* end confdefs.h. */
45357 #include <$ac_header>
45358 _ACEOF
45359 if { (ac_try="$ac_cpp conftest.$ac_ext"
45360 case "(($ac_try" in
45361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45362 *) ac_try_echo=$ac_try;;
45363 esac
45364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45366 ac_status=$?
45367 grep -v '^ *+' conftest.er1 >conftest.err
45368 rm -f conftest.er1
45369 cat conftest.err >&5
45370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45371 (exit $ac_status); } >/dev/null; then
45372 if test -s conftest.err; then
45373 ac_cpp_err=$ac_c_preproc_warn_flag
45374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45375 else
45376 ac_cpp_err=
45377 fi
45378 else
45379 ac_cpp_err=yes
45380 fi
45381 if test -z "$ac_cpp_err"; then
45382 ac_header_preproc=yes
45383 else
45384 echo "$as_me: failed program was:" >&5
45385 sed 's/^/| /' conftest.$ac_ext >&5
45386
45387 ac_header_preproc=no
45388 fi
45389
45390 rm -f conftest.err conftest.$ac_ext
45391 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45392 echo "${ECHO_T}$ac_header_preproc" >&6; }
45393
45394 # So? What about this header?
45395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45396 yes:no: )
45397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45400 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45401 ac_header_preproc=yes
45402 ;;
45403 no:yes:* )
45404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45409 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45411 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45413 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45415 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45416 ( cat <<\_ASBOX
45417 ## ----------------------------------------- ##
45418 ## Report this to wx-dev@lists.wxwidgets.org ##
45419 ## ----------------------------------------- ##
45420 _ASBOX
45421 ) | sed "s/^/$as_me: WARNING: /" >&2
45422 ;;
45423 esac
45424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45427 echo $ECHO_N "(cached) $ECHO_C" >&6
45428 else
45429 eval "$as_ac_Header=\$ac_header_preproc"
45430 fi
45431 ac_res=`eval echo '${'$as_ac_Header'}'`
45432 { echo "$as_me:$LINENO: result: $ac_res" >&5
45433 echo "${ECHO_T}$ac_res" >&6; }
45434
45435 fi
45436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45437 cat >>confdefs.h <<_ACEOF
45438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45439 _ACEOF
45440
45441 fi
45442
45443 done
45444
45445 if test "$ac_cv_header_sched_h" = "yes"; then
45446 { echo "$as_me:$LINENO: checking for sched_yield" >&5
45447 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
45448 if test "${ac_cv_func_sched_yield+set}" = set; then
45449 echo $ECHO_N "(cached) $ECHO_C" >&6
45450 else
45451 cat >conftest.$ac_ext <<_ACEOF
45452 /* confdefs.h. */
45453 _ACEOF
45454 cat confdefs.h >>conftest.$ac_ext
45455 cat >>conftest.$ac_ext <<_ACEOF
45456 /* end confdefs.h. */
45457 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
45458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45459 #define sched_yield innocuous_sched_yield
45460
45461 /* System header to define __stub macros and hopefully few prototypes,
45462 which can conflict with char sched_yield (); below.
45463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45464 <limits.h> exists even on freestanding compilers. */
45465
45466 #ifdef __STDC__
45467 # include <limits.h>
45468 #else
45469 # include <assert.h>
45470 #endif
45471
45472 #undef sched_yield
45473
45474 /* Override any GCC internal prototype to avoid an error.
45475 Use char because int might match the return type of a GCC
45476 builtin and then its argument prototype would still apply. */
45477 #ifdef __cplusplus
45478 extern "C"
45479 #endif
45480 char sched_yield ();
45481 /* The GNU C library defines this for functions which it implements
45482 to always fail with ENOSYS. Some functions are actually named
45483 something starting with __ and the normal name is an alias. */
45484 #if defined __stub_sched_yield || defined __stub___sched_yield
45485 choke me
45486 #endif
45487
45488 int
45489 main ()
45490 {
45491 return sched_yield ();
45492 ;
45493 return 0;
45494 }
45495 _ACEOF
45496 rm -f conftest.$ac_objext conftest$ac_exeext
45497 if { (ac_try="$ac_link"
45498 case "(($ac_try" in
45499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45500 *) ac_try_echo=$ac_try;;
45501 esac
45502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45503 (eval "$ac_link") 2>conftest.er1
45504 ac_status=$?
45505 grep -v '^ *+' conftest.er1 >conftest.err
45506 rm -f conftest.er1
45507 cat conftest.err >&5
45508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509 (exit $ac_status); } &&
45510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45511 { (case "(($ac_try" in
45512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45513 *) ac_try_echo=$ac_try;;
45514 esac
45515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45516 (eval "$ac_try") 2>&5
45517 ac_status=$?
45518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45519 (exit $ac_status); }; } &&
45520 { ac_try='test -s conftest$ac_exeext'
45521 { (case "(($ac_try" in
45522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45523 *) ac_try_echo=$ac_try;;
45524 esac
45525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45526 (eval "$ac_try") 2>&5
45527 ac_status=$?
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; }; then
45530 ac_cv_func_sched_yield=yes
45531 else
45532 echo "$as_me: failed program was:" >&5
45533 sed 's/^/| /' conftest.$ac_ext >&5
45534
45535 ac_cv_func_sched_yield=no
45536 fi
45537
45538 rm -f core conftest.err conftest.$ac_objext \
45539 conftest$ac_exeext conftest.$ac_ext
45540 fi
45541 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
45542 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
45543 if test $ac_cv_func_sched_yield = yes; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define HAVE_SCHED_YIELD 1
45546 _ACEOF
45547
45548 else
45549
45550 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
45551 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
45552 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
45553 echo $ECHO_N "(cached) $ECHO_C" >&6
45554 else
45555 ac_check_lib_save_LIBS=$LIBS
45556 LIBS="-lposix4 $LIBS"
45557 cat >conftest.$ac_ext <<_ACEOF
45558 /* confdefs.h. */
45559 _ACEOF
45560 cat confdefs.h >>conftest.$ac_ext
45561 cat >>conftest.$ac_ext <<_ACEOF
45562 /* end confdefs.h. */
45563
45564 /* Override any GCC internal prototype to avoid an error.
45565 Use char because int might match the return type of a GCC
45566 builtin and then its argument prototype would still apply. */
45567 #ifdef __cplusplus
45568 extern "C"
45569 #endif
45570 char sched_yield ();
45571 int
45572 main ()
45573 {
45574 return sched_yield ();
45575 ;
45576 return 0;
45577 }
45578 _ACEOF
45579 rm -f conftest.$ac_objext conftest$ac_exeext
45580 if { (ac_try="$ac_link"
45581 case "(($ac_try" in
45582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45583 *) ac_try_echo=$ac_try;;
45584 esac
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_link") 2>conftest.er1
45587 ac_status=$?
45588 grep -v '^ *+' conftest.er1 >conftest.err
45589 rm -f conftest.er1
45590 cat conftest.err >&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); } &&
45593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45594 { (case "(($ac_try" in
45595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45596 *) ac_try_echo=$ac_try;;
45597 esac
45598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45599 (eval "$ac_try") 2>&5
45600 ac_status=$?
45601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45602 (exit $ac_status); }; } &&
45603 { ac_try='test -s conftest$ac_exeext'
45604 { (case "(($ac_try" in
45605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45606 *) ac_try_echo=$ac_try;;
45607 esac
45608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45609 (eval "$ac_try") 2>&5
45610 ac_status=$?
45611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45612 (exit $ac_status); }; }; then
45613 ac_cv_lib_posix4_sched_yield=yes
45614 else
45615 echo "$as_me: failed program was:" >&5
45616 sed 's/^/| /' conftest.$ac_ext >&5
45617
45618 ac_cv_lib_posix4_sched_yield=no
45619 fi
45620
45621 rm -f core conftest.err conftest.$ac_objext \
45622 conftest$ac_exeext conftest.$ac_ext
45623 LIBS=$ac_check_lib_save_LIBS
45624 fi
45625 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
45626 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
45627 if test $ac_cv_lib_posix4_sched_yield = yes; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define HAVE_SCHED_YIELD 1
45630 _ACEOF
45631 POSIX4_LINK=" -lposix4"
45632 else
45633 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
45634 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
45635
45636 fi
45637
45638
45639
45640 fi
45641
45642 fi
45643
45644 HAVE_PRIOR_FUNCS=0
45645 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
45646 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
45647 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
45648 echo $ECHO_N "(cached) $ECHO_C" >&6
45649 else
45650 cat >conftest.$ac_ext <<_ACEOF
45651 /* confdefs.h. */
45652 _ACEOF
45653 cat confdefs.h >>conftest.$ac_ext
45654 cat >>conftest.$ac_ext <<_ACEOF
45655 /* end confdefs.h. */
45656 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
45657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45658 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
45659
45660 /* System header to define __stub macros and hopefully few prototypes,
45661 which can conflict with char pthread_attr_getschedpolicy (); below.
45662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45663 <limits.h> exists even on freestanding compilers. */
45664
45665 #ifdef __STDC__
45666 # include <limits.h>
45667 #else
45668 # include <assert.h>
45669 #endif
45670
45671 #undef pthread_attr_getschedpolicy
45672
45673 /* Override any GCC internal prototype to avoid an error.
45674 Use char because int might match the return type of a GCC
45675 builtin and then its argument prototype would still apply. */
45676 #ifdef __cplusplus
45677 extern "C"
45678 #endif
45679 char pthread_attr_getschedpolicy ();
45680 /* The GNU C library defines this for functions which it implements
45681 to always fail with ENOSYS. Some functions are actually named
45682 something starting with __ and the normal name is an alias. */
45683 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
45684 choke me
45685 #endif
45686
45687 int
45688 main ()
45689 {
45690 return pthread_attr_getschedpolicy ();
45691 ;
45692 return 0;
45693 }
45694 _ACEOF
45695 rm -f conftest.$ac_objext conftest$ac_exeext
45696 if { (ac_try="$ac_link"
45697 case "(($ac_try" in
45698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45699 *) ac_try_echo=$ac_try;;
45700 esac
45701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45702 (eval "$ac_link") 2>conftest.er1
45703 ac_status=$?
45704 grep -v '^ *+' conftest.er1 >conftest.err
45705 rm -f conftest.er1
45706 cat conftest.err >&5
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); } &&
45709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45710 { (case "(($ac_try" in
45711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45712 *) ac_try_echo=$ac_try;;
45713 esac
45714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45715 (eval "$ac_try") 2>&5
45716 ac_status=$?
45717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45718 (exit $ac_status); }; } &&
45719 { ac_try='test -s conftest$ac_exeext'
45720 { (case "(($ac_try" in
45721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45722 *) ac_try_echo=$ac_try;;
45723 esac
45724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45725 (eval "$ac_try") 2>&5
45726 ac_status=$?
45727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45728 (exit $ac_status); }; }; then
45729 ac_cv_func_pthread_attr_getschedpolicy=yes
45730 else
45731 echo "$as_me: failed program was:" >&5
45732 sed 's/^/| /' conftest.$ac_ext >&5
45733
45734 ac_cv_func_pthread_attr_getschedpolicy=no
45735 fi
45736
45737 rm -f core conftest.err conftest.$ac_objext \
45738 conftest$ac_exeext conftest.$ac_ext
45739 fi
45740 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
45741 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
45742 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
45743 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
45744 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
45745 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
45746 echo $ECHO_N "(cached) $ECHO_C" >&6
45747 else
45748 cat >conftest.$ac_ext <<_ACEOF
45749 /* confdefs.h. */
45750 _ACEOF
45751 cat confdefs.h >>conftest.$ac_ext
45752 cat >>conftest.$ac_ext <<_ACEOF
45753 /* end confdefs.h. */
45754 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
45755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45756 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
45757
45758 /* System header to define __stub macros and hopefully few prototypes,
45759 which can conflict with char pthread_attr_setschedparam (); below.
45760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45761 <limits.h> exists even on freestanding compilers. */
45762
45763 #ifdef __STDC__
45764 # include <limits.h>
45765 #else
45766 # include <assert.h>
45767 #endif
45768
45769 #undef pthread_attr_setschedparam
45770
45771 /* Override any GCC internal prototype to avoid an error.
45772 Use char because int might match the return type of a GCC
45773 builtin and then its argument prototype would still apply. */
45774 #ifdef __cplusplus
45775 extern "C"
45776 #endif
45777 char pthread_attr_setschedparam ();
45778 /* The GNU C library defines this for functions which it implements
45779 to always fail with ENOSYS. Some functions are actually named
45780 something starting with __ and the normal name is an alias. */
45781 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
45782 choke me
45783 #endif
45784
45785 int
45786 main ()
45787 {
45788 return pthread_attr_setschedparam ();
45789 ;
45790 return 0;
45791 }
45792 _ACEOF
45793 rm -f conftest.$ac_objext conftest$ac_exeext
45794 if { (ac_try="$ac_link"
45795 case "(($ac_try" in
45796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45797 *) ac_try_echo=$ac_try;;
45798 esac
45799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45800 (eval "$ac_link") 2>conftest.er1
45801 ac_status=$?
45802 grep -v '^ *+' conftest.er1 >conftest.err
45803 rm -f conftest.er1
45804 cat conftest.err >&5
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); } &&
45807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45808 { (case "(($ac_try" in
45809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45810 *) ac_try_echo=$ac_try;;
45811 esac
45812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45813 (eval "$ac_try") 2>&5
45814 ac_status=$?
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); }; } &&
45817 { ac_try='test -s conftest$ac_exeext'
45818 { (case "(($ac_try" in
45819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45820 *) ac_try_echo=$ac_try;;
45821 esac
45822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45823 (eval "$ac_try") 2>&5
45824 ac_status=$?
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; }; then
45827 ac_cv_func_pthread_attr_setschedparam=yes
45828 else
45829 echo "$as_me: failed program was:" >&5
45830 sed 's/^/| /' conftest.$ac_ext >&5
45831
45832 ac_cv_func_pthread_attr_setschedparam=no
45833 fi
45834
45835 rm -f core conftest.err conftest.$ac_objext \
45836 conftest$ac_exeext conftest.$ac_ext
45837 fi
45838 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
45839 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
45840 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
45841 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
45842 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
45843 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45845 else
45846 cat >conftest.$ac_ext <<_ACEOF
45847 /* confdefs.h. */
45848 _ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
45853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45854 #define sched_get_priority_max innocuous_sched_get_priority_max
45855
45856 /* System header to define __stub macros and hopefully few prototypes,
45857 which can conflict with char sched_get_priority_max (); below.
45858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45859 <limits.h> exists even on freestanding compilers. */
45860
45861 #ifdef __STDC__
45862 # include <limits.h>
45863 #else
45864 # include <assert.h>
45865 #endif
45866
45867 #undef sched_get_priority_max
45868
45869 /* Override any GCC internal prototype to avoid an error.
45870 Use char because int might match the return type of a GCC
45871 builtin and then its argument prototype would still apply. */
45872 #ifdef __cplusplus
45873 extern "C"
45874 #endif
45875 char sched_get_priority_max ();
45876 /* The GNU C library defines this for functions which it implements
45877 to always fail with ENOSYS. Some functions are actually named
45878 something starting with __ and the normal name is an alias. */
45879 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
45880 choke me
45881 #endif
45882
45883 int
45884 main ()
45885 {
45886 return sched_get_priority_max ();
45887 ;
45888 return 0;
45889 }
45890 _ACEOF
45891 rm -f conftest.$ac_objext conftest$ac_exeext
45892 if { (ac_try="$ac_link"
45893 case "(($ac_try" in
45894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45895 *) ac_try_echo=$ac_try;;
45896 esac
45897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45898 (eval "$ac_link") 2>conftest.er1
45899 ac_status=$?
45900 grep -v '^ *+' conftest.er1 >conftest.err
45901 rm -f conftest.er1
45902 cat conftest.err >&5
45903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904 (exit $ac_status); } &&
45905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45906 { (case "(($ac_try" in
45907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45908 *) ac_try_echo=$ac_try;;
45909 esac
45910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45911 (eval "$ac_try") 2>&5
45912 ac_status=$?
45913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45914 (exit $ac_status); }; } &&
45915 { ac_try='test -s conftest$ac_exeext'
45916 { (case "(($ac_try" in
45917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45918 *) ac_try_echo=$ac_try;;
45919 esac
45920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45921 (eval "$ac_try") 2>&5
45922 ac_status=$?
45923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45924 (exit $ac_status); }; }; then
45925 ac_cv_func_sched_get_priority_max=yes
45926 else
45927 echo "$as_me: failed program was:" >&5
45928 sed 's/^/| /' conftest.$ac_ext >&5
45929
45930 ac_cv_func_sched_get_priority_max=no
45931 fi
45932
45933 rm -f core conftest.err conftest.$ac_objext \
45934 conftest$ac_exeext conftest.$ac_ext
45935 fi
45936 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
45937 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
45938 if test $ac_cv_func_sched_get_priority_max = yes; then
45939 HAVE_PRIOR_FUNCS=1
45940 else
45941 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
45942 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
45943 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
45944 echo $ECHO_N "(cached) $ECHO_C" >&6
45945 else
45946 ac_check_lib_save_LIBS=$LIBS
45947 LIBS="-lposix4 $LIBS"
45948 cat >conftest.$ac_ext <<_ACEOF
45949 /* confdefs.h. */
45950 _ACEOF
45951 cat confdefs.h >>conftest.$ac_ext
45952 cat >>conftest.$ac_ext <<_ACEOF
45953 /* end confdefs.h. */
45954
45955 /* Override any GCC internal prototype to avoid an error.
45956 Use char because int might match the return type of a GCC
45957 builtin and then its argument prototype would still apply. */
45958 #ifdef __cplusplus
45959 extern "C"
45960 #endif
45961 char sched_get_priority_max ();
45962 int
45963 main ()
45964 {
45965 return sched_get_priority_max ();
45966 ;
45967 return 0;
45968 }
45969 _ACEOF
45970 rm -f conftest.$ac_objext conftest$ac_exeext
45971 if { (ac_try="$ac_link"
45972 case "(($ac_try" in
45973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45974 *) ac_try_echo=$ac_try;;
45975 esac
45976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45977 (eval "$ac_link") 2>conftest.er1
45978 ac_status=$?
45979 grep -v '^ *+' conftest.er1 >conftest.err
45980 rm -f conftest.er1
45981 cat conftest.err >&5
45982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45983 (exit $ac_status); } &&
45984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45985 { (case "(($ac_try" in
45986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45987 *) ac_try_echo=$ac_try;;
45988 esac
45989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45990 (eval "$ac_try") 2>&5
45991 ac_status=$?
45992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45993 (exit $ac_status); }; } &&
45994 { ac_try='test -s conftest$ac_exeext'
45995 { (case "(($ac_try" in
45996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45997 *) ac_try_echo=$ac_try;;
45998 esac
45999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46000 (eval "$ac_try") 2>&5
46001 ac_status=$?
46002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46003 (exit $ac_status); }; }; then
46004 ac_cv_lib_posix4_sched_get_priority_max=yes
46005 else
46006 echo "$as_me: failed program was:" >&5
46007 sed 's/^/| /' conftest.$ac_ext >&5
46008
46009 ac_cv_lib_posix4_sched_get_priority_max=no
46010 fi
46011
46012 rm -f core conftest.err conftest.$ac_objext \
46013 conftest$ac_exeext conftest.$ac_ext
46014 LIBS=$ac_check_lib_save_LIBS
46015 fi
46016 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
46017 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
46018 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
46019
46020 HAVE_PRIOR_FUNCS=1
46021 POSIX4_LINK=" -lposix4"
46022
46023 fi
46024
46025
46026 fi
46027
46028
46029 fi
46030
46031
46032 fi
46033
46034
46035 if test "$HAVE_PRIOR_FUNCS" = 1; then
46036 cat >>confdefs.h <<\_ACEOF
46037 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
46038 _ACEOF
46039
46040 else
46041 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
46042 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
46043 fi
46044
46045 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
46046 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
46047 if test "${ac_cv_func_pthread_cancel+set}" = set; then
46048 echo $ECHO_N "(cached) $ECHO_C" >&6
46049 else
46050 cat >conftest.$ac_ext <<_ACEOF
46051 /* confdefs.h. */
46052 _ACEOF
46053 cat confdefs.h >>conftest.$ac_ext
46054 cat >>conftest.$ac_ext <<_ACEOF
46055 /* end confdefs.h. */
46056 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
46057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46058 #define pthread_cancel innocuous_pthread_cancel
46059
46060 /* System header to define __stub macros and hopefully few prototypes,
46061 which can conflict with char pthread_cancel (); below.
46062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46063 <limits.h> exists even on freestanding compilers. */
46064
46065 #ifdef __STDC__
46066 # include <limits.h>
46067 #else
46068 # include <assert.h>
46069 #endif
46070
46071 #undef pthread_cancel
46072
46073 /* Override any GCC internal prototype to avoid an error.
46074 Use char because int might match the return type of a GCC
46075 builtin and then its argument prototype would still apply. */
46076 #ifdef __cplusplus
46077 extern "C"
46078 #endif
46079 char pthread_cancel ();
46080 /* The GNU C library defines this for functions which it implements
46081 to always fail with ENOSYS. Some functions are actually named
46082 something starting with __ and the normal name is an alias. */
46083 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
46084 choke me
46085 #endif
46086
46087 int
46088 main ()
46089 {
46090 return pthread_cancel ();
46091 ;
46092 return 0;
46093 }
46094 _ACEOF
46095 rm -f conftest.$ac_objext conftest$ac_exeext
46096 if { (ac_try="$ac_link"
46097 case "(($ac_try" in
46098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46099 *) ac_try_echo=$ac_try;;
46100 esac
46101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46102 (eval "$ac_link") 2>conftest.er1
46103 ac_status=$?
46104 grep -v '^ *+' conftest.er1 >conftest.err
46105 rm -f conftest.er1
46106 cat conftest.err >&5
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); } &&
46109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46110 { (case "(($ac_try" in
46111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46112 *) ac_try_echo=$ac_try;;
46113 esac
46114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46115 (eval "$ac_try") 2>&5
46116 ac_status=$?
46117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46118 (exit $ac_status); }; } &&
46119 { ac_try='test -s conftest$ac_exeext'
46120 { (case "(($ac_try" in
46121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46122 *) ac_try_echo=$ac_try;;
46123 esac
46124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46125 (eval "$ac_try") 2>&5
46126 ac_status=$?
46127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46128 (exit $ac_status); }; }; then
46129 ac_cv_func_pthread_cancel=yes
46130 else
46131 echo "$as_me: failed program was:" >&5
46132 sed 's/^/| /' conftest.$ac_ext >&5
46133
46134 ac_cv_func_pthread_cancel=no
46135 fi
46136
46137 rm -f core conftest.err conftest.$ac_objext \
46138 conftest$ac_exeext conftest.$ac_ext
46139 fi
46140 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
46141 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
46142 if test $ac_cv_func_pthread_cancel = yes; then
46143 cat >>confdefs.h <<\_ACEOF
46144 #define HAVE_PTHREAD_CANCEL 1
46145 _ACEOF
46146
46147 else
46148 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
46149 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
46150 fi
46151
46152
46153 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
46154 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
46155 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
46156 echo $ECHO_N "(cached) $ECHO_C" >&6
46157 else
46158 cat >conftest.$ac_ext <<_ACEOF
46159 /* confdefs.h. */
46160 _ACEOF
46161 cat confdefs.h >>conftest.$ac_ext
46162 cat >>conftest.$ac_ext <<_ACEOF
46163 /* end confdefs.h. */
46164 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
46165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46166 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
46167
46168 /* System header to define __stub macros and hopefully few prototypes,
46169 which can conflict with char pthread_attr_setstacksize (); below.
46170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46171 <limits.h> exists even on freestanding compilers. */
46172
46173 #ifdef __STDC__
46174 # include <limits.h>
46175 #else
46176 # include <assert.h>
46177 #endif
46178
46179 #undef pthread_attr_setstacksize
46180
46181 /* Override any GCC internal prototype to avoid an error.
46182 Use char because int might match the return type of a GCC
46183 builtin and then its argument prototype would still apply. */
46184 #ifdef __cplusplus
46185 extern "C"
46186 #endif
46187 char pthread_attr_setstacksize ();
46188 /* The GNU C library defines this for functions which it implements
46189 to always fail with ENOSYS. Some functions are actually named
46190 something starting with __ and the normal name is an alias. */
46191 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
46192 choke me
46193 #endif
46194
46195 int
46196 main ()
46197 {
46198 return pthread_attr_setstacksize ();
46199 ;
46200 return 0;
46201 }
46202 _ACEOF
46203 rm -f conftest.$ac_objext conftest$ac_exeext
46204 if { (ac_try="$ac_link"
46205 case "(($ac_try" in
46206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46207 *) ac_try_echo=$ac_try;;
46208 esac
46209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46210 (eval "$ac_link") 2>conftest.er1
46211 ac_status=$?
46212 grep -v '^ *+' conftest.er1 >conftest.err
46213 rm -f conftest.er1
46214 cat conftest.err >&5
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); } &&
46217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46218 { (case "(($ac_try" in
46219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46220 *) ac_try_echo=$ac_try;;
46221 esac
46222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46223 (eval "$ac_try") 2>&5
46224 ac_status=$?
46225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46226 (exit $ac_status); }; } &&
46227 { ac_try='test -s conftest$ac_exeext'
46228 { (case "(($ac_try" in
46229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46230 *) ac_try_echo=$ac_try;;
46231 esac
46232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46233 (eval "$ac_try") 2>&5
46234 ac_status=$?
46235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46236 (exit $ac_status); }; }; then
46237 ac_cv_func_pthread_attr_setstacksize=yes
46238 else
46239 echo "$as_me: failed program was:" >&5
46240 sed 's/^/| /' conftest.$ac_ext >&5
46241
46242 ac_cv_func_pthread_attr_setstacksize=no
46243 fi
46244
46245 rm -f core conftest.err conftest.$ac_objext \
46246 conftest$ac_exeext conftest.$ac_ext
46247 fi
46248 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
46249 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
46250 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
46253 _ACEOF
46254
46255 fi
46256
46257
46258
46259 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
46260 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
46261 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
46262 echo $ECHO_N "(cached) $ECHO_C" >&6
46263 else
46264
46265 cat >conftest.$ac_ext <<_ACEOF
46266 /* confdefs.h. */
46267 _ACEOF
46268 cat confdefs.h >>conftest.$ac_ext
46269 cat >>conftest.$ac_ext <<_ACEOF
46270 /* end confdefs.h. */
46271 #include <pthread.h>
46272 int
46273 main ()
46274 {
46275
46276 pthread_mutexattr_t attr;
46277 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
46278
46279 ;
46280 return 0;
46281 }
46282 _ACEOF
46283 rm -f conftest.$ac_objext
46284 if { (ac_try="$ac_compile"
46285 case "(($ac_try" in
46286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46287 *) ac_try_echo=$ac_try;;
46288 esac
46289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46290 (eval "$ac_compile") 2>conftest.er1
46291 ac_status=$?
46292 grep -v '^ *+' conftest.er1 >conftest.err
46293 rm -f conftest.er1
46294 cat conftest.err >&5
46295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46296 (exit $ac_status); } &&
46297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46298 { (case "(($ac_try" in
46299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46300 *) ac_try_echo=$ac_try;;
46301 esac
46302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46303 (eval "$ac_try") 2>&5
46304 ac_status=$?
46305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306 (exit $ac_status); }; } &&
46307 { ac_try='test -s conftest.$ac_objext'
46308 { (case "(($ac_try" in
46309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46310 *) ac_try_echo=$ac_try;;
46311 esac
46312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46313 (eval "$ac_try") 2>&5
46314 ac_status=$?
46315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316 (exit $ac_status); }; }; then
46317 wx_cv_type_pthread_mutexattr_t=yes
46318 else
46319 echo "$as_me: failed program was:" >&5
46320 sed 's/^/| /' conftest.$ac_ext >&5
46321
46322 wx_cv_type_pthread_mutexattr_t=no
46323
46324 fi
46325
46326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46327
46328 fi
46329 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
46330 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
46331
46332 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define HAVE_PTHREAD_MUTEXATTR_T 1
46335 _ACEOF
46336
46337
46338 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
46339 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
46340 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
46341 echo $ECHO_N "(cached) $ECHO_C" >&6
46342 else
46343
46344 cat >conftest.$ac_ext <<_ACEOF
46345 /* confdefs.h. */
46346 _ACEOF
46347 cat confdefs.h >>conftest.$ac_ext
46348 cat >>conftest.$ac_ext <<_ACEOF
46349 /* end confdefs.h. */
46350 #include <pthread.h>
46351 int
46352 main ()
46353 {
46354
46355 pthread_mutexattr_t attr;
46356 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
46357
46358 ;
46359 return 0;
46360 }
46361 _ACEOF
46362 rm -f conftest.$ac_objext
46363 if { (ac_try="$ac_compile"
46364 case "(($ac_try" in
46365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46366 *) ac_try_echo=$ac_try;;
46367 esac
46368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46369 (eval "$ac_compile") 2>conftest.er1
46370 ac_status=$?
46371 grep -v '^ *+' conftest.er1 >conftest.err
46372 rm -f conftest.er1
46373 cat conftest.err >&5
46374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46375 (exit $ac_status); } &&
46376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46377 { (case "(($ac_try" in
46378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46379 *) ac_try_echo=$ac_try;;
46380 esac
46381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46382 (eval "$ac_try") 2>&5
46383 ac_status=$?
46384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46385 (exit $ac_status); }; } &&
46386 { ac_try='test -s conftest.$ac_objext'
46387 { (case "(($ac_try" in
46388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46389 *) ac_try_echo=$ac_try;;
46390 esac
46391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46392 (eval "$ac_try") 2>&5
46393 ac_status=$?
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); }; }; then
46396 wx_cv_func_pthread_mutexattr_settype_decl=yes
46397 else
46398 echo "$as_me: failed program was:" >&5
46399 sed 's/^/| /' conftest.$ac_ext >&5
46400
46401 wx_cv_func_pthread_mutexattr_settype_decl=no
46402
46403 fi
46404
46405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46406
46407 fi
46408 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
46409 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
46410 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
46413 _ACEOF
46414
46415 fi
46416 else
46417 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
46418 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
46419 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
46420 echo $ECHO_N "(cached) $ECHO_C" >&6
46421 else
46422
46423 cat >conftest.$ac_ext <<_ACEOF
46424 /* confdefs.h. */
46425 _ACEOF
46426 cat confdefs.h >>conftest.$ac_ext
46427 cat >>conftest.$ac_ext <<_ACEOF
46428 /* end confdefs.h. */
46429 #include <pthread.h>
46430 int
46431 main ()
46432 {
46433
46434 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
46435
46436 ;
46437 return 0;
46438 }
46439 _ACEOF
46440 rm -f conftest.$ac_objext
46441 if { (ac_try="$ac_compile"
46442 case "(($ac_try" in
46443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46444 *) ac_try_echo=$ac_try;;
46445 esac
46446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46447 (eval "$ac_compile") 2>conftest.er1
46448 ac_status=$?
46449 grep -v '^ *+' conftest.er1 >conftest.err
46450 rm -f conftest.er1
46451 cat conftest.err >&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } &&
46454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46455 { (case "(($ac_try" in
46456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46457 *) ac_try_echo=$ac_try;;
46458 esac
46459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46460 (eval "$ac_try") 2>&5
46461 ac_status=$?
46462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46463 (exit $ac_status); }; } &&
46464 { ac_try='test -s conftest.$ac_objext'
46465 { (case "(($ac_try" in
46466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46467 *) ac_try_echo=$ac_try;;
46468 esac
46469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46470 (eval "$ac_try") 2>&5
46471 ac_status=$?
46472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46473 (exit $ac_status); }; }; then
46474
46475 wx_cv_type_pthread_rec_mutex_init=yes
46476
46477 else
46478 echo "$as_me: failed program was:" >&5
46479 sed 's/^/| /' conftest.$ac_ext >&5
46480
46481
46482 wx_cv_type_pthread_rec_mutex_init=no
46483
46484
46485 fi
46486
46487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46488
46489 fi
46490 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
46491 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
46492 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
46493 cat >>confdefs.h <<\_ACEOF
46494 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
46495 _ACEOF
46496
46497 else
46498 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
46499 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
46500 fi
46501 fi
46502 fi
46503
46504 else
46505 if test "$wxUSE_THREADS" = "yes" ; then
46506 case "${host}" in
46507 *-*-mingw32* )
46508 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
46509 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
46510 if test "${wx_cv_cflags_mthread+set}" = set; then
46511 echo $ECHO_N "(cached) $ECHO_C" >&6
46512 else
46513
46514 CFLAGS_OLD="$CFLAGS"
46515 CFLAGS="-mthreads $CFLAGS"
46516 cat >conftest.$ac_ext <<_ACEOF
46517 /* confdefs.h. */
46518 _ACEOF
46519 cat confdefs.h >>conftest.$ac_ext
46520 cat >>conftest.$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46522
46523 int
46524 main ()
46525 {
46526
46527 ;
46528 return 0;
46529 }
46530 _ACEOF
46531 rm -f conftest.$ac_objext
46532 if { (ac_try="$ac_compile"
46533 case "(($ac_try" in
46534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46535 *) ac_try_echo=$ac_try;;
46536 esac
46537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46538 (eval "$ac_compile") 2>conftest.er1
46539 ac_status=$?
46540 grep -v '^ *+' conftest.er1 >conftest.err
46541 rm -f conftest.er1
46542 cat conftest.err >&5
46543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46544 (exit $ac_status); } &&
46545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46546 { (case "(($ac_try" in
46547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46548 *) ac_try_echo=$ac_try;;
46549 esac
46550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46551 (eval "$ac_try") 2>&5
46552 ac_status=$?
46553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46554 (exit $ac_status); }; } &&
46555 { ac_try='test -s conftest.$ac_objext'
46556 { (case "(($ac_try" in
46557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46558 *) ac_try_echo=$ac_try;;
46559 esac
46560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46561 (eval "$ac_try") 2>&5
46562 ac_status=$?
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); }; }; then
46565 wx_cv_cflags_mthread=yes
46566 else
46567 echo "$as_me: failed program was:" >&5
46568 sed 's/^/| /' conftest.$ac_ext >&5
46569
46570 wx_cv_cflags_mthread=no
46571
46572 fi
46573
46574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46575
46576
46577 fi
46578 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
46579 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
46580
46581 if test "$wx_cv_cflags_mthread" = "yes"; then
46582 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
46583 LDFLAGS="$LDFLAGS -mthreads"
46584 else
46585 CFLAGS="$CFLAGS_OLD"
46586 fi
46587 ;;
46588 *-pc-os2*emx )
46589 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
46590 LDFLAGS="$LDFLAGS -Zmt"
46591 ;;
46592 esac
46593 fi
46594 fi
46595
46596 { echo "$as_me:$LINENO: checking for localtime_r" >&5
46597 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
46598 if test "${ac_cv_func_localtime_r+set}" = set; then
46599 echo $ECHO_N "(cached) $ECHO_C" >&6
46600 else
46601 cat >conftest.$ac_ext <<_ACEOF
46602 /* confdefs.h. */
46603 _ACEOF
46604 cat confdefs.h >>conftest.$ac_ext
46605 cat >>conftest.$ac_ext <<_ACEOF
46606 /* end confdefs.h. */
46607 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
46608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46609 #define localtime_r innocuous_localtime_r
46610
46611 /* System header to define __stub macros and hopefully few prototypes,
46612 which can conflict with char localtime_r (); below.
46613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46614 <limits.h> exists even on freestanding compilers. */
46615
46616 #ifdef __STDC__
46617 # include <limits.h>
46618 #else
46619 # include <assert.h>
46620 #endif
46621
46622 #undef localtime_r
46623
46624 /* Override any GCC internal prototype to avoid an error.
46625 Use char because int might match the return type of a GCC
46626 builtin and then its argument prototype would still apply. */
46627 #ifdef __cplusplus
46628 extern "C"
46629 #endif
46630 char localtime_r ();
46631 /* The GNU C library defines this for functions which it implements
46632 to always fail with ENOSYS. Some functions are actually named
46633 something starting with __ and the normal name is an alias. */
46634 #if defined __stub_localtime_r || defined __stub___localtime_r
46635 choke me
46636 #endif
46637
46638 int
46639 main ()
46640 {
46641 return localtime_r ();
46642 ;
46643 return 0;
46644 }
46645 _ACEOF
46646 rm -f conftest.$ac_objext conftest$ac_exeext
46647 if { (ac_try="$ac_link"
46648 case "(($ac_try" in
46649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46650 *) ac_try_echo=$ac_try;;
46651 esac
46652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46653 (eval "$ac_link") 2>conftest.er1
46654 ac_status=$?
46655 grep -v '^ *+' conftest.er1 >conftest.err
46656 rm -f conftest.er1
46657 cat conftest.err >&5
46658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46659 (exit $ac_status); } &&
46660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46661 { (case "(($ac_try" in
46662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46663 *) ac_try_echo=$ac_try;;
46664 esac
46665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46666 (eval "$ac_try") 2>&5
46667 ac_status=$?
46668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46669 (exit $ac_status); }; } &&
46670 { ac_try='test -s conftest$ac_exeext'
46671 { (case "(($ac_try" in
46672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46673 *) ac_try_echo=$ac_try;;
46674 esac
46675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46676 (eval "$ac_try") 2>&5
46677 ac_status=$?
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); }; }; then
46680 ac_cv_func_localtime_r=yes
46681 else
46682 echo "$as_me: failed program was:" >&5
46683 sed 's/^/| /' conftest.$ac_ext >&5
46684
46685 ac_cv_func_localtime_r=no
46686 fi
46687
46688 rm -f core conftest.err conftest.$ac_objext \
46689 conftest$ac_exeext conftest.$ac_ext
46690 fi
46691 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
46692 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
46693 if test $ac_cv_func_localtime_r = yes; then
46694 cat >>confdefs.h <<\_ACEOF
46695 #define HAVE_LOCALTIME_R 1
46696 _ACEOF
46697
46698 fi
46699
46700 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
46701 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
46702 if test "${ac_cv_func_gmtime_r+set}" = set; then
46703 echo $ECHO_N "(cached) $ECHO_C" >&6
46704 else
46705 cat >conftest.$ac_ext <<_ACEOF
46706 /* confdefs.h. */
46707 _ACEOF
46708 cat confdefs.h >>conftest.$ac_ext
46709 cat >>conftest.$ac_ext <<_ACEOF
46710 /* end confdefs.h. */
46711 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
46712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46713 #define gmtime_r innocuous_gmtime_r
46714
46715 /* System header to define __stub macros and hopefully few prototypes,
46716 which can conflict with char gmtime_r (); below.
46717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46718 <limits.h> exists even on freestanding compilers. */
46719
46720 #ifdef __STDC__
46721 # include <limits.h>
46722 #else
46723 # include <assert.h>
46724 #endif
46725
46726 #undef gmtime_r
46727
46728 /* Override any GCC internal prototype to avoid an error.
46729 Use char because int might match the return type of a GCC
46730 builtin and then its argument prototype would still apply. */
46731 #ifdef __cplusplus
46732 extern "C"
46733 #endif
46734 char gmtime_r ();
46735 /* The GNU C library defines this for functions which it implements
46736 to always fail with ENOSYS. Some functions are actually named
46737 something starting with __ and the normal name is an alias. */
46738 #if defined __stub_gmtime_r || defined __stub___gmtime_r
46739 choke me
46740 #endif
46741
46742 int
46743 main ()
46744 {
46745 return gmtime_r ();
46746 ;
46747 return 0;
46748 }
46749 _ACEOF
46750 rm -f conftest.$ac_objext conftest$ac_exeext
46751 if { (ac_try="$ac_link"
46752 case "(($ac_try" in
46753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46754 *) ac_try_echo=$ac_try;;
46755 esac
46756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46757 (eval "$ac_link") 2>conftest.er1
46758 ac_status=$?
46759 grep -v '^ *+' conftest.er1 >conftest.err
46760 rm -f conftest.er1
46761 cat conftest.err >&5
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); } &&
46764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46765 { (case "(($ac_try" in
46766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46767 *) ac_try_echo=$ac_try;;
46768 esac
46769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46770 (eval "$ac_try") 2>&5
46771 ac_status=$?
46772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46773 (exit $ac_status); }; } &&
46774 { ac_try='test -s conftest$ac_exeext'
46775 { (case "(($ac_try" in
46776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46777 *) ac_try_echo=$ac_try;;
46778 esac
46779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46780 (eval "$ac_try") 2>&5
46781 ac_status=$?
46782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46783 (exit $ac_status); }; }; then
46784 ac_cv_func_gmtime_r=yes
46785 else
46786 echo "$as_me: failed program was:" >&5
46787 sed 's/^/| /' conftest.$ac_ext >&5
46788
46789 ac_cv_func_gmtime_r=no
46790 fi
46791
46792 rm -f core conftest.err conftest.$ac_objext \
46793 conftest$ac_exeext conftest.$ac_ext
46794 fi
46795 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
46796 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
46797 if test $ac_cv_func_gmtime_r = yes; then
46798 cat >>confdefs.h <<\_ACEOF
46799 #define HAVE_GMTIME_R 1
46800 _ACEOF
46801
46802 fi
46803
46804 { echo "$as_me:$LINENO: checking for readdir_r" >&5
46805 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
46806 if test "${ac_cv_func_readdir_r+set}" = set; then
46807 echo $ECHO_N "(cached) $ECHO_C" >&6
46808 else
46809 cat >conftest.$ac_ext <<_ACEOF
46810 /* confdefs.h. */
46811 _ACEOF
46812 cat confdefs.h >>conftest.$ac_ext
46813 cat >>conftest.$ac_ext <<_ACEOF
46814 /* end confdefs.h. */
46815 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
46816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46817 #define readdir_r innocuous_readdir_r
46818
46819 /* System header to define __stub macros and hopefully few prototypes,
46820 which can conflict with char readdir_r (); below.
46821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46822 <limits.h> exists even on freestanding compilers. */
46823
46824 #ifdef __STDC__
46825 # include <limits.h>
46826 #else
46827 # include <assert.h>
46828 #endif
46829
46830 #undef readdir_r
46831
46832 /* Override any GCC internal prototype to avoid an error.
46833 Use char because int might match the return type of a GCC
46834 builtin and then its argument prototype would still apply. */
46835 #ifdef __cplusplus
46836 extern "C"
46837 #endif
46838 char readdir_r ();
46839 /* The GNU C library defines this for functions which it implements
46840 to always fail with ENOSYS. Some functions are actually named
46841 something starting with __ and the normal name is an alias. */
46842 #if defined __stub_readdir_r || defined __stub___readdir_r
46843 choke me
46844 #endif
46845
46846 int
46847 main ()
46848 {
46849 return readdir_r ();
46850 ;
46851 return 0;
46852 }
46853 _ACEOF
46854 rm -f conftest.$ac_objext conftest$ac_exeext
46855 if { (ac_try="$ac_link"
46856 case "(($ac_try" in
46857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46858 *) ac_try_echo=$ac_try;;
46859 esac
46860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46861 (eval "$ac_link") 2>conftest.er1
46862 ac_status=$?
46863 grep -v '^ *+' conftest.er1 >conftest.err
46864 rm -f conftest.er1
46865 cat conftest.err >&5
46866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46867 (exit $ac_status); } &&
46868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46869 { (case "(($ac_try" in
46870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46871 *) ac_try_echo=$ac_try;;
46872 esac
46873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46874 (eval "$ac_try") 2>&5
46875 ac_status=$?
46876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46877 (exit $ac_status); }; } &&
46878 { ac_try='test -s conftest$ac_exeext'
46879 { (case "(($ac_try" in
46880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46881 *) ac_try_echo=$ac_try;;
46882 esac
46883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46884 (eval "$ac_try") 2>&5
46885 ac_status=$?
46886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46887 (exit $ac_status); }; }; then
46888 ac_cv_func_readdir_r=yes
46889 else
46890 echo "$as_me: failed program was:" >&5
46891 sed 's/^/| /' conftest.$ac_ext >&5
46892
46893 ac_cv_func_readdir_r=no
46894 fi
46895
46896 rm -f core conftest.err conftest.$ac_objext \
46897 conftest$ac_exeext conftest.$ac_ext
46898 fi
46899 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
46900 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
46901 if test $ac_cv_func_readdir_r = yes; then
46902 cat >>confdefs.h <<\_ACEOF
46903 #define HAVE_READDIR_R 1
46904 _ACEOF
46905
46906 fi
46907
46908
46909
46910
46911 ac_ext=c
46912 ac_cpp='$CPP $CPPFLAGS'
46913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46916
46917 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
46918 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
46919
46920 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
46921 echo $ECHO_N "(cached) $ECHO_C" >&6
46922 else
46923
46924
46925 ################################################################
46926
46927 ac_cv_func_which_gethostbyname_r=unknown
46928
46929 #
46930 # ONE ARGUMENT (sanity check)
46931 #
46932
46933 # This should fail, as there is no variant of gethostbyname_r() that takes
46934 # a single argument. If it actually compiles, then we can assume that
46935 # netdb.h is not declaring the function, and the compiler is thereby
46936 # assuming an implicit prototype. In which case, we're out of luck.
46937 #
46938 cat >conftest.$ac_ext <<_ACEOF
46939 /* confdefs.h. */
46940 _ACEOF
46941 cat confdefs.h >>conftest.$ac_ext
46942 cat >>conftest.$ac_ext <<_ACEOF
46943 /* end confdefs.h. */
46944 #include <netdb.h>
46945 int
46946 main ()
46947 {
46948
46949 char *name = "www.gnu.org";
46950 (void)gethostbyname_r(name) /* ; */
46951
46952 ;
46953 return 0;
46954 }
46955 _ACEOF
46956 rm -f conftest.$ac_objext
46957 if { (ac_try="$ac_compile"
46958 case "(($ac_try" in
46959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46960 *) ac_try_echo=$ac_try;;
46961 esac
46962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46963 (eval "$ac_compile") 2>conftest.er1
46964 ac_status=$?
46965 grep -v '^ *+' conftest.er1 >conftest.err
46966 rm -f conftest.er1
46967 cat conftest.err >&5
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); } &&
46970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46971 { (case "(($ac_try" in
46972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46973 *) ac_try_echo=$ac_try;;
46974 esac
46975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46976 (eval "$ac_try") 2>&5
46977 ac_status=$?
46978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46979 (exit $ac_status); }; } &&
46980 { ac_try='test -s conftest.$ac_objext'
46981 { (case "(($ac_try" in
46982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46983 *) ac_try_echo=$ac_try;;
46984 esac
46985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46986 (eval "$ac_try") 2>&5
46987 ac_status=$?
46988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46989 (exit $ac_status); }; }; then
46990 ac_cv_func_which_gethostbyname_r=no
46991 else
46992 echo "$as_me: failed program was:" >&5
46993 sed 's/^/| /' conftest.$ac_ext >&5
46994
46995
46996 fi
46997
46998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46999
47000 #
47001 # SIX ARGUMENTS
47002 # (e.g. Linux)
47003 #
47004
47005 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47006
47007 cat >conftest.$ac_ext <<_ACEOF
47008 /* confdefs.h. */
47009 _ACEOF
47010 cat confdefs.h >>conftest.$ac_ext
47011 cat >>conftest.$ac_ext <<_ACEOF
47012 /* end confdefs.h. */
47013 #include <netdb.h>
47014 int
47015 main ()
47016 {
47017
47018 char *name = "www.gnu.org";
47019 struct hostent ret, *retp;
47020 char buf[1024];
47021 int buflen = 1024;
47022 int my_h_errno;
47023 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
47024
47025 ;
47026 return 0;
47027 }
47028 _ACEOF
47029 rm -f conftest.$ac_objext
47030 if { (ac_try="$ac_compile"
47031 case "(($ac_try" in
47032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47033 *) ac_try_echo=$ac_try;;
47034 esac
47035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47036 (eval "$ac_compile") 2>conftest.er1
47037 ac_status=$?
47038 grep -v '^ *+' conftest.er1 >conftest.err
47039 rm -f conftest.er1
47040 cat conftest.err >&5
47041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47042 (exit $ac_status); } &&
47043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47044 { (case "(($ac_try" in
47045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47046 *) ac_try_echo=$ac_try;;
47047 esac
47048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47049 (eval "$ac_try") 2>&5
47050 ac_status=$?
47051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47052 (exit $ac_status); }; } &&
47053 { ac_try='test -s conftest.$ac_objext'
47054 { (case "(($ac_try" in
47055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47056 *) ac_try_echo=$ac_try;;
47057 esac
47058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47059 (eval "$ac_try") 2>&5
47060 ac_status=$?
47061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062 (exit $ac_status); }; }; then
47063 ac_cv_func_which_gethostbyname_r=six
47064 else
47065 echo "$as_me: failed program was:" >&5
47066 sed 's/^/| /' conftest.$ac_ext >&5
47067
47068
47069 fi
47070
47071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47072
47073 fi
47074
47075 #
47076 # FIVE ARGUMENTS
47077 # (e.g. Solaris)
47078 #
47079
47080 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47081
47082 cat >conftest.$ac_ext <<_ACEOF
47083 /* confdefs.h. */
47084 _ACEOF
47085 cat confdefs.h >>conftest.$ac_ext
47086 cat >>conftest.$ac_ext <<_ACEOF
47087 /* end confdefs.h. */
47088 #include <netdb.h>
47089 int
47090 main ()
47091 {
47092
47093 char *name = "www.gnu.org";
47094 struct hostent ret;
47095 char buf[1024];
47096 int buflen = 1024;
47097 int my_h_errno;
47098 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
47099
47100 ;
47101 return 0;
47102 }
47103 _ACEOF
47104 rm -f conftest.$ac_objext
47105 if { (ac_try="$ac_compile"
47106 case "(($ac_try" in
47107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47108 *) ac_try_echo=$ac_try;;
47109 esac
47110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47111 (eval "$ac_compile") 2>conftest.er1
47112 ac_status=$?
47113 grep -v '^ *+' conftest.er1 >conftest.err
47114 rm -f conftest.er1
47115 cat conftest.err >&5
47116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47117 (exit $ac_status); } &&
47118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47119 { (case "(($ac_try" in
47120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47121 *) ac_try_echo=$ac_try;;
47122 esac
47123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47124 (eval "$ac_try") 2>&5
47125 ac_status=$?
47126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127 (exit $ac_status); }; } &&
47128 { ac_try='test -s conftest.$ac_objext'
47129 { (case "(($ac_try" in
47130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47131 *) ac_try_echo=$ac_try;;
47132 esac
47133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47134 (eval "$ac_try") 2>&5
47135 ac_status=$?
47136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47137 (exit $ac_status); }; }; then
47138 ac_cv_func_which_gethostbyname_r=five
47139 else
47140 echo "$as_me: failed program was:" >&5
47141 sed 's/^/| /' conftest.$ac_ext >&5
47142
47143
47144 fi
47145
47146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47147
47148 fi
47149
47150 #
47151 # THREE ARGUMENTS
47152 # (e.g. AIX, HP-UX, Tru64)
47153 #
47154
47155 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
47156
47157 cat >conftest.$ac_ext <<_ACEOF
47158 /* confdefs.h. */
47159 _ACEOF
47160 cat confdefs.h >>conftest.$ac_ext
47161 cat >>conftest.$ac_ext <<_ACEOF
47162 /* end confdefs.h. */
47163 #include <netdb.h>
47164 int
47165 main ()
47166 {
47167
47168 char *name = "www.gnu.org";
47169 struct hostent ret;
47170 struct hostent_data data;
47171 (void)gethostbyname_r(name, &ret, &data) /* ; */
47172
47173 ;
47174 return 0;
47175 }
47176 _ACEOF
47177 rm -f conftest.$ac_objext
47178 if { (ac_try="$ac_compile"
47179 case "(($ac_try" in
47180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47181 *) ac_try_echo=$ac_try;;
47182 esac
47183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47184 (eval "$ac_compile") 2>conftest.er1
47185 ac_status=$?
47186 grep -v '^ *+' conftest.er1 >conftest.err
47187 rm -f conftest.er1
47188 cat conftest.err >&5
47189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47190 (exit $ac_status); } &&
47191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47192 { (case "(($ac_try" in
47193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47194 *) ac_try_echo=$ac_try;;
47195 esac
47196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47197 (eval "$ac_try") 2>&5
47198 ac_status=$?
47199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47200 (exit $ac_status); }; } &&
47201 { ac_try='test -s conftest.$ac_objext'
47202 { (case "(($ac_try" in
47203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47204 *) ac_try_echo=$ac_try;;
47205 esac
47206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47207 (eval "$ac_try") 2>&5
47208 ac_status=$?
47209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47210 (exit $ac_status); }; }; then
47211 ac_cv_func_which_gethostbyname_r=three
47212 else
47213 echo "$as_me: failed program was:" >&5
47214 sed 's/^/| /' conftest.$ac_ext >&5
47215
47216
47217 fi
47218
47219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47220
47221 fi
47222
47223 ################################################################
47224
47225
47226 fi
47227
47228 case "$ac_cv_func_which_gethostbyname_r" in
47229 three)
47230 { echo "$as_me:$LINENO: result: three" >&5
47231 echo "${ECHO_T}three" >&6; }
47232 cat >>confdefs.h <<\_ACEOF
47233 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
47234 _ACEOF
47235
47236 ;;
47237
47238 five)
47239 { echo "$as_me:$LINENO: result: five" >&5
47240 echo "${ECHO_T}five" >&6; }
47241 cat >>confdefs.h <<\_ACEOF
47242 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
47243 _ACEOF
47244
47245 ;;
47246
47247 six)
47248 { echo "$as_me:$LINENO: result: six" >&5
47249 echo "${ECHO_T}six" >&6; }
47250 cat >>confdefs.h <<\_ACEOF
47251 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
47252 _ACEOF
47253
47254 ;;
47255
47256 no)
47257 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
47258 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
47259 ;;
47260
47261 unknown)
47262 { echo "$as_me:$LINENO: result: can't tell" >&5
47263 echo "${ECHO_T}can't tell" >&6; }
47264 ;;
47265
47266 *)
47267 { { echo "$as_me:$LINENO: error: internal error" >&5
47268 echo "$as_me: error: internal error" >&2;}
47269 { (exit 1); exit 1; }; }
47270 ;;
47271 esac
47272
47273 ac_ext=c
47274 ac_cpp='$CPP $CPPFLAGS'
47275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47278
47279
47280
47281 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
47282 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
47283 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
47284 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
47285 if test "${ac_cv_func_gethostbyname+set}" = set; then
47286 echo $ECHO_N "(cached) $ECHO_C" >&6
47287 else
47288 cat >conftest.$ac_ext <<_ACEOF
47289 /* confdefs.h. */
47290 _ACEOF
47291 cat confdefs.h >>conftest.$ac_ext
47292 cat >>conftest.$ac_ext <<_ACEOF
47293 /* end confdefs.h. */
47294 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
47295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47296 #define gethostbyname innocuous_gethostbyname
47297
47298 /* System header to define __stub macros and hopefully few prototypes,
47299 which can conflict with char gethostbyname (); below.
47300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47301 <limits.h> exists even on freestanding compilers. */
47302
47303 #ifdef __STDC__
47304 # include <limits.h>
47305 #else
47306 # include <assert.h>
47307 #endif
47308
47309 #undef gethostbyname
47310
47311 /* Override any GCC internal prototype to avoid an error.
47312 Use char because int might match the return type of a GCC
47313 builtin and then its argument prototype would still apply. */
47314 #ifdef __cplusplus
47315 extern "C"
47316 #endif
47317 char gethostbyname ();
47318 /* The GNU C library defines this for functions which it implements
47319 to always fail with ENOSYS. Some functions are actually named
47320 something starting with __ and the normal name is an alias. */
47321 #if defined __stub_gethostbyname || defined __stub___gethostbyname
47322 choke me
47323 #endif
47324
47325 int
47326 main ()
47327 {
47328 return gethostbyname ();
47329 ;
47330 return 0;
47331 }
47332 _ACEOF
47333 rm -f conftest.$ac_objext conftest$ac_exeext
47334 if { (ac_try="$ac_link"
47335 case "(($ac_try" in
47336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47337 *) ac_try_echo=$ac_try;;
47338 esac
47339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47340 (eval "$ac_link") 2>conftest.er1
47341 ac_status=$?
47342 grep -v '^ *+' conftest.er1 >conftest.err
47343 rm -f conftest.er1
47344 cat conftest.err >&5
47345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47346 (exit $ac_status); } &&
47347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47348 { (case "(($ac_try" in
47349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47350 *) ac_try_echo=$ac_try;;
47351 esac
47352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47353 (eval "$ac_try") 2>&5
47354 ac_status=$?
47355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47356 (exit $ac_status); }; } &&
47357 { ac_try='test -s conftest$ac_exeext'
47358 { (case "(($ac_try" in
47359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47360 *) ac_try_echo=$ac_try;;
47361 esac
47362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47363 (eval "$ac_try") 2>&5
47364 ac_status=$?
47365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47366 (exit $ac_status); }; }; then
47367 ac_cv_func_gethostbyname=yes
47368 else
47369 echo "$as_me: failed program was:" >&5
47370 sed 's/^/| /' conftest.$ac_ext >&5
47371
47372 ac_cv_func_gethostbyname=no
47373 fi
47374
47375 rm -f core conftest.err conftest.$ac_objext \
47376 conftest$ac_exeext conftest.$ac_ext
47377 fi
47378 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
47379 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
47380 if test $ac_cv_func_gethostbyname = yes; then
47381 cat >>confdefs.h <<\_ACEOF
47382 #define HAVE_GETHOSTBYNAME 1
47383 _ACEOF
47384
47385 fi
47386
47387 fi
47388
47389 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
47390 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
47391 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
47392 echo $ECHO_N "(cached) $ECHO_C" >&6
47393 else
47394
47395 ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47400
47401
47402 cat >conftest.$ac_ext <<_ACEOF
47403 /* confdefs.h. */
47404 _ACEOF
47405 cat confdefs.h >>conftest.$ac_ext
47406 cat >>conftest.$ac_ext <<_ACEOF
47407 /* end confdefs.h. */
47408 #include <netdb.h>
47409 int
47410 main ()
47411 {
47412
47413 char *name;
47414 char *proto;
47415 struct servent *se, *res;
47416 char buffer[2048];
47417 int buflen = 2048;
47418 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
47419
47420 ;
47421 return 0;
47422 }
47423 _ACEOF
47424 rm -f conftest.$ac_objext
47425 if { (ac_try="$ac_compile"
47426 case "(($ac_try" in
47427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47428 *) ac_try_echo=$ac_try;;
47429 esac
47430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47431 (eval "$ac_compile") 2>conftest.er1
47432 ac_status=$?
47433 grep -v '^ *+' conftest.er1 >conftest.err
47434 rm -f conftest.er1
47435 cat conftest.err >&5
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); } &&
47438 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47439 { (case "(($ac_try" in
47440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47441 *) ac_try_echo=$ac_try;;
47442 esac
47443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47444 (eval "$ac_try") 2>&5
47445 ac_status=$?
47446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47447 (exit $ac_status); }; } &&
47448 { ac_try='test -s conftest.$ac_objext'
47449 { (case "(($ac_try" in
47450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47451 *) ac_try_echo=$ac_try;;
47452 esac
47453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47454 (eval "$ac_try") 2>&5
47455 ac_status=$?
47456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47457 (exit $ac_status); }; }; then
47458 ac_cv_func_which_getservbyname_r=six
47459 else
47460 echo "$as_me: failed program was:" >&5
47461 sed 's/^/| /' conftest.$ac_ext >&5
47462
47463
47464 cat >conftest.$ac_ext <<_ACEOF
47465 /* confdefs.h. */
47466 _ACEOF
47467 cat confdefs.h >>conftest.$ac_ext
47468 cat >>conftest.$ac_ext <<_ACEOF
47469 /* end confdefs.h. */
47470 #include <netdb.h>
47471 int
47472 main ()
47473 {
47474
47475 char *name;
47476 char *proto;
47477 struct servent *se;
47478 char buffer[2048];
47479 int buflen = 2048;
47480 (void) getservbyname_r(name, proto, se, buffer, buflen)
47481
47482 ;
47483 return 0;
47484 }
47485 _ACEOF
47486 rm -f conftest.$ac_objext
47487 if { (ac_try="$ac_compile"
47488 case "(($ac_try" in
47489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47490 *) ac_try_echo=$ac_try;;
47491 esac
47492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47493 (eval "$ac_compile") 2>conftest.er1
47494 ac_status=$?
47495 grep -v '^ *+' conftest.er1 >conftest.err
47496 rm -f conftest.er1
47497 cat conftest.err >&5
47498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47499 (exit $ac_status); } &&
47500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47501 { (case "(($ac_try" in
47502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47503 *) ac_try_echo=$ac_try;;
47504 esac
47505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47506 (eval "$ac_try") 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; } &&
47510 { ac_try='test -s conftest.$ac_objext'
47511 { (case "(($ac_try" in
47512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47513 *) ac_try_echo=$ac_try;;
47514 esac
47515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47516 (eval "$ac_try") 2>&5
47517 ac_status=$?
47518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47519 (exit $ac_status); }; }; then
47520 ac_cv_func_which_getservbyname_r=five
47521 else
47522 echo "$as_me: failed program was:" >&5
47523 sed 's/^/| /' conftest.$ac_ext >&5
47524
47525
47526 cat >conftest.$ac_ext <<_ACEOF
47527 /* confdefs.h. */
47528 _ACEOF
47529 cat confdefs.h >>conftest.$ac_ext
47530 cat >>conftest.$ac_ext <<_ACEOF
47531 /* end confdefs.h. */
47532 #include <netdb.h>
47533 int
47534 main ()
47535 {
47536
47537 char *name;
47538 char *proto;
47539 struct servent *se;
47540 struct servent_data data;
47541 (void) getservbyname_r(name, proto, se, &data);
47542
47543 ;
47544 return 0;
47545 }
47546 _ACEOF
47547 rm -f conftest.$ac_objext
47548 if { (ac_try="$ac_compile"
47549 case "(($ac_try" in
47550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47551 *) ac_try_echo=$ac_try;;
47552 esac
47553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47554 (eval "$ac_compile") 2>conftest.er1
47555 ac_status=$?
47556 grep -v '^ *+' conftest.er1 >conftest.err
47557 rm -f conftest.er1
47558 cat conftest.err >&5
47559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47560 (exit $ac_status); } &&
47561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47562 { (case "(($ac_try" in
47563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47564 *) ac_try_echo=$ac_try;;
47565 esac
47566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47567 (eval "$ac_try") 2>&5
47568 ac_status=$?
47569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47570 (exit $ac_status); }; } &&
47571 { ac_try='test -s conftest.$ac_objext'
47572 { (case "(($ac_try" in
47573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47574 *) ac_try_echo=$ac_try;;
47575 esac
47576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47577 (eval "$ac_try") 2>&5
47578 ac_status=$?
47579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47580 (exit $ac_status); }; }; then
47581 ac_cv_func_which_getservbyname_r=four
47582 else
47583 echo "$as_me: failed program was:" >&5
47584 sed 's/^/| /' conftest.$ac_ext >&5
47585
47586 ac_cv_func_which_getservbyname_r=no
47587
47588 fi
47589
47590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47591
47592
47593 fi
47594
47595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47596
47597
47598 fi
47599
47600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47601 ac_ext=c
47602 ac_cpp='$CPP $CPPFLAGS'
47603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47606
47607
47608
47609 fi
47610 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
47611 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
47612
47613 if test $ac_cv_func_which_getservbyname_r = six; then
47614 cat >>confdefs.h <<\_ACEOF
47615 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
47616 _ACEOF
47617
47618 elif test $ac_cv_func_which_getservbyname_r = five; then
47619 cat >>confdefs.h <<\_ACEOF
47620 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
47621 _ACEOF
47622
47623 elif test $ac_cv_func_which_getservbyname_r = four; then
47624 cat >>confdefs.h <<\_ACEOF
47625 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
47626 _ACEOF
47627
47628 fi
47629
47630
47631 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
47632 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
47633
47634 for ac_func in getservbyname
47635 do
47636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47639 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47640 echo $ECHO_N "(cached) $ECHO_C" >&6
47641 else
47642 cat >conftest.$ac_ext <<_ACEOF
47643 /* confdefs.h. */
47644 _ACEOF
47645 cat confdefs.h >>conftest.$ac_ext
47646 cat >>conftest.$ac_ext <<_ACEOF
47647 /* end confdefs.h. */
47648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47650 #define $ac_func innocuous_$ac_func
47651
47652 /* System header to define __stub macros and hopefully few prototypes,
47653 which can conflict with char $ac_func (); below.
47654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47655 <limits.h> exists even on freestanding compilers. */
47656
47657 #ifdef __STDC__
47658 # include <limits.h>
47659 #else
47660 # include <assert.h>
47661 #endif
47662
47663 #undef $ac_func
47664
47665 /* Override any GCC internal prototype to avoid an error.
47666 Use char because int might match the return type of a GCC
47667 builtin and then its argument prototype would still apply. */
47668 #ifdef __cplusplus
47669 extern "C"
47670 #endif
47671 char $ac_func ();
47672 /* The GNU C library defines this for functions which it implements
47673 to always fail with ENOSYS. Some functions are actually named
47674 something starting with __ and the normal name is an alias. */
47675 #if defined __stub_$ac_func || defined __stub___$ac_func
47676 choke me
47677 #endif
47678
47679 int
47680 main ()
47681 {
47682 return $ac_func ();
47683 ;
47684 return 0;
47685 }
47686 _ACEOF
47687 rm -f conftest.$ac_objext conftest$ac_exeext
47688 if { (ac_try="$ac_link"
47689 case "(($ac_try" in
47690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47691 *) ac_try_echo=$ac_try;;
47692 esac
47693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47694 (eval "$ac_link") 2>conftest.er1
47695 ac_status=$?
47696 grep -v '^ *+' conftest.er1 >conftest.err
47697 rm -f conftest.er1
47698 cat conftest.err >&5
47699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700 (exit $ac_status); } &&
47701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47702 { (case "(($ac_try" in
47703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47704 *) ac_try_echo=$ac_try;;
47705 esac
47706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47707 (eval "$ac_try") 2>&5
47708 ac_status=$?
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; } &&
47711 { ac_try='test -s conftest$ac_exeext'
47712 { (case "(($ac_try" in
47713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47714 *) ac_try_echo=$ac_try;;
47715 esac
47716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47717 (eval "$ac_try") 2>&5
47718 ac_status=$?
47719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47720 (exit $ac_status); }; }; then
47721 eval "$as_ac_var=yes"
47722 else
47723 echo "$as_me: failed program was:" >&5
47724 sed 's/^/| /' conftest.$ac_ext >&5
47725
47726 eval "$as_ac_var=no"
47727 fi
47728
47729 rm -f core conftest.err conftest.$ac_objext \
47730 conftest$ac_exeext conftest.$ac_ext
47731 fi
47732 ac_res=`eval echo '${'$as_ac_var'}'`
47733 { echo "$as_me:$LINENO: result: $ac_res" >&5
47734 echo "${ECHO_T}$ac_res" >&6; }
47735 if test `eval echo '${'$as_ac_var'}'` = yes; then
47736 cat >>confdefs.h <<_ACEOF
47737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47738 _ACEOF
47739 cat >>confdefs.h <<\_ACEOF
47740 #define HAVE_GETSERVBYNAME 1
47741 _ACEOF
47742
47743 fi
47744 done
47745
47746 fi
47747
47748 if test "$wxUSE_THREADS" = "yes"; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_THREADS 1
47751 _ACEOF
47752
47753
47754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
47755 else
47756 if test "$wx_cv_func_strtok_r" = "yes"; then
47757 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
47758 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
47759 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
47760 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
47761 { echo "$as_me:$LINENO: result: yes" >&5
47762 echo "${ECHO_T}yes" >&6; }
47763 else
47764 { echo "$as_me:$LINENO: result: no" >&5
47765 echo "${ECHO_T}no" >&6; }
47766 fi
47767 fi
47768 fi
47769
47770 if test "$WXGTK20" = 1 ; then
47771 cat >>confdefs.h <<_ACEOF
47772 #define __WXGTK20__ $WXGTK20
47773 _ACEOF
47774
47775 WXGTK12=1
47776 fi
47777
47778 if test "$WXGTK12" = 1 ; then
47779 cat >>confdefs.h <<_ACEOF
47780 #define __WXGTK12__ $WXGTK12
47781 _ACEOF
47782
47783 fi
47784
47785 if test "$WXGTK127" = 1 ; then
47786 cat >>confdefs.h <<_ACEOF
47787 #define __WXGTK127__ $WXGTK127
47788 _ACEOF
47789
47790 fi
47791
47792 if test "$WXGPE" = 1 ; then
47793 cat >>confdefs.h <<_ACEOF
47794 #define __WXGPE__ $WXGPE
47795 _ACEOF
47796
47797 fi
47798
47799 DEBUG_CFLAGS=
47800 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
47801 DEBUG_CFLAGS="-g"
47802 wxUSE_OPTIMISE=no
47803 fi
47804
47805 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
47806 wxUSE_DEBUG_INFO=yes
47807 if test "$GCC" = yes; then
47808 DEBUG_CFLAGS="-ggdb"
47809 fi
47810 fi
47811
47812 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define WXDEBUG 1
47815 _ACEOF
47816
47817 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
47818 else
47819 if test "$wxUSE_GTK" = 1 ; then
47820 if test "x$wxGTK_VERSION" = "x1" ; then
47821 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
47822 fi
47823 fi
47824 fi
47825
47826 if test "$wxUSE_MEM_TRACING" = "yes" ; then
47827 cat >>confdefs.h <<\_ACEOF
47828 #define wxUSE_MEMORY_TRACING 1
47829 _ACEOF
47830
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
47833 _ACEOF
47834
47835 cat >>confdefs.h <<\_ACEOF
47836 #define wxUSE_DEBUG_NEW_ALWAYS 1
47837 _ACEOF
47838
47839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
47840 fi
47841
47842 if test "$wxUSE_DMALLOC" = "yes" ; then
47843 DMALLOC_LIBS="-ldmallocthcxx"
47844 fi
47845
47846 PROFILE_FLAGS=
47847 if test "$wxUSE_PROFILE" = "yes" ; then
47848 PROFILE_FLAGS=" -pg"
47849 fi
47850
47851 if test "$GCC" = "yes" ; then
47852 if test "$wxUSE_NO_RTTI" = "yes" ; then
47853 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
47854 fi
47855 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47856 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
47857 fi
47858 if test "$wxUSE_PERMISSIVE" = "yes" ; then
47859 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
47860 fi
47861
47862 case "${host}" in
47863 powerpc*-*-aix* )
47864 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
47865 ;;
47866 *-hppa* )
47867 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
47868 ;;
47869 esac
47870 fi
47871
47872 OPTIMISE_CFLAGS=
47873 if test "$wxUSE_OPTIMISE" = "no" ; then
47874 if test "$GCC" = yes ; then
47875 OPTIMISE_CFLAGS="-O0"
47876 fi
47877 else
47878 if test "$GCC" = yes ; then
47879 case "${host}" in
47880 *-pc-os2_emx | *-pc-os2-emx )
47881 OPTIMISE_CFLAGS="-O2"
47882 ;;
47883 *)
47884 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
47885 ;;
47886 esac
47887 else
47888 OPTIMISE_CFLAGS="-O"
47889 fi
47890 fi
47891
47892
47893 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
47894 cat >>confdefs.h <<\_ACEOF
47895 #define WXWIN_COMPATIBILITY_2_4 1
47896 _ACEOF
47897
47898
47899 WXWIN_COMPATIBILITY_2_6="yes"
47900 fi
47901
47902 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
47903 cat >>confdefs.h <<\_ACEOF
47904 #define WXWIN_COMPATIBILITY_2_6 1
47905 _ACEOF
47906
47907 fi
47908
47909
47910 if test "$wxUSE_GUI" = "yes"; then
47911 cat >>confdefs.h <<\_ACEOF
47912 #define wxUSE_GUI 1
47913 _ACEOF
47914
47915
47916 fi
47917
47918
47919 if test "$wxUSE_UNIX" = "yes"; then
47920 cat >>confdefs.h <<\_ACEOF
47921 #define wxUSE_UNIX 1
47922 _ACEOF
47923
47924 fi
47925
47926
47927 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
47928
47929 HAVE_DL_FUNCS=0
47930 HAVE_SHL_FUNCS=0
47931 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
47932 if test "$USE_DARWIN" = 1; then
47933 HAVE_DL_FUNCS=1
47934 elif test "$USE_DOS" = 1; then
47935 HAVE_DL_FUNCS=0
47936 else
47937
47938 for ac_func in dlopen
47939 do
47940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47944 echo $ECHO_N "(cached) $ECHO_C" >&6
47945 else
47946 cat >conftest.$ac_ext <<_ACEOF
47947 /* confdefs.h. */
47948 _ACEOF
47949 cat confdefs.h >>conftest.$ac_ext
47950 cat >>conftest.$ac_ext <<_ACEOF
47951 /* end confdefs.h. */
47952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47954 #define $ac_func innocuous_$ac_func
47955
47956 /* System header to define __stub macros and hopefully few prototypes,
47957 which can conflict with char $ac_func (); below.
47958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47959 <limits.h> exists even on freestanding compilers. */
47960
47961 #ifdef __STDC__
47962 # include <limits.h>
47963 #else
47964 # include <assert.h>
47965 #endif
47966
47967 #undef $ac_func
47968
47969 /* Override any GCC internal prototype to avoid an error.
47970 Use char because int might match the return type of a GCC
47971 builtin and then its argument prototype would still apply. */
47972 #ifdef __cplusplus
47973 extern "C"
47974 #endif
47975 char $ac_func ();
47976 /* The GNU C library defines this for functions which it implements
47977 to always fail with ENOSYS. Some functions are actually named
47978 something starting with __ and the normal name is an alias. */
47979 #if defined __stub_$ac_func || defined __stub___$ac_func
47980 choke me
47981 #endif
47982
47983 int
47984 main ()
47985 {
47986 return $ac_func ();
47987 ;
47988 return 0;
47989 }
47990 _ACEOF
47991 rm -f conftest.$ac_objext conftest$ac_exeext
47992 if { (ac_try="$ac_link"
47993 case "(($ac_try" in
47994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47995 *) ac_try_echo=$ac_try;;
47996 esac
47997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47998 (eval "$ac_link") 2>conftest.er1
47999 ac_status=$?
48000 grep -v '^ *+' conftest.er1 >conftest.err
48001 rm -f conftest.er1
48002 cat conftest.err >&5
48003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48004 (exit $ac_status); } &&
48005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48006 { (case "(($ac_try" in
48007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48008 *) ac_try_echo=$ac_try;;
48009 esac
48010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48011 (eval "$ac_try") 2>&5
48012 ac_status=$?
48013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48014 (exit $ac_status); }; } &&
48015 { ac_try='test -s conftest$ac_exeext'
48016 { (case "(($ac_try" in
48017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48018 *) ac_try_echo=$ac_try;;
48019 esac
48020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48021 (eval "$ac_try") 2>&5
48022 ac_status=$?
48023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48024 (exit $ac_status); }; }; then
48025 eval "$as_ac_var=yes"
48026 else
48027 echo "$as_me: failed program was:" >&5
48028 sed 's/^/| /' conftest.$ac_ext >&5
48029
48030 eval "$as_ac_var=no"
48031 fi
48032
48033 rm -f core conftest.err conftest.$ac_objext \
48034 conftest$ac_exeext conftest.$ac_ext
48035 fi
48036 ac_res=`eval echo '${'$as_ac_var'}'`
48037 { echo "$as_me:$LINENO: result: $ac_res" >&5
48038 echo "${ECHO_T}$ac_res" >&6; }
48039 if test `eval echo '${'$as_ac_var'}'` = yes; then
48040 cat >>confdefs.h <<_ACEOF
48041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48042 _ACEOF
48043
48044 cat >>confdefs.h <<\_ACEOF
48045 #define HAVE_DLOPEN 1
48046 _ACEOF
48047
48048 HAVE_DL_FUNCS=1
48049
48050 else
48051
48052 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
48053 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
48054 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
48055 echo $ECHO_N "(cached) $ECHO_C" >&6
48056 else
48057 ac_check_lib_save_LIBS=$LIBS
48058 LIBS="-ldl $LIBS"
48059 cat >conftest.$ac_ext <<_ACEOF
48060 /* confdefs.h. */
48061 _ACEOF
48062 cat confdefs.h >>conftest.$ac_ext
48063 cat >>conftest.$ac_ext <<_ACEOF
48064 /* end confdefs.h. */
48065
48066 /* Override any GCC internal prototype to avoid an error.
48067 Use char because int might match the return type of a GCC
48068 builtin and then its argument prototype would still apply. */
48069 #ifdef __cplusplus
48070 extern "C"
48071 #endif
48072 char dlopen ();
48073 int
48074 main ()
48075 {
48076 return dlopen ();
48077 ;
48078 return 0;
48079 }
48080 _ACEOF
48081 rm -f conftest.$ac_objext conftest$ac_exeext
48082 if { (ac_try="$ac_link"
48083 case "(($ac_try" in
48084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48085 *) ac_try_echo=$ac_try;;
48086 esac
48087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48088 (eval "$ac_link") 2>conftest.er1
48089 ac_status=$?
48090 grep -v '^ *+' conftest.er1 >conftest.err
48091 rm -f conftest.er1
48092 cat conftest.err >&5
48093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094 (exit $ac_status); } &&
48095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48096 { (case "(($ac_try" in
48097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48098 *) ac_try_echo=$ac_try;;
48099 esac
48100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48101 (eval "$ac_try") 2>&5
48102 ac_status=$?
48103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48104 (exit $ac_status); }; } &&
48105 { ac_try='test -s conftest$ac_exeext'
48106 { (case "(($ac_try" in
48107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48108 *) ac_try_echo=$ac_try;;
48109 esac
48110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48111 (eval "$ac_try") 2>&5
48112 ac_status=$?
48113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48114 (exit $ac_status); }; }; then
48115 ac_cv_lib_dl_dlopen=yes
48116 else
48117 echo "$as_me: failed program was:" >&5
48118 sed 's/^/| /' conftest.$ac_ext >&5
48119
48120 ac_cv_lib_dl_dlopen=no
48121 fi
48122
48123 rm -f core conftest.err conftest.$ac_objext \
48124 conftest$ac_exeext conftest.$ac_ext
48125 LIBS=$ac_check_lib_save_LIBS
48126 fi
48127 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
48128 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
48129 if test $ac_cv_lib_dl_dlopen = yes; then
48130
48131 cat >>confdefs.h <<\_ACEOF
48132 #define HAVE_DLOPEN 1
48133 _ACEOF
48134
48135 HAVE_DL_FUNCS=1
48136 DL_LINK=" -ldl$DL_LINK"
48137
48138 else
48139
48140
48141 for ac_func in shl_load
48142 do
48143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48144 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48146 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48147 echo $ECHO_N "(cached) $ECHO_C" >&6
48148 else
48149 cat >conftest.$ac_ext <<_ACEOF
48150 /* confdefs.h. */
48151 _ACEOF
48152 cat confdefs.h >>conftest.$ac_ext
48153 cat >>conftest.$ac_ext <<_ACEOF
48154 /* end confdefs.h. */
48155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48157 #define $ac_func innocuous_$ac_func
48158
48159 /* System header to define __stub macros and hopefully few prototypes,
48160 which can conflict with char $ac_func (); below.
48161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48162 <limits.h> exists even on freestanding compilers. */
48163
48164 #ifdef __STDC__
48165 # include <limits.h>
48166 #else
48167 # include <assert.h>
48168 #endif
48169
48170 #undef $ac_func
48171
48172 /* Override any GCC internal prototype to avoid an error.
48173 Use char because int might match the return type of a GCC
48174 builtin and then its argument prototype would still apply. */
48175 #ifdef __cplusplus
48176 extern "C"
48177 #endif
48178 char $ac_func ();
48179 /* The GNU C library defines this for functions which it implements
48180 to always fail with ENOSYS. Some functions are actually named
48181 something starting with __ and the normal name is an alias. */
48182 #if defined __stub_$ac_func || defined __stub___$ac_func
48183 choke me
48184 #endif
48185
48186 int
48187 main ()
48188 {
48189 return $ac_func ();
48190 ;
48191 return 0;
48192 }
48193 _ACEOF
48194 rm -f conftest.$ac_objext conftest$ac_exeext
48195 if { (ac_try="$ac_link"
48196 case "(($ac_try" in
48197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48198 *) ac_try_echo=$ac_try;;
48199 esac
48200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48201 (eval "$ac_link") 2>conftest.er1
48202 ac_status=$?
48203 grep -v '^ *+' conftest.er1 >conftest.err
48204 rm -f conftest.er1
48205 cat conftest.err >&5
48206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48207 (exit $ac_status); } &&
48208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48209 { (case "(($ac_try" in
48210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48211 *) ac_try_echo=$ac_try;;
48212 esac
48213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48214 (eval "$ac_try") 2>&5
48215 ac_status=$?
48216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48217 (exit $ac_status); }; } &&
48218 { ac_try='test -s conftest$ac_exeext'
48219 { (case "(($ac_try" in
48220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48221 *) ac_try_echo=$ac_try;;
48222 esac
48223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48224 (eval "$ac_try") 2>&5
48225 ac_status=$?
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; }; then
48228 eval "$as_ac_var=yes"
48229 else
48230 echo "$as_me: failed program was:" >&5
48231 sed 's/^/| /' conftest.$ac_ext >&5
48232
48233 eval "$as_ac_var=no"
48234 fi
48235
48236 rm -f core conftest.err conftest.$ac_objext \
48237 conftest$ac_exeext conftest.$ac_ext
48238 fi
48239 ac_res=`eval echo '${'$as_ac_var'}'`
48240 { echo "$as_me:$LINENO: result: $ac_res" >&5
48241 echo "${ECHO_T}$ac_res" >&6; }
48242 if test `eval echo '${'$as_ac_var'}'` = yes; then
48243 cat >>confdefs.h <<_ACEOF
48244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48245 _ACEOF
48246
48247 cat >>confdefs.h <<\_ACEOF
48248 #define HAVE_SHL_LOAD 1
48249 _ACEOF
48250
48251 HAVE_SHL_FUNCS=1
48252
48253 else
48254
48255 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
48256 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
48257 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
48258 echo $ECHO_N "(cached) $ECHO_C" >&6
48259 else
48260 ac_check_lib_save_LIBS=$LIBS
48261 LIBS="-lshl_load $LIBS"
48262 cat >conftest.$ac_ext <<_ACEOF
48263 /* confdefs.h. */
48264 _ACEOF
48265 cat confdefs.h >>conftest.$ac_ext
48266 cat >>conftest.$ac_ext <<_ACEOF
48267 /* end confdefs.h. */
48268
48269 /* Override any GCC internal prototype to avoid an error.
48270 Use char because int might match the return type of a GCC
48271 builtin and then its argument prototype would still apply. */
48272 #ifdef __cplusplus
48273 extern "C"
48274 #endif
48275 char dld ();
48276 int
48277 main ()
48278 {
48279 return dld ();
48280 ;
48281 return 0;
48282 }
48283 _ACEOF
48284 rm -f conftest.$ac_objext conftest$ac_exeext
48285 if { (ac_try="$ac_link"
48286 case "(($ac_try" in
48287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48288 *) ac_try_echo=$ac_try;;
48289 esac
48290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48291 (eval "$ac_link") 2>conftest.er1
48292 ac_status=$?
48293 grep -v '^ *+' conftest.er1 >conftest.err
48294 rm -f conftest.er1
48295 cat conftest.err >&5
48296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48297 (exit $ac_status); } &&
48298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48299 { (case "(($ac_try" in
48300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48301 *) ac_try_echo=$ac_try;;
48302 esac
48303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48304 (eval "$ac_try") 2>&5
48305 ac_status=$?
48306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48307 (exit $ac_status); }; } &&
48308 { ac_try='test -s conftest$ac_exeext'
48309 { (case "(($ac_try" in
48310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48311 *) ac_try_echo=$ac_try;;
48312 esac
48313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48314 (eval "$ac_try") 2>&5
48315 ac_status=$?
48316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48317 (exit $ac_status); }; }; then
48318 ac_cv_lib_shl_load_dld=yes
48319 else
48320 echo "$as_me: failed program was:" >&5
48321 sed 's/^/| /' conftest.$ac_ext >&5
48322
48323 ac_cv_lib_shl_load_dld=no
48324 fi
48325
48326 rm -f core conftest.err conftest.$ac_objext \
48327 conftest$ac_exeext conftest.$ac_ext
48328 LIBS=$ac_check_lib_save_LIBS
48329 fi
48330 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
48331 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
48332 if test $ac_cv_lib_shl_load_dld = yes; then
48333
48334 HAVE_SHL_FUNCS=1
48335 DL_LINK=" -ldld$DL_LINK"
48336
48337 fi
48338
48339
48340 fi
48341 done
48342
48343
48344 fi
48345
48346
48347 fi
48348 done
48349
48350
48351 if test "$HAVE_DL_FUNCS" = 1; then
48352
48353 for ac_func in dlerror
48354 do
48355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48359 echo $ECHO_N "(cached) $ECHO_C" >&6
48360 else
48361 cat >conftest.$ac_ext <<_ACEOF
48362 /* confdefs.h. */
48363 _ACEOF
48364 cat confdefs.h >>conftest.$ac_ext
48365 cat >>conftest.$ac_ext <<_ACEOF
48366 /* end confdefs.h. */
48367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48369 #define $ac_func innocuous_$ac_func
48370
48371 /* System header to define __stub macros and hopefully few prototypes,
48372 which can conflict with char $ac_func (); below.
48373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48374 <limits.h> exists even on freestanding compilers. */
48375
48376 #ifdef __STDC__
48377 # include <limits.h>
48378 #else
48379 # include <assert.h>
48380 #endif
48381
48382 #undef $ac_func
48383
48384 /* Override any GCC internal prototype to avoid an error.
48385 Use char because int might match the return type of a GCC
48386 builtin and then its argument prototype would still apply. */
48387 #ifdef __cplusplus
48388 extern "C"
48389 #endif
48390 char $ac_func ();
48391 /* The GNU C library defines this for functions which it implements
48392 to always fail with ENOSYS. Some functions are actually named
48393 something starting with __ and the normal name is an alias. */
48394 #if defined __stub_$ac_func || defined __stub___$ac_func
48395 choke me
48396 #endif
48397
48398 int
48399 main ()
48400 {
48401 return $ac_func ();
48402 ;
48403 return 0;
48404 }
48405 _ACEOF
48406 rm -f conftest.$ac_objext conftest$ac_exeext
48407 if { (ac_try="$ac_link"
48408 case "(($ac_try" in
48409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48410 *) ac_try_echo=$ac_try;;
48411 esac
48412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48413 (eval "$ac_link") 2>conftest.er1
48414 ac_status=$?
48415 grep -v '^ *+' conftest.er1 >conftest.err
48416 rm -f conftest.er1
48417 cat conftest.err >&5
48418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48419 (exit $ac_status); } &&
48420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48421 { (case "(($ac_try" in
48422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48423 *) ac_try_echo=$ac_try;;
48424 esac
48425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48426 (eval "$ac_try") 2>&5
48427 ac_status=$?
48428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48429 (exit $ac_status); }; } &&
48430 { ac_try='test -s conftest$ac_exeext'
48431 { (case "(($ac_try" in
48432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48433 *) ac_try_echo=$ac_try;;
48434 esac
48435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48436 (eval "$ac_try") 2>&5
48437 ac_status=$?
48438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48439 (exit $ac_status); }; }; then
48440 eval "$as_ac_var=yes"
48441 else
48442 echo "$as_me: failed program was:" >&5
48443 sed 's/^/| /' conftest.$ac_ext >&5
48444
48445 eval "$as_ac_var=no"
48446 fi
48447
48448 rm -f core conftest.err conftest.$ac_objext \
48449 conftest$ac_exeext conftest.$ac_ext
48450 fi
48451 ac_res=`eval echo '${'$as_ac_var'}'`
48452 { echo "$as_me:$LINENO: result: $ac_res" >&5
48453 echo "${ECHO_T}$ac_res" >&6; }
48454 if test `eval echo '${'$as_ac_var'}'` = yes; then
48455 cat >>confdefs.h <<_ACEOF
48456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48457 _ACEOF
48458 cat >>confdefs.h <<\_ACEOF
48459 #define HAVE_DLERROR 1
48460 _ACEOF
48461
48462 else
48463
48464 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
48465 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
48466 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
48467 echo $ECHO_N "(cached) $ECHO_C" >&6
48468 else
48469 ac_check_lib_save_LIBS=$LIBS
48470 LIBS="-ldl $LIBS"
48471 cat >conftest.$ac_ext <<_ACEOF
48472 /* confdefs.h. */
48473 _ACEOF
48474 cat confdefs.h >>conftest.$ac_ext
48475 cat >>conftest.$ac_ext <<_ACEOF
48476 /* end confdefs.h. */
48477
48478 /* Override any GCC internal prototype to avoid an error.
48479 Use char because int might match the return type of a GCC
48480 builtin and then its argument prototype would still apply. */
48481 #ifdef __cplusplus
48482 extern "C"
48483 #endif
48484 char dlerror ();
48485 int
48486 main ()
48487 {
48488 return dlerror ();
48489 ;
48490 return 0;
48491 }
48492 _ACEOF
48493 rm -f conftest.$ac_objext conftest$ac_exeext
48494 if { (ac_try="$ac_link"
48495 case "(($ac_try" in
48496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48497 *) ac_try_echo=$ac_try;;
48498 esac
48499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48500 (eval "$ac_link") 2>conftest.er1
48501 ac_status=$?
48502 grep -v '^ *+' conftest.er1 >conftest.err
48503 rm -f conftest.er1
48504 cat conftest.err >&5
48505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48506 (exit $ac_status); } &&
48507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48508 { (case "(($ac_try" in
48509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48510 *) ac_try_echo=$ac_try;;
48511 esac
48512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48513 (eval "$ac_try") 2>&5
48514 ac_status=$?
48515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48516 (exit $ac_status); }; } &&
48517 { ac_try='test -s conftest$ac_exeext'
48518 { (case "(($ac_try" in
48519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48520 *) ac_try_echo=$ac_try;;
48521 esac
48522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48523 (eval "$ac_try") 2>&5
48524 ac_status=$?
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); }; }; then
48527 ac_cv_lib_dl_dlerror=yes
48528 else
48529 echo "$as_me: failed program was:" >&5
48530 sed 's/^/| /' conftest.$ac_ext >&5
48531
48532 ac_cv_lib_dl_dlerror=no
48533 fi
48534
48535 rm -f core conftest.err conftest.$ac_objext \
48536 conftest$ac_exeext conftest.$ac_ext
48537 LIBS=$ac_check_lib_save_LIBS
48538 fi
48539 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
48540 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
48541 if test $ac_cv_lib_dl_dlerror = yes; then
48542 cat >>confdefs.h <<\_ACEOF
48543 #define HAVE_DLERROR 1
48544 _ACEOF
48545
48546 fi
48547
48548
48549
48550 fi
48551 done
48552
48553 fi
48554 fi
48555
48556 if test "$HAVE_DL_FUNCS" = 0; then
48557 if test "$HAVE_SHL_FUNCS" = 0; then
48558 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
48559 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
48560 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
48561 wxUSE_DYNAMIC_LOADER=no
48562 wxUSE_DYNLIB_CLASS=no
48563 else
48564 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
48565 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
48566 fi
48567 fi
48568 fi
48569 fi
48570 fi
48571
48572 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
48573 cat >>confdefs.h <<\_ACEOF
48574 #define wxUSE_DYNAMIC_LOADER 1
48575 _ACEOF
48576
48577 fi
48578 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
48579 cat >>confdefs.h <<\_ACEOF
48580 #define wxUSE_DYNLIB_CLASS 1
48581 _ACEOF
48582
48583 fi
48584
48585
48586
48587 if test "$wxUSE_PLUGINS" = "yes" ; then
48588 if test "$wxUSE_SHARED" = "no" ; then
48589 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
48590 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
48591 wxUSE_PLUGINS=no
48592 fi
48593 if test "$wxUSE_MONOLITHIC" = "yes" ; then
48594 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
48595 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
48596 wxUSE_PLUGINS=no
48597 fi
48598 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
48599 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
48600 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
48601 wxUSE_PLUGINS=no
48602 fi
48603 if test "$wxUSE_PLUGINS" = "yes" ; then
48604 cat >>confdefs.h <<\_ACEOF
48605 #define wxUSE_PLUGINS 1
48606 _ACEOF
48607
48608 fi
48609 fi
48610
48611
48612 if test "$wxUSE_STL" = "yes"; then
48613 cat >>confdefs.h <<\_ACEOF
48614 #define wxUSE_STL 1
48615 _ACEOF
48616
48617 fi
48618
48619 if test "$wxUSE_APPLE_IEEE" = "yes"; then
48620 cat >>confdefs.h <<\_ACEOF
48621 #define wxUSE_APPLE_IEEE 1
48622 _ACEOF
48623
48624 fi
48625
48626 if test "$wxUSE_TIMER" = "yes"; then
48627 cat >>confdefs.h <<\_ACEOF
48628 #define wxUSE_TIMER 1
48629 _ACEOF
48630
48631 fi
48632
48633 if test "$USE_UNIX" = "1" ; then
48634 if test "$wxUSE_MGL" != 1; then
48635 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
48636 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
48637 if test "${ac_cv_header_sys_soundcard+set}" = set; then
48638 echo $ECHO_N "(cached) $ECHO_C" >&6
48639 else
48640
48641 cat >conftest.$ac_ext <<_ACEOF
48642 /* confdefs.h. */
48643 _ACEOF
48644 cat confdefs.h >>conftest.$ac_ext
48645 cat >>conftest.$ac_ext <<_ACEOF
48646 /* end confdefs.h. */
48647
48648 #include <sys/ioctl.h>
48649 #include <sys/soundcard.h>
48650
48651 int
48652 main ()
48653 {
48654
48655 ioctl(0, SNDCTL_DSP_SPEED, 0);
48656
48657 ;
48658 return 0;
48659 }
48660 _ACEOF
48661 rm -f conftest.$ac_objext conftest$ac_exeext
48662 if { (ac_try="$ac_link"
48663 case "(($ac_try" in
48664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48665 *) ac_try_echo=$ac_try;;
48666 esac
48667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48668 (eval "$ac_link") 2>conftest.er1
48669 ac_status=$?
48670 grep -v '^ *+' conftest.er1 >conftest.err
48671 rm -f conftest.er1
48672 cat conftest.err >&5
48673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48674 (exit $ac_status); } &&
48675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48676 { (case "(($ac_try" in
48677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48678 *) ac_try_echo=$ac_try;;
48679 esac
48680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48681 (eval "$ac_try") 2>&5
48682 ac_status=$?
48683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684 (exit $ac_status); }; } &&
48685 { ac_try='test -s conftest$ac_exeext'
48686 { (case "(($ac_try" in
48687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48688 *) ac_try_echo=$ac_try;;
48689 esac
48690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48691 (eval "$ac_try") 2>&5
48692 ac_status=$?
48693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48694 (exit $ac_status); }; }; then
48695 ac_cv_header_sys_soundcard=yes
48696 else
48697 echo "$as_me: failed program was:" >&5
48698 sed 's/^/| /' conftest.$ac_ext >&5
48699
48700
48701 saveLibs="$LIBS"
48702 LIBS="$saveLibs -lossaudio"
48703 cat >conftest.$ac_ext <<_ACEOF
48704 /* confdefs.h. */
48705 _ACEOF
48706 cat confdefs.h >>conftest.$ac_ext
48707 cat >>conftest.$ac_ext <<_ACEOF
48708 /* end confdefs.h. */
48709
48710 #include <sys/ioctl.h>
48711 #include <sys/soundcard.h>
48712
48713 int
48714 main ()
48715 {
48716
48717 ioctl(0, SNDCTL_DSP_SPEED, 0);
48718
48719 ;
48720 return 0;
48721 }
48722 _ACEOF
48723 rm -f conftest.$ac_objext conftest$ac_exeext
48724 if { (ac_try="$ac_link"
48725 case "(($ac_try" in
48726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48727 *) ac_try_echo=$ac_try;;
48728 esac
48729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48730 (eval "$ac_link") 2>conftest.er1
48731 ac_status=$?
48732 grep -v '^ *+' conftest.er1 >conftest.err
48733 rm -f conftest.er1
48734 cat conftest.err >&5
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); } &&
48737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48738 { (case "(($ac_try" in
48739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48740 *) ac_try_echo=$ac_try;;
48741 esac
48742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48743 (eval "$ac_try") 2>&5
48744 ac_status=$?
48745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48746 (exit $ac_status); }; } &&
48747 { ac_try='test -s conftest$ac_exeext'
48748 { (case "(($ac_try" in
48749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48750 *) ac_try_echo=$ac_try;;
48751 esac
48752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48753 (eval "$ac_try") 2>&5
48754 ac_status=$?
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); }; }; then
48757 ac_cv_header_sys_soundcard=yes
48758 else
48759 echo "$as_me: failed program was:" >&5
48760 sed 's/^/| /' conftest.$ac_ext >&5
48761
48762
48763 LIBS="$saveLibs"
48764 ac_cv_header_sys_soundcard=no
48765
48766
48767 fi
48768
48769 rm -f core conftest.err conftest.$ac_objext \
48770 conftest$ac_exeext conftest.$ac_ext
48771
48772
48773 fi
48774
48775 rm -f core conftest.err conftest.$ac_objext \
48776 conftest$ac_exeext conftest.$ac_ext
48777
48778 fi
48779 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
48780 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
48781 fi
48782
48783 if test "$ac_cv_header_sys_soundcard" = "yes"; then
48784 cat >>confdefs.h <<\_ACEOF
48785 #define HAVE_SYS_SOUNDCARD_H 1
48786 _ACEOF
48787
48788 else
48789 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
48790 fi
48791 fi
48792
48793 WITH_PLUGIN_SDL=0
48794 if test "$wxUSE_SOUND" = "yes"; then
48795 if test "$USE_UNIX" = "1" ; then
48796 if test "$wxUSE_LIBSDL" != "no"; then
48797
48798 # Check whether --with-sdl-prefix was given.
48799 if test "${with_sdl_prefix+set}" = set; then
48800 withval=$with_sdl_prefix; sdl_prefix="$withval"
48801 else
48802 sdl_prefix=""
48803 fi
48804
48805
48806 # Check whether --with-sdl-exec-prefix was given.
48807 if test "${with_sdl_exec_prefix+set}" = set; then
48808 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
48809 else
48810 sdl_exec_prefix=""
48811 fi
48812
48813 # Check whether --enable-sdltest was given.
48814 if test "${enable_sdltest+set}" = set; then
48815 enableval=$enable_sdltest;
48816 else
48817 enable_sdltest=yes
48818 fi
48819
48820
48821 if test x$sdl_exec_prefix != x ; then
48822 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
48823 if test x${SDL_CONFIG+set} != xset ; then
48824 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
48825 fi
48826 fi
48827 if test x$sdl_prefix != x ; then
48828 sdl_args="$sdl_args --prefix=$sdl_prefix"
48829 if test x${SDL_CONFIG+set} != xset ; then
48830 SDL_CONFIG=$sdl_prefix/bin/sdl-config
48831 fi
48832 fi
48833
48834 if test "x$prefix" != xNONE; then
48835 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
48836 fi
48837 # Extract the first word of "sdl-config", so it can be a program name with args.
48838 set dummy sdl-config; ac_word=$2
48839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48841 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
48842 echo $ECHO_N "(cached) $ECHO_C" >&6
48843 else
48844 case $SDL_CONFIG in
48845 [\\/]* | ?:[\\/]*)
48846 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
48847 ;;
48848 *)
48849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48850 for as_dir in $PATH
48851 do
48852 IFS=$as_save_IFS
48853 test -z "$as_dir" && as_dir=.
48854 for ac_exec_ext in '' $ac_executable_extensions; do
48855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
48856 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48858 break 2
48859 fi
48860 done
48861 done
48862 IFS=$as_save_IFS
48863
48864 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
48865 ;;
48866 esac
48867 fi
48868 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
48869 if test -n "$SDL_CONFIG"; then
48870 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
48871 echo "${ECHO_T}$SDL_CONFIG" >&6; }
48872 else
48873 { echo "$as_me:$LINENO: result: no" >&5
48874 echo "${ECHO_T}no" >&6; }
48875 fi
48876
48877
48878 min_sdl_version=1.2.0
48879 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
48880 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
48881 no_sdl=""
48882 if test "$SDL_CONFIG" = "no" ; then
48883 no_sdl=yes
48884 else
48885 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
48886 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
48887
48888 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
48889 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48890 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
48891 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48892 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
48893 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48894 if test "x$enable_sdltest" = "xyes" ; then
48895 ac_save_CFLAGS="$CFLAGS"
48896 ac_save_CXXFLAGS="$CXXFLAGS"
48897 ac_save_LIBS="$LIBS"
48898 CFLAGS="$CFLAGS $SDL_CFLAGS"
48899 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
48900 LIBS="$LIBS $SDL_LIBS"
48901 rm -f conf.sdltest
48902 if test "$cross_compiling" = yes; then
48903 echo $ac_n "cross compiling; assumed OK... $ac_c"
48904 else
48905 cat >conftest.$ac_ext <<_ACEOF
48906 /* confdefs.h. */
48907 _ACEOF
48908 cat confdefs.h >>conftest.$ac_ext
48909 cat >>conftest.$ac_ext <<_ACEOF
48910 /* end confdefs.h. */
48911
48912 #include <stdio.h>
48913 #include <stdlib.h>
48914 #include <string.h>
48915 #include "SDL.h"
48916
48917 char*
48918 my_strdup (char *str)
48919 {
48920 char *new_str;
48921
48922 if (str)
48923 {
48924 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
48925 strcpy (new_str, str);
48926 }
48927 else
48928 new_str = NULL;
48929
48930 return new_str;
48931 }
48932
48933 int main (int argc, char *argv[])
48934 {
48935 int major, minor, micro;
48936 char *tmp_version;
48937
48938 /* This hangs on some systems (?)
48939 system ("touch conf.sdltest");
48940 */
48941 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
48942
48943 /* HP/UX 9 (%@#!) writes to sscanf strings */
48944 tmp_version = my_strdup("$min_sdl_version");
48945 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
48946 printf("%s, bad version string\n", "$min_sdl_version");
48947 exit(1);
48948 }
48949
48950 if (($sdl_major_version > major) ||
48951 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
48952 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
48953 {
48954 return 0;
48955 }
48956 else
48957 {
48958 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
48959 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
48960 printf("*** best to upgrade to the required version.\n");
48961 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
48962 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
48963 printf("*** config.cache before re-running configure\n");
48964 return 1;
48965 }
48966 }
48967
48968
48969 _ACEOF
48970 rm -f conftest$ac_exeext
48971 if { (ac_try="$ac_link"
48972 case "(($ac_try" in
48973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48974 *) ac_try_echo=$ac_try;;
48975 esac
48976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48977 (eval "$ac_link") 2>&5
48978 ac_status=$?
48979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
48981 { (case "(($ac_try" in
48982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48983 *) ac_try_echo=$ac_try;;
48984 esac
48985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48986 (eval "$ac_try") 2>&5
48987 ac_status=$?
48988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48989 (exit $ac_status); }; }; then
48990 :
48991 else
48992 echo "$as_me: program exited with status $ac_status" >&5
48993 echo "$as_me: failed program was:" >&5
48994 sed 's/^/| /' conftest.$ac_ext >&5
48995
48996 ( exit $ac_status )
48997 no_sdl=yes
48998 fi
48999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49000 fi
49001
49002
49003 CFLAGS="$ac_save_CFLAGS"
49004 CXXFLAGS="$ac_save_CXXFLAGS"
49005 LIBS="$ac_save_LIBS"
49006 fi
49007 fi
49008 if test "x$no_sdl" = x ; then
49009 { echo "$as_me:$LINENO: result: yes" >&5
49010 echo "${ECHO_T}yes" >&6; }
49011
49012 EXTRALIBS_SDL="$SDL_LIBS"
49013 CFLAGS="$SDL_CFLAGS $CFLAGS"
49014 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
49015 cat >>confdefs.h <<\_ACEOF
49016 #define wxUSE_LIBSDL 1
49017 _ACEOF
49018
49019
49020 else
49021 { echo "$as_me:$LINENO: result: no" >&5
49022 echo "${ECHO_T}no" >&6; }
49023 if test "$SDL_CONFIG" = "no" ; then
49024 echo "*** The sdl-config script installed by SDL could not be found"
49025 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
49026 echo "*** your path, or set the SDL_CONFIG environment variable to the"
49027 echo "*** full path to sdl-config."
49028 else
49029 if test -f conf.sdltest ; then
49030 :
49031 else
49032 echo "*** Could not run SDL test program, checking why..."
49033 CFLAGS="$CFLAGS $SDL_CFLAGS"
49034 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
49035 LIBS="$LIBS $SDL_LIBS"
49036 cat >conftest.$ac_ext <<_ACEOF
49037 /* confdefs.h. */
49038 _ACEOF
49039 cat confdefs.h >>conftest.$ac_ext
49040 cat >>conftest.$ac_ext <<_ACEOF
49041 /* end confdefs.h. */
49042
49043 #include <stdio.h>
49044 #include "SDL.h"
49045
49046 int main(int argc, char *argv[])
49047 { return 0; }
49048 #undef main
49049 #define main K_and_R_C_main
49050
49051 int
49052 main ()
49053 {
49054 return 0;
49055 ;
49056 return 0;
49057 }
49058 _ACEOF
49059 rm -f conftest.$ac_objext conftest$ac_exeext
49060 if { (ac_try="$ac_link"
49061 case "(($ac_try" in
49062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49063 *) ac_try_echo=$ac_try;;
49064 esac
49065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49066 (eval "$ac_link") 2>conftest.er1
49067 ac_status=$?
49068 grep -v '^ *+' conftest.er1 >conftest.err
49069 rm -f conftest.er1
49070 cat conftest.err >&5
49071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49072 (exit $ac_status); } &&
49073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49074 { (case "(($ac_try" in
49075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49076 *) ac_try_echo=$ac_try;;
49077 esac
49078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49079 (eval "$ac_try") 2>&5
49080 ac_status=$?
49081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49082 (exit $ac_status); }; } &&
49083 { ac_try='test -s conftest$ac_exeext'
49084 { (case "(($ac_try" in
49085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49086 *) ac_try_echo=$ac_try;;
49087 esac
49088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49089 (eval "$ac_try") 2>&5
49090 ac_status=$?
49091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49092 (exit $ac_status); }; }; then
49093 echo "*** The test program compiled, but did not run. This usually means"
49094 echo "*** that the run-time linker is not finding SDL or finding the wrong"
49095 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
49096 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
49097 echo "*** to the installed location Also, make sure you have run ldconfig if that"
49098 echo "*** is required on your system"
49099 echo "***"
49100 echo "*** If you have an old version installed, it is best to remove it, although"
49101 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
49102 else
49103 echo "$as_me: failed program was:" >&5
49104 sed 's/^/| /' conftest.$ac_ext >&5
49105
49106 echo "*** The test program failed to compile or link. See the file config.log for the"
49107 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
49108 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
49109 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
49110 fi
49111
49112 rm -f core conftest.err conftest.$ac_objext \
49113 conftest$ac_exeext conftest.$ac_ext
49114 CFLAGS="$ac_save_CFLAGS"
49115 CXXFLAGS="$ac_save_CXXFLAGS"
49116 LIBS="$ac_save_LIBS"
49117 fi
49118 fi
49119 SDL_CFLAGS=""
49120 SDL_LIBS=""
49121 wxUSE_LIBSDL="no"
49122 fi
49123
49124
49125 rm -f conf.sdltest
49126
49127 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
49128 WITH_PLUGIN_SDL=1
49129 fi
49130 fi
49131 else
49132 if test "$wxUSE_MGL" = 1; then
49133 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
49134 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
49135 wxUSE_SOUND="no"
49136 fi
49137 fi
49138 fi
49139
49140 if test "$wxUSE_SOUND" = "yes"; then
49141 cat >>confdefs.h <<\_ACEOF
49142 #define wxUSE_SOUND 1
49143 _ACEOF
49144
49145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
49146 fi
49147
49148 if test "$WXGTK20" = 1; then
49149
49150
49151 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
49152 if test -n "$ac_tool_prefix"; then
49153 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
49154 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
49155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
49158 echo $ECHO_N "(cached) $ECHO_C" >&6
49159 else
49160 case $PKG_CONFIG in
49161 [\\/]* | ?:[\\/]*)
49162 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
49163 ;;
49164 *)
49165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49166 for as_dir in $PATH
49167 do
49168 IFS=$as_save_IFS
49169 test -z "$as_dir" && as_dir=.
49170 for ac_exec_ext in '' $ac_executable_extensions; do
49171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
49172 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49174 break 2
49175 fi
49176 done
49177 done
49178 IFS=$as_save_IFS
49179
49180 ;;
49181 esac
49182 fi
49183 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
49184 if test -n "$PKG_CONFIG"; then
49185 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
49186 echo "${ECHO_T}$PKG_CONFIG" >&6; }
49187 else
49188 { echo "$as_me:$LINENO: result: no" >&5
49189 echo "${ECHO_T}no" >&6; }
49190 fi
49191
49192
49193 fi
49194 if test -z "$ac_cv_path_PKG_CONFIG"; then
49195 ac_pt_PKG_CONFIG=$PKG_CONFIG
49196 # Extract the first word of "pkg-config", so it can be a program name with args.
49197 set dummy pkg-config; ac_word=$2
49198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49200 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
49201 echo $ECHO_N "(cached) $ECHO_C" >&6
49202 else
49203 case $ac_pt_PKG_CONFIG in
49204 [\\/]* | ?:[\\/]*)
49205 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
49206 ;;
49207 *)
49208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49209 for as_dir in $PATH
49210 do
49211 IFS=$as_save_IFS
49212 test -z "$as_dir" && as_dir=.
49213 for ac_exec_ext in '' $ac_executable_extensions; do
49214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
49215 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49217 break 2
49218 fi
49219 done
49220 done
49221 IFS=$as_save_IFS
49222
49223 ;;
49224 esac
49225 fi
49226 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
49227 if test -n "$ac_pt_PKG_CONFIG"; then
49228 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
49229 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
49230 else
49231 { echo "$as_me:$LINENO: result: no" >&5
49232 echo "${ECHO_T}no" >&6; }
49233 fi
49234
49235 if test "x$ac_pt_PKG_CONFIG" = x; then
49236 PKG_CONFIG=""
49237 else
49238 case $cross_compiling:$ac_tool_warned in
49239 yes:)
49240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49241 whose name does not start with the host triplet. If you think this
49242 configuration is useful to you, please write to autoconf@gnu.org." >&5
49243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49244 whose name does not start with the host triplet. If you think this
49245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49246 ac_tool_warned=yes ;;
49247 esac
49248 PKG_CONFIG=$ac_pt_PKG_CONFIG
49249 fi
49250 else
49251 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
49252 fi
49253
49254 fi
49255 if test -n "$PKG_CONFIG"; then
49256 _pkg_min_version=0.9.0
49257 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
49258 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
49259 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
49260 { echo "$as_me:$LINENO: result: yes" >&5
49261 echo "${ECHO_T}yes" >&6; }
49262 else
49263 { echo "$as_me:$LINENO: result: no" >&5
49264 echo "${ECHO_T}no" >&6; }
49265 PKG_CONFIG=""
49266 fi
49267
49268 fi
49269
49270 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49271 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49272
49273
49274 pkg_failed=no
49275 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
49276 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
49277
49278 if test -n "$PKG_CONFIG"; then
49279 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
49280 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
49281 else
49282 if test -n "$PKG_CONFIG" && \
49283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
49284 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
49285 ac_status=$?
49286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49287 (exit $ac_status); }; then
49288 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
49289 else
49290 pkg_failed=yes
49291 fi
49292 fi
49293 else
49294 pkg_failed=untried
49295 fi
49296 if test -n "$PKG_CONFIG"; then
49297 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
49298 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
49299 else
49300 if test -n "$PKG_CONFIG" && \
49301 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
49302 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
49303 ac_status=$?
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); }; then
49306 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
49307 else
49308 pkg_failed=yes
49309 fi
49310 fi
49311 else
49312 pkg_failed=untried
49313 fi
49314
49315
49316
49317 if test $pkg_failed = yes; then
49318
49319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49320 _pkg_short_errors_supported=yes
49321 else
49322 _pkg_short_errors_supported=no
49323 fi
49324 if test $_pkg_short_errors_supported = yes; then
49325 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
49326 else
49327 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
49328 fi
49329 # Put the nasty error message in config.log where it belongs
49330 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
49331
49332
49333 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
49334 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
49335 wxUSE_LIBGNOMEPRINT="no"
49336
49337
49338 elif test $pkg_failed = untried; then
49339
49340 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
49341 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
49342 wxUSE_LIBGNOMEPRINT="no"
49343
49344
49345 else
49346 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
49347 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
49348 { echo "$as_me:$LINENO: result: yes" >&5
49349 echo "${ECHO_T}yes" >&6; }
49350
49351 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
49352 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
49353 cat >>confdefs.h <<\_ACEOF
49354 #define wxUSE_LIBGNOMEPRINT 1
49355 _ACEOF
49356
49357
49358 fi
49359 fi
49360 fi
49361
49362 if test "$wxUSE_MIMETYPE" = "yes" ; then
49363 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49364
49365
49366 pkg_failed=no
49367 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
49368 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
49369
49370 if test -n "$PKG_CONFIG"; then
49371 if test -n "$GNOMEVFS_CFLAGS"; then
49372 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
49373 else
49374 if test -n "$PKG_CONFIG" && \
49375 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
49376 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
49377 ac_status=$?
49378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379 (exit $ac_status); }; then
49380 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
49381 else
49382 pkg_failed=yes
49383 fi
49384 fi
49385 else
49386 pkg_failed=untried
49387 fi
49388 if test -n "$PKG_CONFIG"; then
49389 if test -n "$GNOMEVFS_LIBS"; then
49390 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
49391 else
49392 if test -n "$PKG_CONFIG" && \
49393 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
49394 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
49395 ac_status=$?
49396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49397 (exit $ac_status); }; then
49398 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
49399 else
49400 pkg_failed=yes
49401 fi
49402 fi
49403 else
49404 pkg_failed=untried
49405 fi
49406
49407
49408
49409 if test $pkg_failed = yes; then
49410
49411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49412 _pkg_short_errors_supported=yes
49413 else
49414 _pkg_short_errors_supported=no
49415 fi
49416 if test $_pkg_short_errors_supported = yes; then
49417 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
49418 else
49419 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
49420 fi
49421 # Put the nasty error message in config.log where it belongs
49422 echo "$GNOMEVFS_PKG_ERRORS" >&5
49423
49424
49425 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
49426 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
49427 wxUSE_LIBGNOMEVFS="no"
49428
49429
49430 elif test $pkg_failed = untried; then
49431
49432 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
49433 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
49434 wxUSE_LIBGNOMEVFS="no"
49435
49436
49437 else
49438 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
49439 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
49440 { echo "$as_me:$LINENO: result: yes" >&5
49441 echo "${ECHO_T}yes" >&6; }
49442
49443 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
49444 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
49445 cat >>confdefs.h <<\_ACEOF
49446 #define wxUSE_LIBGNOMEVFS 1
49447 _ACEOF
49448
49449
49450 fi
49451 fi
49452 fi
49453
49454 if test "$wxUSE_LIBHILDON" = "yes" ; then
49455
49456 pkg_failed=no
49457 { echo "$as_me:$LINENO: checking for HILDON" >&5
49458 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
49459
49460 if test -n "$PKG_CONFIG"; then
49461 if test -n "$HILDON_CFLAGS"; then
49462 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
49463 else
49464 if test -n "$PKG_CONFIG" && \
49465 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
49466 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
49467 ac_status=$?
49468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49469 (exit $ac_status); }; then
49470 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
49471 else
49472 pkg_failed=yes
49473 fi
49474 fi
49475 else
49476 pkg_failed=untried
49477 fi
49478 if test -n "$PKG_CONFIG"; then
49479 if test -n "$HILDON_LIBS"; then
49480 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
49481 else
49482 if test -n "$PKG_CONFIG" && \
49483 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
49484 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
49485 ac_status=$?
49486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49487 (exit $ac_status); }; then
49488 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
49489 else
49490 pkg_failed=yes
49491 fi
49492 fi
49493 else
49494 pkg_failed=untried
49495 fi
49496
49497
49498
49499 if test $pkg_failed = yes; then
49500
49501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49502 _pkg_short_errors_supported=yes
49503 else
49504 _pkg_short_errors_supported=no
49505 fi
49506 if test $_pkg_short_errors_supported = yes; then
49507 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
49508 else
49509 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
49510 fi
49511 # Put the nasty error message in config.log where it belongs
49512 echo "$HILDON_PKG_ERRORS" >&5
49513
49514
49515 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
49516 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
49517 wxUSE_LIBHILDON="no"
49518
49519
49520 elif test $pkg_failed = untried; then
49521
49522 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
49523 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
49524 wxUSE_LIBHILDON="no"
49525
49526
49527 else
49528 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
49529 HILDON_LIBS=$pkg_cv_HILDON_LIBS
49530 { echo "$as_me:$LINENO: result: yes" >&5
49531 echo "${ECHO_T}yes" >&6; }
49532
49533 EXTRALIBS_HILDON="$HILDON_LIBS"
49534 CFLAGS="$CFLAGS $HILDON_CFLAGS"
49535 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
49536 cat >>confdefs.h <<\_ACEOF
49537 #define wxUSE_LIBHILDON 1
49538 _ACEOF
49539
49540
49541 fi
49542 fi
49543 fi
49544
49545 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
49546 cat >>confdefs.h <<\_ACEOF
49547 #define wxUSE_CMDLINE_PARSER 1
49548 _ACEOF
49549
49550 fi
49551
49552 if test "$wxUSE_STOPWATCH" = "yes"; then
49553 cat >>confdefs.h <<\_ACEOF
49554 #define wxUSE_STOPWATCH 1
49555 _ACEOF
49556
49557 fi
49558
49559 if test "$wxUSE_DATETIME" = "yes"; then
49560 cat >>confdefs.h <<\_ACEOF
49561 #define wxUSE_DATETIME 1
49562 _ACEOF
49563
49564 fi
49565
49566 if test "$wxUSE_FILE" = "yes"; then
49567 cat >>confdefs.h <<\_ACEOF
49568 #define wxUSE_FILE 1
49569 _ACEOF
49570
49571 fi
49572
49573 if test "$wxUSE_FFILE" = "yes"; then
49574 cat >>confdefs.h <<\_ACEOF
49575 #define wxUSE_FFILE 1
49576 _ACEOF
49577
49578 fi
49579
49580 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
49581 if test "$wxUSE_STREAMS" != yes; then
49582 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
49583 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
49584 wxUSE_ARCHIVE_STREAMS=no
49585 else
49586 cat >>confdefs.h <<\_ACEOF
49587 #define wxUSE_ARCHIVE_STREAMS 1
49588 _ACEOF
49589
49590 fi
49591 fi
49592
49593 if test "$wxUSE_ZIPSTREAM" = "yes"; then
49594 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
49595 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
49596 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
49597 elif test "$wxUSE_ZLIB" = "no"; then
49598 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
49599 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
49600 else
49601 cat >>confdefs.h <<\_ACEOF
49602 #define wxUSE_ZIPSTREAM 1
49603 _ACEOF
49604
49605 fi
49606 fi
49607
49608 if test "$wxUSE_TARSTREAM" = "yes"; then
49609 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
49610 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
49611 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
49612 else
49613 cat >>confdefs.h <<\_ACEOF
49614 #define wxUSE_TARSTREAM 1
49615 _ACEOF
49616
49617 fi
49618 fi
49619
49620 if test "$wxUSE_FILESYSTEM" = "yes"; then
49621 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
49622 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
49623 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
49624 wxUSE_FILESYSTEM=no
49625 else
49626 cat >>confdefs.h <<\_ACEOF
49627 #define wxUSE_FILESYSTEM 1
49628 _ACEOF
49629
49630 fi
49631 fi
49632
49633 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
49634 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
49635 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
49636 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
49637 else
49638 cat >>confdefs.h <<\_ACEOF
49639 #define wxUSE_FS_ARCHIVE 1
49640 _ACEOF
49641
49642 fi
49643 fi
49644
49645 if test "$wxUSE_FS_ZIP" = "yes"; then
49646 if test "$wxUSE_FS_ARCHIVE" != yes; then
49647 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
49648 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
49649 else
49650 cat >>confdefs.h <<\_ACEOF
49651 #define wxUSE_FS_ZIP 1
49652 _ACEOF
49653
49654 fi
49655 fi
49656
49657 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
49658 if test "$USE_UNIX" != 1; then
49659 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
49660 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
49661 wxUSE_ON_FATAL_EXCEPTION=no
49662 else
49663 cat >>confdefs.h <<\_ACEOF
49664 #define wxUSE_ON_FATAL_EXCEPTION 1
49665 _ACEOF
49666
49667 fi
49668 fi
49669
49670 if test "$wxUSE_STACKWALKER" = "yes"; then
49671 cat >>confdefs.h <<\_ACEOF
49672 #define wxUSE_STACKWALKER 1
49673 _ACEOF
49674
49675 fi
49676
49677 if test "$wxUSE_DEBUGREPORT" = "yes"; then
49678 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49679 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
49680 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
49681 wxUSE_DEBUGREPORT=no
49682 else
49683 cat >>confdefs.h <<\_ACEOF
49684 #define wxUSE_DEBUGREPORT 1
49685 _ACEOF
49686
49687 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
49688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
49689 fi
49690 fi
49691 fi
49692
49693 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
49694 cat >>confdefs.h <<\_ACEOF
49695 #define wxUSE_SNGLINST_CHECKER 1
49696 _ACEOF
49697
49698 fi
49699
49700 if test "$wxUSE_BUSYINFO" = "yes"; then
49701 cat >>confdefs.h <<\_ACEOF
49702 #define wxUSE_BUSYINFO 1
49703 _ACEOF
49704
49705 fi
49706
49707 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
49708 cat >>confdefs.h <<\_ACEOF
49709 #define wxUSE_STD_IOSTREAM 1
49710 _ACEOF
49711
49712 fi
49713
49714 if test "$wxUSE_STD_STRING" = "yes"; then
49715 cat >>confdefs.h <<\_ACEOF
49716 #define wxUSE_STD_STRING 1
49717 _ACEOF
49718
49719 fi
49720
49721 if test "$wxUSE_STDPATHS" = "yes"; then
49722 cat >>confdefs.h <<\_ACEOF
49723 #define wxUSE_STDPATHS 1
49724 _ACEOF
49725
49726 fi
49727
49728 if test "$wxUSE_TEXTBUFFER" = "yes"; then
49729 cat >>confdefs.h <<\_ACEOF
49730 #define wxUSE_TEXTBUFFER 1
49731 _ACEOF
49732
49733 fi
49734
49735 if test "$wxUSE_TEXTFILE" = "yes"; then
49736 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
49737 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
49738 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
49739 else
49740 cat >>confdefs.h <<\_ACEOF
49741 #define wxUSE_TEXTFILE 1
49742 _ACEOF
49743
49744 fi
49745 fi
49746
49747 if test "$wxUSE_CONFIG" = "yes" ; then
49748 if test "$wxUSE_TEXTFILE" != "yes"; then
49749 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
49750 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
49751 else
49752 cat >>confdefs.h <<\_ACEOF
49753 #define wxUSE_CONFIG 1
49754 _ACEOF
49755
49756 cat >>confdefs.h <<\_ACEOF
49757 #define wxUSE_CONFIG_NATIVE 1
49758 _ACEOF
49759
49760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
49761 fi
49762 fi
49763
49764 if test "$wxUSE_INTL" = "yes" ; then
49765 if test "$wxUSE_FILE" != "yes"; then
49766 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
49767 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
49768 else
49769 cat >>confdefs.h <<\_ACEOF
49770 #define wxUSE_INTL 1
49771 _ACEOF
49772
49773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
49774 GUIDIST="$GUIDIST INTL_DIST"
49775 fi
49776 fi
49777
49778 if test "$wxUSE_LOG" = "yes"; then
49779 cat >>confdefs.h <<\_ACEOF
49780 #define wxUSE_LOG 1
49781 _ACEOF
49782
49783
49784 if test "$wxUSE_LOGGUI" = "yes"; then
49785 cat >>confdefs.h <<\_ACEOF
49786 #define wxUSE_LOGGUI 1
49787 _ACEOF
49788
49789 fi
49790
49791 if test "$wxUSE_LOGWINDOW" = "yes"; then
49792 cat >>confdefs.h <<\_ACEOF
49793 #define wxUSE_LOGWINDOW 1
49794 _ACEOF
49795
49796 fi
49797
49798 if test "$wxUSE_LOGDIALOG" = "yes"; then
49799 cat >>confdefs.h <<\_ACEOF
49800 #define wxUSE_LOG_DIALOG 1
49801 _ACEOF
49802
49803 fi
49804
49805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
49806 fi
49807
49808 if test "$wxUSE_LONGLONG" = "yes"; then
49809 cat >>confdefs.h <<\_ACEOF
49810 #define wxUSE_LONGLONG 1
49811 _ACEOF
49812
49813 fi
49814
49815 if test "$wxUSE_GEOMETRY" = "yes"; then
49816 cat >>confdefs.h <<\_ACEOF
49817 #define wxUSE_GEOMETRY 1
49818 _ACEOF
49819
49820 fi
49821
49822 if test "$wxUSE_STREAMS" = "yes" ; then
49823 cat >>confdefs.h <<\_ACEOF
49824 #define wxUSE_STREAMS 1
49825 _ACEOF
49826
49827 fi
49828
49829 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
49830 cat >>confdefs.h <<\_ACEOF
49831 #define wxUSE_PRINTF_POS_PARAMS 1
49832 _ACEOF
49833
49834 fi
49835
49836
49837
49838 if test "$wxUSE_DATETIME" = "yes"; then
49839
49840 for ac_func in strptime
49841 do
49842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49846 echo $ECHO_N "(cached) $ECHO_C" >&6
49847 else
49848 cat >conftest.$ac_ext <<_ACEOF
49849 /* confdefs.h. */
49850 _ACEOF
49851 cat confdefs.h >>conftest.$ac_ext
49852 cat >>conftest.$ac_ext <<_ACEOF
49853 /* end confdefs.h. */
49854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49856 #define $ac_func innocuous_$ac_func
49857
49858 /* System header to define __stub macros and hopefully few prototypes,
49859 which can conflict with char $ac_func (); below.
49860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49861 <limits.h> exists even on freestanding compilers. */
49862
49863 #ifdef __STDC__
49864 # include <limits.h>
49865 #else
49866 # include <assert.h>
49867 #endif
49868
49869 #undef $ac_func
49870
49871 /* Override any GCC internal prototype to avoid an error.
49872 Use char because int might match the return type of a GCC
49873 builtin and then its argument prototype would still apply. */
49874 #ifdef __cplusplus
49875 extern "C"
49876 #endif
49877 char $ac_func ();
49878 /* The GNU C library defines this for functions which it implements
49879 to always fail with ENOSYS. Some functions are actually named
49880 something starting with __ and the normal name is an alias. */
49881 #if defined __stub_$ac_func || defined __stub___$ac_func
49882 choke me
49883 #endif
49884
49885 int
49886 main ()
49887 {
49888 return $ac_func ();
49889 ;
49890 return 0;
49891 }
49892 _ACEOF
49893 rm -f conftest.$ac_objext conftest$ac_exeext
49894 if { (ac_try="$ac_link"
49895 case "(($ac_try" in
49896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49897 *) ac_try_echo=$ac_try;;
49898 esac
49899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49900 (eval "$ac_link") 2>conftest.er1
49901 ac_status=$?
49902 grep -v '^ *+' conftest.er1 >conftest.err
49903 rm -f conftest.er1
49904 cat conftest.err >&5
49905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906 (exit $ac_status); } &&
49907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49908 { (case "(($ac_try" in
49909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49910 *) ac_try_echo=$ac_try;;
49911 esac
49912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49913 (eval "$ac_try") 2>&5
49914 ac_status=$?
49915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49916 (exit $ac_status); }; } &&
49917 { ac_try='test -s conftest$ac_exeext'
49918 { (case "(($ac_try" in
49919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49920 *) ac_try_echo=$ac_try;;
49921 esac
49922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49923 (eval "$ac_try") 2>&5
49924 ac_status=$?
49925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49926 (exit $ac_status); }; }; then
49927 eval "$as_ac_var=yes"
49928 else
49929 echo "$as_me: failed program was:" >&5
49930 sed 's/^/| /' conftest.$ac_ext >&5
49931
49932 eval "$as_ac_var=no"
49933 fi
49934
49935 rm -f core conftest.err conftest.$ac_objext \
49936 conftest$ac_exeext conftest.$ac_ext
49937 fi
49938 ac_res=`eval echo '${'$as_ac_var'}'`
49939 { echo "$as_me:$LINENO: result: $ac_res" >&5
49940 echo "${ECHO_T}$ac_res" >&6; }
49941 if test `eval echo '${'$as_ac_var'}'` = yes; then
49942 cat >>confdefs.h <<_ACEOF
49943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49944 _ACEOF
49945
49946 fi
49947 done
49948
49949 if test "$ac_cv_func_strptime" = "yes"; then
49950 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
49951 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
49952 if test "${wx_cv_func_strptime_decl+set}" = set; then
49953 echo $ECHO_N "(cached) $ECHO_C" >&6
49954 else
49955
49956 ac_ext=cpp
49957 ac_cpp='$CXXCPP $CPPFLAGS'
49958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49961
49962 cat >conftest.$ac_ext <<_ACEOF
49963 /* confdefs.h. */
49964 _ACEOF
49965 cat confdefs.h >>conftest.$ac_ext
49966 cat >>conftest.$ac_ext <<_ACEOF
49967 /* end confdefs.h. */
49968
49969 #include <time.h>
49970
49971 int
49972 main ()
49973 {
49974
49975 struct tm t;
49976 strptime("foo", "bar", &t);
49977
49978 ;
49979 return 0;
49980 }
49981 _ACEOF
49982 rm -f conftest.$ac_objext
49983 if { (ac_try="$ac_compile"
49984 case "(($ac_try" in
49985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49986 *) ac_try_echo=$ac_try;;
49987 esac
49988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49989 (eval "$ac_compile") 2>conftest.er1
49990 ac_status=$?
49991 grep -v '^ *+' conftest.er1 >conftest.err
49992 rm -f conftest.er1
49993 cat conftest.err >&5
49994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49995 (exit $ac_status); } &&
49996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
49997 { (case "(($ac_try" in
49998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49999 *) ac_try_echo=$ac_try;;
50000 esac
50001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50002 (eval "$ac_try") 2>&5
50003 ac_status=$?
50004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50005 (exit $ac_status); }; } &&
50006 { ac_try='test -s conftest.$ac_objext'
50007 { (case "(($ac_try" in
50008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50009 *) ac_try_echo=$ac_try;;
50010 esac
50011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50012 (eval "$ac_try") 2>&5
50013 ac_status=$?
50014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50015 (exit $ac_status); }; }; then
50016 wx_cv_func_strptime_decl=yes
50017 else
50018 echo "$as_me: failed program was:" >&5
50019 sed 's/^/| /' conftest.$ac_ext >&5
50020
50021 wx_cv_func_strptime_decl=no
50022
50023 fi
50024
50025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50026 ac_ext=c
50027 ac_cpp='$CPP $CPPFLAGS'
50028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50031
50032
50033
50034 fi
50035 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
50036 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
50037 fi
50038 if test "$wx_cv_func_strptime_decl" = "yes"; then
50039 cat >>confdefs.h <<\_ACEOF
50040 #define HAVE_STRPTIME_DECL 1
50041 _ACEOF
50042
50043 fi
50044
50045 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
50046 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
50047 if test "${wx_cv_var_timezone+set}" = set; then
50048 echo $ECHO_N "(cached) $ECHO_C" >&6
50049 else
50050
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50056
50057 cat >conftest.$ac_ext <<_ACEOF
50058 /* confdefs.h. */
50059 _ACEOF
50060 cat confdefs.h >>conftest.$ac_ext
50061 cat >>conftest.$ac_ext <<_ACEOF
50062 /* end confdefs.h. */
50063
50064 #include <time.h>
50065
50066 int
50067 main ()
50068 {
50069
50070 int tz;
50071 tz = timezone;
50072
50073 ;
50074 return 0;
50075 }
50076 _ACEOF
50077 rm -f conftest.$ac_objext
50078 if { (ac_try="$ac_compile"
50079 case "(($ac_try" in
50080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50081 *) ac_try_echo=$ac_try;;
50082 esac
50083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50084 (eval "$ac_compile") 2>conftest.er1
50085 ac_status=$?
50086 grep -v '^ *+' conftest.er1 >conftest.err
50087 rm -f conftest.er1
50088 cat conftest.err >&5
50089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50090 (exit $ac_status); } &&
50091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50092 { (case "(($ac_try" in
50093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50094 *) ac_try_echo=$ac_try;;
50095 esac
50096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50097 (eval "$ac_try") 2>&5
50098 ac_status=$?
50099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50100 (exit $ac_status); }; } &&
50101 { ac_try='test -s conftest.$ac_objext'
50102 { (case "(($ac_try" in
50103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50104 *) ac_try_echo=$ac_try;;
50105 esac
50106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50107 (eval "$ac_try") 2>&5
50108 ac_status=$?
50109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50110 (exit $ac_status); }; }; then
50111
50112 wx_cv_var_timezone=timezone
50113
50114 else
50115 echo "$as_me: failed program was:" >&5
50116 sed 's/^/| /' conftest.$ac_ext >&5
50117
50118
50119 cat >conftest.$ac_ext <<_ACEOF
50120 /* confdefs.h. */
50121 _ACEOF
50122 cat confdefs.h >>conftest.$ac_ext
50123 cat >>conftest.$ac_ext <<_ACEOF
50124 /* end confdefs.h. */
50125
50126 #include <time.h>
50127
50128 int
50129 main ()
50130 {
50131
50132 int tz;
50133 tz = _timezone;
50134
50135 ;
50136 return 0;
50137 }
50138 _ACEOF
50139 rm -f conftest.$ac_objext
50140 if { (ac_try="$ac_compile"
50141 case "(($ac_try" in
50142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50143 *) ac_try_echo=$ac_try;;
50144 esac
50145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50146 (eval "$ac_compile") 2>conftest.er1
50147 ac_status=$?
50148 grep -v '^ *+' conftest.er1 >conftest.err
50149 rm -f conftest.er1
50150 cat conftest.err >&5
50151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50152 (exit $ac_status); } &&
50153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50154 { (case "(($ac_try" in
50155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50156 *) ac_try_echo=$ac_try;;
50157 esac
50158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50159 (eval "$ac_try") 2>&5
50160 ac_status=$?
50161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50162 (exit $ac_status); }; } &&
50163 { ac_try='test -s conftest.$ac_objext'
50164 { (case "(($ac_try" in
50165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50166 *) ac_try_echo=$ac_try;;
50167 esac
50168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50169 (eval "$ac_try") 2>&5
50170 ac_status=$?
50171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50172 (exit $ac_status); }; }; then
50173
50174 wx_cv_var_timezone=_timezone
50175
50176 else
50177 echo "$as_me: failed program was:" >&5
50178 sed 's/^/| /' conftest.$ac_ext >&5
50179
50180
50181 cat >conftest.$ac_ext <<_ACEOF
50182 /* confdefs.h. */
50183 _ACEOF
50184 cat confdefs.h >>conftest.$ac_ext
50185 cat >>conftest.$ac_ext <<_ACEOF
50186 /* end confdefs.h. */
50187
50188 #include <time.h>
50189
50190 int
50191 main ()
50192 {
50193
50194 int tz;
50195 tz = __timezone;
50196
50197 ;
50198 return 0;
50199 }
50200 _ACEOF
50201 rm -f conftest.$ac_objext
50202 if { (ac_try="$ac_compile"
50203 case "(($ac_try" in
50204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50205 *) ac_try_echo=$ac_try;;
50206 esac
50207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50208 (eval "$ac_compile") 2>conftest.er1
50209 ac_status=$?
50210 grep -v '^ *+' conftest.er1 >conftest.err
50211 rm -f conftest.er1
50212 cat conftest.err >&5
50213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50214 (exit $ac_status); } &&
50215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
50216 { (case "(($ac_try" in
50217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50218 *) ac_try_echo=$ac_try;;
50219 esac
50220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50221 (eval "$ac_try") 2>&5
50222 ac_status=$?
50223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50224 (exit $ac_status); }; } &&
50225 { ac_try='test -s conftest.$ac_objext'
50226 { (case "(($ac_try" in
50227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50228 *) ac_try_echo=$ac_try;;
50229 esac
50230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50231 (eval "$ac_try") 2>&5
50232 ac_status=$?
50233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50234 (exit $ac_status); }; }; then
50235
50236 wx_cv_var_timezone=__timezone
50237
50238 else
50239 echo "$as_me: failed program was:" >&5
50240 sed 's/^/| /' conftest.$ac_ext >&5
50241
50242
50243 if test "$USE_DOS" = 0 ; then
50244 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
50245 echo "$as_me: WARNING: no timezone variable" >&2;}
50246 fi
50247
50248
50249 fi
50250
50251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50252
50253
50254 fi
50255
50256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50257
50258
50259 fi
50260
50261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50262 ac_ext=c
50263 ac_cpp='$CPP $CPPFLAGS'
50264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50267
50268
50269
50270 fi
50271 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
50272 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
50273
50274 if test "x$wx_cv_var_timezone" != x ; then
50275 cat >>confdefs.h <<_ACEOF
50276 #define WX_TIMEZONE $wx_cv_var_timezone
50277 _ACEOF
50278
50279 fi
50280
50281
50282 for ac_func in localtime
50283 do
50284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50288 echo $ECHO_N "(cached) $ECHO_C" >&6
50289 else
50290 cat >conftest.$ac_ext <<_ACEOF
50291 /* confdefs.h. */
50292 _ACEOF
50293 cat confdefs.h >>conftest.$ac_ext
50294 cat >>conftest.$ac_ext <<_ACEOF
50295 /* end confdefs.h. */
50296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50298 #define $ac_func innocuous_$ac_func
50299
50300 /* System header to define __stub macros and hopefully few prototypes,
50301 which can conflict with char $ac_func (); below.
50302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50303 <limits.h> exists even on freestanding compilers. */
50304
50305 #ifdef __STDC__
50306 # include <limits.h>
50307 #else
50308 # include <assert.h>
50309 #endif
50310
50311 #undef $ac_func
50312
50313 /* Override any GCC internal prototype to avoid an error.
50314 Use char because int might match the return type of a GCC
50315 builtin and then its argument prototype would still apply. */
50316 #ifdef __cplusplus
50317 extern "C"
50318 #endif
50319 char $ac_func ();
50320 /* The GNU C library defines this for functions which it implements
50321 to always fail with ENOSYS. Some functions are actually named
50322 something starting with __ and the normal name is an alias. */
50323 #if defined __stub_$ac_func || defined __stub___$ac_func
50324 choke me
50325 #endif
50326
50327 int
50328 main ()
50329 {
50330 return $ac_func ();
50331 ;
50332 return 0;
50333 }
50334 _ACEOF
50335 rm -f conftest.$ac_objext conftest$ac_exeext
50336 if { (ac_try="$ac_link"
50337 case "(($ac_try" in
50338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50339 *) ac_try_echo=$ac_try;;
50340 esac
50341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50342 (eval "$ac_link") 2>conftest.er1
50343 ac_status=$?
50344 grep -v '^ *+' conftest.er1 >conftest.err
50345 rm -f conftest.er1
50346 cat conftest.err >&5
50347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50348 (exit $ac_status); } &&
50349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50350 { (case "(($ac_try" in
50351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50352 *) ac_try_echo=$ac_try;;
50353 esac
50354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50355 (eval "$ac_try") 2>&5
50356 ac_status=$?
50357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50358 (exit $ac_status); }; } &&
50359 { ac_try='test -s conftest$ac_exeext'
50360 { (case "(($ac_try" in
50361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50362 *) ac_try_echo=$ac_try;;
50363 esac
50364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50365 (eval "$ac_try") 2>&5
50366 ac_status=$?
50367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50368 (exit $ac_status); }; }; then
50369 eval "$as_ac_var=yes"
50370 else
50371 echo "$as_me: failed program was:" >&5
50372 sed 's/^/| /' conftest.$ac_ext >&5
50373
50374 eval "$as_ac_var=no"
50375 fi
50376
50377 rm -f core conftest.err conftest.$ac_objext \
50378 conftest$ac_exeext conftest.$ac_ext
50379 fi
50380 ac_res=`eval echo '${'$as_ac_var'}'`
50381 { echo "$as_me:$LINENO: result: $ac_res" >&5
50382 echo "${ECHO_T}$ac_res" >&6; }
50383 if test `eval echo '${'$as_ac_var'}'` = yes; then
50384 cat >>confdefs.h <<_ACEOF
50385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50386 _ACEOF
50387
50388 fi
50389 done
50390
50391
50392 if test "$ac_cv_func_localtime" = "yes"; then
50393 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
50394 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
50395 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
50396 echo $ECHO_N "(cached) $ECHO_C" >&6
50397 else
50398
50399 cat >conftest.$ac_ext <<_ACEOF
50400 /* confdefs.h. */
50401 _ACEOF
50402 cat confdefs.h >>conftest.$ac_ext
50403 cat >>conftest.$ac_ext <<_ACEOF
50404 /* end confdefs.h. */
50405
50406 #include <time.h>
50407
50408 int
50409 main ()
50410 {
50411
50412 struct tm tm;
50413 tm.tm_gmtoff++;
50414
50415 ;
50416 return 0;
50417 }
50418 _ACEOF
50419 rm -f conftest.$ac_objext
50420 if { (ac_try="$ac_compile"
50421 case "(($ac_try" in
50422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50423 *) ac_try_echo=$ac_try;;
50424 esac
50425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50426 (eval "$ac_compile") 2>conftest.er1
50427 ac_status=$?
50428 grep -v '^ *+' conftest.er1 >conftest.err
50429 rm -f conftest.er1
50430 cat conftest.err >&5
50431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50432 (exit $ac_status); } &&
50433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50434 { (case "(($ac_try" in
50435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50436 *) ac_try_echo=$ac_try;;
50437 esac
50438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50439 (eval "$ac_try") 2>&5
50440 ac_status=$?
50441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442 (exit $ac_status); }; } &&
50443 { ac_try='test -s conftest.$ac_objext'
50444 { (case "(($ac_try" in
50445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50446 *) ac_try_echo=$ac_try;;
50447 esac
50448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50449 (eval "$ac_try") 2>&5
50450 ac_status=$?
50451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50452 (exit $ac_status); }; }; then
50453
50454 wx_cv_struct_tm_has_gmtoff=yes
50455
50456 else
50457 echo "$as_me: failed program was:" >&5
50458 sed 's/^/| /' conftest.$ac_ext >&5
50459
50460 wx_cv_struct_tm_has_gmtoff=no
50461
50462 fi
50463
50464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50465
50466 fi
50467 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
50468 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
50469 fi
50470
50471 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
50472 cat >>confdefs.h <<\_ACEOF
50473 #define WX_GMTOFF_IN_TM 1
50474 _ACEOF
50475
50476 fi
50477
50478
50479
50480 for ac_func in gettimeofday ftime
50481 do
50482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
50484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
50485 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
50486 echo $ECHO_N "(cached) $ECHO_C" >&6
50487 else
50488 cat >conftest.$ac_ext <<_ACEOF
50489 /* confdefs.h. */
50490 _ACEOF
50491 cat confdefs.h >>conftest.$ac_ext
50492 cat >>conftest.$ac_ext <<_ACEOF
50493 /* end confdefs.h. */
50494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50496 #define $ac_func innocuous_$ac_func
50497
50498 /* System header to define __stub macros and hopefully few prototypes,
50499 which can conflict with char $ac_func (); below.
50500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50501 <limits.h> exists even on freestanding compilers. */
50502
50503 #ifdef __STDC__
50504 # include <limits.h>
50505 #else
50506 # include <assert.h>
50507 #endif
50508
50509 #undef $ac_func
50510
50511 /* Override any GCC internal prototype to avoid an error.
50512 Use char because int might match the return type of a GCC
50513 builtin and then its argument prototype would still apply. */
50514 #ifdef __cplusplus
50515 extern "C"
50516 #endif
50517 char $ac_func ();
50518 /* The GNU C library defines this for functions which it implements
50519 to always fail with ENOSYS. Some functions are actually named
50520 something starting with __ and the normal name is an alias. */
50521 #if defined __stub_$ac_func || defined __stub___$ac_func
50522 choke me
50523 #endif
50524
50525 int
50526 main ()
50527 {
50528 return $ac_func ();
50529 ;
50530 return 0;
50531 }
50532 _ACEOF
50533 rm -f conftest.$ac_objext conftest$ac_exeext
50534 if { (ac_try="$ac_link"
50535 case "(($ac_try" in
50536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50537 *) ac_try_echo=$ac_try;;
50538 esac
50539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50540 (eval "$ac_link") 2>conftest.er1
50541 ac_status=$?
50542 grep -v '^ *+' conftest.er1 >conftest.err
50543 rm -f conftest.er1
50544 cat conftest.err >&5
50545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50546 (exit $ac_status); } &&
50547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50548 { (case "(($ac_try" in
50549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50550 *) ac_try_echo=$ac_try;;
50551 esac
50552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50553 (eval "$ac_try") 2>&5
50554 ac_status=$?
50555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50556 (exit $ac_status); }; } &&
50557 { ac_try='test -s conftest$ac_exeext'
50558 { (case "(($ac_try" in
50559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50560 *) ac_try_echo=$ac_try;;
50561 esac
50562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50563 (eval "$ac_try") 2>&5
50564 ac_status=$?
50565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50566 (exit $ac_status); }; }; then
50567 eval "$as_ac_var=yes"
50568 else
50569 echo "$as_me: failed program was:" >&5
50570 sed 's/^/| /' conftest.$ac_ext >&5
50571
50572 eval "$as_ac_var=no"
50573 fi
50574
50575 rm -f core conftest.err conftest.$ac_objext \
50576 conftest$ac_exeext conftest.$ac_ext
50577 fi
50578 ac_res=`eval echo '${'$as_ac_var'}'`
50579 { echo "$as_me:$LINENO: result: $ac_res" >&5
50580 echo "${ECHO_T}$ac_res" >&6; }
50581 if test `eval echo '${'$as_ac_var'}'` = yes; then
50582 cat >>confdefs.h <<_ACEOF
50583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50584 _ACEOF
50585 break
50586 fi
50587 done
50588
50589
50590 if test "$ac_cv_func_gettimeofday" = "yes"; then
50591 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
50592 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
50593 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
50594 echo $ECHO_N "(cached) $ECHO_C" >&6
50595 else
50596
50597 cat >conftest.$ac_ext <<_ACEOF
50598 /* confdefs.h. */
50599 _ACEOF
50600 cat confdefs.h >>conftest.$ac_ext
50601 cat >>conftest.$ac_ext <<_ACEOF
50602 /* end confdefs.h. */
50603
50604 #include <sys/time.h>
50605 #include <unistd.h>
50606
50607 int
50608 main ()
50609 {
50610
50611 struct timeval tv;
50612 gettimeofday(&tv, NULL);
50613
50614 ;
50615 return 0;
50616 }
50617 _ACEOF
50618 rm -f conftest.$ac_objext
50619 if { (ac_try="$ac_compile"
50620 case "(($ac_try" in
50621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50622 *) ac_try_echo=$ac_try;;
50623 esac
50624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50625 (eval "$ac_compile") 2>conftest.er1
50626 ac_status=$?
50627 grep -v '^ *+' conftest.er1 >conftest.err
50628 rm -f conftest.er1
50629 cat conftest.err >&5
50630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50631 (exit $ac_status); } &&
50632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50633 { (case "(($ac_try" in
50634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50635 *) ac_try_echo=$ac_try;;
50636 esac
50637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50638 (eval "$ac_try") 2>&5
50639 ac_status=$?
50640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50641 (exit $ac_status); }; } &&
50642 { ac_try='test -s conftest.$ac_objext'
50643 { (case "(($ac_try" in
50644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50645 *) ac_try_echo=$ac_try;;
50646 esac
50647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50648 (eval "$ac_try") 2>&5
50649 ac_status=$?
50650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50651 (exit $ac_status); }; }; then
50652 wx_cv_func_gettimeofday_has_2_args=yes
50653 else
50654 echo "$as_me: failed program was:" >&5
50655 sed 's/^/| /' conftest.$ac_ext >&5
50656
50657 cat >conftest.$ac_ext <<_ACEOF
50658 /* confdefs.h. */
50659 _ACEOF
50660 cat confdefs.h >>conftest.$ac_ext
50661 cat >>conftest.$ac_ext <<_ACEOF
50662 /* end confdefs.h. */
50663
50664 #include <sys/time.h>
50665 #include <unistd.h>
50666
50667 int
50668 main ()
50669 {
50670
50671 struct timeval tv;
50672 gettimeofday(&tv);
50673
50674 ;
50675 return 0;
50676 }
50677 _ACEOF
50678 rm -f conftest.$ac_objext
50679 if { (ac_try="$ac_compile"
50680 case "(($ac_try" in
50681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50682 *) ac_try_echo=$ac_try;;
50683 esac
50684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50685 (eval "$ac_compile") 2>conftest.er1
50686 ac_status=$?
50687 grep -v '^ *+' conftest.er1 >conftest.err
50688 rm -f conftest.er1
50689 cat conftest.err >&5
50690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50691 (exit $ac_status); } &&
50692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50693 { (case "(($ac_try" in
50694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50695 *) ac_try_echo=$ac_try;;
50696 esac
50697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50698 (eval "$ac_try") 2>&5
50699 ac_status=$?
50700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701 (exit $ac_status); }; } &&
50702 { ac_try='test -s conftest.$ac_objext'
50703 { (case "(($ac_try" in
50704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50705 *) ac_try_echo=$ac_try;;
50706 esac
50707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50708 (eval "$ac_try") 2>&5
50709 ac_status=$?
50710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50711 (exit $ac_status); }; }; then
50712 wx_cv_func_gettimeofday_has_2_args=no
50713 else
50714 echo "$as_me: failed program was:" >&5
50715 sed 's/^/| /' conftest.$ac_ext >&5
50716
50717
50718 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
50719 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
50720 wx_cv_func_gettimeofday_has_2_args=unknown
50721
50722
50723 fi
50724
50725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50726
50727 fi
50728
50729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50730
50731 fi
50732 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
50733 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
50734
50735 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
50736 cat >>confdefs.h <<\_ACEOF
50737 #define WX_GETTIMEOFDAY_NO_TZ 1
50738 _ACEOF
50739
50740 fi
50741 fi
50742
50743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
50744 fi
50745
50746
50747 if test "$wxUSE_SOCKETS" = "yes"; then
50748 if test "$wxUSE_MGL" = "1"; then
50749 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
50750 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
50751 wxUSE_SOCKETS="no"
50752 fi
50753 fi
50754
50755 if test "$wxUSE_SOCKETS" = "yes"; then
50756 if test "$TOOLKIT" != "MSW"; then
50757 { echo "$as_me:$LINENO: checking for socket" >&5
50758 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
50759 if test "${ac_cv_func_socket+set}" = set; then
50760 echo $ECHO_N "(cached) $ECHO_C" >&6
50761 else
50762 cat >conftest.$ac_ext <<_ACEOF
50763 /* confdefs.h. */
50764 _ACEOF
50765 cat confdefs.h >>conftest.$ac_ext
50766 cat >>conftest.$ac_ext <<_ACEOF
50767 /* end confdefs.h. */
50768 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
50769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50770 #define socket innocuous_socket
50771
50772 /* System header to define __stub macros and hopefully few prototypes,
50773 which can conflict with char socket (); below.
50774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50775 <limits.h> exists even on freestanding compilers. */
50776
50777 #ifdef __STDC__
50778 # include <limits.h>
50779 #else
50780 # include <assert.h>
50781 #endif
50782
50783 #undef socket
50784
50785 /* Override any GCC internal prototype to avoid an error.
50786 Use char because int might match the return type of a GCC
50787 builtin and then its argument prototype would still apply. */
50788 #ifdef __cplusplus
50789 extern "C"
50790 #endif
50791 char socket ();
50792 /* The GNU C library defines this for functions which it implements
50793 to always fail with ENOSYS. Some functions are actually named
50794 something starting with __ and the normal name is an alias. */
50795 #if defined __stub_socket || defined __stub___socket
50796 choke me
50797 #endif
50798
50799 int
50800 main ()
50801 {
50802 return socket ();
50803 ;
50804 return 0;
50805 }
50806 _ACEOF
50807 rm -f conftest.$ac_objext conftest$ac_exeext
50808 if { (ac_try="$ac_link"
50809 case "(($ac_try" in
50810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50811 *) ac_try_echo=$ac_try;;
50812 esac
50813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50814 (eval "$ac_link") 2>conftest.er1
50815 ac_status=$?
50816 grep -v '^ *+' conftest.er1 >conftest.err
50817 rm -f conftest.er1
50818 cat conftest.err >&5
50819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50820 (exit $ac_status); } &&
50821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50822 { (case "(($ac_try" in
50823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50824 *) ac_try_echo=$ac_try;;
50825 esac
50826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50827 (eval "$ac_try") 2>&5
50828 ac_status=$?
50829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50830 (exit $ac_status); }; } &&
50831 { ac_try='test -s conftest$ac_exeext'
50832 { (case "(($ac_try" in
50833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50834 *) ac_try_echo=$ac_try;;
50835 esac
50836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50837 (eval "$ac_try") 2>&5
50838 ac_status=$?
50839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50840 (exit $ac_status); }; }; then
50841 ac_cv_func_socket=yes
50842 else
50843 echo "$as_me: failed program was:" >&5
50844 sed 's/^/| /' conftest.$ac_ext >&5
50845
50846 ac_cv_func_socket=no
50847 fi
50848
50849 rm -f core conftest.err conftest.$ac_objext \
50850 conftest$ac_exeext conftest.$ac_ext
50851 fi
50852 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
50853 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
50854 if test $ac_cv_func_socket = yes; then
50855 :
50856 else
50857
50858 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
50859 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
50860 if test "${ac_cv_lib_socket_socket+set}" = set; then
50861 echo $ECHO_N "(cached) $ECHO_C" >&6
50862 else
50863 ac_check_lib_save_LIBS=$LIBS
50864 LIBS="-lsocket $LIBS"
50865 cat >conftest.$ac_ext <<_ACEOF
50866 /* confdefs.h. */
50867 _ACEOF
50868 cat confdefs.h >>conftest.$ac_ext
50869 cat >>conftest.$ac_ext <<_ACEOF
50870 /* end confdefs.h. */
50871
50872 /* Override any GCC internal prototype to avoid an error.
50873 Use char because int might match the return type of a GCC
50874 builtin and then its argument prototype would still apply. */
50875 #ifdef __cplusplus
50876 extern "C"
50877 #endif
50878 char socket ();
50879 int
50880 main ()
50881 {
50882 return socket ();
50883 ;
50884 return 0;
50885 }
50886 _ACEOF
50887 rm -f conftest.$ac_objext conftest$ac_exeext
50888 if { (ac_try="$ac_link"
50889 case "(($ac_try" in
50890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50891 *) ac_try_echo=$ac_try;;
50892 esac
50893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50894 (eval "$ac_link") 2>conftest.er1
50895 ac_status=$?
50896 grep -v '^ *+' conftest.er1 >conftest.err
50897 rm -f conftest.er1
50898 cat conftest.err >&5
50899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50900 (exit $ac_status); } &&
50901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50902 { (case "(($ac_try" in
50903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50904 *) ac_try_echo=$ac_try;;
50905 esac
50906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50907 (eval "$ac_try") 2>&5
50908 ac_status=$?
50909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50910 (exit $ac_status); }; } &&
50911 { ac_try='test -s conftest$ac_exeext'
50912 { (case "(($ac_try" in
50913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50914 *) ac_try_echo=$ac_try;;
50915 esac
50916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50917 (eval "$ac_try") 2>&5
50918 ac_status=$?
50919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920 (exit $ac_status); }; }; then
50921 ac_cv_lib_socket_socket=yes
50922 else
50923 echo "$as_me: failed program was:" >&5
50924 sed 's/^/| /' conftest.$ac_ext >&5
50925
50926 ac_cv_lib_socket_socket=no
50927 fi
50928
50929 rm -f core conftest.err conftest.$ac_objext \
50930 conftest$ac_exeext conftest.$ac_ext
50931 LIBS=$ac_check_lib_save_LIBS
50932 fi
50933 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
50934 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
50935 if test $ac_cv_lib_socket_socket = yes; then
50936 if test "$INET_LINK" != " -lsocket"; then
50937 INET_LINK="$INET_LINK -lsocket"
50938 fi
50939 else
50940
50941 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
50942 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
50943 wxUSE_SOCKETS=no
50944
50945
50946 fi
50947
50948
50949
50950 fi
50951
50952 fi
50953 fi
50954
50955 if test "$wxUSE_SOCKETS" = "yes" ; then
50956 if test "$TOOLKIT" != "MSW"; then
50957 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
50958 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
50959 if test "${wx_cv_type_getsockname3+set}" = set; then
50960 echo $ECHO_N "(cached) $ECHO_C" >&6
50961 else
50962
50963 ac_ext=cpp
50964 ac_cpp='$CXXCPP $CPPFLAGS'
50965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50968
50969 cat >conftest.$ac_ext <<_ACEOF
50970 /* confdefs.h. */
50971 _ACEOF
50972 cat confdefs.h >>conftest.$ac_ext
50973 cat >>conftest.$ac_ext <<_ACEOF
50974 /* end confdefs.h. */
50975
50976 #include <sys/types.h>
50977 #include <sys/socket.h>
50978
50979 int
50980 main ()
50981 {
50982
50983 socklen_t len;
50984 getsockname(0, 0, &len);
50985
50986 ;
50987 return 0;
50988 }
50989 _ACEOF
50990 rm -f conftest.$ac_objext
50991 if { (ac_try="$ac_compile"
50992 case "(($ac_try" in
50993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50994 *) ac_try_echo=$ac_try;;
50995 esac
50996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50997 (eval "$ac_compile") 2>conftest.er1
50998 ac_status=$?
50999 grep -v '^ *+' conftest.er1 >conftest.err
51000 rm -f conftest.er1
51001 cat conftest.err >&5
51002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51003 (exit $ac_status); } &&
51004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51005 { (case "(($ac_try" in
51006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51007 *) ac_try_echo=$ac_try;;
51008 esac
51009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51010 (eval "$ac_try") 2>&5
51011 ac_status=$?
51012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51013 (exit $ac_status); }; } &&
51014 { ac_try='test -s conftest.$ac_objext'
51015 { (case "(($ac_try" in
51016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51017 *) ac_try_echo=$ac_try;;
51018 esac
51019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51020 (eval "$ac_try") 2>&5
51021 ac_status=$?
51022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51023 (exit $ac_status); }; }; then
51024 wx_cv_type_getsockname3=socklen_t
51025 else
51026 echo "$as_me: failed program was:" >&5
51027 sed 's/^/| /' conftest.$ac_ext >&5
51028
51029
51030 CFLAGS_OLD="$CFLAGS"
51031 if test "$GCC" = yes ; then
51032 CFLAGS="-Werror $CFLAGS"
51033 fi
51034
51035 cat >conftest.$ac_ext <<_ACEOF
51036 /* confdefs.h. */
51037 _ACEOF
51038 cat confdefs.h >>conftest.$ac_ext
51039 cat >>conftest.$ac_ext <<_ACEOF
51040 /* end confdefs.h. */
51041
51042 #include <sys/types.h>
51043 #include <sys/socket.h>
51044
51045 int
51046 main ()
51047 {
51048
51049 size_t len;
51050 getsockname(0, 0, &len);
51051
51052 ;
51053 return 0;
51054 }
51055 _ACEOF
51056 rm -f conftest.$ac_objext
51057 if { (ac_try="$ac_compile"
51058 case "(($ac_try" in
51059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51060 *) ac_try_echo=$ac_try;;
51061 esac
51062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51063 (eval "$ac_compile") 2>conftest.er1
51064 ac_status=$?
51065 grep -v '^ *+' conftest.er1 >conftest.err
51066 rm -f conftest.er1
51067 cat conftest.err >&5
51068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51069 (exit $ac_status); } &&
51070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51071 { (case "(($ac_try" in
51072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51073 *) ac_try_echo=$ac_try;;
51074 esac
51075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51076 (eval "$ac_try") 2>&5
51077 ac_status=$?
51078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51079 (exit $ac_status); }; } &&
51080 { ac_try='test -s conftest.$ac_objext'
51081 { (case "(($ac_try" in
51082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51083 *) ac_try_echo=$ac_try;;
51084 esac
51085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51086 (eval "$ac_try") 2>&5
51087 ac_status=$?
51088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51089 (exit $ac_status); }; }; then
51090 wx_cv_type_getsockname3=size_t
51091 else
51092 echo "$as_me: failed program was:" >&5
51093 sed 's/^/| /' conftest.$ac_ext >&5
51094
51095 cat >conftest.$ac_ext <<_ACEOF
51096 /* confdefs.h. */
51097 _ACEOF
51098 cat confdefs.h >>conftest.$ac_ext
51099 cat >>conftest.$ac_ext <<_ACEOF
51100 /* end confdefs.h. */
51101
51102 #include <sys/types.h>
51103 #include <sys/socket.h>
51104
51105 int
51106 main ()
51107 {
51108
51109 int len;
51110 getsockname(0, 0, &len);
51111
51112 ;
51113 return 0;
51114 }
51115 _ACEOF
51116 rm -f conftest.$ac_objext
51117 if { (ac_try="$ac_compile"
51118 case "(($ac_try" in
51119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51120 *) ac_try_echo=$ac_try;;
51121 esac
51122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51123 (eval "$ac_compile") 2>conftest.er1
51124 ac_status=$?
51125 grep -v '^ *+' conftest.er1 >conftest.err
51126 rm -f conftest.er1
51127 cat conftest.err >&5
51128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51129 (exit $ac_status); } &&
51130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51131 { (case "(($ac_try" in
51132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51133 *) ac_try_echo=$ac_try;;
51134 esac
51135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51136 (eval "$ac_try") 2>&5
51137 ac_status=$?
51138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51139 (exit $ac_status); }; } &&
51140 { ac_try='test -s conftest.$ac_objext'
51141 { (case "(($ac_try" in
51142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51143 *) ac_try_echo=$ac_try;;
51144 esac
51145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51146 (eval "$ac_try") 2>&5
51147 ac_status=$?
51148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51149 (exit $ac_status); }; }; then
51150 wx_cv_type_getsockname3=int
51151 else
51152 echo "$as_me: failed program was:" >&5
51153 sed 's/^/| /' conftest.$ac_ext >&5
51154
51155 wx_cv_type_getsockname3=unknown
51156
51157 fi
51158
51159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51160
51161 fi
51162
51163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51164
51165 CFLAGS="$CFLAGS_OLD"
51166
51167
51168 fi
51169
51170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51171 ac_ext=c
51172 ac_cpp='$CPP $CPPFLAGS'
51173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51176
51177
51178 fi
51179 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
51180 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
51181
51182 if test "$wx_cv_type_getsockname3" = "unknown"; then
51183 wxUSE_SOCKETS=no
51184 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
51185 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
51186 else
51187 cat >>confdefs.h <<_ACEOF
51188 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
51189 _ACEOF
51190
51191 fi
51192 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
51193 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
51194 if test "${wx_cv_type_getsockopt5+set}" = set; then
51195 echo $ECHO_N "(cached) $ECHO_C" >&6
51196 else
51197
51198 cat >conftest.$ac_ext <<_ACEOF
51199 /* confdefs.h. */
51200 _ACEOF
51201 cat confdefs.h >>conftest.$ac_ext
51202 cat >>conftest.$ac_ext <<_ACEOF
51203 /* end confdefs.h. */
51204
51205 #include <sys/types.h>
51206 #include <sys/socket.h>
51207
51208 int
51209 main ()
51210 {
51211
51212 socklen_t len;
51213 getsockopt(0, 0, 0, 0, &len);
51214
51215 ;
51216 return 0;
51217 }
51218 _ACEOF
51219 rm -f conftest.$ac_objext
51220 if { (ac_try="$ac_compile"
51221 case "(($ac_try" in
51222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51223 *) ac_try_echo=$ac_try;;
51224 esac
51225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51226 (eval "$ac_compile") 2>conftest.er1
51227 ac_status=$?
51228 grep -v '^ *+' conftest.er1 >conftest.err
51229 rm -f conftest.er1
51230 cat conftest.err >&5
51231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51232 (exit $ac_status); } &&
51233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51234 { (case "(($ac_try" in
51235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51236 *) ac_try_echo=$ac_try;;
51237 esac
51238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51239 (eval "$ac_try") 2>&5
51240 ac_status=$?
51241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51242 (exit $ac_status); }; } &&
51243 { ac_try='test -s conftest.$ac_objext'
51244 { (case "(($ac_try" in
51245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51246 *) ac_try_echo=$ac_try;;
51247 esac
51248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51249 (eval "$ac_try") 2>&5
51250 ac_status=$?
51251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51252 (exit $ac_status); }; }; then
51253 wx_cv_type_getsockopt5=socklen_t
51254 else
51255 echo "$as_me: failed program was:" >&5
51256 sed 's/^/| /' conftest.$ac_ext >&5
51257
51258
51259 ac_ext=cpp
51260 ac_cpp='$CXXCPP $CPPFLAGS'
51261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51264
51265 cat >conftest.$ac_ext <<_ACEOF
51266 /* confdefs.h. */
51267 _ACEOF
51268 cat confdefs.h >>conftest.$ac_ext
51269 cat >>conftest.$ac_ext <<_ACEOF
51270 /* end confdefs.h. */
51271
51272 #include <sys/types.h>
51273 #include <sys/socket.h>
51274
51275 int
51276 main ()
51277 {
51278
51279 size_t len;
51280 getsockopt(0, 0, 0, 0, &len);
51281
51282 ;
51283 return 0;
51284 }
51285 _ACEOF
51286 rm -f conftest.$ac_objext
51287 if { (ac_try="$ac_compile"
51288 case "(($ac_try" in
51289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51290 *) ac_try_echo=$ac_try;;
51291 esac
51292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51293 (eval "$ac_compile") 2>conftest.er1
51294 ac_status=$?
51295 grep -v '^ *+' conftest.er1 >conftest.err
51296 rm -f conftest.er1
51297 cat conftest.err >&5
51298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51299 (exit $ac_status); } &&
51300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51301 { (case "(($ac_try" in
51302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51303 *) ac_try_echo=$ac_try;;
51304 esac
51305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51306 (eval "$ac_try") 2>&5
51307 ac_status=$?
51308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51309 (exit $ac_status); }; } &&
51310 { ac_try='test -s conftest.$ac_objext'
51311 { (case "(($ac_try" in
51312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51313 *) ac_try_echo=$ac_try;;
51314 esac
51315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51316 (eval "$ac_try") 2>&5
51317 ac_status=$?
51318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51319 (exit $ac_status); }; }; then
51320 wx_cv_type_getsockopt5=size_t
51321 else
51322 echo "$as_me: failed program was:" >&5
51323 sed 's/^/| /' conftest.$ac_ext >&5
51324
51325 cat >conftest.$ac_ext <<_ACEOF
51326 /* confdefs.h. */
51327 _ACEOF
51328 cat confdefs.h >>conftest.$ac_ext
51329 cat >>conftest.$ac_ext <<_ACEOF
51330 /* end confdefs.h. */
51331
51332 #include <sys/types.h>
51333 #include <sys/socket.h>
51334
51335 int
51336 main ()
51337 {
51338
51339 int len;
51340 getsockopt(0, 0, 0, 0, &len);
51341
51342 ;
51343 return 0;
51344 }
51345 _ACEOF
51346 rm -f conftest.$ac_objext
51347 if { (ac_try="$ac_compile"
51348 case "(($ac_try" in
51349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51350 *) ac_try_echo=$ac_try;;
51351 esac
51352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51353 (eval "$ac_compile") 2>conftest.er1
51354 ac_status=$?
51355 grep -v '^ *+' conftest.er1 >conftest.err
51356 rm -f conftest.er1
51357 cat conftest.err >&5
51358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359 (exit $ac_status); } &&
51360 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51361 { (case "(($ac_try" in
51362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51363 *) ac_try_echo=$ac_try;;
51364 esac
51365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51366 (eval "$ac_try") 2>&5
51367 ac_status=$?
51368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51369 (exit $ac_status); }; } &&
51370 { ac_try='test -s conftest.$ac_objext'
51371 { (case "(($ac_try" in
51372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51373 *) ac_try_echo=$ac_try;;
51374 esac
51375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51376 (eval "$ac_try") 2>&5
51377 ac_status=$?
51378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51379 (exit $ac_status); }; }; then
51380 wx_cv_type_getsockopt5=int
51381 else
51382 echo "$as_me: failed program was:" >&5
51383 sed 's/^/| /' conftest.$ac_ext >&5
51384
51385 wx_cv_type_getsockopt5=unknown
51386
51387 fi
51388
51389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51390
51391 fi
51392
51393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51394 ac_ext=c
51395 ac_cpp='$CPP $CPPFLAGS'
51396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51399
51400
51401
51402 fi
51403
51404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51405
51406 fi
51407 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
51408 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
51409
51410 if test "$wx_cv_type_getsockopt5" = "unknown"; then
51411 wxUSE_SOCKETS=no
51412 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
51413 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
51414 else
51415 cat >>confdefs.h <<_ACEOF
51416 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
51417 _ACEOF
51418
51419 fi
51420 fi
51421 fi
51422
51423 if test "$wxUSE_SOCKETS" = "yes" ; then
51424 cat >>confdefs.h <<\_ACEOF
51425 #define wxUSE_SOCKETS 1
51426 _ACEOF
51427
51428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
51429 fi
51430
51431 if test "$wxUSE_PROTOCOL" = "yes"; then
51432 if test "$wxUSE_SOCKETS" != "yes"; then
51433 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
51434 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
51435 wxUSE_PROTOCOL=no
51436 fi
51437 fi
51438
51439 if test "$wxUSE_PROTOCOL" = "yes"; then
51440 cat >>confdefs.h <<\_ACEOF
51441 #define wxUSE_PROTOCOL 1
51442 _ACEOF
51443
51444
51445 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
51446 cat >>confdefs.h <<\_ACEOF
51447 #define wxUSE_PROTOCOL_HTTP 1
51448 _ACEOF
51449
51450 fi
51451 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
51452 cat >>confdefs.h <<\_ACEOF
51453 #define wxUSE_PROTOCOL_FTP 1
51454 _ACEOF
51455
51456 fi
51457 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
51458 cat >>confdefs.h <<\_ACEOF
51459 #define wxUSE_PROTOCOL_FILE 1
51460 _ACEOF
51461
51462 fi
51463 else
51464 if test "$wxUSE_FS_INET" = "yes"; then
51465 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
51466 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
51467 wxUSE_FS_INET="no"
51468 fi
51469 fi
51470
51471 if test "$wxUSE_URL" = "yes"; then
51472 if test "$wxUSE_PROTOCOL" != "yes"; then
51473 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
51474 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
51475 wxUSE_URL=no
51476 fi
51477 if test "$wxUSE_URL" = "yes"; then
51478 cat >>confdefs.h <<\_ACEOF
51479 #define wxUSE_URL 1
51480 _ACEOF
51481
51482 fi
51483 fi
51484
51485 if test "$wxUSE_VARIANT" = "yes"; then
51486 cat >>confdefs.h <<\_ACEOF
51487 #define wxUSE_VARIANT 1
51488 _ACEOF
51489
51490 fi
51491
51492 if test "$wxUSE_FS_INET" = "yes"; then
51493 cat >>confdefs.h <<\_ACEOF
51494 #define wxUSE_FS_INET 1
51495 _ACEOF
51496
51497 fi
51498
51499
51500 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
51501 wxUSE_JOYSTICK=no
51502
51503 if test "$TOOLKIT" = "MSW"; then
51504 wxUSE_JOYSTICK=yes
51505
51506 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
51507 if test "$USE_DARWIN" = 1; then
51508 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
51509 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
51510 ac_ext=cpp
51511 ac_cpp='$CXXCPP $CPPFLAGS'
51512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51515
51516 cat >conftest.$ac_ext <<_ACEOF
51517 /* confdefs.h. */
51518 _ACEOF
51519 cat confdefs.h >>conftest.$ac_ext
51520 cat >>conftest.$ac_ext <<_ACEOF
51521 /* end confdefs.h. */
51522 #include <IOKit/hid/IOHIDLib.h>
51523 int
51524 main ()
51525 {
51526 IOHIDQueueInterface *qi = NULL;
51527 IOHIDCallbackFunction cb = NULL;
51528 qi->setEventCallout(NULL, cb, NULL, NULL);
51529 ;
51530 return 0;
51531 }
51532 _ACEOF
51533 rm -f conftest.$ac_objext
51534 if { (ac_try="$ac_compile"
51535 case "(($ac_try" in
51536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51537 *) ac_try_echo=$ac_try;;
51538 esac
51539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51540 (eval "$ac_compile") 2>conftest.er1
51541 ac_status=$?
51542 grep -v '^ *+' conftest.er1 >conftest.err
51543 rm -f conftest.er1
51544 cat conftest.err >&5
51545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51546 (exit $ac_status); } &&
51547 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
51548 { (case "(($ac_try" in
51549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51550 *) ac_try_echo=$ac_try;;
51551 esac
51552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51553 (eval "$ac_try") 2>&5
51554 ac_status=$?
51555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51556 (exit $ac_status); }; } &&
51557 { ac_try='test -s conftest.$ac_objext'
51558 { (case "(($ac_try" in
51559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51560 *) ac_try_echo=$ac_try;;
51561 esac
51562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51563 (eval "$ac_try") 2>&5
51564 ac_status=$?
51565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51566 (exit $ac_status); }; }; then
51567 wxUSE_JOYSTICK=yes
51568
51569 else
51570 echo "$as_me: failed program was:" >&5
51571 sed 's/^/| /' conftest.$ac_ext >&5
51572
51573
51574 fi
51575
51576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51577 ac_ext=c
51578 ac_cpp='$CPP $CPPFLAGS'
51579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51582
51583 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
51584 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
51585 fi
51586
51587 else
51588 if test "$wxUSE_MGL" != "1"; then
51589 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
51590 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
51591 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
51592 echo $ECHO_N "(cached) $ECHO_C" >&6
51593 else
51594 cat >conftest.$ac_ext <<_ACEOF
51595 /* confdefs.h. */
51596 _ACEOF
51597 cat confdefs.h >>conftest.$ac_ext
51598 cat >>conftest.$ac_ext <<_ACEOF
51599 /* end confdefs.h. */
51600 #include <stdio.h>
51601
51602 #include <linux/joystick.h>
51603 _ACEOF
51604 rm -f conftest.$ac_objext
51605 if { (ac_try="$ac_compile"
51606 case "(($ac_try" in
51607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51608 *) ac_try_echo=$ac_try;;
51609 esac
51610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51611 (eval "$ac_compile") 2>conftest.er1
51612 ac_status=$?
51613 grep -v '^ *+' conftest.er1 >conftest.err
51614 rm -f conftest.er1
51615 cat conftest.err >&5
51616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51617 (exit $ac_status); } &&
51618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51619 { (case "(($ac_try" in
51620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51621 *) ac_try_echo=$ac_try;;
51622 esac
51623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51624 (eval "$ac_try") 2>&5
51625 ac_status=$?
51626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51627 (exit $ac_status); }; } &&
51628 { ac_try='test -s conftest.$ac_objext'
51629 { (case "(($ac_try" in
51630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51631 *) ac_try_echo=$ac_try;;
51632 esac
51633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51634 (eval "$ac_try") 2>&5
51635 ac_status=$?
51636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51637 (exit $ac_status); }; }; then
51638 ac_cv_header_linux_joystick_h=yes
51639 else
51640 echo "$as_me: failed program was:" >&5
51641 sed 's/^/| /' conftest.$ac_ext >&5
51642
51643 ac_cv_header_linux_joystick_h=no
51644 fi
51645
51646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51647 fi
51648 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
51649 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
51650 if test $ac_cv_header_linux_joystick_h = yes; then
51651 wxUSE_JOYSTICK=yes
51652 fi
51653
51654
51655 fi
51656 fi
51657
51658 if test "$wxUSE_JOYSTICK" = "yes"; then
51659 cat >>confdefs.h <<\_ACEOF
51660 #define wxUSE_JOYSTICK 1
51661 _ACEOF
51662
51663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
51664 else
51665 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
51666 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
51667 fi
51668 fi
51669
51670
51671
51672 if test "$wxUSE_FONTMAP" = "yes" ; then
51673 cat >>confdefs.h <<\_ACEOF
51674 #define wxUSE_FONTMAP 1
51675 _ACEOF
51676
51677 fi
51678
51679 if test "$wxUSE_UNICODE" = "yes" ; then
51680 cat >>confdefs.h <<\_ACEOF
51681 #define wxUSE_UNICODE 1
51682 _ACEOF
51683
51684
51685 if test "$USE_WIN32" != 1; then
51686 wxUSE_UNICODE_MSLU=no
51687 fi
51688
51689 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
51690 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
51691 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
51692 if test "${ac_cv_lib_unicows_main+set}" = set; then
51693 echo $ECHO_N "(cached) $ECHO_C" >&6
51694 else
51695 ac_check_lib_save_LIBS=$LIBS
51696 LIBS="-lunicows $LIBS"
51697 cat >conftest.$ac_ext <<_ACEOF
51698 /* confdefs.h. */
51699 _ACEOF
51700 cat confdefs.h >>conftest.$ac_ext
51701 cat >>conftest.$ac_ext <<_ACEOF
51702 /* end confdefs.h. */
51703
51704
51705 int
51706 main ()
51707 {
51708 return main ();
51709 ;
51710 return 0;
51711 }
51712 _ACEOF
51713 rm -f conftest.$ac_objext conftest$ac_exeext
51714 if { (ac_try="$ac_link"
51715 case "(($ac_try" in
51716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51717 *) ac_try_echo=$ac_try;;
51718 esac
51719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51720 (eval "$ac_link") 2>conftest.er1
51721 ac_status=$?
51722 grep -v '^ *+' conftest.er1 >conftest.err
51723 rm -f conftest.er1
51724 cat conftest.err >&5
51725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51726 (exit $ac_status); } &&
51727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51728 { (case "(($ac_try" in
51729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51730 *) ac_try_echo=$ac_try;;
51731 esac
51732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51733 (eval "$ac_try") 2>&5
51734 ac_status=$?
51735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51736 (exit $ac_status); }; } &&
51737 { ac_try='test -s conftest$ac_exeext'
51738 { (case "(($ac_try" in
51739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51740 *) ac_try_echo=$ac_try;;
51741 esac
51742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51743 (eval "$ac_try") 2>&5
51744 ac_status=$?
51745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51746 (exit $ac_status); }; }; then
51747 ac_cv_lib_unicows_main=yes
51748 else
51749 echo "$as_me: failed program was:" >&5
51750 sed 's/^/| /' conftest.$ac_ext >&5
51751
51752 ac_cv_lib_unicows_main=no
51753 fi
51754
51755 rm -f core conftest.err conftest.$ac_objext \
51756 conftest$ac_exeext conftest.$ac_ext
51757 LIBS=$ac_check_lib_save_LIBS
51758 fi
51759 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
51760 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
51761 if test $ac_cv_lib_unicows_main = yes; then
51762
51763 cat >>confdefs.h <<\_ACEOF
51764 #define wxUSE_UNICODE_MSLU 1
51765 _ACEOF
51766
51767
51768 else
51769
51770 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
51771 Applications will only run on Windows NT/2000/XP!" >&5
51772 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
51773 Applications will only run on Windows NT/2000/XP!" >&2;}
51774 wxUSE_UNICODE_MSLU=no
51775
51776 fi
51777
51778 fi
51779 fi
51780
51781 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
51782 cat >>confdefs.h <<\_ACEOF
51783 #define wxUSE_EXPERIMENTAL_PRINTF 1
51784 _ACEOF
51785
51786 fi
51787
51788
51789 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
51790 cat >>confdefs.h <<\_ACEOF
51791 #define wxUSE_POSTSCRIPT 1
51792 _ACEOF
51793
51794 fi
51795
51796 cat >>confdefs.h <<\_ACEOF
51797 #define wxUSE_AFM_FOR_POSTSCRIPT 1
51798 _ACEOF
51799
51800
51801 cat >>confdefs.h <<\_ACEOF
51802 #define wxUSE_NORMALIZED_PS_FONTS 1
51803 _ACEOF
51804
51805
51806
51807 if test "$wxUSE_CONSTRAINTS" = "yes"; then
51808 cat >>confdefs.h <<\_ACEOF
51809 #define wxUSE_CONSTRAINTS 1
51810 _ACEOF
51811
51812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
51813 fi
51814
51815 if test "$wxUSE_MDI" = "yes"; then
51816 cat >>confdefs.h <<\_ACEOF
51817 #define wxUSE_MDI 1
51818 _ACEOF
51819
51820
51821 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
51822 cat >>confdefs.h <<\_ACEOF
51823 #define wxUSE_MDI_ARCHITECTURE 1
51824 _ACEOF
51825
51826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
51827 fi
51828 fi
51829
51830 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
51831 cat >>confdefs.h <<\_ACEOF
51832 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
51833 _ACEOF
51834
51835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
51836 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
51837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
51838 fi
51839 fi
51840
51841 if test "$wxUSE_HELP" = "yes"; then
51842 cat >>confdefs.h <<\_ACEOF
51843 #define wxUSE_HELP 1
51844 _ACEOF
51845
51846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
51847
51848 if test "$wxUSE_MSW" = 1; then
51849 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
51850 cat >>confdefs.h <<\_ACEOF
51851 #define wxUSE_MS_HTML_HELP 1
51852 _ACEOF
51853
51854 fi
51855 fi
51856
51857 if test "$wxUSE_WXHTML_HELP" = "yes"; then
51858 if test "$wxUSE_HTML" = "yes"; then
51859 cat >>confdefs.h <<\_ACEOF
51860 #define wxUSE_WXHTML_HELP 1
51861 _ACEOF
51862
51863 else
51864 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
51865 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
51866 wxUSE_WXHTML_HELP=no
51867 fi
51868 fi
51869 fi
51870
51871 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
51872 if test "$wxUSE_CONSTRAINTS" != "yes"; then
51873 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
51874 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
51875 else
51876 cat >>confdefs.h <<\_ACEOF
51877 #define wxUSE_PRINTING_ARCHITECTURE 1
51878 _ACEOF
51879
51880 fi
51881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
51882 fi
51883
51884 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
51885 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
51886 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
51887 { (exit 1); exit 1; }; }
51888 fi
51889
51890
51891 if test "$wxUSE_METAFILE" = "yes"; then
51892 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
51893 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
51894 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
51895 wxUSE_METAFILE=no
51896 fi
51897 fi
51898
51899
51900 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
51901 -o "$wxUSE_CLIPBOARD" = "yes" \
51902 -o "$wxUSE_OLE" = "yes" \
51903 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
51904
51905 for ac_header in ole2.h
51906 do
51907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
51910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
51911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
51912 echo $ECHO_N "(cached) $ECHO_C" >&6
51913 fi
51914 ac_res=`eval echo '${'$as_ac_Header'}'`
51915 { echo "$as_me:$LINENO: result: $ac_res" >&5
51916 echo "${ECHO_T}$ac_res" >&6; }
51917 else
51918 # Is the header compilable?
51919 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
51920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
51921 cat >conftest.$ac_ext <<_ACEOF
51922 /* confdefs.h. */
51923 _ACEOF
51924 cat confdefs.h >>conftest.$ac_ext
51925 cat >>conftest.$ac_ext <<_ACEOF
51926 /* end confdefs.h. */
51927 $ac_includes_default
51928 #include <$ac_header>
51929 _ACEOF
51930 rm -f conftest.$ac_objext
51931 if { (ac_try="$ac_compile"
51932 case "(($ac_try" in
51933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51934 *) ac_try_echo=$ac_try;;
51935 esac
51936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51937 (eval "$ac_compile") 2>conftest.er1
51938 ac_status=$?
51939 grep -v '^ *+' conftest.er1 >conftest.err
51940 rm -f conftest.er1
51941 cat conftest.err >&5
51942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51943 (exit $ac_status); } &&
51944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51945 { (case "(($ac_try" in
51946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51947 *) ac_try_echo=$ac_try;;
51948 esac
51949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51950 (eval "$ac_try") 2>&5
51951 ac_status=$?
51952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51953 (exit $ac_status); }; } &&
51954 { ac_try='test -s conftest.$ac_objext'
51955 { (case "(($ac_try" in
51956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51957 *) ac_try_echo=$ac_try;;
51958 esac
51959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51960 (eval "$ac_try") 2>&5
51961 ac_status=$?
51962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51963 (exit $ac_status); }; }; then
51964 ac_header_compiler=yes
51965 else
51966 echo "$as_me: failed program was:" >&5
51967 sed 's/^/| /' conftest.$ac_ext >&5
51968
51969 ac_header_compiler=no
51970 fi
51971
51972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51973 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51974 echo "${ECHO_T}$ac_header_compiler" >&6; }
51975
51976 # Is the header present?
51977 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
51978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
51979 cat >conftest.$ac_ext <<_ACEOF
51980 /* confdefs.h. */
51981 _ACEOF
51982 cat confdefs.h >>conftest.$ac_ext
51983 cat >>conftest.$ac_ext <<_ACEOF
51984 /* end confdefs.h. */
51985 #include <$ac_header>
51986 _ACEOF
51987 if { (ac_try="$ac_cpp conftest.$ac_ext"
51988 case "(($ac_try" in
51989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51990 *) ac_try_echo=$ac_try;;
51991 esac
51992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
51994 ac_status=$?
51995 grep -v '^ *+' conftest.er1 >conftest.err
51996 rm -f conftest.er1
51997 cat conftest.err >&5
51998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51999 (exit $ac_status); } >/dev/null; then
52000 if test -s conftest.err; then
52001 ac_cpp_err=$ac_c_preproc_warn_flag
52002 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52003 else
52004 ac_cpp_err=
52005 fi
52006 else
52007 ac_cpp_err=yes
52008 fi
52009 if test -z "$ac_cpp_err"; then
52010 ac_header_preproc=yes
52011 else
52012 echo "$as_me: failed program was:" >&5
52013 sed 's/^/| /' conftest.$ac_ext >&5
52014
52015 ac_header_preproc=no
52016 fi
52017
52018 rm -f conftest.err conftest.$ac_ext
52019 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52020 echo "${ECHO_T}$ac_header_preproc" >&6; }
52021
52022 # So? What about this header?
52023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52024 yes:no: )
52025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52029 ac_header_preproc=yes
52030 ;;
52031 no:yes:* )
52032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52044 ( cat <<\_ASBOX
52045 ## ----------------------------------------- ##
52046 ## Report this to wx-dev@lists.wxwidgets.org ##
52047 ## ----------------------------------------- ##
52048 _ASBOX
52049 ) | sed "s/^/$as_me: WARNING: /" >&2
52050 ;;
52051 esac
52052 { echo "$as_me:$LINENO: checking for $ac_header" >&5
52053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
52054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
52055 echo $ECHO_N "(cached) $ECHO_C" >&6
52056 else
52057 eval "$as_ac_Header=\$ac_header_preproc"
52058 fi
52059 ac_res=`eval echo '${'$as_ac_Header'}'`
52060 { echo "$as_me:$LINENO: result: $ac_res" >&5
52061 echo "${ECHO_T}$ac_res" >&6; }
52062
52063 fi
52064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52065 cat >>confdefs.h <<_ACEOF
52066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52067 _ACEOF
52068
52069 fi
52070
52071 done
52072
52073
52074 if test "$ac_cv_header_ole2_h" = "yes" ; then
52075 if test "$GCC" = yes ; then
52076 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
52077 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
52078 cat >conftest.$ac_ext <<_ACEOF
52079 /* confdefs.h. */
52080 _ACEOF
52081 cat confdefs.h >>conftest.$ac_ext
52082 cat >>conftest.$ac_ext <<_ACEOF
52083 /* end confdefs.h. */
52084 #include <windows.h>
52085 #include <ole2.h>
52086 int
52087 main ()
52088 {
52089
52090 ;
52091 return 0;
52092 }
52093 _ACEOF
52094 rm -f conftest.$ac_objext
52095 if { (ac_try="$ac_compile"
52096 case "(($ac_try" in
52097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52098 *) ac_try_echo=$ac_try;;
52099 esac
52100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52101 (eval "$ac_compile") 2>conftest.er1
52102 ac_status=$?
52103 grep -v '^ *+' conftest.er1 >conftest.err
52104 rm -f conftest.er1
52105 cat conftest.err >&5
52106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107 (exit $ac_status); } &&
52108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52109 { (case "(($ac_try" in
52110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52111 *) ac_try_echo=$ac_try;;
52112 esac
52113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52114 (eval "$ac_try") 2>&5
52115 ac_status=$?
52116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52117 (exit $ac_status); }; } &&
52118 { ac_try='test -s conftest.$ac_objext'
52119 { (case "(($ac_try" in
52120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52121 *) ac_try_echo=$ac_try;;
52122 esac
52123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52124 (eval "$ac_try") 2>&5
52125 ac_status=$?
52126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52127 (exit $ac_status); }; }; then
52128 { echo "$as_me:$LINENO: result: no" >&5
52129 echo "${ECHO_T}no" >&6; }
52130 else
52131 echo "$as_me: failed program was:" >&5
52132 sed 's/^/| /' conftest.$ac_ext >&5
52133
52134 { echo "$as_me:$LINENO: result: yes" >&5
52135 echo "${ECHO_T}yes" >&6; }
52136 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
52137 fi
52138
52139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52140 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
52141 if test "$wxUSE_OLE" = "yes" ; then
52142 cat >>confdefs.h <<\_ACEOF
52143 #define wxUSE_OLE 1
52144 _ACEOF
52145
52146 cat >>confdefs.h <<\_ACEOF
52147 #define wxUSE_OLE_AUTOMATION 1
52148 _ACEOF
52149
52150 cat >>confdefs.h <<\_ACEOF
52151 #define wxUSE_OLE_ACTIVEX 1
52152 _ACEOF
52153
52154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
52155 fi
52156 fi
52157
52158 if test "$wxUSE_DATAOBJ" = "yes" ; then
52159 cat >>confdefs.h <<\_ACEOF
52160 #define wxUSE_DATAOBJ 1
52161 _ACEOF
52162
52163 fi
52164 else
52165 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
52166 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
52167
52168 wxUSE_CLIPBOARD=no
52169 wxUSE_DRAG_AND_DROP=no
52170 wxUSE_DATAOBJ=no
52171 wxUSE_OLE=no
52172 fi
52173
52174 if test "$wxUSE_METAFILE" = "yes"; then
52175 cat >>confdefs.h <<\_ACEOF
52176 #define wxUSE_METAFILE 1
52177 _ACEOF
52178
52179
52180 cat >>confdefs.h <<\_ACEOF
52181 #define wxUSE_ENH_METAFILE 1
52182 _ACEOF
52183
52184 fi
52185 fi
52186
52187 if test "$wxUSE_IPC" = "yes"; then
52188 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
52189 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
52190 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
52191 wxUSE_IPC=no
52192 fi
52193
52194 if test "$wxUSE_IPC" = "yes"; then
52195 cat >>confdefs.h <<\_ACEOF
52196 #define wxUSE_IPC 1
52197 _ACEOF
52198
52199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
52200 fi
52201 fi
52202
52203 if test "$wxUSE_DATAOBJ" = "yes"; then
52204 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
52205 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
52206 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
52207 wxUSE_DATAOBJ=no
52208 else
52209 cat >>confdefs.h <<\_ACEOF
52210 #define wxUSE_DATAOBJ 1
52211 _ACEOF
52212
52213 fi
52214 else
52215 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
52216 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
52217 wxUSE_CLIPBOARD=no
52218 wxUSE_DRAG_AND_DROP=no
52219 fi
52220
52221 if test "$wxUSE_CLIPBOARD" = "yes"; then
52222 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
52223 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
52224 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
52225 wxUSE_CLIPBOARD=no
52226 fi
52227
52228 if test "$wxUSE_CLIPBOARD" = "yes"; then
52229 cat >>confdefs.h <<\_ACEOF
52230 #define wxUSE_CLIPBOARD 1
52231 _ACEOF
52232
52233 fi
52234 fi
52235
52236 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
52237 if test "$wxUSE_GTK" = 1; then
52238 if test "$WXGTK12" != 1; then
52239 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
52240 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
52241 wxUSE_DRAG_AND_DROP=no
52242 fi
52243 fi
52244
52245 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
52246 "$wxUSE_DFB" = 1; then
52247 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
52248 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
52249 wxUSE_DRAG_AND_DROP=no
52250 fi
52251
52252 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
52253 cat >>confdefs.h <<\_ACEOF
52254 #define wxUSE_DRAG_AND_DROP 1
52255 _ACEOF
52256
52257 fi
52258
52259 fi
52260
52261 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
52262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
52263 fi
52264
52265 if test "$wxUSE_SPLINES" = "yes" ; then
52266 cat >>confdefs.h <<\_ACEOF
52267 #define wxUSE_SPLINES 1
52268 _ACEOF
52269
52270 fi
52271
52272 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
52273 cat >>confdefs.h <<\_ACEOF
52274 #define wxUSE_MOUSEWHEEL 1
52275 _ACEOF
52276
52277 fi
52278
52279
52280 USES_CONTROLS=0
52281 if test "$wxUSE_CONTROLS" = "yes"; then
52282 USES_CONTROLS=1
52283 fi
52284
52285 if test "$wxUSE_ACCEL" = "yes"; then
52286 cat >>confdefs.h <<\_ACEOF
52287 #define wxUSE_ACCEL 1
52288 _ACEOF
52289
52290 USES_CONTROLS=1
52291 fi
52292
52293 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
52294 cat >>confdefs.h <<\_ACEOF
52295 #define wxUSE_ANIMATIONCTRL 1
52296 _ACEOF
52297
52298 USES_CONTROLS=1
52299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
52300 fi
52301
52302 if test "$wxUSE_BUTTON" = "yes"; then
52303 cat >>confdefs.h <<\_ACEOF
52304 #define wxUSE_BUTTON 1
52305 _ACEOF
52306
52307 USES_CONTROLS=1
52308 fi
52309
52310 if test "$wxUSE_BMPBUTTON" = "yes"; then
52311 cat >>confdefs.h <<\_ACEOF
52312 #define wxUSE_BMPBUTTON 1
52313 _ACEOF
52314
52315 USES_CONTROLS=1
52316 fi
52317
52318 if test "$wxUSE_CALCTRL" = "yes"; then
52319 cat >>confdefs.h <<\_ACEOF
52320 #define wxUSE_CALENDARCTRL 1
52321 _ACEOF
52322
52323 USES_CONTROLS=1
52324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
52325 fi
52326
52327 if test "$wxUSE_CARET" = "yes"; then
52328 cat >>confdefs.h <<\_ACEOF
52329 #define wxUSE_CARET 1
52330 _ACEOF
52331
52332 USES_CONTROLS=1
52333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
52334 fi
52335
52336 if test "$wxUSE_COLLPANE" = "yes"; then
52337 cat >>confdefs.h <<\_ACEOF
52338 #define wxUSE_COLLPANE 1
52339 _ACEOF
52340
52341 USES_CONTROLS=1
52342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
52343 fi
52344
52345 if test "$wxUSE_COMBOBOX" = "yes"; then
52346 cat >>confdefs.h <<\_ACEOF
52347 #define wxUSE_COMBOBOX 1
52348 _ACEOF
52349
52350 USES_CONTROLS=1
52351 fi
52352
52353 if test "$wxUSE_COMBOCTRL" = "yes"; then
52354 cat >>confdefs.h <<\_ACEOF
52355 #define wxUSE_COMBOCTRL 1
52356 _ACEOF
52357
52358 USES_CONTROLS=1
52359 fi
52360
52361 if test "$wxUSE_CHOICE" = "yes"; then
52362 cat >>confdefs.h <<\_ACEOF
52363 #define wxUSE_CHOICE 1
52364 _ACEOF
52365
52366 USES_CONTROLS=1
52367 fi
52368
52369 if test "$wxUSE_CHOICEBOOK" = "yes"; then
52370 cat >>confdefs.h <<\_ACEOF
52371 #define wxUSE_CHOICEBOOK 1
52372 _ACEOF
52373
52374 USES_CONTROLS=1
52375 fi
52376
52377 if test "$wxUSE_CHECKBOX" = "yes"; then
52378 cat >>confdefs.h <<\_ACEOF
52379 #define wxUSE_CHECKBOX 1
52380 _ACEOF
52381
52382 USES_CONTROLS=1
52383 fi
52384
52385 if test "$wxUSE_CHECKLST" = "yes"; then
52386 cat >>confdefs.h <<\_ACEOF
52387 #define wxUSE_CHECKLISTBOX 1
52388 _ACEOF
52389
52390 USES_CONTROLS=1
52391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
52392 fi
52393
52394 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
52395 cat >>confdefs.h <<\_ACEOF
52396 #define wxUSE_COLOURPICKERCTRL 1
52397 _ACEOF
52398
52399 USES_CONTROLS=1
52400 fi
52401
52402 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
52403 cat >>confdefs.h <<\_ACEOF
52404 #define wxUSE_DATEPICKCTRL 1
52405 _ACEOF
52406
52407 USES_CONTROLS=1
52408 fi
52409
52410 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
52411 cat >>confdefs.h <<\_ACEOF
52412 #define wxUSE_DIRPICKERCTRL 1
52413 _ACEOF
52414
52415 USES_CONTROLS=1
52416 fi
52417
52418 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
52419 cat >>confdefs.h <<\_ACEOF
52420 #define wxUSE_FILEPICKERCTRL 1
52421 _ACEOF
52422
52423 USES_CONTROLS=1
52424 fi
52425
52426 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
52427 cat >>confdefs.h <<\_ACEOF
52428 #define wxUSE_FONTPICKERCTRL 1
52429 _ACEOF
52430
52431 USES_CONTROLS=1
52432 fi
52433
52434 if test "$wxUSE_DISPLAY" = "yes"; then
52435 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
52436 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
52437 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
52438 wxUSE_DISPLAY=no
52439 else
52440 cat >>confdefs.h <<\_ACEOF
52441 #define wxUSE_DISPLAY 1
52442 _ACEOF
52443
52444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
52445 fi
52446 fi
52447
52448 if test "$wxUSE_DETECT_SM" = "yes"; then
52449 cat >>confdefs.h <<\_ACEOF
52450 #define wxUSE_DETECT_SM 1
52451 _ACEOF
52452
52453 fi
52454
52455 if test "$wxUSE_GAUGE" = "yes"; then
52456 cat >>confdefs.h <<\_ACEOF
52457 #define wxUSE_GAUGE 1
52458 _ACEOF
52459
52460 USES_CONTROLS=1
52461 fi
52462
52463 if test "$wxUSE_GRID" = "yes"; then
52464 cat >>confdefs.h <<\_ACEOF
52465 #define wxUSE_GRID 1
52466 _ACEOF
52467
52468 USES_CONTROLS=1
52469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
52470 fi
52471
52472 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
52473 cat >>confdefs.h <<\_ACEOF
52474 #define wxUSE_HYPERLINKCTRL 1
52475 _ACEOF
52476
52477 USES_CONTROLS=1
52478 fi
52479
52480 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
52481 cat >>confdefs.h <<\_ACEOF
52482 #define wxUSE_BITMAPCOMBOBOX 1
52483 _ACEOF
52484
52485 USES_CONTROLS=1
52486 fi
52487
52488 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
52489 cat >>confdefs.h <<\_ACEOF
52490 #define wxUSE_DATAVIEWCTRL 1
52491 _ACEOF
52492
52493 USES_CONTROLS=1
52494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
52495 fi
52496
52497 if test "$wxUSE_IMAGLIST" = "yes"; then
52498 cat >>confdefs.h <<\_ACEOF
52499 #define wxUSE_IMAGLIST 1
52500 _ACEOF
52501
52502 fi
52503
52504 if test "$wxUSE_LISTBOOK" = "yes"; then
52505 cat >>confdefs.h <<\_ACEOF
52506 #define wxUSE_LISTBOOK 1
52507 _ACEOF
52508
52509 USES_CONTROLS=1
52510 fi
52511
52512 if test "$wxUSE_LISTBOX" = "yes"; then
52513 cat >>confdefs.h <<\_ACEOF
52514 #define wxUSE_LISTBOX 1
52515 _ACEOF
52516
52517 USES_CONTROLS=1
52518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
52519 fi
52520
52521 if test "$wxUSE_LISTCTRL" = "yes"; then
52522 if test "$wxUSE_IMAGLIST" = "yes"; then
52523 cat >>confdefs.h <<\_ACEOF
52524 #define wxUSE_LISTCTRL 1
52525 _ACEOF
52526
52527 USES_CONTROLS=1
52528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
52529 else
52530 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
52531 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
52532 fi
52533 fi
52534
52535 if test "$wxUSE_NOTEBOOK" = "yes"; then
52536 cat >>confdefs.h <<\_ACEOF
52537 #define wxUSE_NOTEBOOK 1
52538 _ACEOF
52539
52540 USES_CONTROLS=1
52541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
52542 fi
52543
52544 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
52545 cat >>confdefs.h <<\_ACEOF
52546 #define wxUSE_ODCOMBOBOX 1
52547 _ACEOF
52548
52549 USES_CONTROLS=1
52550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
52551 fi
52552
52553
52554 if test "$wxUSE_RADIOBOX" = "yes"; then
52555 cat >>confdefs.h <<\_ACEOF
52556 #define wxUSE_RADIOBOX 1
52557 _ACEOF
52558
52559 USES_CONTROLS=1
52560 fi
52561
52562 if test "$wxUSE_RADIOBTN" = "yes"; then
52563 cat >>confdefs.h <<\_ACEOF
52564 #define wxUSE_RADIOBTN 1
52565 _ACEOF
52566
52567 USES_CONTROLS=1
52568 fi
52569
52570 if test "$wxUSE_SASH" = "yes"; then
52571 cat >>confdefs.h <<\_ACEOF
52572 #define wxUSE_SASH 1
52573 _ACEOF
52574
52575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
52576 fi
52577
52578 if test "$wxUSE_SCROLLBAR" = "yes"; then
52579 cat >>confdefs.h <<\_ACEOF
52580 #define wxUSE_SCROLLBAR 1
52581 _ACEOF
52582
52583 USES_CONTROLS=1
52584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
52585 fi
52586
52587 if test "$wxUSE_SEARCHCTRL" = "yes"; then
52588 cat >>confdefs.h <<\_ACEOF
52589 #define wxUSE_SEARCHCTRL 1
52590 _ACEOF
52591
52592 USES_CONTROLS=1
52593 fi
52594
52595 if test "$wxUSE_SLIDER" = "yes"; then
52596 cat >>confdefs.h <<\_ACEOF
52597 #define wxUSE_SLIDER 1
52598 _ACEOF
52599
52600 USES_CONTROLS=1
52601 fi
52602
52603 if test "$wxUSE_SPINBTN" = "yes"; then
52604 cat >>confdefs.h <<\_ACEOF
52605 #define wxUSE_SPINBTN 1
52606 _ACEOF
52607
52608 USES_CONTROLS=1
52609 fi
52610
52611 if test "$wxUSE_SPINCTRL" = "yes"; then
52612 cat >>confdefs.h <<\_ACEOF
52613 #define wxUSE_SPINCTRL 1
52614 _ACEOF
52615
52616 USES_CONTROLS=1
52617 fi
52618
52619 if test "$wxUSE_SPLITTER" = "yes"; then
52620 cat >>confdefs.h <<\_ACEOF
52621 #define wxUSE_SPLITTER 1
52622 _ACEOF
52623
52624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
52625 fi
52626
52627 if test "$wxUSE_STATBMP" = "yes"; then
52628 cat >>confdefs.h <<\_ACEOF
52629 #define wxUSE_STATBMP 1
52630 _ACEOF
52631
52632 USES_CONTROLS=1
52633 fi
52634
52635 if test "$wxUSE_STATBOX" = "yes"; then
52636 cat >>confdefs.h <<\_ACEOF
52637 #define wxUSE_STATBOX 1
52638 _ACEOF
52639
52640 USES_CONTROLS=1
52641 fi
52642
52643 if test "$wxUSE_STATTEXT" = "yes"; then
52644 cat >>confdefs.h <<\_ACEOF
52645 #define wxUSE_STATTEXT 1
52646 _ACEOF
52647
52648 USES_CONTROLS=1
52649 fi
52650
52651 if test "$wxUSE_STATLINE" = "yes"; then
52652 cat >>confdefs.h <<\_ACEOF
52653 #define wxUSE_STATLINE 1
52654 _ACEOF
52655
52656 USES_CONTROLS=1
52657 fi
52658
52659 if test "$wxUSE_STATUSBAR" = "yes"; then
52660 cat >>confdefs.h <<\_ACEOF
52661 #define wxUSE_NATIVE_STATUSBAR 1
52662 _ACEOF
52663
52664 cat >>confdefs.h <<\_ACEOF
52665 #define wxUSE_STATUSBAR 1
52666 _ACEOF
52667
52668 USES_CONTROLS=1
52669
52670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
52671 fi
52672
52673 if test "$wxUSE_TAB_DIALOG" = "yes"; then
52674 cat >>confdefs.h <<\_ACEOF
52675 #define wxUSE_TAB_DIALOG 1
52676 _ACEOF
52677
52678 fi
52679
52680 if test "$wxUSE_TEXTCTRL" = "yes"; then
52681 cat >>confdefs.h <<\_ACEOF
52682 #define wxUSE_TEXTCTRL 1
52683 _ACEOF
52684
52685 USES_CONTROLS=1
52686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
52687 fi
52688
52689 if test "$wxUSE_TOGGLEBTN" = "yes"; then
52690 if test "$wxUSE_COCOA" = 1 ; then
52691 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
52692 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
52693 wxUSE_TOGGLEBTN=no
52694 fi
52695
52696 if test "$wxUSE_TOGGLEBTN" = "yes"; then
52697 cat >>confdefs.h <<\_ACEOF
52698 #define wxUSE_TOGGLEBTN 1
52699 _ACEOF
52700
52701 USES_CONTROLS=1
52702 fi
52703 fi
52704
52705 if test "$wxUSE_TOOLBAR" = "yes"; then
52706 cat >>confdefs.h <<\_ACEOF
52707 #define wxUSE_TOOLBAR 1
52708 _ACEOF
52709
52710 USES_CONTROLS=1
52711
52712 if test "$wxUSE_UNIVERSAL" = "yes"; then
52713 wxUSE_TOOLBAR_NATIVE="no"
52714 else
52715 wxUSE_TOOLBAR_NATIVE="yes"
52716 cat >>confdefs.h <<\_ACEOF
52717 #define wxUSE_TOOLBAR_NATIVE 1
52718 _ACEOF
52719
52720 fi
52721
52722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
52723 fi
52724
52725 if test "$wxUSE_TOOLTIPS" = "yes"; then
52726 if test "$wxUSE_MOTIF" = 1; then
52727 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
52728 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
52729 else
52730 if test "$wxUSE_UNIVERSAL" = "yes"; then
52731 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
52732 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
52733 else
52734 cat >>confdefs.h <<\_ACEOF
52735 #define wxUSE_TOOLTIPS 1
52736 _ACEOF
52737
52738 fi
52739 fi
52740 fi
52741
52742 if test "$wxUSE_TREEBOOK" = "yes"; then
52743 cat >>confdefs.h <<\_ACEOF
52744 #define wxUSE_TREEBOOK 1
52745 _ACEOF
52746
52747 USES_CONTROLS=1
52748 fi
52749
52750 if test "$wxUSE_TOOLBOOK" = "yes"; then
52751 cat >>confdefs.h <<\_ACEOF
52752 #define wxUSE_TOOLBOOK 1
52753 _ACEOF
52754
52755 USES_CONTROLS=1
52756 fi
52757
52758 if test "$wxUSE_TREECTRL" = "yes"; then
52759 if test "$wxUSE_IMAGLIST" = "yes"; then
52760 cat >>confdefs.h <<\_ACEOF
52761 #define wxUSE_TREECTRL 1
52762 _ACEOF
52763
52764 USES_CONTROLS=1
52765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
52766 else
52767 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
52768 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
52769 fi
52770 fi
52771
52772 if test "$wxUSE_POPUPWIN" = "yes"; then
52773 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
52774 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
52775 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
52776 else
52777 if test "$wxUSE_PM" = 1; then
52778 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
52779 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
52780 else
52781 cat >>confdefs.h <<\_ACEOF
52782 #define wxUSE_POPUPWIN 1
52783 _ACEOF
52784
52785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
52786
52787 USES_CONTROLS=1
52788 fi
52789 fi
52790 fi
52791
52792 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
52793 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
52794 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
52795 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
52796 else
52797 cat >>confdefs.h <<\_ACEOF
52798 #define wxUSE_DIALUP_MANAGER 1
52799 _ACEOF
52800
52801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
52802 fi
52803 fi
52804
52805 if test "$wxUSE_TIPWINDOW" = "yes"; then
52806 if test "$wxUSE_PM" = 1; then
52807 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
52808 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
52809 else
52810 cat >>confdefs.h <<\_ACEOF
52811 #define wxUSE_TIPWINDOW 1
52812 _ACEOF
52813
52814 fi
52815 fi
52816
52817 if test "$USES_CONTROLS" = 1; then
52818 cat >>confdefs.h <<\_ACEOF
52819 #define wxUSE_CONTROLS 1
52820 _ACEOF
52821
52822 fi
52823
52824
52825 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
52826 cat >>confdefs.h <<\_ACEOF
52827 #define wxUSE_ACCESSIBILITY 1
52828 _ACEOF
52829
52830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
52831 fi
52832
52833 if test "$wxUSE_DC_CACHEING" = "yes"; then
52834 cat >>confdefs.h <<\_ACEOF
52835 #define wxUSE_DC_CACHEING 1
52836 _ACEOF
52837
52838 fi
52839
52840 if test "$wxUSE_DRAGIMAGE" = "yes"; then
52841 cat >>confdefs.h <<\_ACEOF
52842 #define wxUSE_DRAGIMAGE 1
52843 _ACEOF
52844
52845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
52846 fi
52847
52848 if test "$wxUSE_EXCEPTIONS" = "yes"; then
52849 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
52850 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
52851 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
52852 else
52853 cat >>confdefs.h <<\_ACEOF
52854 #define wxUSE_EXCEPTIONS 1
52855 _ACEOF
52856
52857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
52858 fi
52859 fi
52860
52861 USE_HTML=0
52862 if test "$wxUSE_HTML" = "yes"; then
52863 cat >>confdefs.h <<\_ACEOF
52864 #define wxUSE_HTML 1
52865 _ACEOF
52866
52867 USE_HTML=1
52868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
52869 if test "$wxUSE_MAC" = 1; then
52870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
52871 fi
52872 fi
52873 if test "$wxUSE_WEBKIT" = "yes"; then
52874 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
52875 old_CPPFLAGS="$CPPFLAGS"
52876 CPPFLAGS="-x objective-c++ $CPPFLAGS"
52877 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
52878 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
52879 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
52880 echo $ECHO_N "(cached) $ECHO_C" >&6
52881 else
52882 cat >conftest.$ac_ext <<_ACEOF
52883 /* confdefs.h. */
52884 _ACEOF
52885 cat confdefs.h >>conftest.$ac_ext
52886 cat >>conftest.$ac_ext <<_ACEOF
52887 /* end confdefs.h. */
52888
52889 #include <Carbon/Carbon.h>
52890 #include <WebKit/WebKit.h>
52891
52892
52893 #include <WebKit/HIWebView.h>
52894 _ACEOF
52895 rm -f conftest.$ac_objext
52896 if { (ac_try="$ac_compile"
52897 case "(($ac_try" in
52898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52899 *) ac_try_echo=$ac_try;;
52900 esac
52901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52902 (eval "$ac_compile") 2>conftest.er1
52903 ac_status=$?
52904 grep -v '^ *+' conftest.er1 >conftest.err
52905 rm -f conftest.er1
52906 cat conftest.err >&5
52907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52908 (exit $ac_status); } &&
52909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
52910 { (case "(($ac_try" in
52911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52912 *) ac_try_echo=$ac_try;;
52913 esac
52914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52915 (eval "$ac_try") 2>&5
52916 ac_status=$?
52917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52918 (exit $ac_status); }; } &&
52919 { ac_try='test -s conftest.$ac_objext'
52920 { (case "(($ac_try" in
52921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
52922 *) ac_try_echo=$ac_try;;
52923 esac
52924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52925 (eval "$ac_try") 2>&5
52926 ac_status=$?
52927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52928 (exit $ac_status); }; }; then
52929 ac_cv_header_WebKit_HIWebView_h=yes
52930 else
52931 echo "$as_me: failed program was:" >&5
52932 sed 's/^/| /' conftest.$ac_ext >&5
52933
52934 ac_cv_header_WebKit_HIWebView_h=no
52935 fi
52936
52937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52938 fi
52939 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
52940 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
52941 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
52942
52943 cat >>confdefs.h <<\_ACEOF
52944 #define wxUSE_WEBKIT 1
52945 _ACEOF
52946
52947 WEBKIT_LINK="-framework WebKit"
52948
52949 else
52950
52951 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
52952 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
52953 wxUSE_WEBKIT=no
52954
52955 fi
52956
52957
52958 CPPFLAGS="$old_CPPFLAGS"
52959 elif test "$wxUSE_COCOA" = 1; then
52960 cat >>confdefs.h <<\_ACEOF
52961 #define wxUSE_WEBKIT 1
52962 _ACEOF
52963
52964 else
52965 wxUSE_WEBKIT=no
52966 fi
52967 fi
52968
52969 USE_XRC=0
52970 if test "$wxUSE_XRC" = "yes"; then
52971 if test "$wxUSE_XML" != "yes"; then
52972 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
52973 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
52974 wxUSE_XRC=no
52975 else
52976 cat >>confdefs.h <<\_ACEOF
52977 #define wxUSE_XRC 1
52978 _ACEOF
52979
52980 USE_XRC=1
52981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
52982 fi
52983 fi
52984
52985 USE_AUI=0
52986 if test "$wxUSE_AUI" = "yes"; then
52987 cat >>confdefs.h <<\_ACEOF
52988 #define wxUSE_AUI 1
52989 _ACEOF
52990
52991 USE_AUI=1
52992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
52993 fi
52994
52995 if test "$wxUSE_MENUS" = "yes"; then
52996 cat >>confdefs.h <<\_ACEOF
52997 #define wxUSE_MENUS 1
52998 _ACEOF
52999
53000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
53001 fi
53002
53003 if test "$wxUSE_METAFILE" = "yes"; then
53004 cat >>confdefs.h <<\_ACEOF
53005 #define wxUSE_METAFILE 1
53006 _ACEOF
53007
53008 fi
53009
53010 if test "$wxUSE_MIMETYPE" = "yes"; then
53011 cat >>confdefs.h <<\_ACEOF
53012 #define wxUSE_MIMETYPE 1
53013 _ACEOF
53014
53015 fi
53016
53017 if test "$wxUSE_MINIFRAME" = "yes"; then
53018 cat >>confdefs.h <<\_ACEOF
53019 #define wxUSE_MINIFRAME 1
53020 _ACEOF
53021
53022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
53023 fi
53024
53025 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
53026 cat >>confdefs.h <<\_ACEOF
53027 #define wxUSE_SYSTEM_OPTIONS 1
53028 _ACEOF
53029
53030 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
53031 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
53032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
53033 fi
53034 fi
53035
53036
53037 if test "$wxUSE_VALIDATORS" = "yes"; then
53038 cat >>confdefs.h <<\_ACEOF
53039 #define wxUSE_VALIDATORS 1
53040 _ACEOF
53041
53042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
53043 fi
53044
53045 if test "$wxUSE_PALETTE" = "yes" ; then
53046 if test "$wxUSE_DFB" = 1; then
53047 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
53048 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
53049 wxUSE_PALETTE=no
53050 else
53051 cat >>confdefs.h <<\_ACEOF
53052 #define wxUSE_PALETTE 1
53053 _ACEOF
53054
53055 fi
53056 fi
53057
53058 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
53059 LIBS=" -lunicows $LIBS"
53060 fi
53061
53062 USE_RICHTEXT=0
53063 if test "$wxUSE_RICHTEXT" = "yes"; then
53064 cat >>confdefs.h <<\_ACEOF
53065 #define wxUSE_RICHTEXT 1
53066 _ACEOF
53067
53068 USE_RICHTEXT=1
53069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
53070 fi
53071
53072
53073 if test "$wxUSE_IMAGE" = "yes" ; then
53074 cat >>confdefs.h <<\_ACEOF
53075 #define wxUSE_IMAGE 1
53076 _ACEOF
53077
53078
53079 if test "$wxUSE_GIF" = "yes" ; then
53080 cat >>confdefs.h <<\_ACEOF
53081 #define wxUSE_GIF 1
53082 _ACEOF
53083
53084 fi
53085
53086 if test "$wxUSE_PCX" = "yes" ; then
53087 cat >>confdefs.h <<\_ACEOF
53088 #define wxUSE_PCX 1
53089 _ACEOF
53090
53091 fi
53092
53093 if test "$wxUSE_TGA" = "yes" ; then
53094 cat >>confdefs.h <<\_ACEOF
53095 #define wxUSE_TGA 1
53096 _ACEOF
53097
53098 fi
53099
53100 if test "$wxUSE_IFF" = "yes" ; then
53101 cat >>confdefs.h <<\_ACEOF
53102 #define wxUSE_IFF 1
53103 _ACEOF
53104
53105 fi
53106
53107 if test "$wxUSE_PNM" = "yes" ; then
53108 cat >>confdefs.h <<\_ACEOF
53109 #define wxUSE_PNM 1
53110 _ACEOF
53111
53112 fi
53113
53114 if test "$wxUSE_XPM" = "yes" ; then
53115 cat >>confdefs.h <<\_ACEOF
53116 #define wxUSE_XPM 1
53117 _ACEOF
53118
53119 fi
53120
53121 if test "$wxUSE_ICO_CUR" = "yes" ; then
53122 cat >>confdefs.h <<\_ACEOF
53123 #define wxUSE_ICO_CUR 1
53124 _ACEOF
53125
53126 fi
53127 fi
53128
53129
53130 if test "$wxUSE_ABOUTDLG" = "yes"; then
53131 cat >>confdefs.h <<\_ACEOF
53132 #define wxUSE_ABOUTDLG 1
53133 _ACEOF
53134
53135 fi
53136
53137 if test "$wxUSE_CHOICEDLG" = "yes"; then
53138 cat >>confdefs.h <<\_ACEOF
53139 #define wxUSE_CHOICEDLG 1
53140 _ACEOF
53141
53142 fi
53143
53144 if test "$wxUSE_COLOURDLG" = "yes"; then
53145 cat >>confdefs.h <<\_ACEOF
53146 #define wxUSE_COLOURDLG 1
53147 _ACEOF
53148
53149 fi
53150
53151 if test "$wxUSE_FILEDLG" = "yes"; then
53152 cat >>confdefs.h <<\_ACEOF
53153 #define wxUSE_FILEDLG 1
53154 _ACEOF
53155
53156 fi
53157
53158 if test "$wxUSE_FINDREPLDLG" = "yes"; then
53159 cat >>confdefs.h <<\_ACEOF
53160 #define wxUSE_FINDREPLDLG 1
53161 _ACEOF
53162
53163 fi
53164
53165 if test "$wxUSE_FONTDLG" = "yes"; then
53166 cat >>confdefs.h <<\_ACEOF
53167 #define wxUSE_FONTDLG 1
53168 _ACEOF
53169
53170 fi
53171
53172 if test "$wxUSE_DIRDLG" = "yes"; then
53173 if test "$wxUSE_TREECTRL" != "yes"; then
53174 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
53175 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
53176 else
53177 cat >>confdefs.h <<\_ACEOF
53178 #define wxUSE_DIRDLG 1
53179 _ACEOF
53180
53181 fi
53182 fi
53183
53184 if test "$wxUSE_MSGDLG" = "yes"; then
53185 cat >>confdefs.h <<\_ACEOF
53186 #define wxUSE_MSGDLG 1
53187 _ACEOF
53188
53189 fi
53190
53191 if test "$wxUSE_NUMBERDLG" = "yes"; then
53192 cat >>confdefs.h <<\_ACEOF
53193 #define wxUSE_NUMBERDLG 1
53194 _ACEOF
53195
53196 fi
53197
53198 if test "$wxUSE_PROGRESSDLG" = "yes"; then
53199 if test "$wxUSE_CONSTRAINTS" != "yes"; then
53200 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
53201 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
53202 else
53203 cat >>confdefs.h <<\_ACEOF
53204 #define wxUSE_PROGRESSDLG 1
53205 _ACEOF
53206
53207 fi
53208 fi
53209
53210 if test "$wxUSE_SPLASH" = "yes"; then
53211 cat >>confdefs.h <<\_ACEOF
53212 #define wxUSE_SPLASH 1
53213 _ACEOF
53214
53215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
53216 fi
53217
53218 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
53219 if test "$wxUSE_CONSTRAINTS" != "yes"; then
53220 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
53221 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
53222 else
53223 cat >>confdefs.h <<\_ACEOF
53224 #define wxUSE_STARTUP_TIPS 1
53225 _ACEOF
53226
53227 fi
53228 fi
53229
53230 if test "$wxUSE_TEXTDLG" = "yes"; then
53231 cat >>confdefs.h <<\_ACEOF
53232 #define wxUSE_TEXTDLG 1
53233 _ACEOF
53234
53235 fi
53236
53237 if test "$wxUSE_WIZARDDLG" = "yes"; then
53238 cat >>confdefs.h <<\_ACEOF
53239 #define wxUSE_WIZARDDLG 1
53240 _ACEOF
53241
53242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
53243 fi
53244
53245
53246 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
53247 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
53248 cat >>confdefs.h <<\_ACEOF
53249 #define wxUSE_GRAPHICS_CONTEXT 1
53250 _ACEOF
53251
53252 elif test "$wxUSE_GTK" != 1; then
53253 cat >>confdefs.h <<\_ACEOF
53254 #define wxUSE_GRAPHICS_CONTEXT 1
53255 _ACEOF
53256
53257 else
53258
53259 pkg_failed=no
53260 { echo "$as_me:$LINENO: checking for CAIRO" >&5
53261 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
53262
53263 if test -n "$PKG_CONFIG"; then
53264 if test -n "$CAIRO_CFLAGS"; then
53265 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
53266 else
53267 if test -n "$PKG_CONFIG" && \
53268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
53269 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
53270 ac_status=$?
53271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53272 (exit $ac_status); }; then
53273 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
53274 else
53275 pkg_failed=yes
53276 fi
53277 fi
53278 else
53279 pkg_failed=untried
53280 fi
53281 if test -n "$PKG_CONFIG"; then
53282 if test -n "$CAIRO_LIBS"; then
53283 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
53284 else
53285 if test -n "$PKG_CONFIG" && \
53286 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
53287 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
53288 ac_status=$?
53289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53290 (exit $ac_status); }; then
53291 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
53292 else
53293 pkg_failed=yes
53294 fi
53295 fi
53296 else
53297 pkg_failed=untried
53298 fi
53299
53300
53301
53302 if test $pkg_failed = yes; then
53303
53304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53305 _pkg_short_errors_supported=yes
53306 else
53307 _pkg_short_errors_supported=no
53308 fi
53309 if test $_pkg_short_errors_supported = yes; then
53310 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
53311 else
53312 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
53313 fi
53314 # Put the nasty error message in config.log where it belongs
53315 echo "$CAIRO_PKG_ERRORS" >&5
53316
53317 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
53318 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
53319
53320 elif test $pkg_failed = untried; then
53321 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
53322 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
53323
53324 else
53325 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
53326 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
53327 { echo "$as_me:$LINENO: result: yes" >&5
53328 echo "${ECHO_T}yes" >&6; }
53329 cat >>confdefs.h <<\_ACEOF
53330 #define wxUSE_GRAPHICS_CONTEXT 1
53331 _ACEOF
53332
53333 fi
53334 fi
53335 fi
53336
53337
53338 USE_MEDIA=0
53339
53340 if test "$wxUSE_MEDIACTRL" = "yes"; then
53341 USE_MEDIA=1
53342
53343 if test "$wxUSE_GTK" = 1; then
53344 wxUSE_GSTREAMER="no"
53345
53346 GST_VERSION_MAJOR=0
53347 GST_VERSION_MINOR=10
53348 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
53349
53350 if test "$wxUSE_GSTREAMER8" = "no"; then
53351
53352 pkg_failed=no
53353 { echo "$as_me:$LINENO: checking for GST" >&5
53354 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
53355
53356 if test -n "$PKG_CONFIG"; then
53357 if test -n "$GST_CFLAGS"; then
53358 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
53359 else
53360 if test -n "$PKG_CONFIG" && \
53361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
53362 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
53363 ac_status=$?
53364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53365 (exit $ac_status); }; then
53366 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
53367 else
53368 pkg_failed=yes
53369 fi
53370 fi
53371 else
53372 pkg_failed=untried
53373 fi
53374 if test -n "$PKG_CONFIG"; then
53375 if test -n "$GST_LIBS"; then
53376 pkg_cv_GST_LIBS="$GST_LIBS"
53377 else
53378 if test -n "$PKG_CONFIG" && \
53379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
53380 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
53381 ac_status=$?
53382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53383 (exit $ac_status); }; then
53384 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
53385 else
53386 pkg_failed=yes
53387 fi
53388 fi
53389 else
53390 pkg_failed=untried
53391 fi
53392
53393
53394
53395 if test $pkg_failed = yes; then
53396
53397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53398 _pkg_short_errors_supported=yes
53399 else
53400 _pkg_short_errors_supported=no
53401 fi
53402 if test $_pkg_short_errors_supported = yes; then
53403 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
53404 else
53405 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
53406 fi
53407 # Put the nasty error message in config.log where it belongs
53408 echo "$GST_PKG_ERRORS" >&5
53409
53410
53411 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
53412 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
53413 GST_VERSION_MINOR=8
53414
53415
53416 elif test $pkg_failed = untried; then
53417
53418 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
53419 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
53420 GST_VERSION_MINOR=8
53421
53422
53423 else
53424 GST_CFLAGS=$pkg_cv_GST_CFLAGS
53425 GST_LIBS=$pkg_cv_GST_LIBS
53426 { echo "$as_me:$LINENO: result: yes" >&5
53427 echo "${ECHO_T}yes" >&6; }
53428
53429 wxUSE_GSTREAMER="yes"
53430 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
53431
53432 fi
53433 else
53434 GST_VERSION_MINOR=8
53435 fi
53436
53437 if test $GST_VERSION_MINOR = "8"; then
53438 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
53439
53440 pkg_failed=no
53441 { echo "$as_me:$LINENO: checking for GST" >&5
53442 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
53443
53444 if test -n "$PKG_CONFIG"; then
53445 if test -n "$GST_CFLAGS"; then
53446 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
53447 else
53448 if test -n "$PKG_CONFIG" && \
53449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
53450 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
53451 ac_status=$?
53452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53453 (exit $ac_status); }; then
53454 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
53455 else
53456 pkg_failed=yes
53457 fi
53458 fi
53459 else
53460 pkg_failed=untried
53461 fi
53462 if test -n "$PKG_CONFIG"; then
53463 if test -n "$GST_LIBS"; then
53464 pkg_cv_GST_LIBS="$GST_LIBS"
53465 else
53466 if test -n "$PKG_CONFIG" && \
53467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
53468 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
53469 ac_status=$?
53470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53471 (exit $ac_status); }; then
53472 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
53473 else
53474 pkg_failed=yes
53475 fi
53476 fi
53477 else
53478 pkg_failed=untried
53479 fi
53480
53481
53482
53483 if test $pkg_failed = yes; then
53484
53485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
53486 _pkg_short_errors_supported=yes
53487 else
53488 _pkg_short_errors_supported=no
53489 fi
53490 if test $_pkg_short_errors_supported = yes; then
53491 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
53492 else
53493 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
53494 fi
53495 # Put the nasty error message in config.log where it belongs
53496 echo "$GST_PKG_ERRORS" >&5
53497
53498
53499 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
53500 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
53501
53502 elif test $pkg_failed = untried; then
53503
53504 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
53505 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
53506
53507 else
53508 GST_CFLAGS=$pkg_cv_GST_CFLAGS
53509 GST_LIBS=$pkg_cv_GST_LIBS
53510 { echo "$as_me:$LINENO: result: yes" >&5
53511 echo "${ECHO_T}yes" >&6; }
53512 wxUSE_GSTREAMER="yes"
53513 fi
53514 fi
53515
53516
53517 if test "$wxUSE_GSTREAMER" = "yes"; then
53518 case "${host}" in
53519 *-*-solaris2* )
53520 if "$GCC" = yes; then
53521 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
53522 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
53523 fi
53524 esac
53525
53526 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
53527 LIBS="$GST_LIBS $LIBS"
53528
53529 cat >>confdefs.h <<\_ACEOF
53530 #define wxUSE_GSTREAMER 1
53531 _ACEOF
53532
53533 else
53534 USE_MEDIA=0
53535 fi
53536 fi
53537
53538 if test $USE_MEDIA = 1; then
53539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
53540 cat >>confdefs.h <<\_ACEOF
53541 #define wxUSE_MEDIACTRL 1
53542 _ACEOF
53543
53544 fi
53545 fi
53546
53547
53548 if test "$cross_compiling" = "yes"; then
53549 OSINFO="\"$host\""
53550 else
53551 OSINFO=`uname -s -r -m`
53552 OSINFO="\"$OSINFO\""
53553 fi
53554
53555 cat >>confdefs.h <<_ACEOF
53556 #define WXWIN_OS_DESCRIPTION $OSINFO
53557 _ACEOF
53558
53559
53560
53561 if test "x$prefix" != "xNONE"; then
53562 wxPREFIX=$prefix
53563 else
53564 wxPREFIX=$ac_default_prefix
53565 fi
53566
53567 cat >>confdefs.h <<_ACEOF
53568 #define wxINSTALL_PREFIX "$wxPREFIX"
53569 _ACEOF
53570
53571
53572
53573
53574 CORE_BASE_LIBS="net base"
53575 CORE_GUI_LIBS="adv core"
53576
53577 if test "$wxUSE_XML" = "yes" ; then
53578 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
53579 fi
53580 if test "$wxUSE_ODBC" != "no" ; then
53581 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
53582 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
53583 fi
53584 if test "$wxUSE_HTML" = "yes" ; then
53585 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
53586 fi
53587 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
53588 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
53589 fi
53590 if test "$wxUSE_XRC" = "yes" ; then
53591 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
53592 fi
53593 if test "$wxUSE_AUI" = "yes" ; then
53594 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
53595 fi
53596
53597 if test "$wxUSE_GUI" != "yes"; then
53598 CORE_GUI_LIBS=""
53599 fi
53600
53601
53602
53603
53604
53605
53606 if test "$wxUSE_MAC" = 1 ; then
53607 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
53608 if test "$USE_DARWIN" = 1; then
53609 LDFLAGS="$LDFLAGS -framework QuickTime"
53610 else
53611 LDFLAGS="$LDFLAGS -lQuickTimeLib"
53612 fi
53613 fi
53614 if test "$USE_DARWIN" = 1; then
53615 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
53616 else
53617 LDFLAGS="$LDFLAGS -lCarbonLib"
53618 fi
53619 fi
53620 if test "$wxUSE_COCOA" = 1 ; then
53621 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
53622 if test "$wxUSE_MEDIACTRL" = "yes"; then
53623 LDFLAGS="$LDFLAGS -framework QuickTime"
53624 fi
53625 fi
53626 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
53627 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
53628 fi
53629
53630 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
53631
53632 if test "$wxUSE_GUI" = "yes"; then
53633
53634
53635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
53636 dynamic erase event exec font image minimal mobile \
53637 mobile/wxedit mobile/styles propsize render \
53638 rotate shaped vscroll widgets"
53639
53640 if test "$wxUSE_MONOLITHIC" != "yes"; then
53641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
53642 fi
53643 if test "$TOOLKIT" = "MSW"; then
53644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
53645 if test "$wxUSE_UNIVERSAL" != "yes"; then
53646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
53647 fi
53648 fi
53649 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
53650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
53651 fi
53652 else
53653 SAMPLES_SUBDIRS="console"
53654 fi
53655
53656
53657 if test "x$INTELCC" = "xyes" ; then
53658 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
53659 elif test "$GCC" = yes ; then
53660 CWARNINGS="-Wall -Wundef"
53661 fi
53662
53663 if test "x$INTELCXX" = "xyes" ; then
53664 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
53665 elif test "$GXX" = yes ; then
53666 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
53667 fi
53668
53669
53670 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
53671 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
53672
53673
53674 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
53675 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
53676 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
53677 $CPPFLAGS `
53678
53679 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
53680 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
53681 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
53682
53683 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
53684
53685
53686 if test "x$MWCC" = "xyes"; then
53687
53688 CC="$CC -cwd source -I-"
53689 CXX="$CXX -cwd source -I-"
53690 fi
53691
53692
53693 LIBS=`echo $LIBS`
53694 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
53695 EXTRALIBS_XML="$EXPAT_LINK"
53696 EXTRALIBS_HTML="$MSPACK_LINK"
53697 EXTRALIBS_ODBC="$ODBC_LINK"
53698 if test "$wxUSE_GUI" = "yes"; then
53699 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
53700 fi
53701 if test "$wxUSE_OPENGL" = "yes"; then
53702 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
53703 fi
53704
53705 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
53706
53707 WXCONFIG_LIBS="$LIBS"
53708
53709 if test "$wxUSE_REGEX" = "builtin" ; then
53710 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
53711 fi
53712 if test "$wxUSE_EXPAT" = "builtin" ; then
53713 wxconfig_3rdparty="expat $wxconfig_3rdparty"
53714 fi
53715 if test "$wxUSE_ODBC" = "builtin" ; then
53716 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
53717 fi
53718 if test "$wxUSE_LIBTIFF" = "builtin" ; then
53719 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
53720 fi
53721 if test "$wxUSE_LIBJPEG" = "builtin" ; then
53722 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
53723 fi
53724 if test "$wxUSE_LIBPNG" = "builtin" ; then
53725 wxconfig_3rdparty="png $wxconfig_3rdparty"
53726 fi
53727 if test "$wxUSE_ZLIB" = "builtin" ; then
53728 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
53729 fi
53730
53731 for i in $wxconfig_3rdparty ; do
53732 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
53733 done
53734
53735
53736 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
53737 WXUNIV=1
53738
53739 case "$wxUNIV_THEMES" in
53740 ''|all)
53741 cat >>confdefs.h <<\_ACEOF
53742 #define wxUSE_ALL_THEMES 1
53743 _ACEOF
53744
53745 ;;
53746
53747 *)
53748 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
53749 cat >>confdefs.h <<_ACEOF
53750 #define wxUSE_THEME_$t 1
53751 _ACEOF
53752
53753 done
53754 esac
53755 else
53756 WXUNIV=0
53757 fi
53758
53759
53760
53761
53762
53763
53764
53765
53766
53767 if test $wxUSE_MONOLITHIC = "yes" ; then
53768 MONOLITHIC=1
53769 else
53770 MONOLITHIC=0
53771 fi
53772
53773 if test $wxUSE_PLUGINS = "yes" ; then
53774 USE_PLUGINS=1
53775 else
53776 USE_PLUGINS=0
53777 fi
53778
53779 if test $wxUSE_ODBC != "no" ; then
53780 USE_ODBC=1
53781 else
53782 USE_ODBC=0
53783 fi
53784
53785 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
53786 USE_QA=1
53787 else
53788 USE_QA=0
53789 fi
53790
53791 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
53792 OFFICIAL_BUILD=1
53793 else
53794 OFFICIAL_BUILD=0
53795 fi
53796
53797
53798
53799
53800
53801
53802
53803
53804
53805
53806
53807
53808
53809
53810
53811
53812
53813
53814
53815
53816
53817
53818
53819
53820
53821 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
53822
53823
53824
53825
53826
53827
53828
53829
53830 case "$TOOLKIT" in
53831 GTK)
53832 TOOLKIT_DESC="GTK+"
53833 if test "$WXGTK20" = 1; then
53834 TOOLKIT_DESC="$TOOLKIT_DESC 2"
53835 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
53836 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
53837 fi
53838 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
53839 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
53840 fi
53841 if test "$wxUSE_LIBHILDON" = "yes"; then
53842 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
53843 fi
53844
53845 if test "$TOOLKIT_EXTRA" != ""; then
53846 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
53847 fi
53848 fi
53849 ;;
53850
53851 ?*)
53852 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
53853 ;;
53854
53855 *)
53856 TOOLKIT_DESC="base only"
53857 ;;
53858 esac
53859
53860 if test "$wxUSE_WINE" = "yes"; then
53861 BAKEFILE_FORCE_PLATFORM=win32
53862 fi
53863
53864 if test "$wxUSE_MAC" = 1 ; then
53865 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
53866 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
53867 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
53868 else
53869 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
53870 fi
53871 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
53872 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
53873 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
53874 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
53875 bk_use_pch=no
53876 fi
53877 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
53878 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
53879 fi
53880
53881 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
53882 then
53883 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
53884 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
53885 if test "${wx_cv_gcc_pch_bug+set}" = set; then
53886 echo $ECHO_N "(cached) $ECHO_C" >&6
53887 else
53888
53889 echo '#include <stdio.h>
53890 const wchar_t test_var[] = L"awidetest";' > conftest.h
53891
53892 echo '#include "conftest.h"
53893 int main()
53894 {
53895 printf("%ls", test_var);
53896 return 0;
53897 }' > conftest.cpp
53898
53899 wx_cv_gcc_pch_bug="pch not supported"
53900
53901 if $CXX conftest.h >/dev/null 2>&1
53902 then
53903 wx_cv_gcc_pch_bug=
53904
53905 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
53906 then
53907 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
53908 grep awidetest >/dev/null
53909 then
53910 wx_cv_gcc_pch_bug=no
53911 else
53912 wx_cv_gcc_pch_bug=yes
53913 fi
53914 fi
53915 fi
53916
53917 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
53918
53919 fi
53920 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
53921 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
53922
53923 if test "$wx_cv_gcc_pch_bug" = yes; then
53924 bk_use_pch=no
53925 fi
53926 fi
53927
53928
53929
53930
53931 if test "x$BAKEFILE_HOST" = "x"; then
53932 if test "x${host}" = "x" ; then
53933 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
53934 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
53935 { (exit 1); exit 1; }; }
53936 fi
53937
53938 BAKEFILE_HOST="${host}"
53939 fi
53940
53941 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
53942
53943 if test -n "$ac_tool_prefix"; then
53944 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
53945 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
53946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53948 if test "${ac_cv_prog_RANLIB+set}" = set; then
53949 echo $ECHO_N "(cached) $ECHO_C" >&6
53950 else
53951 if test -n "$RANLIB"; then
53952 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
53953 else
53954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53955 for as_dir in $PATH
53956 do
53957 IFS=$as_save_IFS
53958 test -z "$as_dir" && as_dir=.
53959 for ac_exec_ext in '' $ac_executable_extensions; do
53960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
53961 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
53962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53963 break 2
53964 fi
53965 done
53966 done
53967 IFS=$as_save_IFS
53968
53969 fi
53970 fi
53971 RANLIB=$ac_cv_prog_RANLIB
53972 if test -n "$RANLIB"; then
53973 { echo "$as_me:$LINENO: result: $RANLIB" >&5
53974 echo "${ECHO_T}$RANLIB" >&6; }
53975 else
53976 { echo "$as_me:$LINENO: result: no" >&5
53977 echo "${ECHO_T}no" >&6; }
53978 fi
53979
53980
53981 fi
53982 if test -z "$ac_cv_prog_RANLIB"; then
53983 ac_ct_RANLIB=$RANLIB
53984 # Extract the first word of "ranlib", so it can be a program name with args.
53985 set dummy ranlib; ac_word=$2
53986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53988 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
53989 echo $ECHO_N "(cached) $ECHO_C" >&6
53990 else
53991 if test -n "$ac_ct_RANLIB"; then
53992 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
53993 else
53994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53995 for as_dir in $PATH
53996 do
53997 IFS=$as_save_IFS
53998 test -z "$as_dir" && as_dir=.
53999 for ac_exec_ext in '' $ac_executable_extensions; do
54000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54001 ac_cv_prog_ac_ct_RANLIB="ranlib"
54002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54003 break 2
54004 fi
54005 done
54006 done
54007 IFS=$as_save_IFS
54008
54009 fi
54010 fi
54011 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
54012 if test -n "$ac_ct_RANLIB"; then
54013 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
54014 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
54015 else
54016 { echo "$as_me:$LINENO: result: no" >&5
54017 echo "${ECHO_T}no" >&6; }
54018 fi
54019
54020 if test "x$ac_ct_RANLIB" = x; then
54021 RANLIB=":"
54022 else
54023 case $cross_compiling:$ac_tool_warned in
54024 yes:)
54025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54026 whose name does not start with the host triplet. If you think this
54027 configuration is useful to you, please write to autoconf@gnu.org." >&5
54028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54029 whose name does not start with the host triplet. If you think this
54030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54031 ac_tool_warned=yes ;;
54032 esac
54033 RANLIB=$ac_ct_RANLIB
54034 fi
54035 else
54036 RANLIB="$ac_cv_prog_RANLIB"
54037 fi
54038
54039 # Find a good install program. We prefer a C program (faster),
54040 # so one script is as good as another. But avoid the broken or
54041 # incompatible versions:
54042 # SysV /etc/install, /usr/sbin/install
54043 # SunOS /usr/etc/install
54044 # IRIX /sbin/install
54045 # AIX /bin/install
54046 # AmigaOS /C/install, which installs bootblocks on floppy discs
54047 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
54048 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
54049 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
54050 # OS/2's system install, which has a completely different semantic
54051 # ./install, which can be erroneously created by make from ./install.sh.
54052 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
54053 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
54054 if test -z "$INSTALL"; then
54055 if test "${ac_cv_path_install+set}" = set; then
54056 echo $ECHO_N "(cached) $ECHO_C" >&6
54057 else
54058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54059 for as_dir in $PATH
54060 do
54061 IFS=$as_save_IFS
54062 test -z "$as_dir" && as_dir=.
54063 # Account for people who put trailing slashes in PATH elements.
54064 case $as_dir/ in
54065 ./ | .// | /cC/* | \
54066 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
54067 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
54068 /usr/ucb/* ) ;;
54069 *)
54070 # OSF1 and SCO ODT 3.0 have their own names for install.
54071 # Don't use installbsd from OSF since it installs stuff as root
54072 # by default.
54073 for ac_prog in ginstall scoinst install; do
54074 for ac_exec_ext in '' $ac_executable_extensions; do
54075 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
54076 if test $ac_prog = install &&
54077 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
54078 # AIX install. It has an incompatible calling convention.
54079 :
54080 elif test $ac_prog = install &&
54081 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
54082 # program-specific install script used by HP pwplus--don't use.
54083 :
54084 else
54085 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
54086 break 3
54087 fi
54088 fi
54089 done
54090 done
54091 ;;
54092 esac
54093 done
54094 IFS=$as_save_IFS
54095
54096
54097 fi
54098 if test "${ac_cv_path_install+set}" = set; then
54099 INSTALL=$ac_cv_path_install
54100 else
54101 # As a last resort, use the slow shell script. Don't cache a
54102 # value for INSTALL within a source directory, because that will
54103 # break other packages using the cache if that directory is
54104 # removed, or if the value is a relative name.
54105 INSTALL=$ac_install_sh
54106 fi
54107 fi
54108 { echo "$as_me:$LINENO: result: $INSTALL" >&5
54109 echo "${ECHO_T}$INSTALL" >&6; }
54110
54111 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
54112 # It thinks the first close brace ends the variable substitution.
54113 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
54114
54115 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
54116
54117 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
54118
54119 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
54120 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
54121 LN_S=$as_ln_s
54122 if test "$LN_S" = "ln -s"; then
54123 { echo "$as_me:$LINENO: result: yes" >&5
54124 echo "${ECHO_T}yes" >&6; }
54125 else
54126 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
54127 echo "${ECHO_T}no, using $LN_S" >&6; }
54128 fi
54129
54130
54131 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
54132 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
54133 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
54134 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
54135 echo $ECHO_N "(cached) $ECHO_C" >&6
54136 else
54137 cat >conftest.make <<\_ACEOF
54138 SHELL = /bin/sh
54139 all:
54140 @echo '@@@%%%=$(MAKE)=@@@%%%'
54141 _ACEOF
54142 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
54143 case `${MAKE-make} -f conftest.make 2>/dev/null` in
54144 *@@@%%%=?*=@@@%%%*)
54145 eval ac_cv_prog_make_${ac_make}_set=yes;;
54146 *)
54147 eval ac_cv_prog_make_${ac_make}_set=no;;
54148 esac
54149 rm -f conftest.make
54150 fi
54151 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
54152 { echo "$as_me:$LINENO: result: yes" >&5
54153 echo "${ECHO_T}yes" >&6; }
54154 SET_MAKE=
54155 else
54156 { echo "$as_me:$LINENO: result: no" >&5
54157 echo "${ECHO_T}no" >&6; }
54158 SET_MAKE="MAKE=${MAKE-make}"
54159 fi
54160
54161
54162
54163 if test "x$SUNCXX" = "xyes"; then
54164 AR=${AR:-"$CXX"}
54165
54166 AROPTIONS=${AROPTIONS:-"-xar -o"}
54167 else
54168 if test -n "$ac_tool_prefix"; then
54169 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
54170 set dummy ${ac_tool_prefix}ar; ac_word=$2
54171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54173 if test "${ac_cv_prog_AR+set}" = set; then
54174 echo $ECHO_N "(cached) $ECHO_C" >&6
54175 else
54176 if test -n "$AR"; then
54177 ac_cv_prog_AR="$AR" # Let the user override the test.
54178 else
54179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54180 for as_dir in $PATH
54181 do
54182 IFS=$as_save_IFS
54183 test -z "$as_dir" && as_dir=.
54184 for ac_exec_ext in '' $ac_executable_extensions; do
54185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54186 ac_cv_prog_AR="${ac_tool_prefix}ar"
54187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54188 break 2
54189 fi
54190 done
54191 done
54192 IFS=$as_save_IFS
54193
54194 fi
54195 fi
54196 AR=$ac_cv_prog_AR
54197 if test -n "$AR"; then
54198 { echo "$as_me:$LINENO: result: $AR" >&5
54199 echo "${ECHO_T}$AR" >&6; }
54200 else
54201 { echo "$as_me:$LINENO: result: no" >&5
54202 echo "${ECHO_T}no" >&6; }
54203 fi
54204
54205
54206 fi
54207 if test -z "$ac_cv_prog_AR"; then
54208 ac_ct_AR=$AR
54209 # Extract the first word of "ar", so it can be a program name with args.
54210 set dummy ar; ac_word=$2
54211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54213 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
54214 echo $ECHO_N "(cached) $ECHO_C" >&6
54215 else
54216 if test -n "$ac_ct_AR"; then
54217 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
54218 else
54219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54220 for as_dir in $PATH
54221 do
54222 IFS=$as_save_IFS
54223 test -z "$as_dir" && as_dir=.
54224 for ac_exec_ext in '' $ac_executable_extensions; do
54225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54226 ac_cv_prog_ac_ct_AR="ar"
54227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54228 break 2
54229 fi
54230 done
54231 done
54232 IFS=$as_save_IFS
54233
54234 fi
54235 fi
54236 ac_ct_AR=$ac_cv_prog_ac_ct_AR
54237 if test -n "$ac_ct_AR"; then
54238 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
54239 echo "${ECHO_T}$ac_ct_AR" >&6; }
54240 else
54241 { echo "$as_me:$LINENO: result: no" >&5
54242 echo "${ECHO_T}no" >&6; }
54243 fi
54244
54245 if test "x$ac_ct_AR" = x; then
54246 AR="ar"
54247 else
54248 case $cross_compiling:$ac_tool_warned in
54249 yes:)
54250 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54251 whose name does not start with the host triplet. If you think this
54252 configuration is useful to you, please write to autoconf@gnu.org." >&5
54253 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54254 whose name does not start with the host triplet. If you think this
54255 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54256 ac_tool_warned=yes ;;
54257 esac
54258 AR=$ac_ct_AR
54259 fi
54260 else
54261 AR="$ac_cv_prog_AR"
54262 fi
54263
54264 AROPTIONS=rcu
54265 fi
54266
54267
54268 if test -n "$ac_tool_prefix"; then
54269 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
54270 set dummy ${ac_tool_prefix}strip; ac_word=$2
54271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54273 if test "${ac_cv_prog_STRIP+set}" = set; then
54274 echo $ECHO_N "(cached) $ECHO_C" >&6
54275 else
54276 if test -n "$STRIP"; then
54277 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
54278 else
54279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54280 for as_dir in $PATH
54281 do
54282 IFS=$as_save_IFS
54283 test -z "$as_dir" && as_dir=.
54284 for ac_exec_ext in '' $ac_executable_extensions; do
54285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54286 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
54287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54288 break 2
54289 fi
54290 done
54291 done
54292 IFS=$as_save_IFS
54293
54294 fi
54295 fi
54296 STRIP=$ac_cv_prog_STRIP
54297 if test -n "$STRIP"; then
54298 { echo "$as_me:$LINENO: result: $STRIP" >&5
54299 echo "${ECHO_T}$STRIP" >&6; }
54300 else
54301 { echo "$as_me:$LINENO: result: no" >&5
54302 echo "${ECHO_T}no" >&6; }
54303 fi
54304
54305
54306 fi
54307 if test -z "$ac_cv_prog_STRIP"; then
54308 ac_ct_STRIP=$STRIP
54309 # Extract the first word of "strip", so it can be a program name with args.
54310 set dummy strip; ac_word=$2
54311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54313 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
54314 echo $ECHO_N "(cached) $ECHO_C" >&6
54315 else
54316 if test -n "$ac_ct_STRIP"; then
54317 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
54318 else
54319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54320 for as_dir in $PATH
54321 do
54322 IFS=$as_save_IFS
54323 test -z "$as_dir" && as_dir=.
54324 for ac_exec_ext in '' $ac_executable_extensions; do
54325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54326 ac_cv_prog_ac_ct_STRIP="strip"
54327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54328 break 2
54329 fi
54330 done
54331 done
54332 IFS=$as_save_IFS
54333
54334 fi
54335 fi
54336 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
54337 if test -n "$ac_ct_STRIP"; then
54338 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
54339 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
54340 else
54341 { echo "$as_me:$LINENO: result: no" >&5
54342 echo "${ECHO_T}no" >&6; }
54343 fi
54344
54345 if test "x$ac_ct_STRIP" = x; then
54346 STRIP=":"
54347 else
54348 case $cross_compiling:$ac_tool_warned in
54349 yes:)
54350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54351 whose name does not start with the host triplet. If you think this
54352 configuration is useful to you, please write to autoconf@gnu.org." >&5
54353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54354 whose name does not start with the host triplet. If you think this
54355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54356 ac_tool_warned=yes ;;
54357 esac
54358 STRIP=$ac_ct_STRIP
54359 fi
54360 else
54361 STRIP="$ac_cv_prog_STRIP"
54362 fi
54363
54364 if test -n "$ac_tool_prefix"; then
54365 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
54366 set dummy ${ac_tool_prefix}nm; ac_word=$2
54367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54369 if test "${ac_cv_prog_NM+set}" = set; then
54370 echo $ECHO_N "(cached) $ECHO_C" >&6
54371 else
54372 if test -n "$NM"; then
54373 ac_cv_prog_NM="$NM" # Let the user override the test.
54374 else
54375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54376 for as_dir in $PATH
54377 do
54378 IFS=$as_save_IFS
54379 test -z "$as_dir" && as_dir=.
54380 for ac_exec_ext in '' $ac_executable_extensions; do
54381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54382 ac_cv_prog_NM="${ac_tool_prefix}nm"
54383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54384 break 2
54385 fi
54386 done
54387 done
54388 IFS=$as_save_IFS
54389
54390 fi
54391 fi
54392 NM=$ac_cv_prog_NM
54393 if test -n "$NM"; then
54394 { echo "$as_me:$LINENO: result: $NM" >&5
54395 echo "${ECHO_T}$NM" >&6; }
54396 else
54397 { echo "$as_me:$LINENO: result: no" >&5
54398 echo "${ECHO_T}no" >&6; }
54399 fi
54400
54401
54402 fi
54403 if test -z "$ac_cv_prog_NM"; then
54404 ac_ct_NM=$NM
54405 # Extract the first word of "nm", so it can be a program name with args.
54406 set dummy nm; ac_word=$2
54407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54409 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
54410 echo $ECHO_N "(cached) $ECHO_C" >&6
54411 else
54412 if test -n "$ac_ct_NM"; then
54413 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
54414 else
54415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54416 for as_dir in $PATH
54417 do
54418 IFS=$as_save_IFS
54419 test -z "$as_dir" && as_dir=.
54420 for ac_exec_ext in '' $ac_executable_extensions; do
54421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54422 ac_cv_prog_ac_ct_NM="nm"
54423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54424 break 2
54425 fi
54426 done
54427 done
54428 IFS=$as_save_IFS
54429
54430 fi
54431 fi
54432 ac_ct_NM=$ac_cv_prog_ac_ct_NM
54433 if test -n "$ac_ct_NM"; then
54434 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
54435 echo "${ECHO_T}$ac_ct_NM" >&6; }
54436 else
54437 { echo "$as_me:$LINENO: result: no" >&5
54438 echo "${ECHO_T}no" >&6; }
54439 fi
54440
54441 if test "x$ac_ct_NM" = x; then
54442 NM=":"
54443 else
54444 case $cross_compiling:$ac_tool_warned in
54445 yes:)
54446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54447 whose name does not start with the host triplet. If you think this
54448 configuration is useful to you, please write to autoconf@gnu.org." >&5
54449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54450 whose name does not start with the host triplet. If you think this
54451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54452 ac_tool_warned=yes ;;
54453 esac
54454 NM=$ac_ct_NM
54455 fi
54456 else
54457 NM="$ac_cv_prog_NM"
54458 fi
54459
54460
54461 case ${BAKEFILE_HOST} in
54462 *-hp-hpux* )
54463 INSTALL_DIR="mkdir -p"
54464 ;;
54465 * )
54466 INSTALL_DIR='$(INSTALL) -d'
54467 ;;
54468 esac
54469
54470
54471 LDFLAGS_GUI=
54472 case ${BAKEFILE_HOST} in
54473 *-*-cygwin* | *-*-mingw32* )
54474 LDFLAGS_GUI="-mwindows"
54475 esac
54476
54477
54478 fi
54479
54480 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
54481 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
54482 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
54483 echo $ECHO_N "(cached) $ECHO_C" >&6
54484 else
54485
54486 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
54487 egrep -s GNU > /dev/null); then
54488 bakefile_cv_prog_makeisgnu="yes"
54489 else
54490 bakefile_cv_prog_makeisgnu="no"
54491 fi
54492
54493 fi
54494 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
54495 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
54496
54497 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
54498 IF_GNU_MAKE=""
54499 else
54500 IF_GNU_MAKE="#"
54501 fi
54502
54503
54504
54505 PLATFORM_UNIX=0
54506 PLATFORM_WIN32=0
54507 PLATFORM_MSDOS=0
54508 PLATFORM_MAC=0
54509 PLATFORM_MACOS=0
54510 PLATFORM_MACOSX=0
54511 PLATFORM_OS2=0
54512 PLATFORM_BEOS=0
54513
54514 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
54515 case "${BAKEFILE_HOST}" in
54516 *-*-mingw32* )
54517 PLATFORM_WIN32=1
54518 ;;
54519 *-pc-msdosdjgpp )
54520 PLATFORM_MSDOS=1
54521 ;;
54522 *-pc-os2_emx | *-pc-os2-emx )
54523 PLATFORM_OS2=1
54524 ;;
54525 *-*-darwin* )
54526 PLATFORM_MAC=1
54527 PLATFORM_MACOSX=1
54528 ;;
54529 *-*-beos* )
54530 PLATFORM_BEOS=1
54531 ;;
54532 powerpc-apple-macos* )
54533 PLATFORM_MAC=1
54534 PLATFORM_MACOS=1
54535 ;;
54536 * )
54537 PLATFORM_UNIX=1
54538 ;;
54539 esac
54540 else
54541 case "$BAKEFILE_FORCE_PLATFORM" in
54542 win32 )
54543 PLATFORM_WIN32=1
54544 ;;
54545 msdos )
54546 PLATFORM_MSDOS=1
54547 ;;
54548 os2 )
54549 PLATFORM_OS2=1
54550 ;;
54551 darwin )
54552 PLATFORM_MAC=1
54553 PLATFORM_MACOSX=1
54554 ;;
54555 unix )
54556 PLATFORM_UNIX=1
54557 ;;
54558 beos )
54559 PLATFORM_BEOS=1
54560 ;;
54561 * )
54562 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
54563 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
54564 { (exit 1); exit 1; }; }
54565 ;;
54566 esac
54567 fi
54568
54569
54570
54571
54572
54573
54574
54575
54576
54577
54578
54579 # Check whether --enable-omf was given.
54580 if test "${enable_omf+set}" = set; then
54581 enableval=$enable_omf; bk_os2_use_omf="$enableval"
54582 fi
54583
54584
54585 case "${BAKEFILE_HOST}" in
54586 *-*-darwin* )
54587 if test "x$GCC" = "xyes"; then
54588 CFLAGS="$CFLAGS -fno-common"
54589 CXXFLAGS="$CXXFLAGS -fno-common"
54590 fi
54591 if test "x$XLCC" = "xyes"; then
54592 CFLAGS="$CFLAGS -qnocommon"
54593 CXXFLAGS="$CXXFLAGS -qnocommon"
54594 fi
54595 ;;
54596
54597 *-pc-os2_emx | *-pc-os2-emx )
54598 if test "x$bk_os2_use_omf" = "xyes" ; then
54599 AR=emxomfar
54600 RANLIB=:
54601 LDFLAGS="-Zomf $LDFLAGS"
54602 CFLAGS="-Zomf $CFLAGS"
54603 CXXFLAGS="-Zomf $CXXFLAGS"
54604 OS2_LIBEXT="lib"
54605 else
54606 OS2_LIBEXT="a"
54607 fi
54608 ;;
54609
54610 i*86-*-beos* )
54611 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
54612 ;;
54613 esac
54614
54615
54616 SO_SUFFIX="so"
54617 SO_SUFFIX_MODULE="so"
54618 EXEEXT=""
54619 LIBPREFIX="lib"
54620 LIBEXT=".a"
54621 DLLPREFIX="lib"
54622 DLLPREFIX_MODULE=""
54623 DLLIMP_SUFFIX=""
54624 dlldir="$libdir"
54625
54626 case "${BAKEFILE_HOST}" in
54627 *-hp-hpux* )
54628 SO_SUFFIX="sl"
54629 SO_SUFFIX_MODULE="sl"
54630 ;;
54631 *-*-aix* )
54632 SO_SUFFIX="a"
54633 SO_SUFFIX_MODULE="a"
54634 ;;
54635 *-*-cygwin* )
54636 SO_SUFFIX="dll"
54637 SO_SUFFIX_MODULE="dll"
54638 DLLIMP_SUFFIX="dll.a"
54639 EXEEXT=".exe"
54640 DLLPREFIX="cyg"
54641 dlldir="$bindir"
54642 ;;
54643 *-*-mingw32* )
54644 SO_SUFFIX="dll"
54645 SO_SUFFIX_MODULE="dll"
54646 DLLIMP_SUFFIX="dll.a"
54647 EXEEXT=".exe"
54648 DLLPREFIX=""
54649 dlldir="$bindir"
54650 ;;
54651 *-pc-msdosdjgpp )
54652 EXEEXT=".exe"
54653 DLLPREFIX=""
54654 dlldir="$bindir"
54655 ;;
54656 *-pc-os2_emx | *-pc-os2-emx )
54657 SO_SUFFIX="dll"
54658 SO_SUFFIX_MODULE="dll"
54659 DLLIMP_SUFFIX=$OS2_LIBEXT
54660 EXEEXT=".exe"
54661 DLLPREFIX=""
54662 LIBPREFIX=""
54663 LIBEXT=".$OS2_LIBEXT"
54664 dlldir="$bindir"
54665 ;;
54666 *-*-darwin* )
54667 SO_SUFFIX="dylib"
54668 SO_SUFFIX_MODULE="bundle"
54669 ;;
54670 esac
54671
54672 if test "x$DLLIMP_SUFFIX" = "x" ; then
54673 DLLIMP_SUFFIX="$SO_SUFFIX"
54674 fi
54675
54676
54677
54678
54679
54680
54681
54682
54683
54684
54685
54686
54687 PIC_FLAG=""
54688 if test "x$GCC" = "xyes"; then
54689 PIC_FLAG="-fPIC"
54690 fi
54691
54692 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
54693 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
54694 WINDOWS_IMPLIB=0
54695
54696 case "${BAKEFILE_HOST}" in
54697 *-hp-hpux* )
54698 if test "x$GCC" != "xyes"; then
54699 LDFLAGS="$LDFLAGS -L/usr/lib"
54700
54701 SHARED_LD_CC="${CC} -b -o"
54702 SHARED_LD_CXX="${CXX} -b -o"
54703 PIC_FLAG="+Z"
54704 fi
54705 ;;
54706
54707 *-*-linux* )
54708 if test "x$GCC" != "xyes"; then
54709 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
54710 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
54711 if test "${bakefile_cv_prog_icc+set}" = set; then
54712 echo $ECHO_N "(cached) $ECHO_C" >&6
54713 else
54714
54715 cat >conftest.$ac_ext <<_ACEOF
54716 /* confdefs.h. */
54717 _ACEOF
54718 cat confdefs.h >>conftest.$ac_ext
54719 cat >>conftest.$ac_ext <<_ACEOF
54720 /* end confdefs.h. */
54721
54722 int
54723 main ()
54724 {
54725
54726 #ifndef __INTEL_COMPILER
54727 This is not ICC
54728 #endif
54729
54730 ;
54731 return 0;
54732 }
54733 _ACEOF
54734 rm -f conftest.$ac_objext
54735 if { (ac_try="$ac_compile"
54736 case "(($ac_try" in
54737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54738 *) ac_try_echo=$ac_try;;
54739 esac
54740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54741 (eval "$ac_compile") 2>conftest.er1
54742 ac_status=$?
54743 grep -v '^ *+' conftest.er1 >conftest.err
54744 rm -f conftest.er1
54745 cat conftest.err >&5
54746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54747 (exit $ac_status); } &&
54748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54749 { (case "(($ac_try" in
54750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54751 *) ac_try_echo=$ac_try;;
54752 esac
54753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54754 (eval "$ac_try") 2>&5
54755 ac_status=$?
54756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54757 (exit $ac_status); }; } &&
54758 { ac_try='test -s conftest.$ac_objext'
54759 { (case "(($ac_try" in
54760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54761 *) ac_try_echo=$ac_try;;
54762 esac
54763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54764 (eval "$ac_try") 2>&5
54765 ac_status=$?
54766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54767 (exit $ac_status); }; }; then
54768 bakefile_cv_prog_icc=yes
54769 else
54770 echo "$as_me: failed program was:" >&5
54771 sed 's/^/| /' conftest.$ac_ext >&5
54772
54773 bakefile_cv_prog_icc=no
54774
54775 fi
54776
54777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54778
54779 fi
54780 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
54781 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
54782 if test "$bakefile_cv_prog_icc" = "yes"; then
54783 PIC_FLAG="-KPIC"
54784 fi
54785 fi
54786 ;;
54787
54788 *-*-solaris2* )
54789 if test "x$GCC" != xyes ; then
54790 SHARED_LD_CC="${CC} -G -o"
54791 SHARED_LD_CXX="${CXX} -G -o"
54792 PIC_FLAG="-KPIC"
54793 fi
54794 ;;
54795
54796 *-*-darwin* )
54797
54798 D='$'
54799 cat <<EOF >shared-ld-sh
54800 #!/bin/sh
54801 #-----------------------------------------------------------------------------
54802 #-- Name: distrib/mac/shared-ld-sh
54803 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
54804 #-- Author: Gilles Depeyrot
54805 #-- Copyright: (c) 2002 Gilles Depeyrot
54806 #-- Licence: any use permitted
54807 #-----------------------------------------------------------------------------
54808
54809 verbose=0
54810 args=""
54811 objects=""
54812 linking_flag="-dynamiclib"
54813 ldargs="-r -keep_private_externs -nostdlib"
54814
54815 while test ${D}# -gt 0; do
54816 case ${D}1 in
54817
54818 -v)
54819 verbose=1
54820 ;;
54821
54822 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
54823 # collect these options and values
54824 args="${D}{args} ${D}1 ${D}2"
54825 shift
54826 ;;
54827
54828 -s|-Wl,*)
54829 # collect these load args
54830 ldargs="${D}{ldargs} ${D}1"
54831 ;;
54832
54833 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
54834 # collect these options
54835 args="${D}{args} ${D}1"
54836 ;;
54837
54838 -dynamiclib|-bundle)
54839 linking_flag="${D}1"
54840 ;;
54841
54842 -*)
54843 echo "shared-ld: unhandled option '${D}1'"
54844 exit 1
54845 ;;
54846
54847 *.o | *.a | *.dylib)
54848 # collect object files
54849 objects="${D}{objects} ${D}1"
54850 ;;
54851
54852 *)
54853 echo "shared-ld: unhandled argument '${D}1'"
54854 exit 1
54855 ;;
54856
54857 esac
54858 shift
54859 done
54860
54861 status=0
54862
54863 #
54864 # Link one module containing all the others
54865 #
54866 if test ${D}{verbose} = 1; then
54867 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
54868 fi
54869 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
54870 status=${D}?
54871
54872 #
54873 # Link the shared library from the single module created, but only if the
54874 # previous command didn't fail:
54875 #
54876 if test ${D}{status} = 0; then
54877 if test ${D}{verbose} = 1; then
54878 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
54879 fi
54880 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
54881 status=${D}?
54882 fi
54883
54884 #
54885 # Remove intermediate module
54886 #
54887 rm -f master.${D}${D}.o
54888
54889 exit ${D}status
54890 EOF
54891
54892 chmod +x shared-ld-sh
54893
54894 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
54895 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
54896
54897
54898 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
54899 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
54900 if test "${bakefile_cv_gcc31+set}" = set; then
54901 echo $ECHO_N "(cached) $ECHO_C" >&6
54902 else
54903
54904 cat >conftest.$ac_ext <<_ACEOF
54905 /* confdefs.h. */
54906 _ACEOF
54907 cat confdefs.h >>conftest.$ac_ext
54908 cat >>conftest.$ac_ext <<_ACEOF
54909 /* end confdefs.h. */
54910
54911 int
54912 main ()
54913 {
54914
54915 #if (__GNUC__ < 3) || \
54916 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
54917 This is old gcc
54918 #endif
54919
54920 ;
54921 return 0;
54922 }
54923 _ACEOF
54924 rm -f conftest.$ac_objext
54925 if { (ac_try="$ac_compile"
54926 case "(($ac_try" in
54927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54928 *) ac_try_echo=$ac_try;;
54929 esac
54930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54931 (eval "$ac_compile") 2>conftest.er1
54932 ac_status=$?
54933 grep -v '^ *+' conftest.er1 >conftest.err
54934 rm -f conftest.er1
54935 cat conftest.err >&5
54936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54937 (exit $ac_status); } &&
54938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
54939 { (case "(($ac_try" in
54940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54941 *) ac_try_echo=$ac_try;;
54942 esac
54943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54944 (eval "$ac_try") 2>&5
54945 ac_status=$?
54946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54947 (exit $ac_status); }; } &&
54948 { ac_try='test -s conftest.$ac_objext'
54949 { (case "(($ac_try" in
54950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54951 *) ac_try_echo=$ac_try;;
54952 esac
54953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54954 (eval "$ac_try") 2>&5
54955 ac_status=$?
54956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54957 (exit $ac_status); }; }; then
54958
54959 bakefile_cv_gcc31=yes
54960
54961 else
54962 echo "$as_me: failed program was:" >&5
54963 sed 's/^/| /' conftest.$ac_ext >&5
54964
54965
54966 bakefile_cv_gcc31=no
54967
54968
54969 fi
54970
54971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54972
54973 fi
54974 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
54975 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
54976 if test "$bakefile_cv_gcc31" = "no"; then
54977 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
54978 SHARED_LD_CXX="$SHARED_LD_CC"
54979 else
54980 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
54981 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
54982 fi
54983
54984 if test "x$GCC" == "xyes"; then
54985 PIC_FLAG="-dynamic -fPIC"
54986 fi
54987 if test "x$XLCC" = "xyes"; then
54988 PIC_FLAG="-dynamic -DPIC"
54989 fi
54990 ;;
54991
54992 *-*-aix* )
54993 if test "x$GCC" = "xyes"; then
54994 PIC_FLAG=""
54995
54996 case "${BAKEFILE_HOST}" in
54997 *-*-aix5* )
54998 LD_EXPFULL="-Wl,-bexpfull"
54999 ;;
55000 esac
55001
55002 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
55003 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
55004 else
55005 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
55006 set dummy makeC++SharedLib; ac_word=$2
55007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55009 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
55010 echo $ECHO_N "(cached) $ECHO_C" >&6
55011 else
55012 if test -n "$AIX_CXX_LD"; then
55013 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
55014 else
55015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55016 for as_dir in $PATH
55017 do
55018 IFS=$as_save_IFS
55019 test -z "$as_dir" && as_dir=.
55020 for ac_exec_ext in '' $ac_executable_extensions; do
55021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55022 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
55023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55024 break 2
55025 fi
55026 done
55027 done
55028 IFS=$as_save_IFS
55029
55030 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
55031 fi
55032 fi
55033 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
55034 if test -n "$AIX_CXX_LD"; then
55035 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
55036 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
55037 else
55038 { echo "$as_me:$LINENO: result: no" >&5
55039 echo "${ECHO_T}no" >&6; }
55040 fi
55041
55042
55043 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
55044 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
55045 fi
55046 ;;
55047
55048 *-*-beos* )
55049 SHARED_LD_CC="${LD} -nostart -o"
55050 SHARED_LD_CXX="${LD} -nostart -o"
55051 ;;
55052
55053 *-*-irix* )
55054 if test "x$GCC" != "xyes"; then
55055 PIC_FLAG="-KPIC"
55056 fi
55057 ;;
55058
55059 *-*-cygwin* | *-*-mingw32* )
55060 PIC_FLAG=""
55061 SHARED_LD_CC="\$(CC) -shared -o"
55062 SHARED_LD_CXX="\$(CXX) -shared -o"
55063 WINDOWS_IMPLIB=1
55064 ;;
55065
55066 *-pc-os2_emx | *-pc-os2-emx )
55067 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55068 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55069 PIC_FLAG=""
55070
55071 D='$'
55072 cat <<EOF >dllar.sh
55073 #!/bin/sh
55074 #
55075 # dllar - a tool to build both a .dll and an .a file
55076 # from a set of object (.o) files for EMX/OS2.
55077 #
55078 # Written by Andrew Zabolotny, bit@freya.etu.ru
55079 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
55080 #
55081 # This script will accept a set of files on the command line.
55082 # All the public symbols from the .o files will be exported into
55083 # a .DEF file, then linker will be run (through gcc) against them to
55084 # build a shared library consisting of all given .o files. All libraries
55085 # (.a) will be first decompressed into component .o files then act as
55086 # described above. You can optionally give a description (-d "description")
55087 # which will be put into .DLL. To see the list of accepted options (as well
55088 # as command-line format) simply run this program without options. The .DLL
55089 # is built to be imported by name (there is no guarantee that new versions
55090 # of the library you build will have same ordinals for same symbols).
55091 #
55092 # dllar is free software; you can redistribute it and/or modify
55093 # it under the terms of the GNU General Public License as published by
55094 # the Free Software Foundation; either version 2, or (at your option)
55095 # any later version.
55096 #
55097 # dllar is distributed in the hope that it will be useful,
55098 # but WITHOUT ANY WARRANTY; without even the implied warranty of
55099 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55100 # GNU General Public License for more details.
55101 #
55102 # You should have received a copy of the GNU General Public License
55103 # along with dllar; see the file COPYING. If not, write to the Free
55104 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
55105 # 02111-1307, USA.
55106
55107 # To successfuly run this program you will need:
55108 # - Current drive should have LFN support (HPFS, ext2, network, etc)
55109 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
55110 # - gcc
55111 # (used to build the .dll)
55112 # - emxexp
55113 # (used to create .def file from .o files)
55114 # - emximp
55115 # (used to create .a file from .def file)
55116 # - GNU text utilites (cat, sort, uniq)
55117 # used to process emxexp output
55118 # - GNU file utilities (mv, rm)
55119 # - GNU sed
55120 # - lxlite (optional, see flag below)
55121 # (used for general .dll cleanup)
55122 #
55123
55124 flag_USE_LXLITE=1;
55125
55126 #
55127 # helper functions
55128 # basnam, variant of basename, which does _not_ remove the path, _iff_
55129 # second argument (suffix to remove) is given
55130 basnam(){
55131 case ${D}# in
55132 1)
55133 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
55134 ;;
55135 2)
55136 echo ${D}1 | sed 's/'${D}2'${D}//'
55137 ;;
55138 *)
55139 echo "error in basnam ${D}*"
55140 exit 8
55141 ;;
55142 esac
55143 }
55144
55145 # Cleanup temporary files and output
55146 CleanUp() {
55147 cd ${D}curDir
55148 for i in ${D}inputFiles ; do
55149 case ${D}i in
55150 *!)
55151 rm -rf \`basnam ${D}i !\`
55152 ;;
55153 *)
55154 ;;
55155 esac
55156 done
55157
55158 # Kill result in case of failure as there is just to many stupid make/nmake
55159 # things out there which doesn't do this.
55160 if [ ${D}# -eq 0 ]; then
55161 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
55162 fi
55163 }
55164
55165 # Print usage and exit script with rc=1.
55166 PrintHelp() {
55167 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
55168 echo ' [-name-mangler-script script.sh]'
55169 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
55170 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
55171 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
55172 echo ' [*.o] [*.a]'
55173 echo '*> "output_file" should have no extension.'
55174 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
55175 echo ' The import library name is derived from this and is set to "name".a,'
55176 echo ' unless overridden by -import'
55177 echo '*> "importlib_name" should have no extension.'
55178 echo ' If it has the .o, or .a extension, it is automatically removed.'
55179 echo ' This name is used as the import library name and may be longer and'
55180 echo ' more descriptive than the DLL name which has to follow the old '
55181 echo ' 8.3 convention of FAT.'
55182 echo '*> "script.sh may be given to override the output_file name by a'
55183 echo ' different name. It is mainly useful if the regular make process'
55184 echo ' of some package does not take into account OS/2 restriction of'
55185 echo ' DLL name lengths. It takes the importlib name as input and is'
55186 echo ' supposed to procude a shorter name as output. The script should'
55187 echo ' expect to get importlib_name without extension and should produce'
55188 echo ' a (max.) 8 letter name without extension.'
55189 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
55190 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
55191 echo ' These flags will be put at the start of GCC command line.'
55192 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
55193 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
55194 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
55195 echo ' If the last character of a symbol is "*", all symbols beginning'
55196 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
55197 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
55198 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
55199 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
55200 echo ' C runtime DLLs.'
55201 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
55202 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
55203 echo ' unchanged to GCC at the end of command line.'
55204 echo '*> If you create a DLL from a library and you do not specify -o,'
55205 echo ' the basename for DLL and import library will be set to library name,'
55206 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
55207 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
55208 echo ' library will be renamed into gcc_s.a.'
55209 echo '--------'
55210 echo 'Example:'
55211 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
55212 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
55213 CleanUp
55214 exit 1
55215 }
55216
55217 # Execute a command.
55218 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
55219 # @Uses Whatever CleanUp() uses.
55220 doCommand() {
55221 echo "${D}*"
55222 eval ${D}*
55223 rcCmd=${D}?
55224
55225 if [ ${D}rcCmd -ne 0 ]; then
55226 echo "command failed, exit code="${D}rcCmd
55227 CleanUp
55228 exit ${D}rcCmd
55229 fi
55230 }
55231
55232 # main routine
55233 # setup globals
55234 cmdLine=${D}*
55235 outFile=""
55236 outimpFile=""
55237 inputFiles=""
55238 renameScript=""
55239 description=""
55240 CC=gcc.exe
55241 CFLAGS="-s -Zcrtdll"
55242 EXTRA_CFLAGS=""
55243 EXPORT_BY_ORDINALS=0
55244 exclude_symbols=""
55245 library_flags=""
55246 curDir=\`pwd\`
55247 curDirS=curDir
55248 case ${D}curDirS in
55249 */)
55250 ;;
55251 *)
55252 curDirS=${D}{curDirS}"/"
55253 ;;
55254 esac
55255 # Parse commandline
55256 libsToLink=0
55257 omfLinking=0
55258 while [ ${D}1 ]; do
55259 case ${D}1 in
55260 -ord*)
55261 EXPORT_BY_ORDINALS=1;
55262 ;;
55263 -o*)
55264 shift
55265 outFile=${D}1
55266 ;;
55267 -i*)
55268 shift
55269 outimpFile=${D}1
55270 ;;
55271 -name-mangler-script)
55272 shift
55273 renameScript=${D}1
55274 ;;
55275 -d*)
55276 shift
55277 description=${D}1
55278 ;;
55279 -f*)
55280 shift
55281 CFLAGS=${D}1
55282 ;;
55283 -c*)
55284 shift
55285 CC=${D}1
55286 ;;
55287 -h*)
55288 PrintHelp
55289 ;;
55290 -ex*)
55291 shift
55292 exclude_symbols=${D}{exclude_symbols}${D}1" "
55293 ;;
55294 -libf*)
55295 shift
55296 library_flags=${D}{library_flags}${D}1" "
55297 ;;
55298 -nocrt*)
55299 CFLAGS="-s"
55300 ;;
55301 -nolxl*)
55302 flag_USE_LXLITE=0
55303 ;;
55304 -* | /*)
55305 case ${D}1 in
55306 -L* | -l*)
55307 libsToLink=1
55308 ;;
55309 -Zomf)
55310 omfLinking=1
55311 ;;
55312 *)
55313 ;;
55314 esac
55315 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
55316 ;;
55317 *.dll)
55318 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
55319 if [ ${D}omfLinking -eq 1 ]; then
55320 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
55321 else
55322 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
55323 fi
55324 ;;
55325 *)
55326 found=0;
55327 if [ ${D}libsToLink -ne 0 ]; then
55328 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
55329 else
55330 for file in ${D}1 ; do
55331 if [ -f ${D}file ]; then
55332 inputFiles="${D}{inputFiles} ${D}file"
55333 found=1
55334 fi
55335 done
55336 if [ ${D}found -eq 0 ]; then
55337 echo "ERROR: No file(s) found: "${D}1
55338 exit 8
55339 fi
55340 fi
55341 ;;
55342 esac
55343 shift
55344 done # iterate cmdline words
55345
55346 #
55347 if [ -z "${D}inputFiles" ]; then
55348 echo "dllar: no input files"
55349 PrintHelp
55350 fi
55351
55352 # Now extract all .o files from .a files
55353 newInputFiles=""
55354 for file in ${D}inputFiles ; do
55355 case ${D}file in
55356 *.a | *.lib)
55357 case ${D}file in
55358 *.a)
55359 suffix=".a"
55360 AR="ar"
55361 ;;
55362 *.lib)
55363 suffix=".lib"
55364 AR="emxomfar"
55365 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
55366 ;;
55367 *)
55368 ;;
55369 esac
55370 dirname=\`basnam ${D}file ${D}suffix\`"_%"
55371 mkdir ${D}dirname
55372 if [ ${D}? -ne 0 ]; then
55373 echo "Failed to create subdirectory ./${D}dirname"
55374 CleanUp
55375 exit 8;
55376 fi
55377 # Append '!' to indicate archive
55378 newInputFiles="${D}newInputFiles ${D}{dirname}!"
55379 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
55380 cd ${D}curDir
55381 found=0;
55382 for subfile in ${D}dirname/*.o* ; do
55383 if [ -f ${D}subfile ]; then
55384 found=1
55385 if [ -s ${D}subfile ]; then
55386 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
55387 newInputFiles="${D}newInputFiles ${D}subfile"
55388 fi
55389 fi
55390 done
55391 if [ ${D}found -eq 0 ]; then
55392 echo "WARNING: there are no files in archive \\'${D}file\\'"
55393 fi
55394 ;;
55395 *)
55396 newInputFiles="${D}{newInputFiles} ${D}file"
55397 ;;
55398 esac
55399 done
55400 inputFiles="${D}newInputFiles"
55401
55402 # Output filename(s).
55403 do_backup=0;
55404 if [ -z ${D}outFile ]; then
55405 do_backup=1;
55406 set outFile ${D}inputFiles; outFile=${D}2
55407 fi
55408
55409 # If it is an archive, remove the '!' and the '_%' suffixes
55410 case ${D}outFile in
55411 *_%!)
55412 outFile=\`basnam ${D}outFile _%!\`
55413 ;;
55414 *)
55415 ;;
55416 esac
55417 case ${D}outFile in
55418 *.dll)
55419 outFile=\`basnam ${D}outFile .dll\`
55420 ;;
55421 *.DLL)
55422 outFile=\`basnam ${D}outFile .DLL\`
55423 ;;
55424 *.o)
55425 outFile=\`basnam ${D}outFile .o\`
55426 ;;
55427 *.obj)
55428 outFile=\`basnam ${D}outFile .obj\`
55429 ;;
55430 *.a)
55431 outFile=\`basnam ${D}outFile .a\`
55432 ;;
55433 *.lib)
55434 outFile=\`basnam ${D}outFile .lib\`
55435 ;;
55436 *)
55437 ;;
55438 esac
55439 case ${D}outimpFile in
55440 *.a)
55441 outimpFile=\`basnam ${D}outimpFile .a\`
55442 ;;
55443 *.lib)
55444 outimpFile=\`basnam ${D}outimpFile .lib\`
55445 ;;
55446 *)
55447 ;;
55448 esac
55449 if [ -z ${D}outimpFile ]; then
55450 outimpFile=${D}outFile
55451 fi
55452 defFile="${D}{outFile}.def"
55453 arcFile="${D}{outimpFile}.a"
55454 arcFile2="${D}{outimpFile}.lib"
55455
55456 #create ${D}dllFile as something matching 8.3 restrictions,
55457 if [ -z ${D}renameScript ] ; then
55458 dllFile="${D}outFile"
55459 else
55460 dllFile=\`${D}renameScript ${D}outimpFile\`
55461 fi
55462
55463 if [ ${D}do_backup -ne 0 ] ; then
55464 if [ -f ${D}arcFile ] ; then
55465 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
55466 fi
55467 if [ -f ${D}arcFile2 ] ; then
55468 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
55469 fi
55470 fi
55471
55472 # Extract public symbols from all the object files.
55473 tmpdefFile=${D}{defFile}_%
55474 rm -f ${D}tmpdefFile
55475 for file in ${D}inputFiles ; do
55476 case ${D}file in
55477 *!)
55478 ;;
55479 *)
55480 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
55481 ;;
55482 esac
55483 done
55484
55485 # Create the def file.
55486 rm -f ${D}defFile
55487 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
55488 dllFile="${D}{dllFile}.dll"
55489 if [ ! -z ${D}description ]; then
55490 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
55491 fi
55492 echo "EXPORTS" >> ${D}defFile
55493
55494 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
55495 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
55496
55497 # Checks if the export is ok or not.
55498 for word in ${D}exclude_symbols; do
55499 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
55500 mv ${D}{tmpdefFile}% ${D}tmpdefFile
55501 done
55502
55503
55504 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
55505 sed "=" < ${D}tmpdefFile | \\
55506 sed '
55507 N
55508 : loop
55509 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
55510 t loop
55511 ' > ${D}{tmpdefFile}%
55512 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
55513 else
55514 rm -f ${D}{tmpdefFile}%
55515 fi
55516 cat ${D}tmpdefFile >> ${D}defFile
55517 rm -f ${D}tmpdefFile
55518
55519 # Do linking, create implib, and apply lxlite.
55520 gccCmdl="";
55521 for file in ${D}inputFiles ; do
55522 case ${D}file in
55523 *!)
55524 ;;
55525 *)
55526 gccCmdl="${D}gccCmdl ${D}file"
55527 ;;
55528 esac
55529 done
55530 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
55531 touch "${D}{outFile}.dll"
55532
55533 doCommand "emximp -o ${D}arcFile ${D}defFile"
55534 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
55535 add_flags="";
55536 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
55537 add_flags="-ynd"
55538 fi
55539 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
55540 fi
55541 doCommand "emxomf -s -l ${D}arcFile"
55542
55543 # Successful exit.
55544 CleanUp 1
55545 exit 0
55546 EOF
55547
55548 chmod +x dllar.sh
55549 ;;
55550
55551 powerpc-apple-macos* | \
55552 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
55553 *-*-mirbsd* | \
55554 *-*-sunos4* | \
55555 *-*-osf* | \
55556 *-*-dgux5* | \
55557 *-*-sysv5* | \
55558 *-pc-msdosdjgpp )
55559 ;;
55560
55561 *)
55562 esac
55563
55564 if test "x$PIC_FLAG" != "x" ; then
55565 PIC_FLAG="$PIC_FLAG -DPIC"
55566 fi
55567
55568 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
55569 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
55570 fi
55571 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
55572 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
55573 fi
55574
55575
55576
55577
55578
55579
55580
55581
55582
55583 USE_SOVERSION=0
55584 USE_SOVERLINUX=0
55585 USE_SOVERSOLARIS=0
55586 USE_SOVERCYGWIN=0
55587 USE_SOSYMLINKS=0
55588 USE_MACVERSION=0
55589 SONAME_FLAG=
55590
55591 case "${BAKEFILE_HOST}" in
55592 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
55593 SONAME_FLAG="-Wl,-soname,"
55594 USE_SOVERSION=1
55595 USE_SOVERLINUX=1
55596 USE_SOSYMLINKS=1
55597 ;;
55598
55599 *-*-solaris2* )
55600 SONAME_FLAG="-h "
55601 USE_SOVERSION=1
55602 USE_SOVERSOLARIS=1
55603 USE_SOSYMLINKS=1
55604 ;;
55605
55606 *-*-darwin* )
55607 USE_MACVERSION=1
55608 USE_SOVERSION=1
55609 USE_SOSYMLINKS=1
55610 ;;
55611
55612 *-*-cygwin* )
55613 USE_SOVERSION=1
55614 USE_SOVERCYGWIN=1
55615 ;;
55616 esac
55617
55618
55619
55620
55621
55622
55623
55624
55625
55626
55627 # Check whether --enable-dependency-tracking was given.
55628 if test "${enable_dependency_tracking+set}" = set; then
55629 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
55630 fi
55631
55632
55633 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
55634 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
55635
55636 BK_DEPS=""
55637 if test "x$bk_use_trackdeps" = "xno" ; then
55638 DEPS_TRACKING=0
55639 { echo "$as_me:$LINENO: result: disabled" >&5
55640 echo "${ECHO_T}disabled" >&6; }
55641 else
55642 DEPS_TRACKING=1
55643
55644 if test "x$GCC" = "xyes"; then
55645 DEPSMODE=gcc
55646 case "${BAKEFILE_HOST}" in
55647 *-*-darwin* )
55648 DEPSFLAG="-no-cpp-precomp -MMD"
55649 ;;
55650 * )
55651 DEPSFLAG="-MMD"
55652 ;;
55653 esac
55654 { echo "$as_me:$LINENO: result: gcc" >&5
55655 echo "${ECHO_T}gcc" >&6; }
55656 elif test "x$MWCC" = "xyes"; then
55657 DEPSMODE=mwcc
55658 DEPSFLAG="-MM"
55659 { echo "$as_me:$LINENO: result: mwcc" >&5
55660 echo "${ECHO_T}mwcc" >&6; }
55661 elif test "x$SUNCC" = "xyes"; then
55662 DEPSMODE=unixcc
55663 DEPSFLAG="-xM1"
55664 { echo "$as_me:$LINENO: result: Sun cc" >&5
55665 echo "${ECHO_T}Sun cc" >&6; }
55666 elif test "x$SGICC" = "xyes"; then
55667 DEPSMODE=unixcc
55668 DEPSFLAG="-M"
55669 { echo "$as_me:$LINENO: result: SGI cc" >&5
55670 echo "${ECHO_T}SGI cc" >&6; }
55671 elif test "x$HPCC" = "xyes"; then
55672 DEPSMODE=unixcc
55673 DEPSFLAG="+make"
55674 { echo "$as_me:$LINENO: result: HP cc" >&5
55675 echo "${ECHO_T}HP cc" >&6; }
55676 elif test "x$COMPAQCC" = "xyes"; then
55677 DEPSMODE=gcc
55678 DEPSFLAG="-MD"
55679 { echo "$as_me:$LINENO: result: Compaq cc" >&5
55680 echo "${ECHO_T}Compaq cc" >&6; }
55681 else
55682 DEPS_TRACKING=0
55683 { echo "$as_me:$LINENO: result: none" >&5
55684 echo "${ECHO_T}none" >&6; }
55685 fi
55686
55687 if test $DEPS_TRACKING = 1 ; then
55688
55689 D='$'
55690 cat <<EOF >bk-deps
55691 #!/bin/sh
55692
55693 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
55694 # script. It is used to track C/C++ files dependencies in portable way.
55695 #
55696 # Permission is given to use this file in any way.
55697
55698 DEPSMODE=${DEPSMODE}
55699 DEPSDIR=.deps
55700 DEPSFLAG="${DEPSFLAG}"
55701
55702 mkdir -p ${D}DEPSDIR
55703
55704 if test ${D}DEPSMODE = gcc ; then
55705 ${D}* ${D}{DEPSFLAG}
55706 status=${D}?
55707 if test ${D}{status} != 0 ; then
55708 exit ${D}{status}
55709 fi
55710 # move created file to the location we want it in:
55711 while test ${D}# -gt 0; do
55712 case "${D}1" in
55713 -o )
55714 shift
55715 objfile=${D}1
55716 ;;
55717 -* )
55718 ;;
55719 * )
55720 srcfile=${D}1
55721 ;;
55722 esac
55723 shift
55724 done
55725 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
55726 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
55727 if test -f ${D}depfile ; then
55728 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
55729 rm -f ${D}depfile
55730 else
55731 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
55732 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
55733 if test ! -f ${D}depfile ; then
55734 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
55735 depfile="${D}objfile.d"
55736 fi
55737 if test -f ${D}depfile ; then
55738 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
55739 rm -f ${D}depfile
55740 fi
55741 fi
55742 exit 0
55743 elif test ${D}DEPSMODE = mwcc ; then
55744 ${D}* || exit ${D}?
55745 # Run mwcc again with -MM and redirect into the dep file we want
55746 # NOTE: We can't use shift here because we need ${D}* to be valid
55747 prevarg=
55748 for arg in ${D}* ; do
55749 if test "${D}prevarg" = "-o"; then
55750 objfile=${D}arg
55751 else
55752 case "${D}arg" in
55753 -* )
55754 ;;
55755 * )
55756 srcfile=${D}arg
55757 ;;
55758 esac
55759 fi
55760 prevarg="${D}arg"
55761 done
55762 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
55763 exit 0
55764 elif test ${D}DEPSMODE = unixcc; then
55765 ${D}* || exit ${D}?
55766 # Run compiler again with deps flag and redirect into the dep file.
55767 # It doesn't work if the '-o FILE' option is used, but without it the
55768 # dependency file will contain the wrong name for the object. So it is
55769 # removed from the command line, and the dep file is fixed with sed.
55770 cmd=""
55771 while test ${D}# -gt 0; do
55772 case "${D}1" in
55773 -o )
55774 shift
55775 objfile=${D}1
55776 ;;
55777 * )
55778 eval arg${D}#=\\${D}1
55779 cmd="${D}cmd \\${D}arg${D}#"
55780 ;;
55781 esac
55782 shift
55783 done
55784 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
55785 exit 0
55786 else
55787 ${D}*
55788 exit ${D}?
55789 fi
55790 EOF
55791
55792 chmod +x bk-deps
55793 BK_DEPS="`pwd`/bk-deps"
55794 fi
55795 fi
55796
55797
55798
55799
55800
55801 case ${BAKEFILE_HOST} in
55802 *-*-cygwin* | *-*-mingw32* )
55803 if test -n "$ac_tool_prefix"; then
55804 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
55805 set dummy ${ac_tool_prefix}windres; ac_word=$2
55806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55808 if test "${ac_cv_prog_WINDRES+set}" = set; then
55809 echo $ECHO_N "(cached) $ECHO_C" >&6
55810 else
55811 if test -n "$WINDRES"; then
55812 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
55813 else
55814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55815 for as_dir in $PATH
55816 do
55817 IFS=$as_save_IFS
55818 test -z "$as_dir" && as_dir=.
55819 for ac_exec_ext in '' $ac_executable_extensions; do
55820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55821 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
55822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55823 break 2
55824 fi
55825 done
55826 done
55827 IFS=$as_save_IFS
55828
55829 fi
55830 fi
55831 WINDRES=$ac_cv_prog_WINDRES
55832 if test -n "$WINDRES"; then
55833 { echo "$as_me:$LINENO: result: $WINDRES" >&5
55834 echo "${ECHO_T}$WINDRES" >&6; }
55835 else
55836 { echo "$as_me:$LINENO: result: no" >&5
55837 echo "${ECHO_T}no" >&6; }
55838 fi
55839
55840
55841 fi
55842 if test -z "$ac_cv_prog_WINDRES"; then
55843 ac_ct_WINDRES=$WINDRES
55844 # Extract the first word of "windres", so it can be a program name with args.
55845 set dummy windres; ac_word=$2
55846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55848 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
55849 echo $ECHO_N "(cached) $ECHO_C" >&6
55850 else
55851 if test -n "$ac_ct_WINDRES"; then
55852 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
55853 else
55854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55855 for as_dir in $PATH
55856 do
55857 IFS=$as_save_IFS
55858 test -z "$as_dir" && as_dir=.
55859 for ac_exec_ext in '' $ac_executable_extensions; do
55860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55861 ac_cv_prog_ac_ct_WINDRES="windres"
55862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55863 break 2
55864 fi
55865 done
55866 done
55867 IFS=$as_save_IFS
55868
55869 fi
55870 fi
55871 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
55872 if test -n "$ac_ct_WINDRES"; then
55873 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
55874 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
55875 else
55876 { echo "$as_me:$LINENO: result: no" >&5
55877 echo "${ECHO_T}no" >&6; }
55878 fi
55879
55880 if test "x$ac_ct_WINDRES" = x; then
55881 WINDRES=""
55882 else
55883 case $cross_compiling:$ac_tool_warned in
55884 yes:)
55885 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
55886 whose name does not start with the host triplet. If you think this
55887 configuration is useful to you, please write to autoconf@gnu.org." >&5
55888 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
55889 whose name does not start with the host triplet. If you think this
55890 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
55891 ac_tool_warned=yes ;;
55892 esac
55893 WINDRES=$ac_ct_WINDRES
55894 fi
55895 else
55896 WINDRES="$ac_cv_prog_WINDRES"
55897 fi
55898
55899 ;;
55900
55901 *-*-darwin* | powerpc-apple-macos* )
55902 # Extract the first word of "Rez", so it can be a program name with args.
55903 set dummy Rez; ac_word=$2
55904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55906 if test "${ac_cv_prog_REZ+set}" = set; then
55907 echo $ECHO_N "(cached) $ECHO_C" >&6
55908 else
55909 if test -n "$REZ"; then
55910 ac_cv_prog_REZ="$REZ" # Let the user override the test.
55911 else
55912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55913 for as_dir in $PATH
55914 do
55915 IFS=$as_save_IFS
55916 test -z "$as_dir" && as_dir=.
55917 for ac_exec_ext in '' $ac_executable_extensions; do
55918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55919 ac_cv_prog_REZ="Rez"
55920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55921 break 2
55922 fi
55923 done
55924 done
55925 IFS=$as_save_IFS
55926
55927 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
55928 fi
55929 fi
55930 REZ=$ac_cv_prog_REZ
55931 if test -n "$REZ"; then
55932 { echo "$as_me:$LINENO: result: $REZ" >&5
55933 echo "${ECHO_T}$REZ" >&6; }
55934 else
55935 { echo "$as_me:$LINENO: result: no" >&5
55936 echo "${ECHO_T}no" >&6; }
55937 fi
55938
55939
55940 # Extract the first word of "SetFile", so it can be a program name with args.
55941 set dummy SetFile; ac_word=$2
55942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55944 if test "${ac_cv_prog_SETFILE+set}" = set; then
55945 echo $ECHO_N "(cached) $ECHO_C" >&6
55946 else
55947 if test -n "$SETFILE"; then
55948 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
55949 else
55950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55951 for as_dir in $PATH
55952 do
55953 IFS=$as_save_IFS
55954 test -z "$as_dir" && as_dir=.
55955 for ac_exec_ext in '' $ac_executable_extensions; do
55956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
55957 ac_cv_prog_SETFILE="SetFile"
55958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55959 break 2
55960 fi
55961 done
55962 done
55963 IFS=$as_save_IFS
55964
55965 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
55966 fi
55967 fi
55968 SETFILE=$ac_cv_prog_SETFILE
55969 if test -n "$SETFILE"; then
55970 { echo "$as_me:$LINENO: result: $SETFILE" >&5
55971 echo "${ECHO_T}$SETFILE" >&6; }
55972 else
55973 { echo "$as_me:$LINENO: result: no" >&5
55974 echo "${ECHO_T}no" >&6; }
55975 fi
55976
55977
55978 ;;
55979 esac
55980
55981
55982
55983
55984
55985
55986 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
55987
55988
55989 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
55990
55991
55992
55993 # Check whether --enable-precomp-headers was given.
55994 if test "${enable_precomp_headers+set}" = set; then
55995 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
55996 fi
55997
55998
55999 GCC_PCH=0
56000 ICC_PCH=0
56001 USE_PCH=0
56002 BK_MAKE_PCH=""
56003
56004 case ${BAKEFILE_HOST} in
56005 *-*-cygwin* )
56006 bk_use_pch="no"
56007 ;;
56008 esac
56009
56010 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
56011 if test "x$GCC" = "xyes"; then
56012 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
56013 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
56014 cat >conftest.$ac_ext <<_ACEOF
56015 /* confdefs.h. */
56016 _ACEOF
56017 cat confdefs.h >>conftest.$ac_ext
56018 cat >>conftest.$ac_ext <<_ACEOF
56019 /* end confdefs.h. */
56020
56021 int
56022 main ()
56023 {
56024
56025 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
56026 There is no PCH support
56027 #endif
56028 #if (__GNUC__ < 3)
56029 There is no PCH support
56030 #endif
56031 #if (__GNUC__ == 3) && \
56032 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
56033 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
56034 ( defined(__INTEL_COMPILER) )
56035 There is no PCH support
56036 #endif
56037
56038 ;
56039 return 0;
56040 }
56041 _ACEOF
56042 rm -f conftest.$ac_objext
56043 if { (ac_try="$ac_compile"
56044 case "(($ac_try" in
56045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56046 *) ac_try_echo=$ac_try;;
56047 esac
56048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56049 (eval "$ac_compile") 2>conftest.er1
56050 ac_status=$?
56051 grep -v '^ *+' conftest.er1 >conftest.err
56052 rm -f conftest.er1
56053 cat conftest.err >&5
56054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56055 (exit $ac_status); } &&
56056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56057 { (case "(($ac_try" in
56058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56059 *) ac_try_echo=$ac_try;;
56060 esac
56061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56062 (eval "$ac_try") 2>&5
56063 ac_status=$?
56064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56065 (exit $ac_status); }; } &&
56066 { ac_try='test -s conftest.$ac_objext'
56067 { (case "(($ac_try" in
56068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56069 *) ac_try_echo=$ac_try;;
56070 esac
56071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56072 (eval "$ac_try") 2>&5
56073 ac_status=$?
56074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56075 (exit $ac_status); }; }; then
56076
56077 { echo "$as_me:$LINENO: result: yes" >&5
56078 echo "${ECHO_T}yes" >&6; }
56079 GCC_PCH=1
56080
56081 else
56082 echo "$as_me: failed program was:" >&5
56083 sed 's/^/| /' conftest.$ac_ext >&5
56084
56085
56086 cat >conftest.$ac_ext <<_ACEOF
56087 /* confdefs.h. */
56088 _ACEOF
56089 cat confdefs.h >>conftest.$ac_ext
56090 cat >>conftest.$ac_ext <<_ACEOF
56091 /* end confdefs.h. */
56092
56093 int
56094 main ()
56095 {
56096
56097 #if !defined(__INTEL_COMPILER) || \
56098 (__INTEL_COMPILER < 800)
56099 There is no PCH support
56100 #endif
56101
56102 ;
56103 return 0;
56104 }
56105 _ACEOF
56106 rm -f conftest.$ac_objext
56107 if { (ac_try="$ac_compile"
56108 case "(($ac_try" in
56109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56110 *) ac_try_echo=$ac_try;;
56111 esac
56112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56113 (eval "$ac_compile") 2>conftest.er1
56114 ac_status=$?
56115 grep -v '^ *+' conftest.er1 >conftest.err
56116 rm -f conftest.er1
56117 cat conftest.err >&5
56118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56119 (exit $ac_status); } &&
56120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
56121 { (case "(($ac_try" in
56122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56123 *) ac_try_echo=$ac_try;;
56124 esac
56125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56126 (eval "$ac_try") 2>&5
56127 ac_status=$?
56128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56129 (exit $ac_status); }; } &&
56130 { ac_try='test -s conftest.$ac_objext'
56131 { (case "(($ac_try" in
56132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
56133 *) ac_try_echo=$ac_try;;
56134 esac
56135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
56136 (eval "$ac_try") 2>&5
56137 ac_status=$?
56138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56139 (exit $ac_status); }; }; then
56140
56141 { echo "$as_me:$LINENO: result: yes" >&5
56142 echo "${ECHO_T}yes" >&6; }
56143 ICC_PCH=1
56144
56145 else
56146 echo "$as_me: failed program was:" >&5
56147 sed 's/^/| /' conftest.$ac_ext >&5
56148
56149
56150 { echo "$as_me:$LINENO: result: no" >&5
56151 echo "${ECHO_T}no" >&6; }
56152
56153 fi
56154
56155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56156
56157 fi
56158
56159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56160 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
56161 USE_PCH=1
56162
56163 D='$'
56164 cat <<EOF >bk-make-pch
56165 #!/bin/sh
56166
56167 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
56168 # script. It is used to generated precompiled headers.
56169 #
56170 # Permission is given to use this file in any way.
56171
56172 outfile="${D}{1}"
56173 header="${D}{2}"
56174 shift
56175 shift
56176
56177 compiler=""
56178 headerfile=""
56179
56180 while test ${D}{#} -gt 0; do
56181 add_to_cmdline=1
56182 case "${D}{1}" in
56183 -I* )
56184 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
56185 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
56186 headerfile="${D}{incdir}/${D}{header}"
56187 fi
56188 ;;
56189 -use-pch|-use_pch )
56190 shift
56191 add_to_cmdline=0
56192 ;;
56193 esac
56194 if test ${D}add_to_cmdline = 1 ; then
56195 compiler="${D}{compiler} ${D}{1}"
56196 fi
56197 shift
56198 done
56199
56200 if test "x${D}{headerfile}" = "x" ; then
56201 echo "error: can't find header ${D}{header} in include paths" >&2
56202 else
56203 if test -f ${D}{outfile} ; then
56204 rm -f ${D}{outfile}
56205 else
56206 mkdir -p \`dirname ${D}{outfile}\`
56207 fi
56208 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
56209 mkdir -p .deps
56210 if test "x${GCC_PCH}" = "x1" ; then
56211 # can do this because gcc is >= 3.4:
56212 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
56213 elif test "x${ICC_PCH}" = "x1" ; then
56214 filename=pch_gen-${D}${D}
56215 file=${D}{filename}.c
56216 dfile=${D}{filename}.d
56217 cat > ${D}file <<EOT
56218 #include "${D}header"
56219 EOT
56220 # using -MF icc complains about differing command lines in creation/use
56221 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
56222 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
56223 rm -f ${D}file ${D}dfile ${D}{filename}.o
56224 fi
56225 exit ${D}{?}
56226 fi
56227 EOF
56228
56229 chmod +x bk-make-pch
56230 BK_MAKE_PCH="`pwd`/bk-make-pch"
56231 fi
56232 fi
56233 fi
56234
56235
56236
56237
56238
56239 COND_BUILD_DEBUG="#"
56240 if test "x$BUILD" = "xdebug" ; then
56241 COND_BUILD_DEBUG=""
56242 fi
56243
56244 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
56245 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
56246 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
56247 fi
56248
56249 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
56250 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
56251 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
56252 fi
56253
56254 COND_BUILD_DEBUG_UNICODE_0="#"
56255 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
56256 COND_BUILD_DEBUG_UNICODE_0=""
56257 fi
56258
56259 COND_BUILD_DEBUG_UNICODE_1="#"
56260 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
56261 COND_BUILD_DEBUG_UNICODE_1=""
56262 fi
56263
56264 COND_BUILD_RELEASE="#"
56265 if test "x$BUILD" = "xrelease" ; then
56266 COND_BUILD_RELEASE=""
56267 fi
56268
56269 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
56270 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
56271 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
56272 fi
56273
56274 COND_BUILD_RELEASE_UNICODE_0="#"
56275 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
56276 COND_BUILD_RELEASE_UNICODE_0=""
56277 fi
56278
56279 COND_BUILD_RELEASE_UNICODE_1="#"
56280 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
56281 COND_BUILD_RELEASE_UNICODE_1=""
56282 fi
56283
56284 COND_DEBUG_FLAG_1="#"
56285 if test "x$DEBUG_FLAG" = "x1" ; then
56286 COND_DEBUG_FLAG_1=""
56287 fi
56288
56289 COND_DEBUG_INFO_0="#"
56290 if test "x$DEBUG_INFO" = "x0" ; then
56291 COND_DEBUG_INFO_0=""
56292 fi
56293
56294 COND_DEBUG_INFO_1="#"
56295 if test "x$DEBUG_INFO" = "x1" ; then
56296 COND_DEBUG_INFO_1=""
56297 fi
56298
56299 COND_DEPS_TRACKING_0="#"
56300 if test "x$DEPS_TRACKING" = "x0" ; then
56301 COND_DEPS_TRACKING_0=""
56302 fi
56303
56304 COND_DEPS_TRACKING_1="#"
56305 if test "x$DEPS_TRACKING" = "x1" ; then
56306 COND_DEPS_TRACKING_1=""
56307 fi
56308
56309 COND_GCC_PCH_1="#"
56310 if test "x$GCC_PCH" = "x1" ; then
56311 COND_GCC_PCH_1=""
56312 fi
56313
56314 COND_ICC_PCH_1="#"
56315 if test "x$ICC_PCH" = "x1" ; then
56316 COND_ICC_PCH_1=""
56317 fi
56318
56319 COND_MONOLITHIC_0="#"
56320 if test "x$MONOLITHIC" = "x0" ; then
56321 COND_MONOLITHIC_0=""
56322 fi
56323
56324 COND_MONOLITHIC_0_SHARED_0="#"
56325 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
56326 COND_MONOLITHIC_0_SHARED_0=""
56327 fi
56328
56329 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
56330 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
56331 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
56332 fi
56333
56334 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
56335 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
56336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
56337 fi
56338
56339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
56340 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
56341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
56342 fi
56343
56344 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
56345 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
56346 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
56347 fi
56348
56349 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
56350 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
56351 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
56352 fi
56353
56354 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
56355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
56356 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
56357 fi
56358
56359 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
56360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
56361 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
56362 fi
56363
56364 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
56365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
56366 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
56367 fi
56368
56369 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
56370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
56371 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
56372 fi
56373
56374 COND_MONOLITHIC_0_SHARED_1="#"
56375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
56376 COND_MONOLITHIC_0_SHARED_1=""
56377 fi
56378
56379 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
56380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
56381 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
56382 fi
56383
56384 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
56385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
56386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
56387 fi
56388
56389 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
56390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
56391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
56392 fi
56393
56394 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
56395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
56396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
56397 fi
56398
56399 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
56400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
56401 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
56402 fi
56403
56404 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
56405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
56406 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
56407 fi
56408
56409 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
56410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
56411 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
56412 fi
56413
56414 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
56415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
56416 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
56417 fi
56418
56419 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
56420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
56421 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
56422 fi
56423
56424 COND_MONOLITHIC_0_USE_MEDIA_1="#"
56425 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
56426 COND_MONOLITHIC_0_USE_MEDIA_1=""
56427 fi
56428
56429 COND_MONOLITHIC_0_USE_ODBC_1="#"
56430 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
56431 COND_MONOLITHIC_0_USE_ODBC_1=""
56432 fi
56433
56434 COND_MONOLITHIC_1="#"
56435 if test "x$MONOLITHIC" = "x1" ; then
56436 COND_MONOLITHIC_1=""
56437 fi
56438
56439 COND_MONOLITHIC_1_SHARED_0="#"
56440 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
56441 COND_MONOLITHIC_1_SHARED_0=""
56442 fi
56443
56444 COND_MONOLITHIC_1_SHARED_1="#"
56445 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
56446 COND_MONOLITHIC_1_SHARED_1=""
56447 fi
56448
56449 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
56450 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
56451 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
56452 fi
56453
56454 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
56455 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
56456 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
56457 fi
56458
56459 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
56460 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
56461 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
56462 fi
56463
56464 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
56465 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
56466 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
56467 fi
56468
56469 COND_PLATFORM_MACOSX_1="#"
56470 if test "x$PLATFORM_MACOSX" = "x1" ; then
56471 COND_PLATFORM_MACOSX_1=""
56472 fi
56473
56474 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
56475 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
56476 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
56477 fi
56478
56479 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
56480 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
56481 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
56482 fi
56483
56484 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
56485 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
56486 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
56487 fi
56488
56489 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
56490 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
56491 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
56492 fi
56493
56494 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
56495 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
56496 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
56497 fi
56498
56499 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
56500 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
56501 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
56502 fi
56503
56504 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
56505 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
56506 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
56507 fi
56508
56509 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
56510 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
56511 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
56512 fi
56513
56514 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
56515 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
56516 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
56517 fi
56518
56519 COND_PLATFORM_MACOS_1="#"
56520 if test "x$PLATFORM_MACOS" = "x1" ; then
56521 COND_PLATFORM_MACOS_1=""
56522 fi
56523
56524 COND_PLATFORM_MAC_1="#"
56525 if test "x$PLATFORM_MAC" = "x1" ; then
56526 COND_PLATFORM_MAC_1=""
56527 fi
56528
56529 COND_PLATFORM_MSDOS_0="#"
56530 if test "x$PLATFORM_MSDOS" = "x0" ; then
56531 COND_PLATFORM_MSDOS_0=""
56532 fi
56533
56534 COND_PLATFORM_MSDOS_1="#"
56535 if test "x$PLATFORM_MSDOS" = "x1" ; then
56536 COND_PLATFORM_MSDOS_1=""
56537 fi
56538
56539 COND_PLATFORM_OS2_1="#"
56540 if test "x$PLATFORM_OS2" = "x1" ; then
56541 COND_PLATFORM_OS2_1=""
56542 fi
56543
56544 COND_PLATFORM_UNIX_0="#"
56545 if test "x$PLATFORM_UNIX" = "x0" ; then
56546 COND_PLATFORM_UNIX_0=""
56547 fi
56548
56549 COND_PLATFORM_UNIX_1="#"
56550 if test "x$PLATFORM_UNIX" = "x1" ; then
56551 COND_PLATFORM_UNIX_1=""
56552 fi
56553
56554 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
56555 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
56556 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
56557 fi
56558
56559 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
56560 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
56561 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
56562 fi
56563
56564 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
56565 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
56566 COND_PLATFORM_UNIX_1_USE_GUI_1=""
56567 fi
56568
56569 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
56570 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
56571 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
56572 fi
56573
56574 COND_PLATFORM_WIN32_0="#"
56575 if test "x$PLATFORM_WIN32" = "x0" ; then
56576 COND_PLATFORM_WIN32_0=""
56577 fi
56578
56579 COND_PLATFORM_WIN32_1="#"
56580 if test "x$PLATFORM_WIN32" = "x1" ; then
56581 COND_PLATFORM_WIN32_1=""
56582 fi
56583
56584 COND_SHARED_0="#"
56585 if test "x$SHARED" = "x0" ; then
56586 COND_SHARED_0=""
56587 fi
56588
56589 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
56590 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
56591 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
56592 fi
56593
56594 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
56595 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
56596 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
56597 fi
56598
56599 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
56600 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
56601 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
56602 fi
56603
56604 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
56605 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
56606 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
56607 fi
56608
56609 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
56610 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56611 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
56612 fi
56613
56614 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
56615 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56616 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
56617 fi
56618
56619 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
56620 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56621 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
56622 fi
56623
56624 COND_SHARED_0_USE_XRC_1="#"
56625 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
56626 COND_SHARED_0_USE_XRC_1=""
56627 fi
56628
56629 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
56630 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
56631 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
56632 fi
56633
56634 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
56635 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
56636 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
56637 fi
56638
56639 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
56640 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
56641 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
56642 fi
56643
56644 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
56645 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
56646 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
56647 fi
56648
56649 COND_SHARED_1="#"
56650 if test "x$SHARED" = "x1" ; then
56651 COND_SHARED_1=""
56652 fi
56653
56654 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
56655 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
56656 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
56657 fi
56658
56659 COND_SHARED_1_USE_XRC_1="#"
56660 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
56661 COND_SHARED_1_USE_XRC_1=""
56662 fi
56663
56664 COND_TOOLKIT_="#"
56665 if test "x$TOOLKIT" = "x" ; then
56666 COND_TOOLKIT_=""
56667 fi
56668
56669 COND_TOOLKIT_COCOA="#"
56670 if test "x$TOOLKIT" = "xCOCOA" ; then
56671 COND_TOOLKIT_COCOA=""
56672 fi
56673
56674 COND_TOOLKIT_COCOA_USE_GUI_1="#"
56675 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
56676 COND_TOOLKIT_COCOA_USE_GUI_1=""
56677 fi
56678
56679 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
56680 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56681 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
56682 fi
56683
56684 COND_TOOLKIT_DFB="#"
56685 if test "x$TOOLKIT" = "xDFB" ; then
56686 COND_TOOLKIT_DFB=""
56687 fi
56688
56689 COND_TOOLKIT_DFB_USE_GUI_1="#"
56690 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
56691 COND_TOOLKIT_DFB_USE_GUI_1=""
56692 fi
56693
56694 COND_TOOLKIT_GTK="#"
56695 if test "x$TOOLKIT" = "xGTK" ; then
56696 COND_TOOLKIT_GTK=""
56697 fi
56698
56699 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
56700 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
56701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
56702 fi
56703
56704 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
56705 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
56706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
56707 fi
56708
56709 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
56710 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
56711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
56712 fi
56713
56714 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
56715 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56716 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
56717 fi
56718
56719 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
56720 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
56721 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
56722 fi
56723
56724 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
56725 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56726 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
56727 fi
56728
56729 COND_TOOLKIT_GTK_USE_GUI_1="#"
56730 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
56731 COND_TOOLKIT_GTK_USE_GUI_1=""
56732 fi
56733
56734 COND_TOOLKIT_MAC="#"
56735 if test "x$TOOLKIT" = "xMAC" ; then
56736 COND_TOOLKIT_MAC=""
56737 fi
56738
56739 COND_TOOLKIT_MAC_USE_GUI_1="#"
56740 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
56741 COND_TOOLKIT_MAC_USE_GUI_1=""
56742 fi
56743
56744 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
56745 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56746 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
56747 fi
56748
56749 COND_TOOLKIT_MGL="#"
56750 if test "x$TOOLKIT" = "xMGL" ; then
56751 COND_TOOLKIT_MGL=""
56752 fi
56753
56754 COND_TOOLKIT_MGL_USE_GUI_1="#"
56755 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
56756 COND_TOOLKIT_MGL_USE_GUI_1=""
56757 fi
56758
56759 COND_TOOLKIT_MOTIF="#"
56760 if test "x$TOOLKIT" = "xMOTIF" ; then
56761 COND_TOOLKIT_MOTIF=""
56762 fi
56763
56764 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
56765 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
56766 COND_TOOLKIT_MOTIF_USE_GUI_1=""
56767 fi
56768
56769 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
56770 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56771 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
56772 fi
56773
56774 COND_TOOLKIT_MSW="#"
56775 if test "x$TOOLKIT" = "xMSW" ; then
56776 COND_TOOLKIT_MSW=""
56777 fi
56778
56779 COND_TOOLKIT_MSW_USE_GUI_1="#"
56780 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
56781 COND_TOOLKIT_MSW_USE_GUI_1=""
56782 fi
56783
56784 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
56785 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56786 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
56787 fi
56788
56789 COND_TOOLKIT_MSW_WXUNIV_0="#"
56790 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
56791 COND_TOOLKIT_MSW_WXUNIV_0=""
56792 fi
56793
56794 COND_TOOLKIT_PM="#"
56795 if test "x$TOOLKIT" = "xPM" ; then
56796 COND_TOOLKIT_PM=""
56797 fi
56798
56799 COND_TOOLKIT_PM_USE_GUI_1="#"
56800 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
56801 COND_TOOLKIT_PM_USE_GUI_1=""
56802 fi
56803
56804 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
56805 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56806 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
56807 fi
56808
56809 COND_TOOLKIT_WINCE="#"
56810 if test "x$TOOLKIT" = "xWINCE" ; then
56811 COND_TOOLKIT_WINCE=""
56812 fi
56813
56814 COND_TOOLKIT_WINCE_USE_GUI_1="#"
56815 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
56816 COND_TOOLKIT_WINCE_USE_GUI_1=""
56817 fi
56818
56819 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
56820 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56821 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
56822 fi
56823
56824 COND_TOOLKIT_WINCE_WXUNIV_0="#"
56825 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
56826 COND_TOOLKIT_WINCE_WXUNIV_0=""
56827 fi
56828
56829 COND_TOOLKIT_X11="#"
56830 if test "x$TOOLKIT" = "xX11" ; then
56831 COND_TOOLKIT_X11=""
56832 fi
56833
56834 COND_TOOLKIT_X11_USE_GUI_1="#"
56835 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
56836 COND_TOOLKIT_X11_USE_GUI_1=""
56837 fi
56838
56839 COND_UNICODE_1="#"
56840 if test "x$UNICODE" = "x1" ; then
56841 COND_UNICODE_1=""
56842 fi
56843
56844 COND_USE_EXCEPTIONS_0="#"
56845 if test "x$USE_EXCEPTIONS" = "x0" ; then
56846 COND_USE_EXCEPTIONS_0=""
56847 fi
56848
56849 COND_USE_EXCEPTIONS_1="#"
56850 if test "x$USE_EXCEPTIONS" = "x1" ; then
56851 COND_USE_EXCEPTIONS_1=""
56852 fi
56853
56854 COND_USE_GUI_0="#"
56855 if test "x$USE_GUI" = "x0" ; then
56856 COND_USE_GUI_0=""
56857 fi
56858
56859 COND_USE_GUI_1="#"
56860 if test "x$USE_GUI" = "x1" ; then
56861 COND_USE_GUI_1=""
56862 fi
56863
56864 COND_USE_GUI_1_WXUNIV_0="#"
56865 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
56866 COND_USE_GUI_1_WXUNIV_0=""
56867 fi
56868
56869 COND_USE_GUI_1_WXUNIV_1="#"
56870 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
56871 COND_USE_GUI_1_WXUNIV_1=""
56872 fi
56873
56874 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
56875 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56876 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
56877 fi
56878
56879 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
56880 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56881 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
56882 fi
56883
56884 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
56885 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56886 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
56887 fi
56888
56889 COND_USE_ODBC_1="#"
56890 if test "x$USE_ODBC" = "x1" ; then
56891 COND_USE_ODBC_1=""
56892 fi
56893
56894 COND_USE_OPENGL_1="#"
56895 if test "x$USE_OPENGL" = "x1" ; then
56896 COND_USE_OPENGL_1=""
56897 fi
56898
56899 COND_USE_PCH_1="#"
56900 if test "x$USE_PCH" = "x1" ; then
56901 COND_USE_PCH_1=""
56902 fi
56903
56904 COND_USE_PLUGINS_0="#"
56905 if test "x$USE_PLUGINS" = "x0" ; then
56906 COND_USE_PLUGINS_0=""
56907 fi
56908
56909 COND_USE_RTTI_0="#"
56910 if test "x$USE_RTTI" = "x0" ; then
56911 COND_USE_RTTI_0=""
56912 fi
56913
56914 COND_USE_RTTI_1="#"
56915 if test "x$USE_RTTI" = "x1" ; then
56916 COND_USE_RTTI_1=""
56917 fi
56918
56919 COND_USE_SOSYMLINKS_1="#"
56920 if test "x$USE_SOSYMLINKS" = "x1" ; then
56921 COND_USE_SOSYMLINKS_1=""
56922 fi
56923
56924 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
56925 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
56926 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
56927 fi
56928
56929 COND_USE_SOVERLINUX_1="#"
56930 if test "x$USE_SOVERLINUX" = "x1" ; then
56931 COND_USE_SOVERLINUX_1=""
56932 fi
56933
56934 COND_USE_SOVERSION_0="#"
56935 if test "x$USE_SOVERSION" = "x0" ; then
56936 COND_USE_SOVERSION_0=""
56937 fi
56938
56939 COND_USE_SOVERSOLARIS_1="#"
56940 if test "x$USE_SOVERSOLARIS" = "x1" ; then
56941 COND_USE_SOVERSOLARIS_1=""
56942 fi
56943
56944 COND_USE_THREADS_0="#"
56945 if test "x$USE_THREADS" = "x0" ; then
56946 COND_USE_THREADS_0=""
56947 fi
56948
56949 COND_USE_THREADS_1="#"
56950 if test "x$USE_THREADS" = "x1" ; then
56951 COND_USE_THREADS_1=""
56952 fi
56953
56954 COND_USE_XRC_1="#"
56955 if test "x$USE_XRC" = "x1" ; then
56956 COND_USE_XRC_1=""
56957 fi
56958
56959 COND_WINDOWS_IMPLIB_1="#"
56960 if test "x$WINDOWS_IMPLIB" = "x1" ; then
56961 COND_WINDOWS_IMPLIB_1=""
56962 fi
56963
56964 COND_WITH_PLUGIN_SDL_1="#"
56965 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
56966 COND_WITH_PLUGIN_SDL_1=""
56967 fi
56968
56969 COND_WXUNIV_0="#"
56970 if test "x$WXUNIV" = "x0" ; then
56971 COND_WXUNIV_0=""
56972 fi
56973
56974 COND_WXUNIV_1="#"
56975 if test "x$WXUNIV" = "x1" ; then
56976 COND_WXUNIV_1=""
56977 fi
56978
56979 COND_WXUSE_EXPAT_BUILTIN="#"
56980 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
56981 COND_WXUSE_EXPAT_BUILTIN=""
56982 fi
56983
56984 COND_WXUSE_LIBJPEG_BUILTIN="#"
56985 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
56986 COND_WXUSE_LIBJPEG_BUILTIN=""
56987 fi
56988
56989 COND_WXUSE_LIBPNG_BUILTIN="#"
56990 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
56991 COND_WXUSE_LIBPNG_BUILTIN=""
56992 fi
56993
56994 COND_WXUSE_LIBTIFF_BUILTIN="#"
56995 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
56996 COND_WXUSE_LIBTIFF_BUILTIN=""
56997 fi
56998
56999 COND_WXUSE_ODBC_BUILTIN="#"
57000 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
57001 COND_WXUSE_ODBC_BUILTIN=""
57002 fi
57003
57004 COND_WXUSE_REGEX_BUILTIN="#"
57005 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
57006 COND_WXUSE_REGEX_BUILTIN=""
57007 fi
57008
57009 COND_WXUSE_ZLIB_BUILTIN="#"
57010 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
57011 COND_WXUSE_ZLIB_BUILTIN=""
57012 fi
57013
57014
57015
57016 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
57017 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
57018 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
57019 { (exit 1); exit 1; }; }
57020 fi
57021
57022 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
57023 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
57024 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
57025 { (exit 1); exit 1; }; }
57026 fi
57027
57028
57029 if test $GCC_PCH = 1
57030 then
57031 if test "$wx_cv_gcc_pch_bug" = yes; then
57032 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
57033 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
57034 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
57035 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
57036 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
57037 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
57038 fi
57039
57040 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
57041 fi
57042
57043
57044 if test "$wxUSE_MAC" = 1 ; then
57045 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
57046 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
57047 mv temp bk-deps
57048 chmod +x bk-deps
57049 fi
57050 fi
57051
57052 if test "$wxUSE_SHARED" = "yes"; then
57053
57054 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
57055 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
57056
57057 case "${host}" in
57058 *-pc-os2_emx | *-pc-os2-emx )
57059 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
57060 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
57061 cp -p ${srcdir}/src/os2/dllnames.sh .
57062 cp -p ${srcdir}/src/os2/dllar.sh .
57063 ;;
57064 esac
57065 else
57066
57067 EXE_LINKER="$CXX -o"
57068
57069 fi
57070 if test "$wxUSE_OMF" = "yes"; then
57071 case "${host}" in
57072 *-pc-os2_emx | *-pc-os2-emx )
57073 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
57074 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
57075 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
57076 ;;
57077 esac
57078 fi
57079
57080 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
57081
57082 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
57145 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
57146 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
57147 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
57148 echo $ECHO_N "(cached) $ECHO_C" >&6
57149 else
57150 cat >conftest.make <<\_ACEOF
57151 SHELL = /bin/sh
57152 all:
57153 @echo '@@@%%%=$(MAKE)=@@@%%%'
57154 _ACEOF
57155 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
57156 case `${MAKE-make} -f conftest.make 2>/dev/null` in
57157 *@@@%%%=?*=@@@%%%*)
57158 eval ac_cv_prog_make_${ac_make}_set=yes;;
57159 *)
57160 eval ac_cv_prog_make_${ac_make}_set=no;;
57161 esac
57162 rm -f conftest.make
57163 fi
57164 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
57165 { echo "$as_me:$LINENO: result: yes" >&5
57166 echo "${ECHO_T}yes" >&6; }
57167 SET_MAKE=
57168 else
57169 { echo "$as_me:$LINENO: result: no" >&5
57170 echo "${ECHO_T}no" >&6; }
57171 SET_MAKE="MAKE=${MAKE-make}"
57172 fi
57173
57174
57175
57176 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
57177
57178
57179 if test "$USE_WIN32" = 1; then
57180 ac_config_commands="$ac_config_commands
57181 rcdefs.h
57182 "
57183
57184 fi
57185
57186 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
57187
57188
57189 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
57190
57191
57192 if test "$wx_cv_version_script" = "yes"; then
57193 ac_config_files="$ac_config_files version-script"
57194
57195 fi
57196 ac_config_files="$ac_config_files Makefile"
57197
57198
57199 ac_config_commands="$ac_config_commands wx-config"
57200
57201
57202
57203 if test "$wxWITH_SUBDIRS" != "no"; then
57204 if test "$wxUSE_GUI" = "yes"; then
57205 SUBDIRS="samples demos utils contrib"
57206 else SUBDIRS="samples utils"
57207 fi
57208
57209
57210
57211 # Check whether --with-cppunit-prefix was given.
57212 if test "${with_cppunit_prefix+set}" = set; then
57213 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
57214 else
57215 cppunit_config_prefix=""
57216 fi
57217
57218
57219 # Check whether --with-cppunit-exec-prefix was given.
57220 if test "${with_cppunit_exec_prefix+set}" = set; then
57221 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
57222 else
57223 cppunit_config_exec_prefix=""
57224 fi
57225
57226
57227 if test x$cppunit_config_exec_prefix != x ; then
57228 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
57229 if test x${CPPUNIT_CONFIG+set} != xset ; then
57230 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
57231 fi
57232 fi
57233 if test x$cppunit_config_prefix != x ; then
57234 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
57235 if test x${CPPUNIT_CONFIG+set} != xset ; then
57236 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
57237 fi
57238 fi
57239
57240 # Extract the first word of "cppunit-config", so it can be a program name with args.
57241 set dummy cppunit-config; ac_word=$2
57242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
57243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57244 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
57245 echo $ECHO_N "(cached) $ECHO_C" >&6
57246 else
57247 case $CPPUNIT_CONFIG in
57248 [\\/]* | ?:[\\/]*)
57249 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
57250 ;;
57251 *)
57252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57253 for as_dir in $PATH
57254 do
57255 IFS=$as_save_IFS
57256 test -z "$as_dir" && as_dir=.
57257 for ac_exec_ext in '' $ac_executable_extensions; do
57258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
57259 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
57260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57261 break 2
57262 fi
57263 done
57264 done
57265 IFS=$as_save_IFS
57266
57267 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
57268 ;;
57269 esac
57270 fi
57271 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
57272 if test -n "$CPPUNIT_CONFIG"; then
57273 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
57274 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
57275 else
57276 { echo "$as_me:$LINENO: result: no" >&5
57277 echo "${ECHO_T}no" >&6; }
57278 fi
57279
57280
57281 cppunit_version_min=1.8.0
57282
57283 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
57284 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
57285 no_cppunit=""
57286 if test "$CPPUNIT_CONFIG" = "no" ; then
57287 { echo "$as_me:$LINENO: result: no" >&5
57288 echo "${ECHO_T}no" >&6; }
57289 no_cppunit=yes
57290 else
57291 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
57292 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
57293 cppunit_version=`$CPPUNIT_CONFIG --version`
57294
57295 cppunit_major_version=`echo $cppunit_version | \
57296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
57297 cppunit_minor_version=`echo $cppunit_version | \
57298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
57299 cppunit_micro_version=`echo $cppunit_version | \
57300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
57301
57302 cppunit_major_min=`echo $cppunit_version_min | \
57303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
57304 cppunit_minor_min=`echo $cppunit_version_min | \
57305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
57306 cppunit_micro_min=`echo $cppunit_version_min | \
57307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
57308
57309 cppunit_version_proper=`expr \
57310 $cppunit_major_version \> $cppunit_major_min \| \
57311 $cppunit_major_version \= $cppunit_major_min \& \
57312 $cppunit_minor_version \> $cppunit_minor_min \| \
57313 $cppunit_major_version \= $cppunit_major_min \& \
57314 $cppunit_minor_version \= $cppunit_minor_min \& \
57315 $cppunit_micro_version \>= $cppunit_micro_min `
57316
57317 if test "$cppunit_version_proper" = "1" ; then
57318 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
57319 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
57320 else
57321 { echo "$as_me:$LINENO: result: no" >&5
57322 echo "${ECHO_T}no" >&6; }
57323 no_cppunit=yes
57324 fi
57325 fi
57326
57327 if test "x$no_cppunit" = x ; then
57328 SUBDIRS="$SUBDIRS tests"
57329 else
57330 CPPUNIT_CFLAGS=""
57331 CPPUNIT_LIBS=""
57332 :
57333 fi
57334
57335
57336
57337
57338
57339 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
57340 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
57341 fi
57342
57343 for subdir in `echo $SUBDIRS`; do
57344 if test -d ${srcdir}/${subdir} ; then
57345 if test "$wxUSE_GUI" = "yes"; then
57346 if test ${subdir} = "samples"; then
57347 makefiles="samples/Makefile.in $makefiles"
57348 for sample in `echo $SAMPLES_SUBDIRS`; do
57349 if test -d $srcdir/samples/$sample; then
57350 makefiles="samples/$sample/Makefile.in $makefiles"
57351 fi
57352 done
57353 else
57354 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
57355 eval "disabled=\$$disabled_var"
57356 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
57357 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
57358 fi
57359 else if test ${subdir} = "samples"; then
57360 makefiles="samples/Makefile.in samples/console/Makefile.in"
57361 elif test ${subdir} = "utils"; then
57362 makefiles=""
57363 for util in HelpGen tex2rtf ; do
57364 if test -d $srcdir/utils/$util ; then
57365 makefiles="utils/$util/Makefile.in \
57366 utils/$util/src/Makefile.in \
57367 $makefiles"
57368 fi
57369 done
57370 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
57371 fi
57372 fi
57373
57374 for mkin in $makefiles ; do
57375 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
57376 ac_config_files="$ac_config_files $mk"
57377
57378 done
57379 fi
57380 done
57381 fi
57382 cat >confcache <<\_ACEOF
57383 # This file is a shell script that caches the results of configure
57384 # tests run on this system so they can be shared between configure
57385 # scripts and configure runs, see configure's option --config-cache.
57386 # It is not useful on other systems. If it contains results you don't
57387 # want to keep, you may remove or edit it.
57388 #
57389 # config.status only pays attention to the cache file if you give it
57390 # the --recheck option to rerun configure.
57391 #
57392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
57393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
57394 # following values.
57395
57396 _ACEOF
57397
57398 # The following way of writing the cache mishandles newlines in values,
57399 # but we know of no workaround that is simple, portable, and efficient.
57400 # So, we kill variables containing newlines.
57401 # Ultrix sh set writes to stderr and can't be redirected directly,
57402 # and sets the high bit in the cache file unless we assign to the vars.
57403 (
57404 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
57405 eval ac_val=\$$ac_var
57406 case $ac_val in #(
57407 *${as_nl}*)
57408 case $ac_var in #(
57409 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
57410 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
57411 esac
57412 case $ac_var in #(
57413 _ | IFS | as_nl) ;; #(
57414 *) $as_unset $ac_var ;;
57415 esac ;;
57416 esac
57417 done
57418
57419 (set) 2>&1 |
57420 case $as_nl`(ac_space=' '; set) 2>&1` in #(
57421 *${as_nl}ac_space=\ *)
57422 # `set' does not quote correctly, so add quotes (double-quote
57423 # substitution turns \\\\ into \\, and sed turns \\ into \).
57424 sed -n \
57425 "s/'/'\\\\''/g;
57426 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
57427 ;; #(
57428 *)
57429 # `set' quotes correctly as required by POSIX, so do not add quotes.
57430 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
57431 ;;
57432 esac |
57433 sort
57434 ) |
57435 sed '
57436 /^ac_cv_env_/b end
57437 t clear
57438 :clear
57439 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
57440 t end
57441 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
57442 :end' >>confcache
57443 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
57444 if test -w "$cache_file"; then
57445 test "x$cache_file" != "x/dev/null" &&
57446 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
57447 echo "$as_me: updating cache $cache_file" >&6;}
57448 cat confcache >$cache_file
57449 else
57450 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
57451 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
57452 fi
57453 fi
57454 rm -f confcache
57455
57456 test "x$prefix" = xNONE && prefix=$ac_default_prefix
57457 # Let make expand exec_prefix.
57458 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
57459
57460 DEFS=-DHAVE_CONFIG_H
57461
57462 ac_libobjs=
57463 ac_ltlibobjs=
57464 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
57465 # 1. Remove the extension, and $U if already installed.
57466 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
57467 ac_i=`echo "$ac_i" | sed "$ac_script"`
57468 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
57469 # will be set to the directory where LIBOBJS objects are built.
57470 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
57471 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
57472 done
57473 LIBOBJS=$ac_libobjs
57474
57475 LTLIBOBJS=$ac_ltlibobjs
57476
57477
57478
57479 : ${CONFIG_STATUS=./config.status}
57480 ac_clean_files_save=$ac_clean_files
57481 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
57482 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
57483 echo "$as_me: creating $CONFIG_STATUS" >&6;}
57484 cat >$CONFIG_STATUS <<_ACEOF
57485 #! $SHELL
57486 # Generated by $as_me.
57487 # Run this file to recreate the current configuration.
57488 # Compiler output produced by configure, useful for debugging
57489 # configure, is in config.log if it exists.
57490
57491 debug=false
57492 ac_cs_recheck=false
57493 ac_cs_silent=false
57494 SHELL=\${CONFIG_SHELL-$SHELL}
57495 _ACEOF
57496
57497 cat >>$CONFIG_STATUS <<\_ACEOF
57498 ## --------------------- ##
57499 ## M4sh Initialization. ##
57500 ## --------------------- ##
57501
57502 # Be Bourne compatible
57503 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
57504 emulate sh
57505 NULLCMD=:
57506 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
57507 # is contrary to our usage. Disable this feature.
57508 alias -g '${1+"$@"}'='"$@"'
57509 setopt NO_GLOB_SUBST
57510 else
57511 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
57512 fi
57513 BIN_SH=xpg4; export BIN_SH # for Tru64
57514 DUALCASE=1; export DUALCASE # for MKS sh
57515
57516
57517 # PATH needs CR
57518 # Avoid depending upon Character Ranges.
57519 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
57520 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
57521 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
57522 as_cr_digits='0123456789'
57523 as_cr_alnum=$as_cr_Letters$as_cr_digits
57524
57525 # The user is always right.
57526 if test "${PATH_SEPARATOR+set}" != set; then
57527 echo "#! /bin/sh" >conf$$.sh
57528 echo "exit 0" >>conf$$.sh
57529 chmod +x conf$$.sh
57530 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
57531 PATH_SEPARATOR=';'
57532 else
57533 PATH_SEPARATOR=:
57534 fi
57535 rm -f conf$$.sh
57536 fi
57537
57538 # Support unset when possible.
57539 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57540 as_unset=unset
57541 else
57542 as_unset=false
57543 fi
57544
57545
57546 # IFS
57547 # We need space, tab and new line, in precisely that order. Quoting is
57548 # there to prevent editors from complaining about space-tab.
57549 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
57550 # splitting by setting IFS to empty value.)
57551 as_nl='
57552 '
57553 IFS=" "" $as_nl"
57554
57555 # Find who we are. Look in the path if we contain no directory separator.
57556 case $0 in
57557 *[\\/]* ) as_myself=$0 ;;
57558 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57559 for as_dir in $PATH
57560 do
57561 IFS=$as_save_IFS
57562 test -z "$as_dir" && as_dir=.
57563 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
57564 done
57565 IFS=$as_save_IFS
57566
57567 ;;
57568 esac
57569 # We did not find ourselves, most probably we were run as `sh COMMAND'
57570 # in which case we are not to be found in the path.
57571 if test "x$as_myself" = x; then
57572 as_myself=$0
57573 fi
57574 if test ! -f "$as_myself"; then
57575 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
57576 { (exit 1); exit 1; }
57577 fi
57578
57579 # Work around bugs in pre-3.0 UWIN ksh.
57580 for as_var in ENV MAIL MAILPATH
57581 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
57582 done
57583 PS1='$ '
57584 PS2='> '
57585 PS4='+ '
57586
57587 # NLS nuisances.
57588 for as_var in \
57589 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
57590 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
57591 LC_TELEPHONE LC_TIME
57592 do
57593 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
57594 eval $as_var=C; export $as_var
57595 else
57596 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
57597 fi
57598 done
57599
57600 # Required to use basename.
57601 if expr a : '\(a\)' >/dev/null 2>&1 &&
57602 test "X`expr 00001 : '.*\(...\)'`" = X001; then
57603 as_expr=expr
57604 else
57605 as_expr=false
57606 fi
57607
57608 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
57609 as_basename=basename
57610 else
57611 as_basename=false
57612 fi
57613
57614
57615 # Name of the executable.
57616 as_me=`$as_basename -- "$0" ||
57617 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
57618 X"$0" : 'X\(//\)$' \| \
57619 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
57620 echo X/"$0" |
57621 sed '/^.*\/\([^/][^/]*\)\/*$/{
57622 s//\1/
57623 q
57624 }
57625 /^X\/\(\/\/\)$/{
57626 s//\1/
57627 q
57628 }
57629 /^X\/\(\/\).*/{
57630 s//\1/
57631 q
57632 }
57633 s/.*/./; q'`
57634
57635 # CDPATH.
57636 $as_unset CDPATH
57637
57638
57639
57640 as_lineno_1=$LINENO
57641 as_lineno_2=$LINENO
57642 test "x$as_lineno_1" != "x$as_lineno_2" &&
57643 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
57644
57645 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
57646 # uniformly replaced by the line number. The first 'sed' inserts a
57647 # line-number line after each line using $LINENO; the second 'sed'
57648 # does the real work. The second script uses 'N' to pair each
57649 # line-number line with the line containing $LINENO, and appends
57650 # trailing '-' during substitution so that $LINENO is not a special
57651 # case at line end.
57652 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
57653 # scripts with optimization help from Paolo Bonzini. Blame Lee
57654 # E. McMahon (1931-1989) for sed's syntax. :-)
57655 sed -n '
57656 p
57657 /[$]LINENO/=
57658 ' <$as_myself |
57659 sed '
57660 s/[$]LINENO.*/&-/
57661 t lineno
57662 b
57663 :lineno
57664 N
57665 :loop
57666 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
57667 t loop
57668 s/-\n.*//
57669 ' >$as_me.lineno &&
57670 chmod +x "$as_me.lineno" ||
57671 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
57672 { (exit 1); exit 1; }; }
57673
57674 # Don't try to exec as it changes $[0], causing all sort of problems
57675 # (the dirname of $[0] is not the place where we might find the
57676 # original and so on. Autoconf is especially sensitive to this).
57677 . "./$as_me.lineno"
57678 # Exit status is that of the last command.
57679 exit
57680 }
57681
57682
57683 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
57684 as_dirname=dirname
57685 else
57686 as_dirname=false
57687 fi
57688
57689 ECHO_C= ECHO_N= ECHO_T=
57690 case `echo -n x` in
57691 -n*)
57692 case `echo 'x\c'` in
57693 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
57694 *) ECHO_C='\c';;
57695 esac;;
57696 *)
57697 ECHO_N='-n';;
57698 esac
57699
57700 if expr a : '\(a\)' >/dev/null 2>&1 &&
57701 test "X`expr 00001 : '.*\(...\)'`" = X001; then
57702 as_expr=expr
57703 else
57704 as_expr=false
57705 fi
57706
57707 rm -f conf$$ conf$$.exe conf$$.file
57708 if test -d conf$$.dir; then
57709 rm -f conf$$.dir/conf$$.file
57710 else
57711 rm -f conf$$.dir
57712 mkdir conf$$.dir
57713 fi
57714 echo >conf$$.file
57715 if ln -s conf$$.file conf$$ 2>/dev/null; then
57716 as_ln_s='ln -s'
57717 # ... but there are two gotchas:
57718 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
57719 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
57720 # In both cases, we have to default to `cp -p'.
57721 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
57722 as_ln_s='cp -p'
57723 elif ln conf$$.file conf$$ 2>/dev/null; then
57724 as_ln_s=ln
57725 else
57726 as_ln_s='cp -p'
57727 fi
57728 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
57729 rmdir conf$$.dir 2>/dev/null
57730
57731 if mkdir -p . 2>/dev/null; then
57732 as_mkdir_p=:
57733 else
57734 test -d ./-p && rmdir ./-p
57735 as_mkdir_p=false
57736 fi
57737
57738 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
57739 # systems may use methods other than mode bits to determine executability.
57740 cat >conf$$.file <<_ASEOF
57741 #! /bin/sh
57742 exit 0
57743 _ASEOF
57744 chmod +x conf$$.file
57745 if test -x conf$$.file >/dev/null 2>&1; then
57746 as_executable_p="test -x"
57747 else
57748 as_executable_p=:
57749 fi
57750 rm -f conf$$.file
57751
57752 # Sed expression to map a string onto a valid CPP name.
57753 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
57754
57755 # Sed expression to map a string onto a valid variable name.
57756 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
57757
57758
57759 exec 6>&1
57760
57761 # Save the log message, to keep $[0] and so on meaningful, and to
57762 # report actual input values of CONFIG_FILES etc. instead of their
57763 # values after options handling.
57764 ac_log="
57765 This file was extended by wxWidgets $as_me 2.9.0, which was
57766 generated by GNU Autoconf 2.60. Invocation command line was
57767
57768 CONFIG_FILES = $CONFIG_FILES
57769 CONFIG_HEADERS = $CONFIG_HEADERS
57770 CONFIG_LINKS = $CONFIG_LINKS
57771 CONFIG_COMMANDS = $CONFIG_COMMANDS
57772 $ $0 $@
57773
57774 on `(hostname || uname -n) 2>/dev/null | sed 1q`
57775 "
57776
57777 _ACEOF
57778
57779 cat >>$CONFIG_STATUS <<_ACEOF
57780 # Files that config.status was made for.
57781 config_files="$ac_config_files"
57782 config_headers="$ac_config_headers"
57783 config_commands="$ac_config_commands"
57784
57785 _ACEOF
57786
57787 cat >>$CONFIG_STATUS <<\_ACEOF
57788 ac_cs_usage="\
57789 \`$as_me' instantiates files from templates according to the
57790 current configuration.
57791
57792 Usage: $0 [OPTIONS] [FILE]...
57793
57794 -h, --help print this help, then exit
57795 -V, --version print version number, then exit
57796 -q, --quiet do not print progress messages
57797 -d, --debug don't remove temporary files
57798 --recheck update $as_me by reconfiguring in the same conditions
57799 --file=FILE[:TEMPLATE]
57800 instantiate the configuration file FILE
57801 --header=FILE[:TEMPLATE]
57802 instantiate the configuration header FILE
57803
57804 Configuration files:
57805 $config_files
57806
57807 Configuration headers:
57808 $config_headers
57809
57810 Configuration commands:
57811 $config_commands
57812
57813 Report bugs to <bug-autoconf@gnu.org>."
57814
57815 _ACEOF
57816 cat >>$CONFIG_STATUS <<_ACEOF
57817 ac_cs_version="\\
57818 wxWidgets config.status 2.9.0
57819 configured by $0, generated by GNU Autoconf 2.60,
57820 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
57821
57822 Copyright (C) 2006 Free Software Foundation, Inc.
57823 This config.status script is free software; the Free Software Foundation
57824 gives unlimited permission to copy, distribute and modify it."
57825
57826 ac_pwd='$ac_pwd'
57827 srcdir='$srcdir'
57828 INSTALL='$INSTALL'
57829 _ACEOF
57830
57831 cat >>$CONFIG_STATUS <<\_ACEOF
57832 # If no file are specified by the user, then we need to provide default
57833 # value. By we need to know if files were specified by the user.
57834 ac_need_defaults=:
57835 while test $# != 0
57836 do
57837 case $1 in
57838 --*=*)
57839 ac_option=`expr "X$1" : 'X\([^=]*\)='`
57840 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
57841 ac_shift=:
57842 ;;
57843 *)
57844 ac_option=$1
57845 ac_optarg=$2
57846 ac_shift=shift
57847 ;;
57848 esac
57849
57850 case $ac_option in
57851 # Handling of the options.
57852 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
57853 ac_cs_recheck=: ;;
57854 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
57855 echo "$ac_cs_version"; exit ;;
57856 --debug | --debu | --deb | --de | --d | -d )
57857 debug=: ;;
57858 --file | --fil | --fi | --f )
57859 $ac_shift
57860 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
57861 ac_need_defaults=false;;
57862 --header | --heade | --head | --hea )
57863 $ac_shift
57864 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
57865 ac_need_defaults=false;;
57866 --he | --h)
57867 # Conflict between --help and --header
57868 { echo "$as_me: error: ambiguous option: $1
57869 Try \`$0 --help' for more information." >&2
57870 { (exit 1); exit 1; }; };;
57871 --help | --hel | -h )
57872 echo "$ac_cs_usage"; exit ;;
57873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
57874 | -silent | --silent | --silen | --sile | --sil | --si | --s)
57875 ac_cs_silent=: ;;
57876
57877 # This is an error.
57878 -*) { echo "$as_me: error: unrecognized option: $1
57879 Try \`$0 --help' for more information." >&2
57880 { (exit 1); exit 1; }; } ;;
57881
57882 *) ac_config_targets="$ac_config_targets $1"
57883 ac_need_defaults=false ;;
57884
57885 esac
57886 shift
57887 done
57888
57889 ac_configure_extra_args=
57890
57891 if $ac_cs_silent; then
57892 exec 6>/dev/null
57893 ac_configure_extra_args="$ac_configure_extra_args --silent"
57894 fi
57895
57896 _ACEOF
57897 cat >>$CONFIG_STATUS <<_ACEOF
57898 if \$ac_cs_recheck; then
57899 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
57900 CONFIG_SHELL=$SHELL
57901 export CONFIG_SHELL
57902 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
57903 fi
57904
57905 _ACEOF
57906 cat >>$CONFIG_STATUS <<\_ACEOF
57907 exec 5>>config.log
57908 {
57909 echo
57910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
57911 ## Running $as_me. ##
57912 _ASBOX
57913 echo "$ac_log"
57914 } >&5
57915
57916 _ACEOF
57917 cat >>$CONFIG_STATUS <<_ACEOF
57918 #
57919 # INIT-COMMANDS
57920 #
57921
57922 CPP="$CPP"
57923 infile="$srcdir/include/wx/msw/genrcdefs.h"
57924 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
57925
57926
57927 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57928 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57929 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
57930 LN_S="${LN_S}"
57931
57932
57933 _ACEOF
57934
57935 cat >>$CONFIG_STATUS <<\_ACEOF
57936
57937 # Handling of arguments.
57938 for ac_config_target in $ac_config_targets
57939 do
57940 case $ac_config_target in
57941 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
57942 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
57943 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
57944 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
57945 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
57946 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
57947 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
57948 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
57949
57950 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
57951 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
57952 { (exit 1); exit 1; }; };;
57953 esac
57954 done
57955
57956
57957 # If the user did not use the arguments to specify the items to instantiate,
57958 # then the envvar interface is used. Set only those that are not.
57959 # We use the long form for the default assignment because of an extremely
57960 # bizarre bug on SunOS 4.1.3.
57961 if $ac_need_defaults; then
57962 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
57963 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
57964 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
57965 fi
57966
57967 # Have a temporary directory for convenience. Make it in the build tree
57968 # simply because there is no reason against having it here, and in addition,
57969 # creating and moving files from /tmp can sometimes cause problems.
57970 # Hook for its removal unless debugging.
57971 # Note that there is a small window in which the directory will not be cleaned:
57972 # after its creation but before its name has been assigned to `$tmp'.
57973 $debug ||
57974 {
57975 tmp=
57976 trap 'exit_status=$?
57977 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
57978 ' 0
57979 trap '{ (exit 1); exit 1; }' 1 2 13 15
57980 }
57981 # Create a (secure) tmp directory for tmp files.
57982
57983 {
57984 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
57985 test -n "$tmp" && test -d "$tmp"
57986 } ||
57987 {
57988 tmp=./conf$$-$RANDOM
57989 (umask 077 && mkdir "$tmp")
57990 } ||
57991 {
57992 echo "$me: cannot create a temporary directory in ." >&2
57993 { (exit 1); exit 1; }
57994 }
57995
57996 #
57997 # Set up the sed scripts for CONFIG_FILES section.
57998 #
57999
58000 # No need to generate the scripts if there are no CONFIG_FILES.
58001 # This happens for instance when ./config.status config.h
58002 if test -n "$CONFIG_FILES"; then
58003
58004 _ACEOF
58005
58006
58007
58008 ac_delim='%!_!# '
58009 for ac_last_try in false false false false false :; do
58010 cat >conf$$subs.sed <<_ACEOF
58011 SHELL!$SHELL$ac_delim
58012 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
58013 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
58014 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
58015 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
58016 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
58017 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
58018 exec_prefix!$exec_prefix$ac_delim
58019 prefix!$prefix$ac_delim
58020 program_transform_name!$program_transform_name$ac_delim
58021 bindir!$bindir$ac_delim
58022 sbindir!$sbindir$ac_delim
58023 libexecdir!$libexecdir$ac_delim
58024 datarootdir!$datarootdir$ac_delim
58025 datadir!$datadir$ac_delim
58026 sysconfdir!$sysconfdir$ac_delim
58027 sharedstatedir!$sharedstatedir$ac_delim
58028 localstatedir!$localstatedir$ac_delim
58029 includedir!$includedir$ac_delim
58030 oldincludedir!$oldincludedir$ac_delim
58031 docdir!$docdir$ac_delim
58032 infodir!$infodir$ac_delim
58033 htmldir!$htmldir$ac_delim
58034 dvidir!$dvidir$ac_delim
58035 pdfdir!$pdfdir$ac_delim
58036 psdir!$psdir$ac_delim
58037 libdir!$libdir$ac_delim
58038 localedir!$localedir$ac_delim
58039 mandir!$mandir$ac_delim
58040 DEFS!$DEFS$ac_delim
58041 ECHO_C!$ECHO_C$ac_delim
58042 ECHO_N!$ECHO_N$ac_delim
58043 ECHO_T!$ECHO_T$ac_delim
58044 LIBS!$LIBS$ac_delim
58045 build_alias!$build_alias$ac_delim
58046 host_alias!$host_alias$ac_delim
58047 target_alias!$target_alias$ac_delim
58048 build!$build$ac_delim
58049 build_cpu!$build_cpu$ac_delim
58050 build_vendor!$build_vendor$ac_delim
58051 build_os!$build_os$ac_delim
58052 host!$host$ac_delim
58053 host_cpu!$host_cpu$ac_delim
58054 host_vendor!$host_vendor$ac_delim
58055 host_os!$host_os$ac_delim
58056 target!$target$ac_delim
58057 target_cpu!$target_cpu$ac_delim
58058 target_vendor!$target_vendor$ac_delim
58059 target_os!$target_os$ac_delim
58060 wx_top_builddir!$wx_top_builddir$ac_delim
58061 CC!$CC$ac_delim
58062 CFLAGS!$CFLAGS$ac_delim
58063 LDFLAGS!$LDFLAGS$ac_delim
58064 CPPFLAGS!$CPPFLAGS$ac_delim
58065 ac_ct_CC!$ac_ct_CC$ac_delim
58066 EXEEXT!$EXEEXT$ac_delim
58067 OBJEXT!$OBJEXT$ac_delim
58068 CPP!$CPP$ac_delim
58069 GREP!$GREP$ac_delim
58070 EGREP!$EGREP$ac_delim
58071 CXX!$CXX$ac_delim
58072 CXXFLAGS!$CXXFLAGS$ac_delim
58073 ac_ct_CXX!$ac_ct_CXX$ac_delim
58074 RANLIB!$RANLIB$ac_delim
58075 AR!$AR$ac_delim
58076 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
58077 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
58078 INSTALL_DATA!$INSTALL_DATA$ac_delim
58079 STRIP!$STRIP$ac_delim
58080 WINDRES!$WINDRES$ac_delim
58081 DLLTOOL!$DLLTOOL$ac_delim
58082 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
58083 LN_S!$LN_S$ac_delim
58084 CXXCPP!$CXXCPP$ac_delim
58085 subdirs!$subdirs$ac_delim
58086 PKG_CONFIG!$PKG_CONFIG$ac_delim
58087 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
58088 GTK_LIBS!$GTK_LIBS$ac_delim
58089 GTK_CONFIG!$GTK_CONFIG$ac_delim
58090 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
58091 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
58092 XMKMF!$XMKMF$ac_delim
58093 X_CFLAGS!$X_CFLAGS$ac_delim
58094 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
58095 X_LIBS!$X_LIBS$ac_delim
58096 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
58097 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
58098 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
58099 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
58100 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
58101 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
58102 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
58103 REZ!$REZ$ac_delim
58104 DEREZ!$DEREZ$ac_delim
58105 SETFILE!$SETFILE$ac_delim
58106 LIBICONV!$LIBICONV$ac_delim
58107 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
58108 _ACEOF
58109
58110 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58111 break
58112 elif $ac_last_try; then
58113 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58114 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58115 { (exit 1); exit 1; }; }
58116 else
58117 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
58118 fi
58119 done
58120
58121 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58122 if test -n "$ac_eof"; then
58123 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
58124 ac_eof=`expr $ac_eof + 1`
58125 fi
58126
58127 cat >>$CONFIG_STATUS <<_ACEOF
58128 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
58129 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58130 _ACEOF
58131 sed '
58132 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58133 s/^/s,@/; s/!/@,|#_!!_#|/
58134 :n
58135 t n
58136 s/'"$ac_delim"'$/,g/; t
58137 s/$/\\/; p
58138 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58139 ' >>$CONFIG_STATUS <conf$$subs.sed
58140 rm -f conf$$subs.sed
58141 cat >>$CONFIG_STATUS <<_ACEOF
58142 CEOF$ac_eof
58143 _ACEOF
58144
58145
58146 ac_delim='%!_!# '
58147 for ac_last_try in false false false false false :; do
58148 cat >conf$$subs.sed <<_ACEOF
58149 SDL_CONFIG!$SDL_CONFIG$ac_delim
58150 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
58151 SDL_LIBS!$SDL_LIBS$ac_delim
58152 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
58153 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
58154 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
58155 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
58156 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
58157 HILDON_LIBS!$HILDON_LIBS$ac_delim
58158 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
58159 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
58160 GST_CFLAGS!$GST_CFLAGS$ac_delim
58161 GST_LIBS!$GST_LIBS$ac_delim
58162 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
58163 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
58164 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
58165 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
58166 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
58167 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
58168 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
58169 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
58170 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
58171 VENDOR!$VENDOR$ac_delim
58172 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
58173 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
58174 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
58175 WXUNIV!$WXUNIV$ac_delim
58176 MONOLITHIC!$MONOLITHIC$ac_delim
58177 USE_PLUGINS!$USE_PLUGINS$ac_delim
58178 EXTRALIBS!$EXTRALIBS$ac_delim
58179 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
58180 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
58181 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
58182 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
58183 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
58184 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
58185 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
58186 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
58187 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
58188 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
58189 UNICODE!$UNICODE$ac_delim
58190 BUILD!$BUILD$ac_delim
58191 DEBUG_INFO!$DEBUG_INFO$ac_delim
58192 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
58193 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
58194 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
58195 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
58196 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
58197 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
58198 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
58199 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
58200 SET_MAKE!$SET_MAKE$ac_delim
58201 MAKE_SET!$MAKE_SET$ac_delim
58202 AROPTIONS!$AROPTIONS$ac_delim
58203 NM!$NM$ac_delim
58204 INSTALL_DIR!$INSTALL_DIR$ac_delim
58205 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
58206 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
58207 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
58208 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
58209 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
58210 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
58211 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
58212 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
58213 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
58214 SO_SUFFIX!$SO_SUFFIX$ac_delim
58215 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
58216 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
58217 LIBPREFIX!$LIBPREFIX$ac_delim
58218 LIBEXT!$LIBEXT$ac_delim
58219 DLLPREFIX!$DLLPREFIX$ac_delim
58220 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
58221 dlldir!$dlldir$ac_delim
58222 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
58223 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
58224 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
58225 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
58226 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
58227 PIC_FLAG!$PIC_FLAG$ac_delim
58228 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
58229 USE_SOVERSION!$USE_SOVERSION$ac_delim
58230 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
58231 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
58232 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
58233 USE_MACVERSION!$USE_MACVERSION$ac_delim
58234 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
58235 SONAME_FLAG!$SONAME_FLAG$ac_delim
58236 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
58237 BK_DEPS!$BK_DEPS$ac_delim
58238 GCC_PCH!$GCC_PCH$ac_delim
58239 ICC_PCH!$ICC_PCH$ac_delim
58240 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
58241 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
58242 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
58243 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
58244 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
58245 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
58246 _ACEOF
58247
58248 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58249 break
58250 elif $ac_last_try; then
58251 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58252 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58253 { (exit 1); exit 1; }; }
58254 else
58255 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
58256 fi
58257 done
58258
58259 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58260 if test -n "$ac_eof"; then
58261 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
58262 ac_eof=`expr $ac_eof + 1`
58263 fi
58264
58265 cat >>$CONFIG_STATUS <<_ACEOF
58266 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
58267 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58268 _ACEOF
58269 sed '
58270 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58271 s/^/s,@/; s/!/@,|#_!!_#|/
58272 :n
58273 t n
58274 s/'"$ac_delim"'$/,g/; t
58275 s/$/\\/; p
58276 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58277 ' >>$CONFIG_STATUS <conf$$subs.sed
58278 rm -f conf$$subs.sed
58279 cat >>$CONFIG_STATUS <<_ACEOF
58280 CEOF$ac_eof
58281 _ACEOF
58282
58283
58284 ac_delim='%!_!# '
58285 for ac_last_try in false false false false false :; do
58286 cat >conf$$subs.sed <<_ACEOF
58287 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
58288 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
58289 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
58290 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
58291 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
58292 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
58293 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
58294 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
58295 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
58296 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
58297 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
58298 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
58299 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
58300 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
58301 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
58302 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
58303 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
58304 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
58305 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
58306 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
58307 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
58308 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
58309 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
58310 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
58311 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
58312 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
58313 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
58314 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
58315 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
58316 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
58317 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
58318 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
58319 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
58320 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
58321 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
58322 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
58323 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
58324 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
58325 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
58326 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
58327 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
58328 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
58329 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
58330 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
58331 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
58332 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
58333 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
58334 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
58335 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
58336 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
58337 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
58338 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
58339 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
58340 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
58341 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
58342 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
58343 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
58344 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
58345 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
58346 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
58347 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
58348 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
58349 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
58350 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
58351 COND_SHARED_0!$COND_SHARED_0$ac_delim
58352 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
58353 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
58354 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
58355 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
58356 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
58357 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
58358 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
58359 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
58360 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
58361 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
58362 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
58363 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
58364 COND_SHARED_1!$COND_SHARED_1$ac_delim
58365 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
58366 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
58367 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
58368 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
58369 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
58370 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
58371 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
58372 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
58373 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
58374 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
58375 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
58376 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
58377 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
58378 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
58379 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
58380 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
58381 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
58382 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
58383 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
58384 _ACEOF
58385
58386 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58387 break
58388 elif $ac_last_try; then
58389 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58390 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58391 { (exit 1); exit 1; }; }
58392 else
58393 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
58394 fi
58395 done
58396
58397 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58398 if test -n "$ac_eof"; then
58399 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
58400 ac_eof=`expr $ac_eof + 1`
58401 fi
58402
58403 cat >>$CONFIG_STATUS <<_ACEOF
58404 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
58405 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58406 _ACEOF
58407 sed '
58408 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58409 s/^/s,@/; s/!/@,|#_!!_#|/
58410 :n
58411 t n
58412 s/'"$ac_delim"'$/,g/; t
58413 s/$/\\/; p
58414 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58415 ' >>$CONFIG_STATUS <conf$$subs.sed
58416 rm -f conf$$subs.sed
58417 cat >>$CONFIG_STATUS <<_ACEOF
58418 CEOF$ac_eof
58419 _ACEOF
58420
58421
58422 ac_delim='%!_!# '
58423 for ac_last_try in false false false false false :; do
58424 cat >conf$$subs.sed <<_ACEOF
58425 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
58426 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
58427 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
58428 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
58429 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
58430 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
58431 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
58432 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
58433 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
58434 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
58435 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
58436 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
58437 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
58438 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
58439 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
58440 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
58441 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
58442 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
58443 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
58444 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
58445 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
58446 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
58447 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
58448 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
58449 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
58450 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
58451 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
58452 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
58453 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
58454 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
58455 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
58456 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
58457 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
58458 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
58459 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
58460 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
58461 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
58462 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
58463 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
58464 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
58465 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
58466 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
58467 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
58468 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
58469 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
58470 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
58471 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
58472 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
58473 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
58474 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
58475 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
58476 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
58477 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
58478 SHARED!$SHARED$ac_delim
58479 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
58480 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
58481 USE_GUI!$USE_GUI$ac_delim
58482 AFMINSTALL!$AFMINSTALL$ac_delim
58483 WIN32INSTALL!$WIN32INSTALL$ac_delim
58484 TOOLKIT!$TOOLKIT$ac_delim
58485 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
58486 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
58487 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
58488 cross_compiling!$cross_compiling$ac_delim
58489 WIDGET_SET!$WIDGET_SET$ac_delim
58490 WX_RELEASE!$WX_RELEASE$ac_delim
58491 WX_VERSION!$WX_VERSION$ac_delim
58492 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
58493 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
58494 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
58495 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
58496 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
58497 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
58498 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
58499 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
58500 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
58501 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
58502 EXE_LINKER!$EXE_LINKER$ac_delim
58503 GUIDIST!$GUIDIST$ac_delim
58504 DISTDIR!$DISTDIR$ac_delim
58505 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
58506 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
58507 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
58508 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
58509 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
58510 RESCOMP!$RESCOMP$ac_delim
58511 RESFLAGS!$RESFLAGS$ac_delim
58512 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
58513 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
58514 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
58515 LIBWXMACRES!$LIBWXMACRES$ac_delim
58516 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
58517 MACSETFILE!$MACSETFILE$ac_delim
58518 GCC!$GCC$ac_delim
58519 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
58520 LIBOBJS!$LIBOBJS$ac_delim
58521 LTLIBOBJS!$LTLIBOBJS$ac_delim
58522 _ACEOF
58523
58524 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
58525 break
58526 elif $ac_last_try; then
58527 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
58528 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
58529 { (exit 1); exit 1; }; }
58530 else
58531 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
58532 fi
58533 done
58534
58535 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
58536 if test -n "$ac_eof"; then
58537 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
58538 ac_eof=`expr $ac_eof + 1`
58539 fi
58540
58541 cat >>$CONFIG_STATUS <<_ACEOF
58542 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
58543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58544 _ACEOF
58545 sed '
58546 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
58547 s/^/s,@/; s/!/@,|#_!!_#|/
58548 :n
58549 t n
58550 s/'"$ac_delim"'$/,g/; t
58551 s/$/\\/; p
58552 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
58553 ' >>$CONFIG_STATUS <conf$$subs.sed
58554 rm -f conf$$subs.sed
58555 cat >>$CONFIG_STATUS <<_ACEOF
58556 CEOF$ac_eof
58557 _ACEOF
58558
58559
58560 # VPATH may cause trouble with some makes, so we remove $(srcdir),
58561 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
58562 # trailing colons and then remove the whole line if VPATH becomes empty
58563 # (actually we leave an empty line to preserve line numbers).
58564 if test "x$srcdir" = x.; then
58565 ac_vpsub='/^[ ]*VPATH[ ]*=/{
58566 s/:*\$(srcdir):*/:/
58567 s/:*\${srcdir}:*/:/
58568 s/:*@srcdir@:*/:/
58569 s/^\([^=]*=[ ]*\):*/\1/
58570 s/:*$//
58571 s/^[^=]*=[ ]*$//
58572 }'
58573 fi
58574
58575 cat >>$CONFIG_STATUS <<\_ACEOF
58576 fi # test -n "$CONFIG_FILES"
58577
58578
58579 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
58580 do
58581 case $ac_tag in
58582 :[FHLC]) ac_mode=$ac_tag; continue;;
58583 esac
58584 case $ac_mode$ac_tag in
58585 :[FHL]*:*);;
58586 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
58587 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
58588 { (exit 1); exit 1; }; };;
58589 :[FH]-) ac_tag=-:-;;
58590 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
58591 esac
58592 ac_save_IFS=$IFS
58593 IFS=:
58594 set x $ac_tag
58595 IFS=$ac_save_IFS
58596 shift
58597 ac_file=$1
58598 shift
58599
58600 case $ac_mode in
58601 :L) ac_source=$1;;
58602 :[FH])
58603 ac_file_inputs=
58604 for ac_f
58605 do
58606 case $ac_f in
58607 -) ac_f="$tmp/stdin";;
58608 *) # Look for the file first in the build tree, then in the source tree
58609 # (if the path is not absolute). The absolute path cannot be DOS-style,
58610 # because $ac_f cannot contain `:'.
58611 test -f "$ac_f" ||
58612 case $ac_f in
58613 [\\/$]*) false;;
58614 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
58615 esac ||
58616 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
58617 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
58618 { (exit 1); exit 1; }; };;
58619 esac
58620 ac_file_inputs="$ac_file_inputs $ac_f"
58621 done
58622
58623 # Let's still pretend it is `configure' which instantiates (i.e., don't
58624 # use $as_me), people would be surprised to read:
58625 # /* config.h. Generated by config.status. */
58626 configure_input="Generated from "`IFS=:
58627 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
58628 if test x"$ac_file" != x-; then
58629 configure_input="$ac_file. $configure_input"
58630 { echo "$as_me:$LINENO: creating $ac_file" >&5
58631 echo "$as_me: creating $ac_file" >&6;}
58632 fi
58633
58634 case $ac_tag in
58635 *:-:* | *:-) cat >"$tmp/stdin";;
58636 esac
58637 ;;
58638 esac
58639
58640 ac_dir=`$as_dirname -- "$ac_file" ||
58641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58642 X"$ac_file" : 'X\(//\)[^/]' \| \
58643 X"$ac_file" : 'X\(//\)$' \| \
58644 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
58645 echo X"$ac_file" |
58646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58647 s//\1/
58648 q
58649 }
58650 /^X\(\/\/\)[^/].*/{
58651 s//\1/
58652 q
58653 }
58654 /^X\(\/\/\)$/{
58655 s//\1/
58656 q
58657 }
58658 /^X\(\/\).*/{
58659 s//\1/
58660 q
58661 }
58662 s/.*/./; q'`
58663 { as_dir="$ac_dir"
58664 case $as_dir in #(
58665 -*) as_dir=./$as_dir;;
58666 esac
58667 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
58668 as_dirs=
58669 while :; do
58670 case $as_dir in #(
58671 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
58672 *) as_qdir=$as_dir;;
58673 esac
58674 as_dirs="'$as_qdir' $as_dirs"
58675 as_dir=`$as_dirname -- "$as_dir" ||
58676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
58677 X"$as_dir" : 'X\(//\)[^/]' \| \
58678 X"$as_dir" : 'X\(//\)$' \| \
58679 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
58680 echo X"$as_dir" |
58681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
58682 s//\1/
58683 q
58684 }
58685 /^X\(\/\/\)[^/].*/{
58686 s//\1/
58687 q
58688 }
58689 /^X\(\/\/\)$/{
58690 s//\1/
58691 q
58692 }
58693 /^X\(\/\).*/{
58694 s//\1/
58695 q
58696 }
58697 s/.*/./; q'`
58698 test -d "$as_dir" && break
58699 done
58700 test -z "$as_dirs" || eval "mkdir $as_dirs"
58701 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
58702 echo "$as_me: error: cannot create directory $as_dir" >&2;}
58703 { (exit 1); exit 1; }; }; }
58704 ac_builddir=.
58705
58706 case "$ac_dir" in
58707 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
58708 *)
58709 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
58710 # A ".." for each directory in $ac_dir_suffix.
58711 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
58712 case $ac_top_builddir_sub in
58713 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
58714 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
58715 esac ;;
58716 esac
58717 ac_abs_top_builddir=$ac_pwd
58718 ac_abs_builddir=$ac_pwd$ac_dir_suffix
58719 # for backward compatibility:
58720 ac_top_builddir=$ac_top_build_prefix
58721
58722 case $srcdir in
58723 .) # We are building in place.
58724 ac_srcdir=.
58725 ac_top_srcdir=$ac_top_builddir_sub
58726 ac_abs_top_srcdir=$ac_pwd ;;
58727 [\\/]* | ?:[\\/]* ) # Absolute name.
58728 ac_srcdir=$srcdir$ac_dir_suffix;
58729 ac_top_srcdir=$srcdir
58730 ac_abs_top_srcdir=$srcdir ;;
58731 *) # Relative name.
58732 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
58733 ac_top_srcdir=$ac_top_build_prefix$srcdir
58734 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
58735 esac
58736 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
58737
58738
58739 case $ac_mode in
58740 :F)
58741 #
58742 # CONFIG_FILE
58743 #
58744
58745 case $INSTALL in
58746 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
58747 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
58748 esac
58749 _ACEOF
58750
58751 cat >>$CONFIG_STATUS <<\_ACEOF
58752 # If the template does not know about datarootdir, expand it.
58753 # FIXME: This hack should be removed a few years after 2.60.
58754 ac_datarootdir_hack=; ac_datarootdir_seen=
58755
58756 case `sed -n '/datarootdir/ {
58757 p
58758 q
58759 }
58760 /@datadir@/p
58761 /@docdir@/p
58762 /@infodir@/p
58763 /@localedir@/p
58764 /@mandir@/p
58765 ' $ac_file_inputs` in
58766 *datarootdir*) ac_datarootdir_seen=yes;;
58767 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
58768 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
58769 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
58770 _ACEOF
58771 cat >>$CONFIG_STATUS <<_ACEOF
58772 ac_datarootdir_hack='
58773 s&@datadir@&$datadir&g
58774 s&@docdir@&$docdir&g
58775 s&@infodir@&$infodir&g
58776 s&@localedir@&$localedir&g
58777 s&@mandir@&$mandir&g
58778 s&\\\${datarootdir}&$datarootdir&g' ;;
58779 esac
58780 _ACEOF
58781
58782 # Neutralize VPATH when `$srcdir' = `.'.
58783 # Shell code in configure.ac might set extrasub.
58784 # FIXME: do we really want to maintain this feature?
58785 cat >>$CONFIG_STATUS <<_ACEOF
58786 sed "$ac_vpsub
58787 $extrasub
58788 _ACEOF
58789 cat >>$CONFIG_STATUS <<\_ACEOF
58790 :t
58791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
58792 s&@configure_input@&$configure_input&;t t
58793 s&@top_builddir@&$ac_top_builddir_sub&;t t
58794 s&@srcdir@&$ac_srcdir&;t t
58795 s&@abs_srcdir@&$ac_abs_srcdir&;t t
58796 s&@top_srcdir@&$ac_top_srcdir&;t t
58797 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
58798 s&@builddir@&$ac_builddir&;t t
58799 s&@abs_builddir@&$ac_abs_builddir&;t t
58800 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
58801 s&@INSTALL@&$ac_INSTALL&;t t
58802 $ac_datarootdir_hack
58803 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed 's/|#_!!_#|//g' >$tmp/out
58804
58805 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
58806 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
58807 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
58808 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
58809 which seems to be undefined. Please make sure it is defined." >&5
58810 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
58811 which seems to be undefined. Please make sure it is defined." >&2;}
58812
58813 rm -f "$tmp/stdin"
58814 case $ac_file in
58815 -) cat "$tmp/out"; rm -f "$tmp/out";;
58816 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
58817 esac
58818 ;;
58819 :H)
58820 #
58821 # CONFIG_HEADER
58822 #
58823 _ACEOF
58824
58825 # Transform confdefs.h into a sed script `conftest.defines', that
58826 # substitutes the proper values into config.h.in to produce config.h.
58827 rm -f conftest.defines conftest.tail
58828 # First, append a space to every undef/define line, to ease matching.
58829 echo 's/$/ /' >conftest.defines
58830 # Then, protect against being on the right side of a sed subst, or in
58831 # an unquoted here document, in config.status. If some macros were
58832 # called several times there might be several #defines for the same
58833 # symbol, which is useless. But do not sort them, since the last
58834 # AC_DEFINE must be honored.
58835 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
58836 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
58837 # NAME is the cpp macro being defined, VALUE is the value it is being given.
58838 # PARAMS is the parameter list in the macro definition--in most cases, it's
58839 # just an empty string.
58840 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
58841 ac_dB='\\)[ (].*,\\1define\\2'
58842 ac_dC=' '
58843 ac_dD=' ,'
58844
58845 uniq confdefs.h |
58846 sed -n '
58847 t rset
58848 :rset
58849 s/^[ ]*#[ ]*define[ ][ ]*//
58850 t ok
58851 d
58852 :ok
58853 s/[\\&,]/\\&/g
58854 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
58855 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
58856 ' >>conftest.defines
58857
58858 # Remove the space that was appended to ease matching.
58859 # Then replace #undef with comments. This is necessary, for
58860 # example, in the case of _POSIX_SOURCE, which is predefined and required
58861 # on some systems where configure will not decide to define it.
58862 # (The regexp can be short, since the line contains either #define or #undef.)
58863 echo 's/ $//
58864 s,^[ #]*u.*,/* & */,' >>conftest.defines
58865
58866 # Break up conftest.defines:
58867 ac_max_sed_lines=50
58868
58869 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
58870 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
58871 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
58872 # et cetera.
58873 ac_in='$ac_file_inputs'
58874 ac_out='"$tmp/out1"'
58875 ac_nxt='"$tmp/out2"'
58876
58877 while :
58878 do
58879 # Write a here document:
58880 cat >>$CONFIG_STATUS <<_ACEOF
58881 # First, check the format of the line:
58882 cat >"\$tmp/defines.sed" <<\\CEOF
58883 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
58884 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
58885 b
58886 :def
58887 _ACEOF
58888 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
58889 echo 'CEOF
58890 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
58891 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
58892 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
58893 grep . conftest.tail >/dev/null || break
58894 rm -f conftest.defines
58895 mv conftest.tail conftest.defines
58896 done
58897 rm -f conftest.defines conftest.tail
58898
58899 echo "ac_result=$ac_in" >>$CONFIG_STATUS
58900 cat >>$CONFIG_STATUS <<\_ACEOF
58901 if test x"$ac_file" != x-; then
58902 echo "/* $configure_input */" >"$tmp/config.h"
58903 cat "$ac_result" >>"$tmp/config.h"
58904 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
58905 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
58906 echo "$as_me: $ac_file is unchanged" >&6;}
58907 else
58908 rm -f $ac_file
58909 mv "$tmp/config.h" $ac_file
58910 fi
58911 else
58912 echo "/* $configure_input */"
58913 cat "$ac_result"
58914 fi
58915 rm -f "$tmp/out12"
58916 ;;
58917
58918 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
58919 echo "$as_me: executing $ac_file commands" >&6;}
58920 ;;
58921 esac
58922
58923
58924 case $ac_file$ac_mode in
58925 "rcdefs.h":C)
58926 mkdir -p $outdir &&
58927 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
58928 ;;
58929 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
58930 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
58931 "wx-config":C) rm -f wx-config
58932 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
58933 ;;
58934
58935 esac
58936 done # for ac_tag
58937
58938
58939 { (exit 0); exit 0; }
58940 _ACEOF
58941 chmod +x $CONFIG_STATUS
58942 ac_clean_files=$ac_clean_files_save
58943
58944
58945 # configure is writing to config.log, and then calls config.status.
58946 # config.status does its own redirection, appending to config.log.
58947 # Unfortunately, on DOS this fails, as config.log is still kept open
58948 # by configure, so config.status won't be able to write to it; its
58949 # output is simply discarded. So we exec the FD to /dev/null,
58950 # effectively closing config.log, so it can be properly (re)opened and
58951 # appended to by config.status. When coming back to configure, we
58952 # need to make the FD available again.
58953 if test "$no_create" != yes; then
58954 ac_cs_success=:
58955 ac_config_status_args=
58956 test "$silent" = yes &&
58957 ac_config_status_args="$ac_config_status_args --quiet"
58958 exec 5>/dev/null
58959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
58960 exec 5>>config.log
58961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
58962 # would make configure fail if this is the last instruction.
58963 $ac_cs_success || { (exit 1); exit 1; }
58964 fi
58965
58966 #
58967 # CONFIG_SUBDIRS section.
58968 #
58969 if test "$no_recursion" != yes; then
58970
58971 # Remove --cache-file and --srcdir arguments so they do not pile up.
58972 ac_sub_configure_args=
58973 ac_prev=
58974 eval "set x $ac_configure_args"
58975 shift
58976 for ac_arg
58977 do
58978 if test -n "$ac_prev"; then
58979 ac_prev=
58980 continue
58981 fi
58982 case $ac_arg in
58983 -cache-file | --cache-file | --cache-fil | --cache-fi \
58984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
58985 ac_prev=cache_file ;;
58986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
58987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
58988 | --c=*)
58989 ;;
58990 --config-cache | -C)
58991 ;;
58992 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
58993 ac_prev=srcdir ;;
58994 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
58995 ;;
58996 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
58997 ac_prev=prefix ;;
58998 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
58999 ;;
59000 *)
59001 case $ac_arg in
59002 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
59003 esac
59004 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
59005 esac
59006 done
59007
59008 # Always prepend --prefix to ensure using the same prefix
59009 # in subdir configurations.
59010 ac_arg="--prefix=$prefix"
59011 case $ac_arg in
59012 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
59013 esac
59014 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
59015
59016 ac_popdir=`pwd`
59017 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
59018
59019 # Do not complain, so a configure script can configure whichever
59020 # parts of a large source tree are present.
59021 test -d "$srcdir/$ac_dir" || continue
59022
59023 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
59024 echo "$as_me:$LINENO: $ac_msg" >&5
59025 echo "$ac_msg" >&6
59026 { as_dir="$ac_dir"
59027 case $as_dir in #(
59028 -*) as_dir=./$as_dir;;
59029 esac
59030 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
59031 as_dirs=
59032 while :; do
59033 case $as_dir in #(
59034 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
59035 *) as_qdir=$as_dir;;
59036 esac
59037 as_dirs="'$as_qdir' $as_dirs"
59038 as_dir=`$as_dirname -- "$as_dir" ||
59039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59040 X"$as_dir" : 'X\(//\)[^/]' \| \
59041 X"$as_dir" : 'X\(//\)$' \| \
59042 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59043 echo X"$as_dir" |
59044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59045 s//\1/
59046 q
59047 }
59048 /^X\(\/\/\)[^/].*/{
59049 s//\1/
59050 q
59051 }
59052 /^X\(\/\/\)$/{
59053 s//\1/
59054 q
59055 }
59056 /^X\(\/\).*/{
59057 s//\1/
59058 q
59059 }
59060 s/.*/./; q'`
59061 test -d "$as_dir" && break
59062 done
59063 test -z "$as_dirs" || eval "mkdir $as_dirs"
59064 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
59065 echo "$as_me: error: cannot create directory $as_dir" >&2;}
59066 { (exit 1); exit 1; }; }; }
59067 ac_builddir=.
59068
59069 case "$ac_dir" in
59070 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
59071 *)
59072 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
59073 # A ".." for each directory in $ac_dir_suffix.
59074 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
59075 case $ac_top_builddir_sub in
59076 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
59077 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
59078 esac ;;
59079 esac
59080 ac_abs_top_builddir=$ac_pwd
59081 ac_abs_builddir=$ac_pwd$ac_dir_suffix
59082 # for backward compatibility:
59083 ac_top_builddir=$ac_top_build_prefix
59084
59085 case $srcdir in
59086 .) # We are building in place.
59087 ac_srcdir=.
59088 ac_top_srcdir=$ac_top_builddir_sub
59089 ac_abs_top_srcdir=$ac_pwd ;;
59090 [\\/]* | ?:[\\/]* ) # Absolute name.
59091 ac_srcdir=$srcdir$ac_dir_suffix;
59092 ac_top_srcdir=$srcdir
59093 ac_abs_top_srcdir=$srcdir ;;
59094 *) # Relative name.
59095 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
59096 ac_top_srcdir=$ac_top_build_prefix$srcdir
59097 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
59098 esac
59099 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
59100
59101
59102 cd "$ac_dir"
59103
59104 # Check for guested configure; otherwise get Cygnus style configure.
59105 if test -f "$ac_srcdir/configure.gnu"; then
59106 ac_sub_configure=$ac_srcdir/configure.gnu
59107 elif test -f "$ac_srcdir/configure"; then
59108 ac_sub_configure=$ac_srcdir/configure
59109 elif test -f "$ac_srcdir/configure.in"; then
59110 # This should be Cygnus configure.
59111 ac_sub_configure=$ac_aux_dir/configure
59112 else
59113 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
59114 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
59115 ac_sub_configure=
59116 fi
59117
59118 # The recursion is here.
59119 if test -n "$ac_sub_configure"; then
59120 # Make the cache file name correct relative to the subdirectory.
59121 case $cache_file in
59122 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
59123 *) # Relative name.
59124 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
59125 esac
59126
59127 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
59128 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
59129 # The eval makes quoting arguments work.
59130 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
59131 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
59132 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
59133 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
59134 { (exit 1); exit 1; }; }
59135 fi
59136
59137 cd "$ac_popdir"
59138 done
59139 fi
59140
59141
59142 echo
59143 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
59144 echo ""
59145 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
59146 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
59147
59148 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
59149 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
59150 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
59151
59152 echo " What level of wxWidgets compatibility should be enabled?"
59153 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
59154 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
59155
59156 echo " Which libraries should wxWidgets use?"
59157 echo " jpeg ${wxUSE_LIBJPEG-none}"
59158 echo " png ${wxUSE_LIBPNG-none}"
59159 echo " regex ${wxUSE_REGEX}"
59160 echo " tiff ${wxUSE_LIBTIFF-none}"
59161 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
59162 echo " xpm ${wxUSE_LIBXPM-none}"
59163 fi
59164 echo " zlib ${wxUSE_ZLIB}"
59165 echo " odbc ${wxUSE_ODBC}"
59166 echo " expat ${wxUSE_EXPAT}"
59167 echo " libmspack ${wxUSE_LIBMSPACK}"
59168 echo " sdl ${wxUSE_LIBSDL}"
59169
59170 echo ""
59171