]> git.saurik.com Git - wxWidgets.git/blob - configure
compilation fix
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 48174 2007-08-19 10:16:30Z VS .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 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 more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 LIBGNOMEPRINTUI_CFLAGS
708 LIBGNOMEPRINTUI_LIBS
709 GNOMEVFS_CFLAGS
710 GNOMEVFS_LIBS
711 HILDON_CFLAGS
712 HILDON_LIBS
713 CAIRO_CFLAGS
714 CAIRO_LIBS
715 GST_CFLAGS
716 GST_LIBS
717 ALL_WX_LIBS
718 BUILT_WX_LIBS
719 STD_BASE_LIBS
720 STD_GUI_LIBS
721 wxUSE_ZLIB
722 wxUSE_REGEX
723 wxUSE_EXPAT
724 wxUSE_ODBC
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_ODBC
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 WITH_PLUGIN_SDL
744 EXTRALIBS_GNOMEPRINT
745 EXTRALIBS_GNOMEVFS
746 EXTRALIBS_HILDON
747 UNICODE
748 BUILD
749 DEBUG_INFO
750 DEBUG_FLAG
751 TOOLKIT_LOWERCASE
752 TOOLKIT_VERSION
753 SAMPLES_RPATH_FLAG
754 SAMPLES_RPATH_POSTLINK
755 HOST_SUFFIX
756 CPPUNIT_CFLAGS
757 CPPUNIT_LIBS
758 RANLIB
759 INSTALL_PROGRAM
760 INSTALL_SCRIPT
761 INSTALL_DATA
762 LN_S
763 SET_MAKE
764 MAKE_SET
765 AROPTIONS
766 STRIP
767 NM
768 INSTALL_DIR
769 LDFLAGS_GUI
770 IF_GNU_MAKE
771 PLATFORM_UNIX
772 PLATFORM_WIN32
773 PLATFORM_MSDOS
774 PLATFORM_MAC
775 PLATFORM_MACOS
776 PLATFORM_MACOSX
777 PLATFORM_OS2
778 PLATFORM_BEOS
779 SO_SUFFIX
780 SO_SUFFIX_MODULE
781 DLLIMP_SUFFIX
782 LIBPREFIX
783 LIBEXT
784 DLLPREFIX
785 DLLPREFIX_MODULE
786 dlldir
787 AIX_CXX_LD
788 SHARED_LD_CC
789 SHARED_LD_CXX
790 SHARED_LD_MODULE_CC
791 SHARED_LD_MODULE_CXX
792 PIC_FLAG
793 WINDOWS_IMPLIB
794 USE_SOVERSION
795 USE_SOVERLINUX
796 USE_SOVERSOLARIS
797 USE_SOVERCYGWIN
798 USE_MACVERSION
799 USE_SOSYMLINKS
800 SONAME_FLAG
801 DEPS_TRACKING
802 BK_DEPS
803 WINDRES
804 REZ
805 SETFILE
806 GCC_PCH
807 ICC_PCH
808 BK_MAKE_PCH
809 COND_BUILD_DEBUG
810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
811 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
812 COND_BUILD_DEBUG_UNICODE_0
813 COND_BUILD_DEBUG_UNICODE_1
814 COND_BUILD_RELEASE
815 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
816 COND_BUILD_RELEASE_UNICODE_0
817 COND_BUILD_RELEASE_UNICODE_1
818 COND_DEBUG_FLAG_1
819 COND_DEBUG_INFO_0
820 COND_DEBUG_INFO_1
821 COND_DEPS_TRACKING_0
822 COND_DEPS_TRACKING_1
823 COND_GCC_PCH_1
824 COND_ICC_PCH_1
825 COND_MONOLITHIC_0
826 COND_MONOLITHIC_0_SHARED_0
827 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
846 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
848 COND_MONOLITHIC_0_USE_AUI_1
849 COND_MONOLITHIC_0_USE_GUI_1
850 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_HTML_1
853 COND_MONOLITHIC_0_USE_MEDIA_1
854 COND_MONOLITHIC_0_USE_ODBC_1
855 COND_MONOLITHIC_0_USE_QA_1
856 COND_MONOLITHIC_0_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_USE_STC_1
858 COND_MONOLITHIC_0_USE_XRC_1
859 COND_MONOLITHIC_1
860 COND_MONOLITHIC_1_SHARED_0
861 COND_MONOLITHIC_1_SHARED_1
862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
863 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
864 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
865 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
866 COND_PLATFORM_MACOSX_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_
868 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
869 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
871 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
873 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
874 COND_PLATFORM_MACOSX_1_USE_GUI_1
875 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
876 COND_PLATFORM_MACOS_1
877 COND_PLATFORM_MAC_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_OS2_1
881 COND_PLATFORM_UNIX_0
882 COND_PLATFORM_UNIX_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
889 COND_SHARED_0
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_USE_XRC_1
899 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
900 COND_SHARED_0_WXUSE_ODBC_BUILTIN
901 COND_SHARED_0_WXUSE_REGEX_BUILTIN
902 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
903 COND_SHARED_1
904 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
905 COND_SHARED_1_USE_XRC_1
906 COND_TOOLKIT_
907 COND_TOOLKIT_COCOA
908 COND_TOOLKIT_COCOA_USE_GUI_1
909 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_DFB
911 COND_TOOLKIT_DFB_USE_GUI_1
912 COND_TOOLKIT_GTK
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_USE_GUI_1
920 COND_TOOLKIT_MAC
921 COND_TOOLKIT_MAC_USE_GUI_1
922 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MGL
924 COND_TOOLKIT_MGL_USE_GUI_1
925 COND_TOOLKIT_MOTIF
926 COND_TOOLKIT_MOTIF_USE_GUI_1
927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW
929 COND_TOOLKIT_MSW_USE_GUI_1
930 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_MSW_WXUNIV_0
932 COND_TOOLKIT_PM
933 COND_TOOLKIT_PM_USE_GUI_1
934 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE
936 COND_TOOLKIT_WINCE_USE_GUI_1
937 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_WINCE_WXUNIV_0
939 COND_TOOLKIT_X11
940 COND_TOOLKIT_X11_USE_GUI_1
941 COND_UNICODE_1
942 COND_USE_EXCEPTIONS_0
943 COND_USE_EXCEPTIONS_1
944 COND_USE_GUI_0
945 COND_USE_GUI_1
946 COND_USE_GUI_1_USE_OPENGL_1
947 COND_USE_GUI_1_WXUNIV_0
948 COND_USE_GUI_1_WXUNIV_1
949 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
950 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
951 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
952 COND_USE_ODBC_1
953 COND_USE_OPENGL_1
954 COND_USE_PCH_1
955 COND_USE_PLUGINS_0
956 COND_USE_RTTI_0
957 COND_USE_RTTI_1
958 COND_USE_SOSYMLINKS_1
959 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
960 COND_USE_SOVERLINUX_1
961 COND_USE_SOVERSION_0
962 COND_USE_SOVERSOLARIS_1
963 COND_USE_STC_1
964 COND_USE_THREADS_0
965 COND_USE_THREADS_1
966 COND_USE_XRC_1
967 COND_WINDOWS_IMPLIB_1
968 COND_WITH_PLUGIN_SDL_1
969 COND_WXUNIV_0
970 COND_WXUNIV_1
971 COND_WXUSE_EXPAT_BUILTIN
972 COND_WXUSE_LIBJPEG_BUILTIN
973 COND_WXUSE_LIBPNG_BUILTIN
974 COND_WXUSE_LIBTIFF_BUILTIN
975 COND_WXUSE_ODBC_BUILTIN
976 COND_WXUSE_REGEX_BUILTIN
977 COND_WXUSE_ZLIB_BUILTIN
978 DEREZ
979 SHARED
980 WX_LIBRARY_BASENAME_NOGUI
981 WX_LIBRARY_BASENAME_GUI
982 USE_GUI
983 AFMINSTALL
984 WIN32INSTALL
985 TOOLKIT
986 TOOLKIT_DIR
987 TOOLCHAIN_NAME
988 TOOLCHAIN_FULLNAME
989 cross_compiling
990 WIDGET_SET
991 WX_RELEASE
992 WX_VERSION
993 WX_SUBVERSION
994 WX_CHARTYPE
995 WX_DEBUGTYPE
996 WXCONFIG_CPPFLAGS
997 WXCONFIG_CFLAGS
998 WXCONFIG_CXXFLAGS
999 WXCONFIG_LIBS
1000 WXCONFIG_RPATH
1001 WXCONFIG_LDFLAGS_GUI
1002 WXCONFIG_RESFLAGS
1003 EXE_LINKER
1004 GUIDIST
1005 DISTDIR
1006 SAMPLES_SUBDIRS
1007 LDFLAGS_GL
1008 OPENGL_LIBS
1009 DMALLOC_LIBS
1010 WX_VERSION_TAG
1011 RESCOMP
1012 RESFLAGS
1013 RESPROGRAMOBJ
1014 WX_RESOURCES_MACOSX_ASCII
1015 WX_RESOURCES_MACOSX_DATA
1016 LIBWXMACRES
1017 POSTLINK_COMMAND
1018 MACSETFILE
1019 GCC
1020 DLLTOOL
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-iniconf use wxIniConfig (Win32 only)
1734 --enable-regkey use wxRegKey class (Win32 only)
1735 --enable-docview use document view architecture
1736 --enable-help use help subsystem
1737 --enable-mshtmlhelp use MS HTML Help (win32)
1738 --enable-html use wxHTML sub-library
1739 --enable-htmlhelp use wxHTML-based help
1740 --enable-xrc use XRC resources sub-library
1741 --enable-aui use AUI docking library
1742 --enable-stc use wxStyledTextCtrl library
1743 --enable-constraints use layout-constraints system
1744 --enable-printarch use printing architecture
1745 --enable-mdi use multiple document interface architecture
1746 --enable-mdidoc use docview architecture with MDI
1747 --enable-loggui use standard GUI logger
1748 --enable-logwin use wxLogWindow
1749 --enable-logdialog use wxLogDialog
1750 --enable-webkit use wxWebKitCtrl (Mac)
1751 --enable-richtext use wxRichTextCtrl
1752 --enable-graphics_ctx use graphics context 2D drawing API
1753 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1754 --enable-svg use wxSVGFileDC device context
1755 --enable-clipboard use wxClipboard class
1756 --enable-dnd use Drag'n'Drop classes
1757 --enable-metafile use win32 metafiles
1758 --disable-controls disable compilation of all standard controls
1759 --enable-accel use accelerators
1760 --enable-animatectrl use wxAnimationCtrl class
1761 --enable-button use wxButton class
1762 --enable-bmpbutton use wxBitmapButton class
1763 --enable-bmpcombobox use wxBitmapComboBox class
1764 --enable-calendar use wxCalendarCtrl class
1765 --enable-caret use wxCaret class
1766 --enable-checkbox use wxCheckBox class
1767 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1768 --enable-choice use wxChoice class
1769 --enable-choicebook use wxChoicebook class
1770 --enable-collpane use wxCollapsiblePane class
1771 --enable-colourpicker use wxColourPickerCtrl class
1772 --enable-combobox use wxComboBox class
1773 --enable-comboctrl use wxComboCtrl class
1774 --enable-datepick use wxDatePickerCtrl class
1775 --enable-dirpicker use wxDirPickerCtrl class
1776 --enable-display use wxDisplay class
1777 --enable-detect_sm use code to detect X11 session manager
1778 --enable-editablebox use wxEditableListBox class
1779 --enable-filepicker use wxFilePickerCtrl class
1780 --enable-fontpicker use wxFontPickerCtrl class
1781 --enable-gauge use wxGauge class
1782 --enable-grid use wxGrid class
1783 --enable-dataviewctrl use wxDataViewCtrl class
1784 --enable-hyperlink use wxHyperlinkCtrl class
1785 --enable-imaglist use wxImageList class
1786 --enable-listbook use wxListbook class
1787 --enable-listbox use wxListBox class
1788 --enable-listctrl use wxListCtrl class
1789 --enable-notebook use wxNotebook class
1790 --enable-odcombobox use wxOwnerDrawnComboBox class
1791 --enable-radiobox use wxRadioBox class
1792 --enable-radiobtn use wxRadioButton class
1793 --enable-sash use wxSashWindow class
1794 --enable-scrollbar use wxScrollBar class and scrollable windows
1795 --enable-searchctrl use wxSearchCtrl class
1796 --enable-slider use wxSlider class
1797 --enable-spinbtn use wxSpinButton class
1798 --enable-spinctrl use wxSpinCtrl class
1799 --enable-splitter use wxSplitterWindow class
1800 --enable-statbmp use wxStaticBitmap class
1801 --enable-statbox use wxStaticBox class
1802 --enable-statline use wxStaticLine class
1803 --enable-stattext use wxStaticText class
1804 --enable-statusbar use wxStatusBar class
1805 --enable-tabdialog use wxTabControl class
1806 --enable-taskbaricon use wxTaskBarIcon class
1807 --enable-textctrl use wxTextCtrl class
1808 --enable-togglebtn use wxToggleButton class
1809 --enable-toolbar use wxToolBar class
1810 --enable-tbarnative use native wxToolBar class
1811 --enable-treebook use wxTreebook class
1812 --enable-toolbook use wxToolbook class
1813 --enable-treectrl use wxTreeCtrl class
1814 --enable-tipwindow use wxTipWindow class
1815 --enable-popupwin use wxPopUpWindow class
1816 --enable-commondlg use all common dialogs
1817 --enable-aboutdlg use wxAboutBox
1818 --enable-choicedlg use wxChoiceDialog
1819 --enable-coldlg use wxColourDialog
1820 --enable-filedlg use wxFileDialog
1821 --enable-finddlg use wxFindReplaceDialog
1822 --enable-fontdlg use wxFontDialog
1823 --enable-dirdlg use wxDirDialog
1824 --enable-msgdlg use wxMessageDialog
1825 --enable-numberdlg use wxNumberEntryDialog
1826 --enable-splash use wxSplashScreen
1827 --enable-textdlg use wxTextDialog
1828 --enable-tipdlg use startup tips
1829 --enable-progressdlg use wxProgressDialog
1830 --enable-wizarddlg use wxWizard
1831 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1832 --enable-miniframe use wxMiniFrame class
1833 --enable-tooltips use wxToolTip class
1834 --enable-splines use spline drawing code
1835 --enable-mousewheel use mousewheel
1836 --enable-validators use wxValidator and derived classes
1837 --enable-busyinfo use wxBusyInfo
1838 --enable-joystick use wxJoystick
1839 --enable-metafiles use wxMetaFile (Win32 only)
1840 --enable-dragimage use wxDragImage
1841 --enable-accessibility enable accessibility support
1842 --enable-palette use wxPalette class
1843 --enable-image use wxImage class
1844 --enable-gif use gif images (GIF file format)
1845 --enable-pcx use pcx images (PCX file format)
1846 --enable-tga use tga images (TGA file format)
1847 --enable-iff use iff images (IFF file format)
1848 --enable-pnm use pnm images (PNM file format)
1849 --enable-xpm use xpm images (XPM file format)
1850 --enable-icocur use Windows ICO and CUR formats
1851 --enable-dccache cache temporary wxDC objects (Win32 only)
1852 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1853 --enable-ownerdrawn use owner drawn controls (Win32 only)
1854 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1855 --enable-wxdib use wxDIB class (Win32 only)
1856 --disable-largefile omit support for large files
1857 --disable-gtktest do not try to compile and run a test GTK+ program
1858 --disable-gtktest Do not try to compile and run a test GTK program
1859 --disable-sdltest Do not try to compile and run a test SDL program
1860 --enable-omf use OMF object format (OS/2)
1861 --disable-dependency-tracking
1862 don't use dependency tracking even if the compiler
1863 can
1864 --disable-precomp-headers
1865 don't use precompiled headers even if compiler can
1866
1867 Optional Packages:
1868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1870 --without-subdirs don't generate makefiles for samples/demos/...
1871 --with-flavour=NAME specify a name to identify this build
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1874 --with-motif use Motif/Lesstif
1875 --with-mac use Mac OS X
1876 --with-cocoa use Cocoa
1877 --with-wine use Wine
1878 --with-msw use MS-Windows
1879 --with-pm use OS/2 Presentation Manager
1880 --with-mgl use SciTech MGL
1881 --with-directfb use DirectFB
1882 --with-microwin use MicroWindows
1883 --with-x11 use X11
1884 --with-libpng use libpng (PNG image format)
1885 --with-libjpeg use libjpeg (JPEG file format)
1886 --with-libtiff use libtiff (TIFF file format)
1887 --with-libxpm use libxpm (XPM file format)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gnomeprint don't use GNOME printing libraries
1890 --with-gnomevfs use GNOME VFS for associating MIME types
1891 --with-hildon use Hildon framework for Nokia 770
1892 --with-opengl use OpenGL (or Mesa)
1893 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1894 --with-sdl use SDL for audio on Unix
1895 --with-regex enable support for wxRegEx class
1896 --with-zlib use zlib for LZW compression
1897 --with-odbc use the IODBC and wxODBC classes
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK at PATH
1900 --with-macosx-version-min=VER build binaries which require at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1909
1910 Some influential environment variables:
1911 CC C compiler command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1914 nonstandard directory <lib dir>
1915 LIBS libraries to pass to the linker, e.g. -l<library>
1916 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1917 you have headers in a nonstandard directory <include dir>
1918 CPP C preprocessor
1919 CXX C++ compiler command
1920 CXXFLAGS C++ compiler flags
1921 PKG_CONFIG path to pkg-config utility
1922 DIRECTFB_CFLAGS
1923 C compiler flags for DIRECTFB, overriding pkg-config
1924 DIRECTFB_LIBS
1925 linker flags for DIRECTFB, overriding pkg-config
1926 XMKMF Path to xmkmf, Makefile generator for X Window System
1927 PANGOX_CFLAGS
1928 C compiler flags for PANGOX, overriding pkg-config
1929 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1930 PANGOFT2_CFLAGS
1931 C compiler flags for PANGOFT2, overriding pkg-config
1932 PANGOFT2_LIBS
1933 linker flags for PANGOFT2, overriding pkg-config
1934 PANGOXFT_CFLAGS
1935 C compiler flags for PANGOXFT, overriding pkg-config
1936 PANGOXFT_LIBS
1937 linker flags for PANGOXFT, overriding pkg-config
1938 LIBGNOMEPRINTUI_CFLAGS
1939 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 LIBGNOMEPRINTUI_LIBS
1941 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 GNOMEVFS_CFLAGS
1943 C compiler flags for GNOMEVFS, overriding pkg-config
1944 GNOMEVFS_LIBS
1945 linker flags for GNOMEVFS, overriding pkg-config
1946 HILDON_CFLAGS
1947 C compiler flags for HILDON, overriding pkg-config
1948 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1949 CAIRO_CFLAGS
1950 C compiler flags for CAIRO, overriding pkg-config
1951 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1952 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1953 GST_LIBS linker flags for GST, overriding pkg-config
1954
1955 Use these variables to override the choices made by `configure' or to help
1956 it to find libraries and programs with nonstandard names/locations.
1957
1958 Report bugs to <wx-dev@lists.wxwidgets.org>.
1959 _ACEOF
1960 ac_status=$?
1961 fi
1962
1963 if test "$ac_init_help" = "recursive"; then
1964 # If there are subdirs, report their specific --help.
1965 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1966 test -d "$ac_dir" || continue
1967 ac_builddir=.
1968
1969 case "$ac_dir" in
1970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1971 *)
1972 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1973 # A ".." for each directory in $ac_dir_suffix.
1974 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1975 case $ac_top_builddir_sub in
1976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1978 esac ;;
1979 esac
1980 ac_abs_top_builddir=$ac_pwd
1981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1982 # for backward compatibility:
1983 ac_top_builddir=$ac_top_build_prefix
1984
1985 case $srcdir in
1986 .) # We are building in place.
1987 ac_srcdir=.
1988 ac_top_srcdir=$ac_top_builddir_sub
1989 ac_abs_top_srcdir=$ac_pwd ;;
1990 [\\/]* | ?:[\\/]* ) # Absolute name.
1991 ac_srcdir=$srcdir$ac_dir_suffix;
1992 ac_top_srcdir=$srcdir
1993 ac_abs_top_srcdir=$srcdir ;;
1994 *) # Relative name.
1995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1996 ac_top_srcdir=$ac_top_build_prefix$srcdir
1997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1998 esac
1999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2000
2001 cd "$ac_dir" || { ac_status=$?; continue; }
2002 # Check for guested configure.
2003 if test -f "$ac_srcdir/configure.gnu"; then
2004 echo &&
2005 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2006 elif test -f "$ac_srcdir/configure"; then
2007 echo &&
2008 $SHELL "$ac_srcdir/configure" --help=recursive
2009 else
2010 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2011 fi || ac_status=$?
2012 cd "$ac_pwd" || { ac_status=$?; break; }
2013 done
2014 fi
2015
2016 test -n "$ac_init_help" && exit $ac_status
2017 if $ac_init_version; then
2018 cat <<\_ACEOF
2019 wxWidgets configure 2.9.0
2020 generated by GNU Autoconf 2.61
2021
2022 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2023 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2024 This configure script is free software; the Free Software Foundation
2025 gives unlimited permission to copy, distribute and modify it.
2026 _ACEOF
2027 exit
2028 fi
2029 cat >config.log <<_ACEOF
2030 This file contains any messages produced by compilers while
2031 running configure, to aid debugging if configure makes a mistake.
2032
2033 It was created by wxWidgets $as_me 2.9.0, which was
2034 generated by GNU Autoconf 2.61. Invocation command line was
2035
2036 $ $0 $@
2037
2038 _ACEOF
2039 exec 5>>config.log
2040 {
2041 cat <<_ASUNAME
2042 ## --------- ##
2043 ## Platform. ##
2044 ## --------- ##
2045
2046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051
2052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054
2055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2058 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2062
2063 _ASUNAME
2064
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 for as_dir in $PATH
2067 do
2068 IFS=$as_save_IFS
2069 test -z "$as_dir" && as_dir=.
2070 echo "PATH: $as_dir"
2071 done
2072 IFS=$as_save_IFS
2073
2074 } >&5
2075
2076 cat >&5 <<_ACEOF
2077
2078
2079 ## ----------- ##
2080 ## Core tests. ##
2081 ## ----------- ##
2082
2083 _ACEOF
2084
2085
2086 # Keep a trace of the command line.
2087 # Strip out --no-create and --no-recursion so they do not pile up.
2088 # Strip out --silent because we don't want to record it for future runs.
2089 # Also quote any args containing shell meta-characters.
2090 # Make two passes to allow for proper duplicate-argument suppression.
2091 ac_configure_args=
2092 ac_configure_args0=
2093 ac_configure_args1=
2094 ac_must_keep_next=false
2095 for ac_pass in 1 2
2096 do
2097 for ac_arg
2098 do
2099 case $ac_arg in
2100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2102 | -silent | --silent | --silen | --sile | --sil)
2103 continue ;;
2104 *\'*)
2105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2106 esac
2107 case $ac_pass in
2108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2109 2)
2110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2111 if test $ac_must_keep_next = true; then
2112 ac_must_keep_next=false # Got value, back to normal.
2113 else
2114 case $ac_arg in
2115 *=* | --config-cache | -C | -disable-* | --disable-* \
2116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2118 | -with-* | --with-* | -without-* | --without-* | --x)
2119 case "$ac_configure_args0 " in
2120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2121 esac
2122 ;;
2123 -* ) ac_must_keep_next=true ;;
2124 esac
2125 fi
2126 ac_configure_args="$ac_configure_args '$ac_arg'"
2127 ;;
2128 esac
2129 done
2130 done
2131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2133
2134 # When interrupted or exit'd, cleanup temporary files, and complete
2135 # config.log. We remove comments because anyway the quotes in there
2136 # would cause problems or look ugly.
2137 # WARNING: Use '\'' to represent an apostrophe within the trap.
2138 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2139 trap 'exit_status=$?
2140 # Save into config.log some information that might help in debugging.
2141 {
2142 echo
2143
2144 cat <<\_ASBOX
2145 ## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##
2148 _ASBOX
2149 echo
2150 # The following way of writing the cache mishandles newlines in values,
2151 (
2152 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2153 eval ac_val=\$$ac_var
2154 case $ac_val in #(
2155 *${as_nl}*)
2156 case $ac_var in #(
2157 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2158 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2159 esac
2160 case $ac_var in #(
2161 _ | IFS | as_nl) ;; #(
2162 *) $as_unset $ac_var ;;
2163 esac ;;
2164 esac
2165 done
2166 (set) 2>&1 |
2167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2169 sed -n \
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2172 ;; #(
2173 *)
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2175 ;;
2176 esac |
2177 sort
2178 )
2179 echo
2180
2181 cat <<\_ASBOX
2182 ## ----------------- ##
2183 ## Output variables. ##
2184 ## ----------------- ##
2185 _ASBOX
2186 echo
2187 for ac_var in $ac_subst_vars
2188 do
2189 eval ac_val=\$$ac_var
2190 case $ac_val in
2191 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 esac
2193 echo "$ac_var='\''$ac_val'\''"
2194 done | sort
2195 echo
2196
2197 if test -n "$ac_subst_files"; then
2198 cat <<\_ASBOX
2199 ## ------------------- ##
2200 ## File substitutions. ##
2201 ## ------------------- ##
2202 _ASBOX
2203 echo
2204 for ac_var in $ac_subst_files
2205 do
2206 eval ac_val=\$$ac_var
2207 case $ac_val in
2208 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209 esac
2210 echo "$ac_var='\''$ac_val'\''"
2211 done | sort
2212 echo
2213 fi
2214
2215 if test -s confdefs.h; then
2216 cat <<\_ASBOX
2217 ## ----------- ##
2218 ## confdefs.h. ##
2219 ## ----------- ##
2220 _ASBOX
2221 echo
2222 cat confdefs.h
2223 echo
2224 fi
2225 test "$ac_signal" != 0 &&
2226 echo "$as_me: caught signal $ac_signal"
2227 echo "$as_me: exit $exit_status"
2228 } >&5
2229 rm -f core *.core core.conftest.* &&
2230 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2231 exit $exit_status
2232 ' 0
2233 for ac_signal in 1 2 13 15; do
2234 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2235 done
2236 ac_signal=0
2237
2238 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2239 rm -f -r conftest* confdefs.h
2240
2241 # Predefined preprocessor variables.
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 _ACEOF
2246
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2250 _ACEOF
2251
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2255 _ACEOF
2256
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_STRING "$PACKAGE_STRING"
2260 _ACEOF
2261
2262
2263 cat >>confdefs.h <<_ACEOF
2264 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2265 _ACEOF
2266
2267
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 set x "$CONFIG_SITE"
2272 elif test "x$prefix" != xNONE; then
2273 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2274 else
2275 set x "$ac_default_prefix/share/config.site" \
2276 "$ac_default_prefix/etc/config.site"
2277 fi
2278 shift
2279 for ac_site_file
2280 do
2281 if test -r "$ac_site_file"; then
2282 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2283 echo "$as_me: loading site script $ac_site_file" >&6;}
2284 sed 's/^/| /' "$ac_site_file" >&5
2285 . "$ac_site_file"
2286 fi
2287 done
2288
2289 if test -r "$cache_file"; then
2290 # Some versions of bash will fail to source /dev/null (special
2291 # files actually), so we avoid doing that.
2292 if test -f "$cache_file"; then
2293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2294 echo "$as_me: loading cache $cache_file" >&6;}
2295 case $cache_file in
2296 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297 *) . "./$cache_file";;
2298 esac
2299 fi
2300 else
2301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2302 echo "$as_me: creating cache $cache_file" >&6;}
2303 >$cache_file
2304 fi
2305
2306 # Check that the precious variables saved in the cache have kept the same
2307 # value.
2308 ac_cache_corrupted=false
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311 eval ac_new_set=\$ac_env_${ac_var}_set
2312 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313 eval ac_new_val=\$ac_env_${ac_var}_value
2314 case $ac_old_set,$ac_new_set in
2315 set,)
2316 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318 ac_cache_corrupted=: ;;
2319 ,set)
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2321 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2323 ,);;
2324 *)
2325 if test "x$ac_old_val" != "x$ac_new_val"; then
2326 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2327 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2328 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2329 echo "$as_me: former value: $ac_old_val" >&2;}
2330 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2331 echo "$as_me: current value: $ac_new_val" >&2;}
2332 ac_cache_corrupted=:
2333 fi;;
2334 esac
2335 # Pass precious variables to config.status.
2336 if test "$ac_new_set" = set; then
2337 case $ac_new_val in
2338 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2339 *) ac_arg=$ac_var=$ac_new_val ;;
2340 esac
2341 case " $ac_configure_args " in
2342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2343 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2344 esac
2345 fi
2346 done
2347 if $ac_cache_corrupted; then
2348 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2349 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2351 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2352 { (exit 1); exit 1; }; }
2353 fi
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379 ac_ext=c
2380 ac_cpp='$CPP $CPPFLAGS'
2381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2384
2385
2386
2387
2388
2389 ac_aux_dir=
2390 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2391 if test -f "$ac_dir/install-sh"; then
2392 ac_aux_dir=$ac_dir
2393 ac_install_sh="$ac_aux_dir/install-sh -c"
2394 break
2395 elif test -f "$ac_dir/install.sh"; then
2396 ac_aux_dir=$ac_dir
2397 ac_install_sh="$ac_aux_dir/install.sh -c"
2398 break
2399 elif test -f "$ac_dir/shtool"; then
2400 ac_aux_dir=$ac_dir
2401 ac_install_sh="$ac_aux_dir/shtool install -c"
2402 break
2403 fi
2404 done
2405 if test -z "$ac_aux_dir"; then
2406 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2407 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2408 { (exit 1); exit 1; }; }
2409 fi
2410
2411 # These three variables are undocumented and unsupported,
2412 # and are intended to be withdrawn in a future Autoconf release.
2413 # They can cause serious problems if a builder's source tree is in a directory
2414 # whose full name contains unusual characters.
2415 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2416 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2417 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2418
2419
2420 # Make sure we can run config.sub.
2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2422 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2424 { (exit 1); exit 1; }; }
2425
2426 { echo "$as_me:$LINENO: checking build system type" >&5
2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2428 if test "${ac_cv_build+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 else
2431 ac_build_alias=$build_alias
2432 test "x$ac_build_alias" = x &&
2433 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2434 test "x$ac_build_alias" = x &&
2435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2437 { (exit 1); exit 1; }; }
2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2442
2443 fi
2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2445 echo "${ECHO_T}$ac_cv_build" >&6; }
2446 case $ac_cv_build in
2447 *-*-*) ;;
2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2449 echo "$as_me: error: invalid value of canonical build" >&2;}
2450 { (exit 1); exit 1; }; };;
2451 esac
2452 build=$ac_cv_build
2453 ac_save_IFS=$IFS; IFS='-'
2454 set x $ac_cv_build
2455 shift
2456 build_cpu=$1
2457 build_vendor=$2
2458 shift; shift
2459 # Remember, the first character of IFS is used to create $*,
2460 # except with old shells:
2461 build_os=$*
2462 IFS=$ac_save_IFS
2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2464
2465
2466 { echo "$as_me:$LINENO: checking host system type" >&5
2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2468 if test "${ac_cv_host+set}" = set; then
2469 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 else
2471 if test "x$host_alias" = x; then
2472 ac_cv_host=$ac_cv_build
2473 else
2474 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2478 fi
2479
2480 fi
2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2482 echo "${ECHO_T}$ac_cv_host" >&6; }
2483 case $ac_cv_host in
2484 *-*-*) ;;
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2486 echo "$as_me: error: invalid value of canonical host" >&2;}
2487 { (exit 1); exit 1; }; };;
2488 esac
2489 host=$ac_cv_host
2490 ac_save_IFS=$IFS; IFS='-'
2491 set x $ac_cv_host
2492 shift
2493 host_cpu=$1
2494 host_vendor=$2
2495 shift; shift
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2498 host_os=$*
2499 IFS=$ac_save_IFS
2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2501
2502
2503 { echo "$as_me:$LINENO: checking target system type" >&5
2504 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_target+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 if test "x$target_alias" = x; then
2509 ac_cv_target=$ac_cv_host
2510 else
2511 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2515 fi
2516
2517 fi
2518 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2519 echo "${ECHO_T}$ac_cv_target" >&6; }
2520 case $ac_cv_target in
2521 *-*-*) ;;
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2523 echo "$as_me: error: invalid value of canonical target" >&2;}
2524 { (exit 1); exit 1; }; };;
2525 esac
2526 target=$ac_cv_target
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_target
2529 shift
2530 target_cpu=$1
2531 target_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 target_os=$*
2536 IFS=$ac_save_IFS
2537 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2544 NONENONEs,x,x, &&
2545 program_prefix=${target_alias}-
2546
2547
2548
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2551 wx_release_number=0
2552 wx_subrelease_number=0
2553
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2559
2560
2561 wx_top_builddir="`pwd`"
2562
2563
2564
2565
2566 USE_UNIX=1
2567 USE_OS2=0
2568 USE_WIN32=0
2569 USE_DOS=0
2570 USE_BEOS=0
2571 USE_MAC=0
2572
2573 USE_AIX=
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2575 USE_GNU= USE_HPUX=
2576 USE_LINUX=
2577 USE_NETBSD=
2578 USE_OPENBSD=
2579 USE_OSF= USE_SGI=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2581 USE_ULTRIX=
2582 USE_UNIXWARE=
2583
2584 USE_ALPHA=
2585
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587
2588 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2589
2590 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_GTK=0
2592 DEFAULT_wxUSE_MAC=0
2593 DEFAULT_wxUSE_MGL=0
2594 DEFAULT_wxUSE_MICROWIN=0
2595 DEFAULT_wxUSE_MOTIF=0
2596 DEFAULT_wxUSE_MSW=0
2597 DEFAULT_wxUSE_PM=0
2598 DEFAULT_wxUSE_X11=0
2599 DEFAULT_wxUSE_DFB=0
2600
2601 DEFAULT_DEFAULT_wxUSE_COCOA=0
2602 DEFAULT_DEFAULT_wxUSE_GTK=0
2603 DEFAULT_DEFAULT_wxUSE_MAC=0
2604 DEFAULT_DEFAULT_wxUSE_MGL=0
2605 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2607 DEFAULT_DEFAULT_wxUSE_MSW=0
2608 DEFAULT_DEFAULT_wxUSE_PM=0
2609 DEFAULT_DEFAULT_wxUSE_X11=0
2610 DEFAULT_DEFAULT_wxUSE_DFB=0
2611
2612 PROGRAM_EXT=
2613 SO_SUFFIX=so
2614 SAMPLES_RPATH_FLAG=
2615 SAMPLES_RPATH_POSTLINK=
2616
2617 DEFAULT_STD_FLAG=yes
2618
2619 case "${host}" in
2620 *-hp-hpux* )
2621 USE_HPUX=1
2622 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2624 SO_SUFFIX=sl
2625 cat >>confdefs.h <<\_ACEOF
2626 #define __HPUX__ 1
2627 _ACEOF
2628
2629
2630 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2631 ;;
2632 *-*-linux* )
2633 USE_LINUX=1
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __LINUX__ 1
2636 _ACEOF
2637
2638 TMP=`uname -m`
2639 if test "x$TMP" = "xalpha"; then
2640 USE_ALPHA=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __ALPHA__ 1
2643 _ACEOF
2644
2645 fi
2646 DEFAULT_DEFAULT_wxUSE_GTK=1
2647 ;;
2648 *-*-gnu* | *-*-k*bsd*-gnu )
2649 USE_GNU=1
2650 TMP=`uname -m`
2651 if test "x$TMP" = "xalpha"; then
2652 USE_ALPHA=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __ALPHA__ 1
2655 _ACEOF
2656
2657 fi
2658 DEFAULT_DEFAULT_wxUSE_GTK=1
2659 ;;
2660 *-*-irix5* | *-*-irix6* )
2661 USE_SGI=1
2662 USE_SVR4=1
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SGI__ 1
2665 _ACEOF
2666
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SVR4__ 1
2669 _ACEOF
2670
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2672 ;;
2673 *-*-solaris2* )
2674 USE_SUN=1
2675 USE_SOLARIS=1
2676 USE_SVR4=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SUN__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SOLARIS__ 1
2683 _ACEOF
2684
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SVR4__ 1
2687 _ACEOF
2688
2689 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2691 ;;
2692 *-*-sunos4* )
2693 USE_SUN=1
2694 USE_SUNOS=1
2695 USE_BSD=1
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __SUN__ 1
2698 _ACEOF
2699
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SUNOS__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __BSD__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 ;;
2710 *-*-freebsd*)
2711 USE_BSD=1
2712 USE_FREEBSD=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __FREEBSD__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __BSD__ 1
2719 _ACEOF
2720
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2722 ;;
2723 *-*-openbsd*|*-*-mirbsd*)
2724 USE_BSD=1
2725 USE_OPENBSD=1
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __OPENBSD__ 1
2728 _ACEOF
2729
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __BSD__ 1
2732 _ACEOF
2733
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2735 ;;
2736 *-*-netbsd*)
2737 USE_BSD=1
2738 USE_NETBSD=1
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __NETBSD__ 1
2741 _ACEOF
2742
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __BSD__ 1
2745 _ACEOF
2746
2747 DEFAULT_DEFAULT_wxUSE_GTK=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2749
2750 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2751 ;;
2752 *-*-osf* )
2753 USE_ALPHA=1
2754 USE_OSF=1
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __ALPHA__ 1
2757 _ACEOF
2758
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __OSF__ 1
2761 _ACEOF
2762
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2765 ;;
2766 *-*-dgux5* )
2767 USE_ALPHA=1
2768 USE_SVR4=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __ALPHA__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SVR4__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 ;;
2779 *-*-sysv5* )
2780 USE_SYSV=1
2781 USE_SVR4=1
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SYSV__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SVR4__ 1
2788 _ACEOF
2789
2790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2791 ;;
2792 *-*-aix* )
2793 USE_AIX=1
2794 USE_SYSV=1
2795 USE_SVR4=1
2796 SO_SUFFIX=a
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __AIX__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SYSV__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SVR4__ 1
2807 _ACEOF
2808
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 ;;
2811
2812 *-*-*UnixWare*)
2813 USE_SYSV=1
2814 USE_SVR4=1
2815 USE_UNIXWARE=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2818 _ACEOF
2819
2820 ;;
2821
2822 *-*-cygwin* | *-*-mingw32* )
2823 SO_SUFFIX=dll
2824 PROGRAM_EXT=".exe"
2825 DEFAULT_DEFAULT_wxUSE_MSW=1
2826 ;;
2827
2828 *-pc-msdosdjgpp )
2829 USE_UNIX=0
2830 USE_DOS=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __DOS__ 1
2833 _ACEOF
2834
2835 PROGRAM_EXT=".exe"
2836 DEFAULT_DEFAULT_wxUSE_MGL=1
2837 ;;
2838
2839 *-pc-os2_emx | *-pc-os2-emx )
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __EMX__ 1
2842 _ACEOF
2843
2844 USE_OS2=1
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __OS2__ 1
2847 _ACEOF
2848
2849 PROGRAM_EXT=".exe"
2850 DEFAULT_DEFAULT_wxUSE_PM=1
2851 CXX=gcc
2852 LDFLAGS="$LDFLAGS -Zcrtdll"
2853 ac_executable_extensions=".exe"
2854 export ac_executable_extensions
2855 ac_save_IFS="$IFS"
2856 IFS='\\'
2857 ac_TEMP_PATH=
2858 for ac_dir in $PATH; do
2859 IFS=$ac_save_IFS
2860 if test -z "$ac_TEMP_PATH"; then
2861 ac_TEMP_PATH="$ac_dir"
2862 else
2863 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2864 fi
2865 done
2866 export PATH="$ac_TEMP_PATH"
2867 unset ac_TEMP_PATH
2868 DEFAULT_STD_FLAG=no
2869 ;;
2870
2871 *-*-darwin* )
2872 USE_BSD=1
2873 USE_DARWIN=1
2874 SO_SUFFIX=dylib
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __BSD__ 1
2877 _ACEOF
2878
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __DARWIN__ 1
2881 _ACEOF
2882
2883 cat >>confdefs.h <<\_ACEOF
2884 #define TARGET_CARBON 1
2885 _ACEOF
2886
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2888 DEFAULT_STD_FLAG=no
2889 ;;
2890 powerpc-apple-macos* )
2891 USE_UNIX=0
2892 ac_cv_c_bigendian=yes
2893 SO_SUFFIX=shlib
2894 DEFAULT_DEFAULT_wxUSE_MAC=1
2895 DEFAULT_STD_FLAG=no
2896 ;;
2897
2898 *-*-beos* )
2899 USE_BEOS=1
2900 cat >>confdefs.h <<\_ACEOF
2901 #define __BEOS__ 1
2902 _ACEOF
2903
2904 ;;
2905
2906 *)
2907 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2908 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2909 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2910 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2911
2912 DEFAULT_DEFAULT_wxUSE_X11=1
2913 DEFAULT_wxUSE_SHARED=no
2914 esac
2915
2916
2917
2918
2919 wx_arg_cache_file="configarg.cache"
2920 echo "loading argument cache $wx_arg_cache_file"
2921 rm -f ${wx_arg_cache_file}.tmp
2922 touch ${wx_arg_cache_file}.tmp
2923 touch ${wx_arg_cache_file}
2924
2925
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2927
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2930
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2938
2939 DEFAULT_wxUSE_ACCESSIBILITY=no
2940 DEFAULT_wxUSE_DATAVIEWCTRL=no
2941 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2942 DEFAULT_wxUSE_MEDIACTRL=no
2943 DEFAULT_wxUSE_TAB_DIALOG=no
2944
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951
2952 DEFAULT_wxUSE_GTK2=yes
2953
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2955
2956
2957 for toolkit in `echo $ALL_TOOLKITS`; do
2958 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2959 if test "x$LINE" != "x" ; then
2960 has_toolkit_in_cache=1
2961 eval "DEFAULT_$LINE"
2962 eval "CACHE_$toolkit=1"
2963
2964 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2965 if test "x$LINE" != "x" ; then
2966 eval "DEFAULT_$LINE"
2967 fi
2968 fi
2969 done
2970
2971
2972
2973
2974
2975 enablestring=disable
2976 defaultval=
2977 if test -z "$defaultval"; then
2978 if test x"$enablestring" = xdisable; then
2979 defaultval=yes
2980 else
2981 defaultval=no
2982 fi
2983 fi
2984
2985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2986 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2987 # Check whether --enable-gui was given.
2988 if test "${enable_gui+set}" = set; then
2989 enableval=$enable_gui;
2990 if test "$enableval" = yes; then
2991 wx_cv_use_gui='wxUSE_GUI=yes'
2992 else
2993 wx_cv_use_gui='wxUSE_GUI=no'
2994 fi
2995 cache=yes
2996
2997 else
2998
2999 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x ; then
3001 eval "DEFAULT_$LINE"
3002 cache=yes
3003 else
3004 cache=no
3005 fi
3006
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3008
3009 fi
3010
3011
3012 eval "$wx_cv_use_gui"
3013 if test "x$cache" = xyes; then
3014 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3015 fi
3016
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_GUI = yes; then
3019 result=no
3020 else
3021 result=yes
3022 fi
3023 else
3024 result=$wxUSE_GUI
3025 fi
3026
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3029
3030
3031 enablestring=
3032 defaultval=
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3035 defaultval=yes
3036 else
3037 defaultval=no
3038 fi
3039 fi
3040
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3043 # Check whether --enable-monolithic was given.
3044 if test "${enable_monolithic+set}" = set; then
3045 enableval=$enable_monolithic;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3048 else
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3050 fi
3051 cache=yes
3052
3053 else
3054
3055 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x ; then
3057 eval "DEFAULT_$LINE"
3058 cache=yes
3059 else
3060 cache=no
3061 fi
3062
3063 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3064
3065 fi
3066
3067
3068 eval "$wx_cv_use_monolithic"
3069 if test "x$cache" = xyes; then
3070 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test x"$enablestring" = xdisable; then
3074 if test $wxUSE_MONOLITHIC = yes; then
3075 result=no
3076 else
3077 result=yes
3078 fi
3079 else
3080 result=$wxUSE_MONOLITHIC
3081 fi
3082
3083 { echo "$as_me:$LINENO: result: $result" >&5
3084 echo "${ECHO_T}$result" >&6; }
3085
3086
3087 enablestring=
3088 defaultval=
3089 if test -z "$defaultval"; then
3090 if test x"$enablestring" = xdisable; then
3091 defaultval=yes
3092 else
3093 defaultval=no
3094 fi
3095 fi
3096
3097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3099 # Check whether --enable-plugins was given.
3100 if test "${enable_plugins+set}" = set; then
3101 enableval=$enable_plugins;
3102 if test "$enableval" = yes; then
3103 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3104 else
3105 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3106 fi
3107 cache=yes
3108
3109 else
3110
3111 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3114 cache=yes
3115 else
3116 cache=no
3117 fi
3118
3119 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3120
3121 fi
3122
3123
3124 eval "$wx_cv_use_plugins"
3125 if test "x$cache" = xyes; then
3126 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3127 fi
3128
3129 if test x"$enablestring" = xdisable; then
3130 if test $wxUSE_PLUGINS = yes; then
3131 result=no
3132 else
3133 result=yes
3134 fi
3135 else
3136 result=$wxUSE_PLUGINS
3137 fi
3138
3139 { echo "$as_me:$LINENO: result: $result" >&5
3140 echo "${ECHO_T}$result" >&6; }
3141
3142
3143 withstring=without
3144 defaultval=$wxUSE_ALL_FEATURES
3145 if test -z "$defaultval"; then
3146 if test x"$withstring" = xwithout; then
3147 defaultval=yes
3148 else
3149 defaultval=no
3150 fi
3151 fi
3152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3153 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3154
3155 # Check whether --with-subdirs was given.
3156 if test "${with_subdirs+set}" = set; then
3157 withval=$with_subdirs;
3158 if test "$withval" = yes; then
3159 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3160 else
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3162 fi
3163 cache=yes
3164
3165 else
3166
3167 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3170 cache=yes
3171 else
3172 cache=no
3173 fi
3174
3175 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3176
3177 fi
3178
3179
3180 eval "$wx_cv_use_subdirs"
3181 if test "x$cache" = xyes; then
3182 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3183 fi
3184
3185 if test x"$withstring" = xwithout; then
3186 if test $wxWITH_SUBDIRS = yes; then
3187 result=no
3188 else
3189 result=yes
3190 fi
3191 else
3192 result=$wxWITH_SUBDIRS
3193 fi
3194
3195 { echo "$as_me:$LINENO: result: $result" >&5
3196 echo "${ECHO_T}$result" >&6; }
3197
3198
3199 # Check whether --with-flavour was given.
3200 if test "${with_flavour+set}" = set; then
3201 withval=$with_flavour; WX_FLAVOUR="$withval"
3202 fi
3203
3204
3205 enablestring=
3206 defaultval=
3207 if test -z "$defaultval"; then
3208 if test x"$enablestring" = xdisable; then
3209 defaultval=yes
3210 else
3211 defaultval=no
3212 fi
3213 fi
3214
3215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3216 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3217 # Check whether --enable-official_build was given.
3218 if test "${enable_official_build+set}" = set; then
3219 enableval=$enable_official_build;
3220 if test "$enableval" = yes; then
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3222 else
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3224 fi
3225 cache=yes
3226
3227 else
3228
3229 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 cache=yes
3233 else
3234 cache=no
3235 fi
3236
3237 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3238
3239 fi
3240
3241
3242 eval "$wx_cv_use_official_build"
3243 if test "x$cache" = xyes; then
3244 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3245 fi
3246
3247 if test x"$enablestring" = xdisable; then
3248 if test $wxUSE_OFFICIAL_BUILD = yes; then
3249 result=no
3250 else
3251 result=yes
3252 fi
3253 else
3254 result=$wxUSE_OFFICIAL_BUILD
3255 fi
3256
3257 { echo "$as_me:$LINENO: result: $result" >&5
3258 echo "${ECHO_T}$result" >&6; }
3259
3260 # Check whether --enable-vendor was given.
3261 if test "${enable_vendor+set}" = set; then
3262 enableval=$enable_vendor; VENDOR="$enableval"
3263 fi
3264
3265 if test "x$VENDOR" = "x"; then
3266 VENDOR="custom"
3267 fi
3268
3269
3270 enablestring=disable
3271 defaultval=
3272 if test -z "$defaultval"; then
3273 if test x"$enablestring" = xdisable; then
3274 defaultval=yes
3275 else
3276 defaultval=no
3277 fi
3278 fi
3279
3280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3281 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3282 # Check whether --enable-all-features was given.
3283 if test "${enable_all_features+set}" = set; then
3284 enableval=$enable_all_features;
3285 if test "$enableval" = yes; then
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3287 else
3288 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3289 fi
3290 cache=yes
3291
3292 else
3293
3294 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3297 cache=yes
3298 else
3299 cache=no
3300 fi
3301
3302 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3303
3304 fi
3305
3306
3307 eval "$wx_cv_use_all_features"
3308 if test "x$cache" = xyes; then
3309 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3310 fi
3311
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_ALL_FEATURES = yes; then
3314 result=no
3315 else
3316 result=yes
3317 fi
3318 else
3319 result=$wxUSE_ALL_FEATURES
3320 fi
3321
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3324
3325
3326
3327 if test "$wxUSE_GUI" = "yes"; then
3328
3329
3330 enablestring=
3331 defaultval=
3332 if test -z "$defaultval"; then
3333 if test x"$enablestring" = xdisable; then
3334 defaultval=yes
3335 else
3336 defaultval=no
3337 fi
3338 fi
3339
3340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3342 # Check whether --enable-universal was given.
3343 if test "${enable_universal+set}" = set; then
3344 enableval=$enable_universal;
3345 if test "$enableval" = yes; then
3346 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3347 else
3348 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3349 fi
3350 cache=yes
3351
3352 else
3353
3354 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3357 cache=yes
3358 else
3359 cache=no
3360 fi
3361
3362 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3363
3364 fi
3365
3366
3367 eval "$wx_cv_use_universal"
3368 if test "x$cache" = xyes; then
3369 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3370 fi
3371
3372 if test x"$enablestring" = xdisable; then
3373 if test $wxUSE_UNIVERSAL = yes; then
3374 result=no
3375 else
3376 result=yes
3377 fi
3378 else
3379 result=$wxUSE_UNIVERSAL
3380 fi
3381
3382 { echo "$as_me:$LINENO: result: $result" >&5
3383 echo "${ECHO_T}$result" >&6; }
3384
3385 if test "$wxUSE_UNIVERSAL" = "yes"; then
3386
3387 # Check whether --with-themes was given.
3388 if test "${with_themes+set}" = set; then
3389 withval=$with_themes; wxUNIV_THEMES="$withval"
3390 fi
3391
3392 fi
3393
3394
3395 # Check whether --with-gtk was given.
3396 if test "${with_gtk+set}" = set; then
3397 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-motif was given.
3402 if test "${with_motif+set}" = set; then
3403 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-cocoa was given.
3414 if test "${with_cocoa+set}" = set; then
3415 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3422 fi
3423
3424
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3458 fi
3459
3460
3461 enablestring=
3462 defaultval=
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3465 defaultval=yes
3466 else
3467 defaultval=no
3468 fi
3469 fi
3470
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3478 else
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3480 fi
3481 cache=yes
3482
3483 else
3484
3485 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x ; then
3487 eval "DEFAULT_$LINE"
3488 cache=yes
3489 else
3490 cache=no
3491 fi
3492
3493 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3494
3495 fi
3496
3497
3498 eval "$wx_cv_use_nanox"
3499 if test "x$cache" = xyes; then
3500 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test x"$enablestring" = xdisable; then
3504 if test $wxUSE_NANOX = yes; then
3505 result=no
3506 else
3507 result=yes
3508 fi
3509 else
3510 result=$wxUSE_NANOX
3511 fi
3512
3513 { echo "$as_me:$LINENO: result: $result" >&5
3514 echo "${ECHO_T}$result" >&6; }
3515
3516
3517 # Check whether --enable-gtk2 was given.
3518 if test "${enable_gtk2+set}" = set; then
3519 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3520 fi
3521
3522
3523 enablestring=
3524 defaultval=
3525 if test -z "$defaultval"; then
3526 if test x"$enablestring" = xdisable; then
3527 defaultval=yes
3528 else
3529 defaultval=no
3530 fi
3531 fi
3532
3533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3535 # Check whether --enable-gpe was given.
3536 if test "${enable_gpe+set}" = set; then
3537 enableval=$enable_gpe;
3538 if test "$enableval" = yes; then
3539 wx_cv_use_gpe='wxUSE_GPE=yes'
3540 else
3541 wx_cv_use_gpe='wxUSE_GPE=no'
3542 fi
3543 cache=yes
3544
3545 else
3546
3547 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x ; then
3549 eval "DEFAULT_$LINE"
3550 cache=yes
3551 else
3552 cache=no
3553 fi
3554
3555 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3556
3557 fi
3558
3559
3560 eval "$wx_cv_use_gpe"
3561 if test "x$cache" = xyes; then
3562 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3563 fi
3564
3565 if test x"$enablestring" = xdisable; then
3566 if test $wxUSE_GPE = yes; then
3567 result=no
3568 else
3569 result=yes
3570 fi
3571 else
3572 result=$wxUSE_GPE
3573 fi
3574
3575 { echo "$as_me:$LINENO: result: $result" >&5
3576 echo "${ECHO_T}$result" >&6; }
3577
3578
3579
3580
3581 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3582 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3583
3584 # Check whether --with-libpng was given.
3585 if test "${with_libpng+set}" = set; then
3586 withval=$with_libpng;
3587 if test "$withval" = yes; then
3588 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3589 elif test "$withval" = no; then
3590 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3591 elif test "$withval" = sys; then
3592 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3593 elif test "$withval" = builtin; then
3594 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3595 else
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3599 fi
3600 cache=yes
3601
3602 else
3603
3604 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3607 cache=yes
3608 else
3609 cache=no
3610 fi
3611
3612 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3613
3614 fi
3615
3616
3617 eval "$wx_cv_use_libpng"
3618 if test "x$cache" = xyes; then
3619 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3620 fi
3621
3622 if test "$wxUSE_LIBPNG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBPNG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBPNG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBPNG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3634 else
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3638 fi
3639
3640
3641 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3643
3644 # Check whether --with-libjpeg was given.
3645 if test "${with_libjpeg+set}" = set; then
3646 withval=$with_libjpeg;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3655 else
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3659 fi
3660 cache=yes
3661
3662 else
3663
3664 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 cache=yes
3668 else
3669 cache=no
3670 fi
3671
3672 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3673
3674 fi
3675
3676
3677 eval "$wx_cv_use_libjpeg"
3678 if test "x$cache" = xyes; then
3679 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3680 fi
3681
3682 if test "$wxUSE_LIBJPEG" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBJPEG" = no; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBJPEG" = sys; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBJPEG" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700
3701 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3702 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3703
3704 # Check whether --with-libtiff was given.
3705 if test "${with_libtiff+set}" = set; then
3706 withval=$with_libtiff;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3709 elif test "$withval" = no; then
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3711 elif test "$withval" = sys; then
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3715 else
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3719 fi
3720 cache=yes
3721
3722 else
3723
3724 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x ; then
3726 eval "DEFAULT_$LINE"
3727 cache=yes
3728 else
3729 cache=no
3730 fi
3731
3732 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3733
3734 fi
3735
3736
3737 eval "$wx_cv_use_libtiff"
3738 if test "x$cache" = xyes; then
3739 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3740 fi
3741
3742 if test "$wxUSE_LIBTIFF" = yes; then
3743 { echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6; }
3745 elif test "$wxUSE_LIBTIFF" = no; then
3746 { echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6; }
3748 elif test "$wxUSE_LIBTIFF" = sys; then
3749 { echo "$as_me:$LINENO: result: system version" >&5
3750 echo "${ECHO_T}system version" >&6; }
3751 elif test "$wxUSE_LIBTIFF" = builtin; then
3752 { echo "$as_me:$LINENO: result: builtin version" >&5
3753 echo "${ECHO_T}builtin version" >&6; }
3754 else
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3758 fi
3759
3760
3761 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3762 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3763
3764 # Check whether --with-libxpm was given.
3765 if test "${with_libxpm+set}" = set; then
3766 withval=$with_libxpm;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3769 elif test "$withval" = no; then
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3771 elif test "$withval" = sys; then
3772 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3773 elif test "$withval" = builtin; then
3774 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3775 else
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3779 fi
3780 cache=yes
3781
3782 else
3783
3784 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x ; then
3786 eval "DEFAULT_$LINE"
3787 cache=yes
3788 else
3789 cache=no
3790 fi
3791
3792 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3793
3794 fi
3795
3796
3797 eval "$wx_cv_use_libxpm"
3798 if test "x$cache" = xyes; then
3799 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3800 fi
3801
3802 if test "$wxUSE_LIBXPM" = yes; then
3803 { echo "$as_me:$LINENO: result: yes" >&5
3804 echo "${ECHO_T}yes" >&6; }
3805 elif test "$wxUSE_LIBXPM" = no; then
3806 { echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6; }
3808 elif test "$wxUSE_LIBXPM" = sys; then
3809 { echo "$as_me:$LINENO: result: system version" >&5
3810 echo "${ECHO_T}system version" >&6; }
3811 elif test "$wxUSE_LIBXPM" = builtin; then
3812 { echo "$as_me:$LINENO: result: builtin version" >&5
3813 echo "${ECHO_T}builtin version" >&6; }
3814 else
3815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3816 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3817 { (exit 1); exit 1; }; }
3818 fi
3819
3820
3821 withstring=
3822 defaultval=$wxUSE_ALL_FEATURES
3823 if test -z "$defaultval"; then
3824 if test x"$withstring" = xwithout; then
3825 defaultval=yes
3826 else
3827 defaultval=no
3828 fi
3829 fi
3830 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3831 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3832
3833 # Check whether --with-libmspack was given.
3834 if test "${with_libmspack+set}" = set; then
3835 withval=$with_libmspack;
3836 if test "$withval" = yes; then
3837 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3838 else
3839 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3840 fi
3841 cache=yes
3842
3843 else
3844
3845 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3848 cache=yes
3849 else
3850 cache=no
3851 fi
3852
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3854
3855 fi
3856
3857
3858 eval "$wx_cv_use_libmspack"
3859 if test "x$cache" = xyes; then
3860 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3861 fi
3862
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBMSPACK = yes; then
3865 result=no
3866 else
3867 result=yes
3868 fi
3869 else
3870 result=$wxUSE_LIBMSPACK
3871 fi
3872
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3875
3876
3877 withstring=without
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3881 defaultval=yes
3882 else
3883 defaultval=no
3884 fi
3885 fi
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3888
3889 # Check whether --with-gnomeprint was given.
3890 if test "${with_gnomeprint+set}" = set; then
3891 withval=$with_gnomeprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3894 else
3895 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3896 fi
3897 cache=yes
3898
3899 else
3900
3901 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 cache=yes
3905 else
3906 cache=no
3907 fi
3908
3909 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3910
3911 fi
3912
3913
3914 eval "$wx_cv_use_gnomeprint"
3915 if test "x$cache" = xyes; then
3916 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3917 fi
3918
3919 if test x"$withstring" = xwithout; then
3920 if test $wxUSE_LIBGNOMEPRINT = yes; then
3921 result=no
3922 else
3923 result=yes
3924 fi
3925 else
3926 result=$wxUSE_LIBGNOMEPRINT
3927 fi
3928
3929 { echo "$as_me:$LINENO: result: $result" >&5
3930 echo "${ECHO_T}$result" >&6; }
3931
3932
3933 withstring=
3934 defaultval=$wxUSE_ALL_FEATURES
3935 if test -z "$defaultval"; then
3936 if test x"$withstring" = xwithout; then
3937 defaultval=yes
3938 else
3939 defaultval=no
3940 fi
3941 fi
3942 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3943 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3944
3945 # Check whether --with-gnomevfs was given.
3946 if test "${with_gnomevfs+set}" = set; then
3947 withval=$with_gnomevfs;
3948 if test "$withval" = yes; then
3949 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3950 else
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3952 fi
3953 cache=yes
3954
3955 else
3956
3957 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3960 cache=yes
3961 else
3962 cache=no
3963 fi
3964
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3966
3967 fi
3968
3969
3970 eval "$wx_cv_use_gnomevfs"
3971 if test "x$cache" = xyes; then
3972 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3973 fi
3974
3975 if test x"$withstring" = xwithout; then
3976 if test $wxUSE_LIBGNOMEVFS = yes; then
3977 result=no
3978 else
3979 result=yes
3980 fi
3981 else
3982 result=$wxUSE_LIBGNOMEVFS
3983 fi
3984
3985 { echo "$as_me:$LINENO: result: $result" >&5
3986 echo "${ECHO_T}$result" >&6; }
3987
3988
3989 withstring=
3990 defaultval=$wxUSE_ALL_FEATURES
3991 if test -z "$defaultval"; then
3992 if test x"$withstring" = xwithout; then
3993 defaultval=yes
3994 else
3995 defaultval=no
3996 fi
3997 fi
3998 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3999 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4000
4001 # Check whether --with-hildon was given.
4002 if test "${with_hildon+set}" = set; then
4003 withval=$with_hildon;
4004 if test "$withval" = yes; then
4005 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4006 else
4007 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4008 fi
4009 cache=yes
4010
4011 else
4012
4013 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4016 cache=yes
4017 else
4018 cache=no
4019 fi
4020
4021 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4022
4023 fi
4024
4025
4026 eval "$wx_cv_use_hildon"
4027 if test "x$cache" = xyes; then
4028 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test x"$withstring" = xwithout; then
4032 if test $wxUSE_LIBHILDON = yes; then
4033 result=no
4034 else
4035 result=yes
4036 fi
4037 else
4038 result=$wxUSE_LIBHILDON
4039 fi
4040
4041 { echo "$as_me:$LINENO: result: $result" >&5
4042 echo "${ECHO_T}$result" >&6; }
4043
4044
4045 withstring=
4046 defaultval=$wxUSE_ALL_FEATURES
4047 if test -z "$defaultval"; then
4048 if test x"$withstring" = xwithout; then
4049 defaultval=yes
4050 else
4051 defaultval=no
4052 fi
4053 fi
4054 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4055 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4056
4057 # Check whether --with-opengl was given.
4058 if test "${with_opengl+set}" = set; then
4059 withval=$with_opengl;
4060 if test "$withval" = yes; then
4061 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4062 else
4063 wx_cv_use_opengl='wxUSE_OPENGL=no'
4064 fi
4065 cache=yes
4066
4067 else
4068
4069 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4072 cache=yes
4073 else
4074 cache=no
4075 fi
4076
4077 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4078
4079 fi
4080
4081
4082 eval "$wx_cv_use_opengl"
4083 if test "x$cache" = xyes; then
4084 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4085 fi
4086
4087 if test x"$withstring" = xwithout; then
4088 if test $wxUSE_OPENGL = yes; then
4089 result=no
4090 else
4091 result=yes
4092 fi
4093 else
4094 result=$wxUSE_OPENGL
4095 fi
4096
4097 { echo "$as_me:$LINENO: result: $result" >&5
4098 echo "${ECHO_T}$result" >&6; }
4099
4100
4101 fi
4102
4103
4104 withstring=
4105 defaultval=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x"$withstring" = xwithout; then
4108 defaultval=yes
4109 else
4110 defaultval=no
4111 fi
4112 fi
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4115
4116 # Check whether --with-dmalloc was given.
4117 if test "${with_dmalloc+set}" = set; then
4118 withval=$with_dmalloc;
4119 if test "$withval" = yes; then
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4121 else
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4123 fi
4124 cache=yes
4125
4126 else
4127
4128 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4129 if test "x$LINE" != x ; then
4130 eval "DEFAULT_$LINE"
4131 cache=yes
4132 else
4133 cache=no
4134 fi
4135
4136 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4137
4138 fi
4139
4140
4141 eval "$wx_cv_use_dmalloc"
4142 if test "x$cache" = xyes; then
4143 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test x"$withstring" = xwithout; then
4147 if test $wxUSE_DMALLOC = yes; then
4148 result=no
4149 else
4150 result=yes
4151 fi
4152 else
4153 result=$wxUSE_DMALLOC
4154 fi
4155
4156 { echo "$as_me:$LINENO: result: $result" >&5
4157 echo "${ECHO_T}$result" >&6; }
4158
4159
4160 withstring=
4161 defaultval=$wxUSE_ALL_FEATURES
4162 if test -z "$defaultval"; then
4163 if test x"$withstring" = xwithout; then
4164 defaultval=yes
4165 else
4166 defaultval=no
4167 fi
4168 fi
4169 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4170 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4171
4172 # Check whether --with-sdl was given.
4173 if test "${with_sdl+set}" = set; then
4174 withval=$with_sdl;
4175 if test "$withval" = yes; then
4176 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4177 else
4178 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4179 fi
4180 cache=yes
4181
4182 else
4183
4184 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x ; then
4186 eval "DEFAULT_$LINE"
4187 cache=yes
4188 else
4189 cache=no
4190 fi
4191
4192 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4193
4194 fi
4195
4196
4197 eval "$wx_cv_use_sdl"
4198 if test "x$cache" = xyes; then
4199 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test x"$withstring" = xwithout; then
4203 if test $wxUSE_LIBSDL = yes; then
4204 result=no
4205 else
4206 result=yes
4207 fi
4208 else
4209 result=$wxUSE_LIBSDL
4210 fi
4211
4212 { echo "$as_me:$LINENO: result: $result" >&5
4213 echo "${ECHO_T}$result" >&6; }
4214
4215
4216 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4217 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4218
4219 # Check whether --with-regex was given.
4220 if test "${with_regex+set}" = set; then
4221 withval=$with_regex;
4222 if test "$withval" = yes; then
4223 wx_cv_use_regex='wxUSE_REGEX=yes'
4224 elif test "$withval" = no; then
4225 wx_cv_use_regex='wxUSE_REGEX=no'
4226 elif test "$withval" = sys; then
4227 wx_cv_use_regex='wxUSE_REGEX=sys'
4228 elif test "$withval" = builtin; then
4229 wx_cv_use_regex='wxUSE_REGEX=builtin'
4230 else
4231 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4232 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4234 fi
4235 cache=yes
4236
4237 else
4238
4239 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 cache=yes
4243 else
4244 cache=no
4245 fi
4246
4247 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4248
4249 fi
4250
4251
4252 eval "$wx_cv_use_regex"
4253 if test "x$cache" = xyes; then
4254 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4255 fi
4256
4257 if test "$wxUSE_REGEX" = yes; then
4258 { echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6; }
4260 elif test "$wxUSE_REGEX" = no; then
4261 { echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6; }
4263 elif test "$wxUSE_REGEX" = sys; then
4264 { echo "$as_me:$LINENO: result: system version" >&5
4265 echo "${ECHO_T}system version" >&6; }
4266 elif test "$wxUSE_REGEX" = builtin; then
4267 { echo "$as_me:$LINENO: result: builtin version" >&5
4268 echo "${ECHO_T}builtin version" >&6; }
4269 else
4270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4272 { (exit 1); exit 1; }; }
4273 fi
4274
4275
4276 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4277 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4278
4279 # Check whether --with-zlib was given.
4280 if test "${with_zlib+set}" = set; then
4281 withval=$with_zlib;
4282 if test "$withval" = yes; then
4283 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4284 elif test "$withval" = no; then
4285 wx_cv_use_zlib='wxUSE_ZLIB=no'
4286 elif test "$withval" = sys; then
4287 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4288 elif test "$withval" = builtin; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4290 else
4291 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4292 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4294 fi
4295 cache=yes
4296
4297 else
4298
4299 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4302 cache=yes
4303 else
4304 cache=no
4305 fi
4306
4307 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4308
4309 fi
4310
4311
4312 eval "$wx_cv_use_zlib"
4313 if test "x$cache" = xyes; then
4314 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4315 fi
4316
4317 if test "$wxUSE_ZLIB" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_ZLIB" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_ZLIB" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_ZLIB" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4329 else
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4333 fi
4334
4335
4336 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4338
4339 # Check whether --with-odbc was given.
4340 if test "${with_odbc+set}" = set; then
4341 withval=$with_odbc;
4342 if test "$withval" = yes; then
4343 wx_cv_use_odbc='wxUSE_ODBC=yes'
4344 elif test "$withval" = no; then
4345 wx_cv_use_odbc='wxUSE_ODBC=no'
4346 elif test "$withval" = sys; then
4347 wx_cv_use_odbc='wxUSE_ODBC=sys'
4348 elif test "$withval" = builtin; then
4349 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4350 else
4351 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4352 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4353 { (exit 1); exit 1; }; }
4354 fi
4355 cache=yes
4356
4357 else
4358
4359 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4362 cache=yes
4363 else
4364 cache=no
4365 fi
4366
4367 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4368
4369 fi
4370
4371
4372 eval "$wx_cv_use_odbc"
4373 if test "x$cache" = xyes; then
4374 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4375 fi
4376
4377 if test "$wxUSE_ODBC" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_ODBC" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_ODBC" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_ODBC" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4389 else
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4393 fi
4394
4395
4396 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4397 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4398
4399 # Check whether --with-expat was given.
4400 if test "${with_expat+set}" = set; then
4401 withval=$with_expat;
4402 if test "$withval" = yes; then
4403 wx_cv_use_expat='wxUSE_EXPAT=yes'
4404 elif test "$withval" = no; then
4405 wx_cv_use_expat='wxUSE_EXPAT=no'
4406 elif test "$withval" = sys; then
4407 wx_cv_use_expat='wxUSE_EXPAT=sys'
4408 elif test "$withval" = builtin; then
4409 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4410 else
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4414 fi
4415 cache=yes
4416
4417 else
4418
4419 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4422 cache=yes
4423 else
4424 cache=no
4425 fi
4426
4427 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4428
4429 fi
4430
4431
4432 eval "$wx_cv_use_expat"
4433 if test "x$cache" = xyes; then
4434 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4435 fi
4436
4437 if test "$wxUSE_EXPAT" = yes; then
4438 { echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6; }
4440 elif test "$wxUSE_EXPAT" = no; then
4441 { echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6; }
4443 elif test "$wxUSE_EXPAT" = sys; then
4444 { echo "$as_me:$LINENO: result: system version" >&5
4445 echo "${ECHO_T}system version" >&6; }
4446 elif test "$wxUSE_EXPAT" = builtin; then
4447 { echo "$as_me:$LINENO: result: builtin version" >&5
4448 echo "${ECHO_T}builtin version" >&6; }
4449 else
4450 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4451 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4452 { (exit 1); exit 1; }; }
4453 fi
4454
4455
4456 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4457 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4458
4459 # Check whether --with-macosx-sdk was given.
4460 if test "${with_macosx_sdk+set}" = set; then
4461 withval=$with_macosx_sdk;
4462 wxUSE_MACOSX_SDK=$withval
4463 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4464 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4465
4466 else
4467
4468 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4469 # will override --enable-universal_binary's automatic SDK usage.
4470 wxUSE_MACOSX_SDK=
4471 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x ; then
4473 eval "$LINE"
4474 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4475 fi
4476
4477 fi
4478
4479 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4480 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4481
4482 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4483 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4484
4485 # Check whether --with-macosx-version-min was given.
4486 if test "${with_macosx_version_min+set}" = set; then
4487 withval=$with_macosx_version_min;
4488 wxUSE_MACOSX_VERSION_MIN=$withval
4489 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4490 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4491
4492 else
4493
4494 # default "yes" because when not using an SDK it means the same as no
4495 # but when using an SDK it means to use the SDK version
4496 wxUSE_MACOSX_VERSION_MIN=yes
4497 # See if there is a value in the cache
4498 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "$LINE"
4501 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4502 fi
4503
4504 fi
4505
4506 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4507 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4508
4509
4510
4511 enablestring=disable
4512 defaultval=
4513 if test -z "$defaultval"; then
4514 if test x"$enablestring" = xdisable; then
4515 defaultval=yes
4516 else
4517 defaultval=no
4518 fi
4519 fi
4520
4521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4523 # Check whether --enable-shared was given.
4524 if test "${enable_shared+set}" = set; then
4525 enableval=$enable_shared;
4526 if test "$enableval" = yes; then
4527 wx_cv_use_shared='wxUSE_SHARED=yes'
4528 else
4529 wx_cv_use_shared='wxUSE_SHARED=no'
4530 fi
4531 cache=yes
4532
4533 else
4534
4535 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x ; then
4537 eval "DEFAULT_$LINE"
4538 cache=yes
4539 else
4540 cache=no
4541 fi
4542
4543 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4544
4545 fi
4546
4547
4548 eval "$wx_cv_use_shared"
4549 if test "x$cache" = xyes; then
4550 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4551 fi
4552
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_SHARED = yes; then
4555 result=no
4556 else
4557 result=yes
4558 fi
4559 else
4560 result=$wxUSE_SHARED
4561 fi
4562
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4565
4566
4567 enablestring=disable
4568 defaultval=
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4571 defaultval=yes
4572 else
4573 defaultval=no
4574 fi
4575 fi
4576
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4579 # Check whether --enable-optimise was given.
4580 if test "${enable_optimise+set}" = set; then
4581 enableval=$enable_optimise;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4584 else
4585 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4586 fi
4587 cache=yes
4588
4589 else
4590
4591 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4594 cache=yes
4595 else
4596 cache=no
4597 fi
4598
4599 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4600
4601 fi
4602
4603
4604 eval "$wx_cv_use_optimise"
4605 if test "x$cache" = xyes; then
4606 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_OPTIMISE = yes; then
4611 result=no
4612 else
4613 result=yes
4614 fi
4615 else
4616 result=$wxUSE_OPTIMISE
4617 fi
4618
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4621
4622
4623 enablestring=
4624 defaultval=
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4627 defaultval=yes
4628 else
4629 defaultval=no
4630 fi
4631 fi
4632
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4635 # Check whether --enable-debug was given.
4636 if test "${enable_debug+set}" = set; then
4637 enableval=$enable_debug;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_debug='wxUSE_DEBUG=yes'
4640 else
4641 wx_cv_use_debug='wxUSE_DEBUG=no'
4642 fi
4643 cache=yes
4644
4645 else
4646
4647 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4650 cache=yes
4651 else
4652 cache=no
4653 fi
4654
4655 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4656
4657 fi
4658
4659
4660 eval "$wx_cv_use_debug"
4661 if test "x$cache" = xyes; then
4662 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4663 fi
4664
4665 if test x"$enablestring" = xdisable; then
4666 if test $wxUSE_DEBUG = yes; then
4667 result=no
4668 else
4669 result=yes
4670 fi
4671 else
4672 result=$wxUSE_DEBUG
4673 fi
4674
4675 { echo "$as_me:$LINENO: result: $result" >&5
4676 echo "${ECHO_T}$result" >&6; }
4677
4678
4679 enablestring=
4680 defaultval=
4681 if test -z "$defaultval"; then
4682 if test x"$enablestring" = xdisable; then
4683 defaultval=yes
4684 else
4685 defaultval=no
4686 fi
4687 fi
4688
4689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4691 # Check whether --enable-stl was given.
4692 if test "${enable_stl+set}" = set; then
4693 enableval=$enable_stl;
4694 if test "$enableval" = yes; then
4695 wx_cv_use_stl='wxUSE_STL=yes'
4696 else
4697 wx_cv_use_stl='wxUSE_STL=no'
4698 fi
4699 cache=yes
4700
4701 else
4702
4703 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4706 cache=yes
4707 else
4708 cache=no
4709 fi
4710
4711 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4712
4713 fi
4714
4715
4716 eval "$wx_cv_use_stl"
4717 if test "x$cache" = xyes; then
4718 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4719 fi
4720
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_STL = yes; then
4723 result=no
4724 else
4725 result=yes
4726 fi
4727 else
4728 result=$wxUSE_STL
4729 fi
4730
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4733
4734
4735 enablestring=
4736 defaultval=
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4739 defaultval=yes
4740 else
4741 defaultval=no
4742 fi
4743 fi
4744
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4747 # Check whether --enable-std_iostreams was given.
4748 if test "${enable_std_iostreams+set}" = set; then
4749 enableval=$enable_std_iostreams;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4752 else
4753 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4754 fi
4755 cache=yes
4756
4757 else
4758
4759 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4762 cache=yes
4763 else
4764 cache=no
4765 fi
4766
4767 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4768
4769 fi
4770
4771
4772 eval "$wx_cv_use_std_iostreams"
4773 if test "x$cache" = xyes; then
4774 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4775 fi
4776
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_STD_IOSTREAM = yes; then
4779 result=no
4780 else
4781 result=yes
4782 fi
4783 else
4784 result=$wxUSE_STD_IOSTREAM
4785 fi
4786
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4789
4790
4791 enablestring=
4792 defaultval=
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4795 defaultval=yes
4796 else
4797 defaultval=no
4798 fi
4799 fi
4800
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4803 # Check whether --enable-std_string was given.
4804 if test "${enable_std_string+set}" = set; then
4805 enableval=$enable_std_string;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4808 else
4809 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4810 fi
4811 cache=yes
4812
4813 else
4814
4815 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4818 cache=yes
4819 else
4820 cache=no
4821 fi
4822
4823 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4824
4825 fi
4826
4827
4828 eval "$wx_cv_use_std_string"
4829 if test "x$cache" = xyes; then
4830 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test x"$enablestring" = xdisable; then
4834 if test $wxUSE_STD_STRING = yes; then
4835 result=no
4836 else
4837 result=yes
4838 fi
4839 else
4840 result=$wxUSE_STD_STRING
4841 fi
4842
4843 { echo "$as_me:$LINENO: result: $result" >&5
4844 echo "${ECHO_T}$result" >&6; }
4845
4846
4847 enablestring=disable
4848 defaultval=
4849 if test -z "$defaultval"; then
4850 if test x"$enablestring" = xdisable; then
4851 defaultval=yes
4852 else
4853 defaultval=no
4854 fi
4855 fi
4856
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4859 # Check whether --enable-unicode was given.
4860 if test "${enable_unicode+set}" = set; then
4861 enableval=$enable_unicode;
4862 if test "$enableval" = yes; then
4863 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4864 else
4865 wx_cv_use_unicode='wxUSE_UNICODE=no'
4866 fi
4867 cache=yes
4868
4869 else
4870
4871 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4874 cache=yes
4875 else
4876 cache=no
4877 fi
4878
4879 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4880
4881 fi
4882
4883
4884 eval "$wx_cv_use_unicode"
4885 if test "x$cache" = xyes; then
4886 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4887 fi
4888
4889 if test x"$enablestring" = xdisable; then
4890 if test $wxUSE_UNICODE = yes; then
4891 result=no
4892 else
4893 result=yes
4894 fi
4895 else
4896 result=$wxUSE_UNICODE
4897 fi
4898
4899 { echo "$as_me:$LINENO: result: $result" >&5
4900 echo "${ECHO_T}$result" >&6; }
4901
4902
4903 enablestring=
4904 defaultval=
4905 if test -z "$defaultval"; then
4906 if test x"$enablestring" = xdisable; then
4907 defaultval=yes
4908 else
4909 defaultval=no
4910 fi
4911 fi
4912
4913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4915 # Check whether --enable-mslu was given.
4916 if test "${enable_mslu+set}" = set; then
4917 enableval=$enable_mslu;
4918 if test "$enableval" = yes; then
4919 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4920 else
4921 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4922 fi
4923 cache=yes
4924
4925 else
4926
4927 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4928 if test "x$LINE" != x ; then
4929 eval "DEFAULT_$LINE"
4930 cache=yes
4931 else
4932 cache=no
4933 fi
4934
4935 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4936
4937 fi
4938
4939
4940 eval "$wx_cv_use_mslu"
4941 if test "x$cache" = xyes; then
4942 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4943 fi
4944
4945 if test x"$enablestring" = xdisable; then
4946 if test $wxUSE_UNICODE_MSLU = yes; then
4947 result=no
4948 else
4949 result=yes
4950 fi
4951 else
4952 result=$wxUSE_UNICODE_MSLU
4953 fi
4954
4955 { echo "$as_me:$LINENO: result: $result" >&5
4956 echo "${ECHO_T}$result" >&6; }
4957
4958
4959 enablestring=
4960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4962 # Check whether --enable-utf8 was given.
4963 if test "${enable_utf8+set}" = set; then
4964 enableval=$enable_utf8;
4965 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4966 cache=yes
4967
4968 else
4969
4970 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 cache=yes
4974 else
4975 cache=no
4976 fi
4977
4978 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4979
4980 fi
4981
4982
4983 eval "$wx_cv_use_utf8"
4984 if test "x$cache" = xyes; then
4985 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4986 fi
4987
4988 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4989 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4990
4991
4992 enablestring=
4993 defaultval=
4994 if test -z "$defaultval"; then
4995 if test x"$enablestring" = xdisable; then
4996 defaultval=yes
4997 else
4998 defaultval=no
4999 fi
5000 fi
5001
5002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5004 # Check whether --enable-utf8only was given.
5005 if test "${enable_utf8only+set}" = set; then
5006 enableval=$enable_utf8only;
5007 if test "$enableval" = yes; then
5008 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5009 else
5010 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5011 fi
5012 cache=yes
5013
5014 else
5015
5016 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5019 cache=yes
5020 else
5021 cache=no
5022 fi
5023
5024 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5025
5026 fi
5027
5028
5029 eval "$wx_cv_use_utf8only"
5030 if test "x$cache" = xyes; then
5031 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5032 fi
5033
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5036 result=no
5037 else
5038 result=yes
5039 fi
5040 else
5041 result=$wxUSE_UNICODE_UTF8_LOCALE
5042 fi
5043
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5046
5047
5048 enablestring=
5049 defaultval=
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5052 defaultval=yes
5053 else
5054 defaultval=no
5055 fi
5056 fi
5057
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5060 # Check whether --enable-extended_rtti was given.
5061 if test "${enable_extended_rtti+set}" = set; then
5062 enableval=$enable_extended_rtti;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5065 else
5066 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5067 fi
5068 cache=yes
5069
5070 else
5071
5072 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5075 cache=yes
5076 else
5077 cache=no
5078 fi
5079
5080 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5081
5082 fi
5083
5084
5085 eval "$wx_cv_use_extended_rtti"
5086 if test "x$cache" = xyes; then
5087 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5088 fi
5089
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_EXTENDED_RTTI = yes; then
5092 result=no
5093 else
5094 result=yes
5095 fi
5096 else
5097 result=$wxUSE_EXTENDED_RTTI
5098 fi
5099
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5102
5103 if test "$USE_OS2" = "1"; then
5104 DEFAULT_wxUSE_OMF=no
5105
5106 enablestring=
5107 defaultval=
5108 if test -z "$defaultval"; then
5109 if test x"$enablestring" = xdisable; then
5110 defaultval=yes
5111 else
5112 defaultval=no
5113 fi
5114 fi
5115
5116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5117 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5118 # Check whether --enable-omf was given.
5119 if test "${enable_omf+set}" = set; then
5120 enableval=$enable_omf;
5121 if test "$enableval" = yes; then
5122 wx_cv_use_omf='wxUSE_OMF=yes'
5123 else
5124 wx_cv_use_omf='wxUSE_OMF=no'
5125 fi
5126 cache=yes
5127
5128 else
5129
5130 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5131 if test "x$LINE" != x ; then
5132 eval "DEFAULT_$LINE"
5133 cache=yes
5134 else
5135 cache=no
5136 fi
5137
5138 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5139
5140 fi
5141
5142
5143 eval "$wx_cv_use_omf"
5144 if test "x$cache" = xyes; then
5145 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5146 fi
5147
5148 if test x"$enablestring" = xdisable; then
5149 if test $wxUSE_OMF = yes; then
5150 result=no
5151 else
5152 result=yes
5153 fi
5154 else
5155 result=$wxUSE_OMF
5156 fi
5157
5158 { echo "$as_me:$LINENO: result: $result" >&5
5159 echo "${ECHO_T}$result" >&6; }
5160
5161 fi
5162
5163 if test "$wxUSE_DEBUG" = "yes"; then
5164 DEFAULT_wxUSE_DEBUG_FLAG=yes
5165 DEFAULT_wxUSE_DEBUG_INFO=yes
5166 BUILD=debug
5167 elif test "$wxUSE_DEBUG" = "no"; then
5168 DEFAULT_wxUSE_DEBUG_FLAG=no
5169 DEFAULT_wxUSE_DEBUG_INFO=no
5170 BUILD=release
5171 fi
5172
5173
5174 enablestring=
5175 defaultval=
5176 if test -z "$defaultval"; then
5177 if test x"$enablestring" = xdisable; then
5178 defaultval=yes
5179 else
5180 defaultval=no
5181 fi
5182 fi
5183
5184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5186 # Check whether --enable-debug_flag was given.
5187 if test "${enable_debug_flag+set}" = set; then
5188 enableval=$enable_debug_flag;
5189 if test "$enableval" = yes; then
5190 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5191 else
5192 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5193 fi
5194 cache=yes
5195
5196 else
5197
5198 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5201 cache=yes
5202 else
5203 cache=no
5204 fi
5205
5206 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5207
5208 fi
5209
5210
5211 eval "$wx_cv_use_debug_flag"
5212 if test "x$cache" = xyes; then
5213 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5214 fi
5215
5216 if test x"$enablestring" = xdisable; then
5217 if test $wxUSE_DEBUG_FLAG = yes; then
5218 result=no
5219 else
5220 result=yes
5221 fi
5222 else
5223 result=$wxUSE_DEBUG_FLAG
5224 fi
5225
5226 { echo "$as_me:$LINENO: result: $result" >&5
5227 echo "${ECHO_T}$result" >&6; }
5228
5229
5230 enablestring=
5231 defaultval=
5232 if test -z "$defaultval"; then
5233 if test x"$enablestring" = xdisable; then
5234 defaultval=yes
5235 else
5236 defaultval=no
5237 fi
5238 fi
5239
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5242 # Check whether --enable-debug_info was given.
5243 if test "${enable_debug_info+set}" = set; then
5244 enableval=$enable_debug_info;
5245 if test "$enableval" = yes; then
5246 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5247 else
5248 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5249 fi
5250 cache=yes
5251
5252 else
5253
5254 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5257 cache=yes
5258 else
5259 cache=no
5260 fi
5261
5262 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5263
5264 fi
5265
5266
5267 eval "$wx_cv_use_debug_info"
5268 if test "x$cache" = xyes; then
5269 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_DEBUG_INFO = yes; then
5274 result=no
5275 else
5276 result=yes
5277 fi
5278 else
5279 result=$wxUSE_DEBUG_INFO
5280 fi
5281
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5284
5285
5286 enablestring=
5287 defaultval=
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5290 defaultval=yes
5291 else
5292 defaultval=no
5293 fi
5294 fi
5295
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5298 # Check whether --enable-debug_gdb was given.
5299 if test "${enable_debug_gdb+set}" = set; then
5300 enableval=$enable_debug_gdb;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5303 else
5304 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5305 fi
5306 cache=yes
5307
5308 else
5309
5310 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5313 cache=yes
5314 else
5315 cache=no
5316 fi
5317
5318 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5319
5320 fi
5321
5322
5323 eval "$wx_cv_use_debug_gdb"
5324 if test "x$cache" = xyes; then
5325 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5326 fi
5327
5328 if test x"$enablestring" = xdisable; then
5329 if test $wxUSE_DEBUG_GDB = yes; then
5330 result=no
5331 else
5332 result=yes
5333 fi
5334 else
5335 result=$wxUSE_DEBUG_GDB
5336 fi
5337
5338 { echo "$as_me:$LINENO: result: $result" >&5
5339 echo "${ECHO_T}$result" >&6; }
5340
5341
5342 enablestring=
5343 defaultval=
5344 if test -z "$defaultval"; then
5345 if test x"$enablestring" = xdisable; then
5346 defaultval=yes
5347 else
5348 defaultval=no
5349 fi
5350 fi
5351
5352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5354 # Check whether --enable-debug_cntxt was given.
5355 if test "${enable_debug_cntxt+set}" = set; then
5356 enableval=$enable_debug_cntxt;
5357 if test "$enableval" = yes; then
5358 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5359 else
5360 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5361 fi
5362 cache=yes
5363
5364 else
5365
5366 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x ; then
5368 eval "DEFAULT_$LINE"
5369 cache=yes
5370 else
5371 cache=no
5372 fi
5373
5374 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5375
5376 fi
5377
5378
5379 eval "$wx_cv_use_debug_cntxt"
5380 if test "x$cache" = xyes; then
5381 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test x"$enablestring" = xdisable; then
5385 if test $wxUSE_DEBUG_CONTEXT = yes; then
5386 result=no
5387 else
5388 result=yes
5389 fi
5390 else
5391 result=$wxUSE_DEBUG_CONTEXT
5392 fi
5393
5394 { echo "$as_me:$LINENO: result: $result" >&5
5395 echo "${ECHO_T}$result" >&6; }
5396
5397
5398 enablestring=
5399 defaultval=
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5402 defaultval=yes
5403 else
5404 defaultval=no
5405 fi
5406 fi
5407
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5410 # Check whether --enable-mem_tracing was given.
5411 if test "${enable_mem_tracing+set}" = set; then
5412 enableval=$enable_mem_tracing;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5415 else
5416 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5417 fi
5418 cache=yes
5419
5420 else
5421
5422 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x ; then
5424 eval "DEFAULT_$LINE"
5425 cache=yes
5426 else
5427 cache=no
5428 fi
5429
5430 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5431
5432 fi
5433
5434
5435 eval "$wx_cv_use_mem_tracing"
5436 if test "x$cache" = xyes; then
5437 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5438 fi
5439
5440 if test x"$enablestring" = xdisable; then
5441 if test $wxUSE_MEM_TRACING = yes; then
5442 result=no
5443 else
5444 result=yes
5445 fi
5446 else
5447 result=$wxUSE_MEM_TRACING
5448 fi
5449
5450 { echo "$as_me:$LINENO: result: $result" >&5
5451 echo "${ECHO_T}$result" >&6; }
5452
5453
5454 enablestring=
5455 defaultval=
5456 if test -z "$defaultval"; then
5457 if test x"$enablestring" = xdisable; then
5458 defaultval=yes
5459 else
5460 defaultval=no
5461 fi
5462 fi
5463
5464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5466 # Check whether --enable-profile was given.
5467 if test "${enable_profile+set}" = set; then
5468 enableval=$enable_profile;
5469 if test "$enableval" = yes; then
5470 wx_cv_use_profile='wxUSE_PROFILE=yes'
5471 else
5472 wx_cv_use_profile='wxUSE_PROFILE=no'
5473 fi
5474 cache=yes
5475
5476 else
5477
5478 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x ; then
5480 eval "DEFAULT_$LINE"
5481 cache=yes
5482 else
5483 cache=no
5484 fi
5485
5486 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5487
5488 fi
5489
5490
5491 eval "$wx_cv_use_profile"
5492 if test "x$cache" = xyes; then
5493 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5494 fi
5495
5496 if test x"$enablestring" = xdisable; then
5497 if test $wxUSE_PROFILE = yes; then
5498 result=no
5499 else
5500 result=yes
5501 fi
5502 else
5503 result=$wxUSE_PROFILE
5504 fi
5505
5506 { echo "$as_me:$LINENO: result: $result" >&5
5507 echo "${ECHO_T}$result" >&6; }
5508
5509
5510 enablestring=
5511 defaultval=
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5514 defaultval=yes
5515 else
5516 defaultval=no
5517 fi
5518 fi
5519
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5522 # Check whether --enable-no_rtti was given.
5523 if test "${enable_no_rtti+set}" = set; then
5524 enableval=$enable_no_rtti;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5527 else
5528 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5529 fi
5530 cache=yes
5531
5532 else
5533
5534 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5537 cache=yes
5538 else
5539 cache=no
5540 fi
5541
5542 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5543
5544 fi
5545
5546
5547 eval "$wx_cv_use_no_rtti"
5548 if test "x$cache" = xyes; then
5549 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5550 fi
5551
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_NO_RTTI = yes; then
5554 result=no
5555 else
5556 result=yes
5557 fi
5558 else
5559 result=$wxUSE_NO_RTTI
5560 fi
5561
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5564
5565
5566 enablestring=
5567 defaultval=
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5570 defaultval=yes
5571 else
5572 defaultval=no
5573 fi
5574 fi
5575
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5578 # Check whether --enable-no_exceptions was given.
5579 if test "${enable_no_exceptions+set}" = set; then
5580 enableval=$enable_no_exceptions;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5583 else
5584 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5585 fi
5586 cache=yes
5587
5588 else
5589
5590 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5593 cache=yes
5594 else
5595 cache=no
5596 fi
5597
5598 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5599
5600 fi
5601
5602
5603 eval "$wx_cv_use_no_exceptions"
5604 if test "x$cache" = xyes; then
5605 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5606 fi
5607
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_NO_EXCEPTIONS = yes; then
5610 result=no
5611 else
5612 result=yes
5613 fi
5614 else
5615 result=$wxUSE_NO_EXCEPTIONS
5616 fi
5617
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5620
5621
5622 enablestring=
5623 defaultval=
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5626 defaultval=yes
5627 else
5628 defaultval=no
5629 fi
5630 fi
5631
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5634 # Check whether --enable-permissive was given.
5635 if test "${enable_permissive+set}" = set; then
5636 enableval=$enable_permissive;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5639 else
5640 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5641 fi
5642 cache=yes
5643
5644 else
5645
5646 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5649 cache=yes
5650 else
5651 cache=no
5652 fi
5653
5654 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5655
5656 fi
5657
5658
5659 eval "$wx_cv_use_permissive"
5660 if test "x$cache" = xyes; then
5661 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5662 fi
5663
5664 if test x"$enablestring" = xdisable; then
5665 if test $wxUSE_PERMISSIVE = yes; then
5666 result=no
5667 else
5668 result=yes
5669 fi
5670 else
5671 result=$wxUSE_PERMISSIVE
5672 fi
5673
5674 { echo "$as_me:$LINENO: result: $result" >&5
5675 echo "${ECHO_T}$result" >&6; }
5676
5677
5678 enablestring=
5679 defaultval=
5680 if test -z "$defaultval"; then
5681 if test x"$enablestring" = xdisable; then
5682 defaultval=yes
5683 else
5684 defaultval=no
5685 fi
5686 fi
5687
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5690 # Check whether --enable-no_deps was given.
5691 if test "${enable_no_deps+set}" = set; then
5692 enableval=$enable_no_deps;
5693 if test "$enableval" = yes; then
5694 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5695 else
5696 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5697 fi
5698 cache=yes
5699
5700 else
5701
5702 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 cache=yes
5706 else
5707 cache=no
5708 fi
5709
5710 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5711
5712 fi
5713
5714
5715 eval "$wx_cv_use_no_deps"
5716 if test "x$cache" = xyes; then
5717 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5718 fi
5719
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_NO_DEPS = yes; then
5722 result=no
5723 else
5724 result=yes
5725 fi
5726 else
5727 result=$wxUSE_NO_DEPS
5728 fi
5729
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5732
5733
5734 enablestring=disable
5735 defaultval=
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5738 defaultval=yes
5739 else
5740 defaultval=no
5741 fi
5742 fi
5743
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5746 # Check whether --enable-vararg_macros was given.
5747 if test "${enable_vararg_macros+set}" = set; then
5748 enableval=$enable_vararg_macros;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5751 else
5752 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5753 fi
5754 cache=yes
5755
5756 else
5757
5758 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5761 cache=yes
5762 else
5763 cache=no
5764 fi
5765
5766 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5767
5768 fi
5769
5770
5771 eval "$wx_cv_use_vararg_macros"
5772 if test "x$cache" = xyes; then
5773 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5774 fi
5775
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_VARARG_MACROS = yes; then
5778 result=no
5779 else
5780 result=yes
5781 fi
5782 else
5783 result=$wxUSE_VARARG_MACROS
5784 fi
5785
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5788
5789
5790 enablestring=
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5793 # Check whether --enable-universal_binary was given.
5794 if test "${enable_universal_binary+set}" = set; then
5795 enableval=$enable_universal_binary;
5796 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5797 cache=yes
5798
5799 else
5800
5801 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5804 cache=yes
5805 else
5806 cache=no
5807 fi
5808
5809 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5810
5811 fi
5812
5813
5814 eval "$wx_cv_use_universal_binary"
5815 if test "x$cache" = xyes; then
5816 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5817 fi
5818
5819 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5820 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5821
5822
5823
5824 enablestring=
5825 defaultval=
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5828 defaultval=yes
5829 else
5830 defaultval=no
5831 fi
5832 fi
5833
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5836 # Check whether --enable-compat26 was given.
5837 if test "${enable_compat26+set}" = set; then
5838 enableval=$enable_compat26;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5841 else
5842 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5843 fi
5844 cache=yes
5845
5846 else
5847
5848 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 cache=yes
5852 else
5853 cache=no
5854 fi
5855
5856 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5857
5858 fi
5859
5860
5861 eval "$wx_cv_use_compat26"
5862 if test "x$cache" = xyes; then
5863 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5864 fi
5865
5866 if test x"$enablestring" = xdisable; then
5867 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5868 result=no
5869 else
5870 result=yes
5871 fi
5872 else
5873 result=$WXWIN_COMPATIBILITY_2_6
5874 fi
5875
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5878
5879
5880 enablestring=disable
5881 defaultval=
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5884 defaultval=yes
5885 else
5886 defaultval=no
5887 fi
5888 fi
5889
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5892 # Check whether --enable-compat28 was given.
5893 if test "${enable_compat28+set}" = set; then
5894 enableval=$enable_compat28;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5897 else
5898 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5899 fi
5900 cache=yes
5901
5902 else
5903
5904 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5907 cache=yes
5908 else
5909 cache=no
5910 fi
5911
5912 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5913
5914 fi
5915
5916
5917 eval "$wx_cv_use_compat28"
5918 if test "x$cache" = xyes; then
5919 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test x"$enablestring" = xdisable; then
5923 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5924 result=no
5925 else
5926 result=yes
5927 fi
5928 else
5929 result=$WXWIN_COMPATIBILITY_2_8
5930 fi
5931
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5934
5935
5936
5937 enablestring=disable
5938 defaultval=
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5941 defaultval=yes
5942 else
5943 defaultval=no
5944 fi
5945 fi
5946
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5949 # Check whether --enable-rpath was given.
5950 if test "${enable_rpath+set}" = set; then
5951 enableval=$enable_rpath;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_rpath='wxUSE_RPATH=yes'
5954 else
5955 wx_cv_use_rpath='wxUSE_RPATH=no'
5956 fi
5957 cache=yes
5958
5959 else
5960
5961 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5964 cache=yes
5965 else
5966 cache=no
5967 fi
5968
5969 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5970
5971 fi
5972
5973
5974 eval "$wx_cv_use_rpath"
5975 if test "x$cache" = xyes; then
5976 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5977 fi
5978
5979 if test x"$enablestring" = xdisable; then
5980 if test $wxUSE_RPATH = yes; then
5981 result=no
5982 else
5983 result=yes
5984 fi
5985 else
5986 result=$wxUSE_RPATH
5987 fi
5988
5989 { echo "$as_me:$LINENO: result: $result" >&5
5990 echo "${ECHO_T}$result" >&6; }
5991
5992
5993
5994 enablestring=
5995 defaultval=
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
5998 defaultval=yes
5999 else
6000 defaultval=no
6001 fi
6002 fi
6003
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
6006 # Check whether --enable-objc_uniquifying was given.
6007 if test "${enable_objc_uniquifying+set}" = set; then
6008 enableval=$enable_objc_uniquifying;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6011 else
6012 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6013 fi
6014 cache=yes
6015
6016 else
6017
6018 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 cache=yes
6022 else
6023 cache=no
6024 fi
6025
6026 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6027
6028 fi
6029
6030
6031 eval "$wx_cv_use_objc_uniquifying"
6032 if test "x$cache" = xyes; then
6033 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6034 fi
6035
6036 if test x"$enablestring" = xdisable; then
6037 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6038 result=no
6039 else
6040 result=yes
6041 fi
6042 else
6043 result=$wxUSE_OBJC_UNIQUIFYING
6044 fi
6045
6046 { echo "$as_me:$LINENO: result: $result" >&5
6047 echo "${ECHO_T}$result" >&6; }
6048
6049
6050
6051 enablestring=disable
6052 defaultval=
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6055 defaultval=yes
6056 else
6057 defaultval=no
6058 fi
6059 fi
6060
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6063 # Check whether --enable-visibility was given.
6064 if test "${enable_visibility+set}" = set; then
6065 enableval=$enable_visibility;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6068 else
6069 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6070 fi
6071 cache=yes
6072
6073 else
6074
6075 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6078 cache=yes
6079 else
6080 cache=no
6081 fi
6082
6083 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6084
6085 fi
6086
6087
6088 eval "$wx_cv_use_visibility"
6089 if test "x$cache" = xyes; then
6090 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_VISIBILITY = yes; then
6095 result=no
6096 else
6097 result=yes
6098 fi
6099 else
6100 result=$wxUSE_VISIBILITY
6101 fi
6102
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6105
6106
6107
6108
6109 enablestring=
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6113 defaultval=yes
6114 else
6115 defaultval=no
6116 fi
6117 fi
6118
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6121 # Check whether --enable-intl was given.
6122 if test "${enable_intl+set}" = set; then
6123 enableval=$enable_intl;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_intl='wxUSE_INTL=yes'
6126 else
6127 wx_cv_use_intl='wxUSE_INTL=no'
6128 fi
6129 cache=yes
6130
6131 else
6132
6133 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6136 cache=yes
6137 else
6138 cache=no
6139 fi
6140
6141 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6142
6143 fi
6144
6145
6146 eval "$wx_cv_use_intl"
6147 if test "x$cache" = xyes; then
6148 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6149 fi
6150
6151 if test x"$enablestring" = xdisable; then
6152 if test $wxUSE_INTL = yes; then
6153 result=no
6154 else
6155 result=yes
6156 fi
6157 else
6158 result=$wxUSE_INTL
6159 fi
6160
6161 { echo "$as_me:$LINENO: result: $result" >&5
6162 echo "${ECHO_T}$result" >&6; }
6163
6164
6165 enablestring=
6166 defaultval=$wxUSE_ALL_FEATURES
6167 if test -z "$defaultval"; then
6168 if test x"$enablestring" = xdisable; then
6169 defaultval=yes
6170 else
6171 defaultval=no
6172 fi
6173 fi
6174
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6177 # Check whether --enable-config was given.
6178 if test "${enable_config+set}" = set; then
6179 enableval=$enable_config;
6180 if test "$enableval" = yes; then
6181 wx_cv_use_config='wxUSE_CONFIG=yes'
6182 else
6183 wx_cv_use_config='wxUSE_CONFIG=no'
6184 fi
6185 cache=yes
6186
6187 else
6188
6189 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x ; then
6191 eval "DEFAULT_$LINE"
6192 cache=yes
6193 else
6194 cache=no
6195 fi
6196
6197 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6198
6199 fi
6200
6201
6202 eval "$wx_cv_use_config"
6203 if test "x$cache" = xyes; then
6204 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_CONFIG = yes; then
6209 result=no
6210 else
6211 result=yes
6212 fi
6213 else
6214 result=$wxUSE_CONFIG
6215 fi
6216
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6219
6220
6221
6222 enablestring=
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6226 defaultval=yes
6227 else
6228 defaultval=no
6229 fi
6230 fi
6231
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6234 # Check whether --enable-protocols was given.
6235 if test "${enable_protocols+set}" = set; then
6236 enableval=$enable_protocols;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6239 else
6240 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6241 fi
6242 cache=yes
6243
6244 else
6245
6246 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6249 cache=yes
6250 else
6251 cache=no
6252 fi
6253
6254 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_protocols"
6260 if test "x$cache" = xyes; then
6261 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6262 fi
6263
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_PROTOCOL = yes; then
6266 result=no
6267 else
6268 result=yes
6269 fi
6270 else
6271 result=$wxUSE_PROTOCOL
6272 fi
6273
6274 { echo "$as_me:$LINENO: result: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6276
6277
6278 enablestring=
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6282 defaultval=yes
6283 else
6284 defaultval=no
6285 fi
6286 fi
6287
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6290 # Check whether --enable-ftp was given.
6291 if test "${enable_ftp+set}" = set; then
6292 enableval=$enable_ftp;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6295 else
6296 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6297 fi
6298 cache=yes
6299
6300 else
6301
6302 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x ; then
6304 eval "DEFAULT_$LINE"
6305 cache=yes
6306 else
6307 cache=no
6308 fi
6309
6310 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6311
6312 fi
6313
6314
6315 eval "$wx_cv_use_ftp"
6316 if test "x$cache" = xyes; then
6317 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6318 fi
6319
6320 if test x"$enablestring" = xdisable; then
6321 if test $wxUSE_PROTOCOL_FTP = yes; then
6322 result=no
6323 else
6324 result=yes
6325 fi
6326 else
6327 result=$wxUSE_PROTOCOL_FTP
6328 fi
6329
6330 { echo "$as_me:$LINENO: result: $result" >&5
6331 echo "${ECHO_T}$result" >&6; }
6332
6333
6334 enablestring=
6335 defaultval=$wxUSE_ALL_FEATURES
6336 if test -z "$defaultval"; then
6337 if test x"$enablestring" = xdisable; then
6338 defaultval=yes
6339 else
6340 defaultval=no
6341 fi
6342 fi
6343
6344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6346 # Check whether --enable-http was given.
6347 if test "${enable_http+set}" = set; then
6348 enableval=$enable_http;
6349 if test "$enableval" = yes; then
6350 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6351 else
6352 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6353 fi
6354 cache=yes
6355
6356 else
6357
6358 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 cache=yes
6362 else
6363 cache=no
6364 fi
6365
6366 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6367
6368 fi
6369
6370
6371 eval "$wx_cv_use_http"
6372 if test "x$cache" = xyes; then
6373 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6374 fi
6375
6376 if test x"$enablestring" = xdisable; then
6377 if test $wxUSE_PROTOCOL_HTTP = yes; then
6378 result=no
6379 else
6380 result=yes
6381 fi
6382 else
6383 result=$wxUSE_PROTOCOL_HTTP
6384 fi
6385
6386 { echo "$as_me:$LINENO: result: $result" >&5
6387 echo "${ECHO_T}$result" >&6; }
6388
6389
6390 enablestring=
6391 defaultval=$wxUSE_ALL_FEATURES
6392 if test -z "$defaultval"; then
6393 if test x"$enablestring" = xdisable; then
6394 defaultval=yes
6395 else
6396 defaultval=no
6397 fi
6398 fi
6399
6400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6402 # Check whether --enable-fileproto was given.
6403 if test "${enable_fileproto+set}" = set; then
6404 enableval=$enable_fileproto;
6405 if test "$enableval" = yes; then
6406 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6407 else
6408 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6409 fi
6410 cache=yes
6411
6412 else
6413
6414 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x ; then
6416 eval "DEFAULT_$LINE"
6417 cache=yes
6418 else
6419 cache=no
6420 fi
6421
6422 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6423
6424 fi
6425
6426
6427 eval "$wx_cv_use_fileproto"
6428 if test "x$cache" = xyes; then
6429 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6430 fi
6431
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_PROTOCOL_FILE = yes; then
6434 result=no
6435 else
6436 result=yes
6437 fi
6438 else
6439 result=$wxUSE_PROTOCOL_FILE
6440 fi
6441
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6444
6445
6446 enablestring=
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6450 defaultval=yes
6451 else
6452 defaultval=no
6453 fi
6454 fi
6455
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6458 # Check whether --enable-sockets was given.
6459 if test "${enable_sockets+set}" = set; then
6460 enableval=$enable_sockets;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6463 else
6464 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6465 fi
6466 cache=yes
6467
6468 else
6469
6470 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 cache=yes
6474 else
6475 cache=no
6476 fi
6477
6478 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6479
6480 fi
6481
6482
6483 eval "$wx_cv_use_sockets"
6484 if test "x$cache" = xyes; then
6485 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6486 fi
6487
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_SOCKETS = yes; then
6490 result=no
6491 else
6492 result=yes
6493 fi
6494 else
6495 result=$wxUSE_SOCKETS
6496 fi
6497
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6500
6501
6502 enablestring=
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6506 defaultval=yes
6507 else
6508 defaultval=no
6509 fi
6510 fi
6511
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6514 # Check whether --enable-ole was given.
6515 if test "${enable_ole+set}" = set; then
6516 enableval=$enable_ole;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_ole='wxUSE_OLE=yes'
6519 else
6520 wx_cv_use_ole='wxUSE_OLE=no'
6521 fi
6522 cache=yes
6523
6524 else
6525
6526 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6529 cache=yes
6530 else
6531 cache=no
6532 fi
6533
6534 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6535
6536 fi
6537
6538
6539 eval "$wx_cv_use_ole"
6540 if test "x$cache" = xyes; then
6541 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6542 fi
6543
6544 if test x"$enablestring" = xdisable; then
6545 if test $wxUSE_OLE = yes; then
6546 result=no
6547 else
6548 result=yes
6549 fi
6550 else
6551 result=$wxUSE_OLE
6552 fi
6553
6554 { echo "$as_me:$LINENO: result: $result" >&5
6555 echo "${ECHO_T}$result" >&6; }
6556
6557
6558 enablestring=
6559 defaultval=$wxUSE_ALL_FEATURES
6560 if test -z "$defaultval"; then
6561 if test x"$enablestring" = xdisable; then
6562 defaultval=yes
6563 else
6564 defaultval=no
6565 fi
6566 fi
6567
6568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6570 # Check whether --enable-dataobj was given.
6571 if test "${enable_dataobj+set}" = set; then
6572 enableval=$enable_dataobj;
6573 if test "$enableval" = yes; then
6574 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6575 else
6576 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6577 fi
6578 cache=yes
6579
6580 else
6581
6582 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x ; then
6584 eval "DEFAULT_$LINE"
6585 cache=yes
6586 else
6587 cache=no
6588 fi
6589
6590 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6591
6592 fi
6593
6594
6595 eval "$wx_cv_use_dataobj"
6596 if test "x$cache" = xyes; then
6597 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6598 fi
6599
6600 if test x"$enablestring" = xdisable; then
6601 if test $wxUSE_DATAOBJ = yes; then
6602 result=no
6603 else
6604 result=yes
6605 fi
6606 else
6607 result=$wxUSE_DATAOBJ
6608 fi
6609
6610 { echo "$as_me:$LINENO: result: $result" >&5
6611 echo "${ECHO_T}$result" >&6; }
6612
6613
6614
6615 enablestring=
6616 defaultval=$wxUSE_ALL_FEATURES
6617 if test -z "$defaultval"; then
6618 if test x"$enablestring" = xdisable; then
6619 defaultval=yes
6620 else
6621 defaultval=no
6622 fi
6623 fi
6624
6625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6627 # Check whether --enable-ipc was given.
6628 if test "${enable_ipc+set}" = set; then
6629 enableval=$enable_ipc;
6630 if test "$enableval" = yes; then
6631 wx_cv_use_ipc='wxUSE_IPC=yes'
6632 else
6633 wx_cv_use_ipc='wxUSE_IPC=no'
6634 fi
6635 cache=yes
6636
6637 else
6638
6639 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6642 cache=yes
6643 else
6644 cache=no
6645 fi
6646
6647 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6648
6649 fi
6650
6651
6652 eval "$wx_cv_use_ipc"
6653 if test "x$cache" = xyes; then
6654 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6655 fi
6656
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_IPC = yes; then
6659 result=no
6660 else
6661 result=yes
6662 fi
6663 else
6664 result=$wxUSE_IPC
6665 fi
6666
6667 { echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6; }
6669
6670
6671
6672 enablestring=
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6676 defaultval=yes
6677 else
6678 defaultval=no
6679 fi
6680 fi
6681
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6684 # Check whether --enable-baseevtloop was given.
6685 if test "${enable_baseevtloop+set}" = set; then
6686 enableval=$enable_baseevtloop;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6689 else
6690 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6691 fi
6692 cache=yes
6693
6694 else
6695
6696 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 cache=yes
6700 else
6701 cache=no
6702 fi
6703
6704 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6705
6706 fi
6707
6708
6709 eval "$wx_cv_use_baseevtloop"
6710 if test "x$cache" = xyes; then
6711 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6712 fi
6713
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6716 result=no
6717 else
6718 result=yes
6719 fi
6720 else
6721 result=$wxUSE_CONSOLE_EVENTLOOP
6722 fi
6723
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6726
6727
6728 enablestring=
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6732 defaultval=yes
6733 else
6734 defaultval=no
6735 fi
6736 fi
6737
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6740 # Check whether --enable-epoolloop was given.
6741 if test "${enable_epoolloop+set}" = set; then
6742 enableval=$enable_epoolloop;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6745 else
6746 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6747 fi
6748 cache=yes
6749
6750 else
6751
6752 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x ; then
6754 eval "DEFAULT_$LINE"
6755 cache=yes
6756 else
6757 cache=no
6758 fi
6759
6760 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6761
6762 fi
6763
6764
6765 eval "$wx_cv_use_epoolloop"
6766 if test "x$cache" = xyes; then
6767 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6768 fi
6769
6770 if test x"$enablestring" = xdisable; then
6771 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6772 result=no
6773 else
6774 result=yes
6775 fi
6776 else
6777 result=$wxUSE_EPOLL_DISPATCHER
6778 fi
6779
6780 { echo "$as_me:$LINENO: result: $result" >&5
6781 echo "${ECHO_T}$result" >&6; }
6782
6783
6784 enablestring=
6785 defaultval=$wxUSE_ALL_FEATURES
6786 if test -z "$defaultval"; then
6787 if test x"$enablestring" = xdisable; then
6788 defaultval=yes
6789 else
6790 defaultval=no
6791 fi
6792 fi
6793
6794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6796 # Check whether --enable-selectloop was given.
6797 if test "${enable_selectloop+set}" = set; then
6798 enableval=$enable_selectloop;
6799 if test "$enableval" = yes; then
6800 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6801 else
6802 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6803 fi
6804 cache=yes
6805
6806 else
6807
6808 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x ; then
6810 eval "DEFAULT_$LINE"
6811 cache=yes
6812 else
6813 cache=no
6814 fi
6815
6816 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6817
6818 fi
6819
6820
6821 eval "$wx_cv_use_selectloop"
6822 if test "x$cache" = xyes; then
6823 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_SELECT_DISPATCHER = yes; then
6828 result=no
6829 else
6830 result=yes
6831 fi
6832 else
6833 result=$wxUSE_SELECT_DISPATCHER
6834 fi
6835
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6838
6839
6840
6841 enablestring=
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6845 defaultval=yes
6846 else
6847 defaultval=no
6848 fi
6849 fi
6850
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6853 # Check whether --enable-apple_ieee was given.
6854 if test "${enable_apple_ieee+set}" = set; then
6855 enableval=$enable_apple_ieee;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6858 else
6859 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6860 fi
6861 cache=yes
6862
6863 else
6864
6865 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6868 cache=yes
6869 else
6870 cache=no
6871 fi
6872
6873 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_apple_ieee"
6879 if test "x$cache" = xyes; then
6880 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6881 fi
6882
6883 if test x"$enablestring" = xdisable; then
6884 if test $wxUSE_APPLE_IEEE = yes; then
6885 result=no
6886 else
6887 result=yes
6888 fi
6889 else
6890 result=$wxUSE_APPLE_IEEE
6891 fi
6892
6893 { echo "$as_me:$LINENO: result: $result" >&5
6894 echo "${ECHO_T}$result" >&6; }
6895
6896
6897 enablestring=
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6901 defaultval=yes
6902 else
6903 defaultval=no
6904 fi
6905 fi
6906
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6909 # Check whether --enable-arcstream was given.
6910 if test "${enable_arcstream+set}" = set; then
6911 enableval=$enable_arcstream;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6914 else
6915 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6916 fi
6917 cache=yes
6918
6919 else
6920
6921 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6924 cache=yes
6925 else
6926 cache=no
6927 fi
6928
6929 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6930
6931 fi
6932
6933
6934 eval "$wx_cv_use_arcstream"
6935 if test "x$cache" = xyes; then
6936 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6937 fi
6938
6939 if test x"$enablestring" = xdisable; then
6940 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6941 result=no
6942 else
6943 result=yes
6944 fi
6945 else
6946 result=$wxUSE_ARCHIVE_STREAMS
6947 fi
6948
6949 { echo "$as_me:$LINENO: result: $result" >&5
6950 echo "${ECHO_T}$result" >&6; }
6951
6952
6953 enablestring=
6954 defaultval=$wxUSE_ALL_FEATURES
6955 if test -z "$defaultval"; then
6956 if test x"$enablestring" = xdisable; then
6957 defaultval=yes
6958 else
6959 defaultval=no
6960 fi
6961 fi
6962
6963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6965 # Check whether --enable-base64 was given.
6966 if test "${enable_base64+set}" = set; then
6967 enableval=$enable_base64;
6968 if test "$enableval" = yes; then
6969 wx_cv_use_base64='wxUSE_BASE64=yes'
6970 else
6971 wx_cv_use_base64='wxUSE_BASE64=no'
6972 fi
6973 cache=yes
6974
6975 else
6976
6977 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 cache=yes
6981 else
6982 cache=no
6983 fi
6984
6985 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6986
6987 fi
6988
6989
6990 eval "$wx_cv_use_base64"
6991 if test "x$cache" = xyes; then
6992 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6993 fi
6994
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_BASE64 = yes; then
6997 result=no
6998 else
6999 result=yes
7000 fi
7001 else
7002 result=$wxUSE_BASE64
7003 fi
7004
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7007
7008
7009 enablestring=
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7013 defaultval=yes
7014 else
7015 defaultval=no
7016 fi
7017 fi
7018
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7021 # Check whether --enable-backtrace was given.
7022 if test "${enable_backtrace+set}" = set; then
7023 enableval=$enable_backtrace;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7026 else
7027 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7028 fi
7029 cache=yes
7030
7031 else
7032
7033 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7036 cache=yes
7037 else
7038 cache=no
7039 fi
7040
7041 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7042
7043 fi
7044
7045
7046 eval "$wx_cv_use_backtrace"
7047 if test "x$cache" = xyes; then
7048 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7049 fi
7050
7051 if test x"$enablestring" = xdisable; then
7052 if test $wxUSE_STACKWALKER = yes; then
7053 result=no
7054 else
7055 result=yes
7056 fi
7057 else
7058 result=$wxUSE_STACKWALKER
7059 fi
7060
7061 { echo "$as_me:$LINENO: result: $result" >&5
7062 echo "${ECHO_T}$result" >&6; }
7063
7064
7065 enablestring=
7066 defaultval=$wxUSE_ALL_FEATURES
7067 if test -z "$defaultval"; then
7068 if test x"$enablestring" = xdisable; then
7069 defaultval=yes
7070 else
7071 defaultval=no
7072 fi
7073 fi
7074
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7077 # Check whether --enable-catch_segvs was given.
7078 if test "${enable_catch_segvs+set}" = set; then
7079 enableval=$enable_catch_segvs;
7080 if test "$enableval" = yes; then
7081 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7082 else
7083 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7084 fi
7085 cache=yes
7086
7087 else
7088
7089 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7092 cache=yes
7093 else
7094 cache=no
7095 fi
7096
7097 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7098
7099 fi
7100
7101
7102 eval "$wx_cv_use_catch_segvs"
7103 if test "x$cache" = xyes; then
7104 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7105 fi
7106
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7109 result=no
7110 else
7111 result=yes
7112 fi
7113 else
7114 result=$wxUSE_ON_FATAL_EXCEPTION
7115 fi
7116
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7119
7120
7121 enablestring=
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7125 defaultval=yes
7126 else
7127 defaultval=no
7128 fi
7129 fi
7130
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7133 # Check whether --enable-cmdline was given.
7134 if test "${enable_cmdline+set}" = set; then
7135 enableval=$enable_cmdline;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7138 else
7139 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7140 fi
7141 cache=yes
7142
7143 else
7144
7145 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 cache=yes
7149 else
7150 cache=no
7151 fi
7152
7153 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7154
7155 fi
7156
7157
7158 eval "$wx_cv_use_cmdline"
7159 if test "x$cache" = xyes; then
7160 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test x"$enablestring" = xdisable; then
7164 if test $wxUSE_CMDLINE_PARSER = yes; then
7165 result=no
7166 else
7167 result=yes
7168 fi
7169 else
7170 result=$wxUSE_CMDLINE_PARSER
7171 fi
7172
7173 { echo "$as_me:$LINENO: result: $result" >&5
7174 echo "${ECHO_T}$result" >&6; }
7175
7176
7177 enablestring=
7178 defaultval=$wxUSE_ALL_FEATURES
7179 if test -z "$defaultval"; then
7180 if test x"$enablestring" = xdisable; then
7181 defaultval=yes
7182 else
7183 defaultval=no
7184 fi
7185 fi
7186
7187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7189 # Check whether --enable-datetime was given.
7190 if test "${enable_datetime+set}" = set; then
7191 enableval=$enable_datetime;
7192 if test "$enableval" = yes; then
7193 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7194 else
7195 wx_cv_use_datetime='wxUSE_DATETIME=no'
7196 fi
7197 cache=yes
7198
7199 else
7200
7201 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x ; then
7203 eval "DEFAULT_$LINE"
7204 cache=yes
7205 else
7206 cache=no
7207 fi
7208
7209 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7210
7211 fi
7212
7213
7214 eval "$wx_cv_use_datetime"
7215 if test "x$cache" = xyes; then
7216 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7217 fi
7218
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_DATETIME = yes; then
7221 result=no
7222 else
7223 result=yes
7224 fi
7225 else
7226 result=$wxUSE_DATETIME
7227 fi
7228
7229 { echo "$as_me:$LINENO: result: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7231
7232
7233 enablestring=
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7237 defaultval=yes
7238 else
7239 defaultval=no
7240 fi
7241 fi
7242
7243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7244 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7245 # Check whether --enable-debugreport was given.
7246 if test "${enable_debugreport+set}" = set; then
7247 enableval=$enable_debugreport;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7250 else
7251 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7252 fi
7253 cache=yes
7254
7255 else
7256
7257 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x ; then
7259 eval "DEFAULT_$LINE"
7260 cache=yes
7261 else
7262 cache=no
7263 fi
7264
7265 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7266
7267 fi
7268
7269
7270 eval "$wx_cv_use_debugreport"
7271 if test "x$cache" = xyes; then
7272 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7273 fi
7274
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_DEBUGREPORT = yes; then
7277 result=no
7278 else
7279 result=yes
7280 fi
7281 else
7282 result=$wxUSE_DEBUGREPORT
7283 fi
7284
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7287
7288
7289 enablestring=
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7293 defaultval=yes
7294 else
7295 defaultval=no
7296 fi
7297 fi
7298
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7301 # Check whether --enable-dialupman was given.
7302 if test "${enable_dialupman+set}" = set; then
7303 enableval=$enable_dialupman;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7306 else
7307 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7308 fi
7309 cache=yes
7310
7311 else
7312
7313 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x ; then
7315 eval "DEFAULT_$LINE"
7316 cache=yes
7317 else
7318 cache=no
7319 fi
7320
7321 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7322
7323 fi
7324
7325
7326 eval "$wx_cv_use_dialupman"
7327 if test "x$cache" = xyes; then
7328 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7329 fi
7330
7331 if test x"$enablestring" = xdisable; then
7332 if test $wxUSE_DIALUP_MANAGER = yes; then
7333 result=no
7334 else
7335 result=yes
7336 fi
7337 else
7338 result=$wxUSE_DIALUP_MANAGER
7339 fi
7340
7341 { echo "$as_me:$LINENO: result: $result" >&5
7342 echo "${ECHO_T}$result" >&6; }
7343
7344
7345 enablestring=
7346 defaultval=$wxUSE_ALL_FEATURES
7347 if test -z "$defaultval"; then
7348 if test x"$enablestring" = xdisable; then
7349 defaultval=yes
7350 else
7351 defaultval=no
7352 fi
7353 fi
7354
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7357 # Check whether --enable-dynlib was given.
7358 if test "${enable_dynlib+set}" = set; then
7359 enableval=$enable_dynlib;
7360 if test "$enableval" = yes; then
7361 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7362 else
7363 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7364 fi
7365 cache=yes
7366
7367 else
7368
7369 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7372 cache=yes
7373 else
7374 cache=no
7375 fi
7376
7377 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7378
7379 fi
7380
7381
7382 eval "$wx_cv_use_dynlib"
7383 if test "x$cache" = xyes; then
7384 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7385 fi
7386
7387 if test x"$enablestring" = xdisable; then
7388 if test $wxUSE_DYNLIB_CLASS = yes; then
7389 result=no
7390 else
7391 result=yes
7392 fi
7393 else
7394 result=$wxUSE_DYNLIB_CLASS
7395 fi
7396
7397 { echo "$as_me:$LINENO: result: $result" >&5
7398 echo "${ECHO_T}$result" >&6; }
7399
7400
7401 enablestring=
7402 defaultval=$wxUSE_ALL_FEATURES
7403 if test -z "$defaultval"; then
7404 if test x"$enablestring" = xdisable; then
7405 defaultval=yes
7406 else
7407 defaultval=no
7408 fi
7409 fi
7410
7411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7413 # Check whether --enable-dynamicloader was given.
7414 if test "${enable_dynamicloader+set}" = set; then
7415 enableval=$enable_dynamicloader;
7416 if test "$enableval" = yes; then
7417 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7418 else
7419 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7420 fi
7421 cache=yes
7422
7423 else
7424
7425 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7426 if test "x$LINE" != x ; then
7427 eval "DEFAULT_$LINE"
7428 cache=yes
7429 else
7430 cache=no
7431 fi
7432
7433 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7434
7435 fi
7436
7437
7438 eval "$wx_cv_use_dynamicloader"
7439 if test "x$cache" = xyes; then
7440 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7441 fi
7442
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_DYNAMIC_LOADER = yes; then
7445 result=no
7446 else
7447 result=yes
7448 fi
7449 else
7450 result=$wxUSE_DYNAMIC_LOADER
7451 fi
7452
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7455
7456
7457 enablestring=
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7461 defaultval=yes
7462 else
7463 defaultval=no
7464 fi
7465 fi
7466
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7469 # Check whether --enable-exceptions was given.
7470 if test "${enable_exceptions+set}" = set; then
7471 enableval=$enable_exceptions;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7474 else
7475 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7476 fi
7477 cache=yes
7478
7479 else
7480
7481 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 cache=yes
7485 else
7486 cache=no
7487 fi
7488
7489 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_exceptions"
7495 if test "x$cache" = xyes; then
7496 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7497 fi
7498
7499 if test x"$enablestring" = xdisable; then
7500 if test $wxUSE_EXCEPTIONS = yes; then
7501 result=no
7502 else
7503 result=yes
7504 fi
7505 else
7506 result=$wxUSE_EXCEPTIONS
7507 fi
7508
7509 { echo "$as_me:$LINENO: result: $result" >&5
7510 echo "${ECHO_T}$result" >&6; }
7511
7512
7513 enablestring=
7514 defaultval=$wxUSE_ALL_FEATURES
7515 if test -z "$defaultval"; then
7516 if test x"$enablestring" = xdisable; then
7517 defaultval=yes
7518 else
7519 defaultval=no
7520 fi
7521 fi
7522
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7525 # Check whether --enable-ffile was given.
7526 if test "${enable_ffile+set}" = set; then
7527 enableval=$enable_ffile;
7528 if test "$enableval" = yes; then
7529 wx_cv_use_ffile='wxUSE_FFILE=yes'
7530 else
7531 wx_cv_use_ffile='wxUSE_FFILE=no'
7532 fi
7533 cache=yes
7534
7535 else
7536
7537 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7540 cache=yes
7541 else
7542 cache=no
7543 fi
7544
7545 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7546
7547 fi
7548
7549
7550 eval "$wx_cv_use_ffile"
7551 if test "x$cache" = xyes; then
7552 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7553 fi
7554
7555 if test x"$enablestring" = xdisable; then
7556 if test $wxUSE_FFILE = yes; then
7557 result=no
7558 else
7559 result=yes
7560 fi
7561 else
7562 result=$wxUSE_FFILE
7563 fi
7564
7565 { echo "$as_me:$LINENO: result: $result" >&5
7566 echo "${ECHO_T}$result" >&6; }
7567
7568
7569 enablestring=
7570 defaultval=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x"$enablestring" = xdisable; then
7573 defaultval=yes
7574 else
7575 defaultval=no
7576 fi
7577 fi
7578
7579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7581 # Check whether --enable-file was given.
7582 if test "${enable_file+set}" = set; then
7583 enableval=$enable_file;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_file='wxUSE_FILE=yes'
7586 else
7587 wx_cv_use_file='wxUSE_FILE=no'
7588 fi
7589 cache=yes
7590
7591 else
7592
7593 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7596 cache=yes
7597 else
7598 cache=no
7599 fi
7600
7601 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7602
7603 fi
7604
7605
7606 eval "$wx_cv_use_file"
7607 if test "x$cache" = xyes; then
7608 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7609 fi
7610
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_FILE = yes; then
7613 result=no
7614 else
7615 result=yes
7616 fi
7617 else
7618 result=$wxUSE_FILE
7619 fi
7620
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7623
7624
7625 enablestring=
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7629 defaultval=yes
7630 else
7631 defaultval=no
7632 fi
7633 fi
7634
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7637 # Check whether --enable-filesystem was given.
7638 if test "${enable_filesystem+set}" = set; then
7639 enableval=$enable_filesystem;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7642 else
7643 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7644 fi
7645 cache=yes
7646
7647 else
7648
7649 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x ; then
7651 eval "DEFAULT_$LINE"
7652 cache=yes
7653 else
7654 cache=no
7655 fi
7656
7657 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7658
7659 fi
7660
7661
7662 eval "$wx_cv_use_filesystem"
7663 if test "x$cache" = xyes; then
7664 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test x"$enablestring" = xdisable; then
7668 if test $wxUSE_FILESYSTEM = yes; then
7669 result=no
7670 else
7671 result=yes
7672 fi
7673 else
7674 result=$wxUSE_FILESYSTEM
7675 fi
7676
7677 { echo "$as_me:$LINENO: result: $result" >&5
7678 echo "${ECHO_T}$result" >&6; }
7679
7680
7681 enablestring=
7682 defaultval=$wxUSE_ALL_FEATURES
7683 if test -z "$defaultval"; then
7684 if test x"$enablestring" = xdisable; then
7685 defaultval=yes
7686 else
7687 defaultval=no
7688 fi
7689 fi
7690
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7693 # Check whether --enable-fontenum was given.
7694 if test "${enable_fontenum+set}" = set; then
7695 enableval=$enable_fontenum;
7696 if test "$enableval" = yes; then
7697 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7698 else
7699 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7700 fi
7701 cache=yes
7702
7703 else
7704
7705 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 cache=yes
7709 else
7710 cache=no
7711 fi
7712
7713 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7714
7715 fi
7716
7717
7718 eval "$wx_cv_use_fontenum"
7719 if test "x$cache" = xyes; then
7720 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7721 fi
7722
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_FONTENUM = yes; then
7725 result=no
7726 else
7727 result=yes
7728 fi
7729 else
7730 result=$wxUSE_FONTENUM
7731 fi
7732
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7735
7736
7737 enablestring=
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7741 defaultval=yes
7742 else
7743 defaultval=no
7744 fi
7745 fi
7746
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7749 # Check whether --enable-fontmap was given.
7750 if test "${enable_fontmap+set}" = set; then
7751 enableval=$enable_fontmap;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7754 else
7755 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7756 fi
7757 cache=yes
7758
7759 else
7760
7761 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x ; then
7763 eval "DEFAULT_$LINE"
7764 cache=yes
7765 else
7766 cache=no
7767 fi
7768
7769 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7770
7771 fi
7772
7773
7774 eval "$wx_cv_use_fontmap"
7775 if test "x$cache" = xyes; then
7776 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7777 fi
7778
7779 if test x"$enablestring" = xdisable; then
7780 if test $wxUSE_FONTMAP = yes; then
7781 result=no
7782 else
7783 result=yes
7784 fi
7785 else
7786 result=$wxUSE_FONTMAP
7787 fi
7788
7789 { echo "$as_me:$LINENO: result: $result" >&5
7790 echo "${ECHO_T}$result" >&6; }
7791
7792
7793 enablestring=
7794 defaultval=$wxUSE_ALL_FEATURES
7795 if test -z "$defaultval"; then
7796 if test x"$enablestring" = xdisable; then
7797 defaultval=yes
7798 else
7799 defaultval=no
7800 fi
7801 fi
7802
7803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7805 # Check whether --enable-fs_archive was given.
7806 if test "${enable_fs_archive+set}" = set; then
7807 enableval=$enable_fs_archive;
7808 if test "$enableval" = yes; then
7809 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7810 else
7811 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7812 fi
7813 cache=yes
7814
7815 else
7816
7817 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7820 cache=yes
7821 else
7822 cache=no
7823 fi
7824
7825 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7826
7827 fi
7828
7829
7830 eval "$wx_cv_use_fs_archive"
7831 if test "x$cache" = xyes; then
7832 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7833 fi
7834
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_FS_ARCHIVE = yes; then
7837 result=no
7838 else
7839 result=yes
7840 fi
7841 else
7842 result=$wxUSE_FS_ARCHIVE
7843 fi
7844
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7847
7848
7849 enablestring=
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7853 defaultval=yes
7854 else
7855 defaultval=no
7856 fi
7857 fi
7858
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7861 # Check whether --enable-fs_inet was given.
7862 if test "${enable_fs_inet+set}" = set; then
7863 enableval=$enable_fs_inet;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7866 else
7867 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7868 fi
7869 cache=yes
7870
7871 else
7872
7873 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7874 if test "x$LINE" != x ; then
7875 eval "DEFAULT_$LINE"
7876 cache=yes
7877 else
7878 cache=no
7879 fi
7880
7881 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7882
7883 fi
7884
7885
7886 eval "$wx_cv_use_fs_inet"
7887 if test "x$cache" = xyes; then
7888 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7889 fi
7890
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_FS_INET = yes; then
7893 result=no
7894 else
7895 result=yes
7896 fi
7897 else
7898 result=$wxUSE_FS_INET
7899 fi
7900
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7903
7904
7905 enablestring=
7906 defaultval=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x"$enablestring" = xdisable; then
7909 defaultval=yes
7910 else
7911 defaultval=no
7912 fi
7913 fi
7914
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7917 # Check whether --enable-fs_zip was given.
7918 if test "${enable_fs_zip+set}" = set; then
7919 enableval=$enable_fs_zip;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7922 else
7923 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7924 fi
7925 cache=yes
7926
7927 else
7928
7929 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7932 cache=yes
7933 else
7934 cache=no
7935 fi
7936
7937 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7938
7939 fi
7940
7941
7942 eval "$wx_cv_use_fs_zip"
7943 if test "x$cache" = xyes; then
7944 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7945 fi
7946
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_FS_ZIP = yes; then
7949 result=no
7950 else
7951 result=yes
7952 fi
7953 else
7954 result=$wxUSE_FS_ZIP
7955 fi
7956
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7959
7960
7961 enablestring=
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7965 defaultval=yes
7966 else
7967 defaultval=no
7968 fi
7969 fi
7970
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7973 # Check whether --enable-geometry was given.
7974 if test "${enable_geometry+set}" = set; then
7975 enableval=$enable_geometry;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7978 else
7979 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7980 fi
7981 cache=yes
7982
7983 else
7984
7985 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7988 cache=yes
7989 else
7990 cache=no
7991 fi
7992
7993 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7994
7995 fi
7996
7997
7998 eval "$wx_cv_use_geometry"
7999 if test "x$cache" = xyes; then
8000 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_GEOMETRY = yes; then
8005 result=no
8006 else
8007 result=yes
8008 fi
8009 else
8010 result=$wxUSE_GEOMETRY
8011 fi
8012
8013 { echo "$as_me:$LINENO: result: $result" >&5
8014 echo "${ECHO_T}$result" >&6; }
8015
8016
8017 enablestring=
8018 defaultval=$wxUSE_ALL_FEATURES
8019 if test -z "$defaultval"; then
8020 if test x"$enablestring" = xdisable; then
8021 defaultval=yes
8022 else
8023 defaultval=no
8024 fi
8025 fi
8026
8027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8029 # Check whether --enable-log was given.
8030 if test "${enable_log+set}" = set; then
8031 enableval=$enable_log;
8032 if test "$enableval" = yes; then
8033 wx_cv_use_log='wxUSE_LOG=yes'
8034 else
8035 wx_cv_use_log='wxUSE_LOG=no'
8036 fi
8037 cache=yes
8038
8039 else
8040
8041 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8044 cache=yes
8045 else
8046 cache=no
8047 fi
8048
8049 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8050
8051 fi
8052
8053
8054 eval "$wx_cv_use_log"
8055 if test "x$cache" = xyes; then
8056 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8057 fi
8058
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_LOG = yes; then
8061 result=no
8062 else
8063 result=yes
8064 fi
8065 else
8066 result=$wxUSE_LOG
8067 fi
8068
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8071
8072
8073 enablestring=
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8077 defaultval=yes
8078 else
8079 defaultval=no
8080 fi
8081 fi
8082
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8085 # Check whether --enable-longlong was given.
8086 if test "${enable_longlong+set}" = set; then
8087 enableval=$enable_longlong;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8090 else
8091 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8092 fi
8093 cache=yes
8094
8095 else
8096
8097 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8100 cache=yes
8101 else
8102 cache=no
8103 fi
8104
8105 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_longlong"
8111 if test "x$cache" = xyes; then
8112 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8113 fi
8114
8115 if test x"$enablestring" = xdisable; then
8116 if test $wxUSE_LONGLONG = yes; then
8117 result=no
8118 else
8119 result=yes
8120 fi
8121 else
8122 result=$wxUSE_LONGLONG
8123 fi
8124
8125 { echo "$as_me:$LINENO: result: $result" >&5
8126 echo "${ECHO_T}$result" >&6; }
8127
8128
8129 enablestring=
8130 defaultval=$wxUSE_ALL_FEATURES
8131 if test -z "$defaultval"; then
8132 if test x"$enablestring" = xdisable; then
8133 defaultval=yes
8134 else
8135 defaultval=no
8136 fi
8137 fi
8138
8139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8140 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8141 # Check whether --enable-mimetype was given.
8142 if test "${enable_mimetype+set}" = set; then
8143 enableval=$enable_mimetype;
8144 if test "$enableval" = yes; then
8145 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8146 else
8147 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8148 fi
8149 cache=yes
8150
8151 else
8152
8153 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x ; then
8155 eval "DEFAULT_$LINE"
8156 cache=yes
8157 else
8158 cache=no
8159 fi
8160
8161 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8162
8163 fi
8164
8165
8166 eval "$wx_cv_use_mimetype"
8167 if test "x$cache" = xyes; then
8168 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_MIMETYPE = yes; then
8173 result=no
8174 else
8175 result=yes
8176 fi
8177 else
8178 result=$wxUSE_MIMETYPE
8179 fi
8180
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8183
8184
8185 enablestring=
8186 defaultval=$wxUSE_ALL_FEATURES
8187 if test -z "$defaultval"; then
8188 if test x"$enablestring" = xdisable; then
8189 defaultval=yes
8190 else
8191 defaultval=no
8192 fi
8193 fi
8194
8195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8197 # Check whether --enable-snglinst was given.
8198 if test "${enable_snglinst+set}" = set; then
8199 enableval=$enable_snglinst;
8200 if test "$enableval" = yes; then
8201 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8202 else
8203 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8204 fi
8205 cache=yes
8206
8207 else
8208
8209 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 cache=yes
8213 else
8214 cache=no
8215 fi
8216
8217 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8218
8219 fi
8220
8221
8222 eval "$wx_cv_use_snglinst"
8223 if test "x$cache" = xyes; then
8224 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8225 fi
8226
8227 if test x"$enablestring" = xdisable; then
8228 if test $wxUSE_SNGLINST_CHECKER = yes; then
8229 result=no
8230 else
8231 result=yes
8232 fi
8233 else
8234 result=$wxUSE_SNGLINST_CHECKER
8235 fi
8236
8237 { echo "$as_me:$LINENO: result: $result" >&5
8238 echo "${ECHO_T}$result" >&6; }
8239
8240
8241 enablestring=
8242 defaultval=$wxUSE_ALL_FEATURES
8243 if test -z "$defaultval"; then
8244 if test x"$enablestring" = xdisable; then
8245 defaultval=yes
8246 else
8247 defaultval=no
8248 fi
8249 fi
8250
8251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8252 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8253 # Check whether --enable-stdpaths was given.
8254 if test "${enable_stdpaths+set}" = set; then
8255 enableval=$enable_stdpaths;
8256 if test "$enableval" = yes; then
8257 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8258 else
8259 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8260 fi
8261 cache=yes
8262
8263 else
8264
8265 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8268 cache=yes
8269 else
8270 cache=no
8271 fi
8272
8273 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8274
8275 fi
8276
8277
8278 eval "$wx_cv_use_stdpaths"
8279 if test "x$cache" = xyes; then
8280 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8281 fi
8282
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_STDPATHS = yes; then
8285 result=no
8286 else
8287 result=yes
8288 fi
8289 else
8290 result=$wxUSE_STDPATHS
8291 fi
8292
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8295
8296
8297 enablestring=
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8301 defaultval=yes
8302 else
8303 defaultval=no
8304 fi
8305 fi
8306
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8309 # Check whether --enable-stopwatch was given.
8310 if test "${enable_stopwatch+set}" = set; then
8311 enableval=$enable_stopwatch;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8314 else
8315 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8316 fi
8317 cache=yes
8318
8319 else
8320
8321 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8324 cache=yes
8325 else
8326 cache=no
8327 fi
8328
8329 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8330
8331 fi
8332
8333
8334 eval "$wx_cv_use_stopwatch"
8335 if test "x$cache" = xyes; then
8336 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8337 fi
8338
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_STOPWATCH = yes; then
8341 result=no
8342 else
8343 result=yes
8344 fi
8345 else
8346 result=$wxUSE_STOPWATCH
8347 fi
8348
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8351
8352
8353 enablestring=
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8357 defaultval=yes
8358 else
8359 defaultval=no
8360 fi
8361 fi
8362
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8365 # Check whether --enable-streams was given.
8366 if test "${enable_streams+set}" = set; then
8367 enableval=$enable_streams;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_streams='wxUSE_STREAMS=yes'
8370 else
8371 wx_cv_use_streams='wxUSE_STREAMS=no'
8372 fi
8373 cache=yes
8374
8375 else
8376
8377 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8380 cache=yes
8381 else
8382 cache=no
8383 fi
8384
8385 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8386
8387 fi
8388
8389
8390 eval "$wx_cv_use_streams"
8391 if test "x$cache" = xyes; then
8392 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8393 fi
8394
8395 if test x"$enablestring" = xdisable; then
8396 if test $wxUSE_STREAMS = yes; then
8397 result=no
8398 else
8399 result=yes
8400 fi
8401 else
8402 result=$wxUSE_STREAMS
8403 fi
8404
8405 { echo "$as_me:$LINENO: result: $result" >&5
8406 echo "${ECHO_T}$result" >&6; }
8407
8408
8409 enablestring=
8410 defaultval=$wxUSE_ALL_FEATURES
8411 if test -z "$defaultval"; then
8412 if test x"$enablestring" = xdisable; then
8413 defaultval=yes
8414 else
8415 defaultval=no
8416 fi
8417 fi
8418
8419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8421 # Check whether --enable-system_options was given.
8422 if test "${enable_system_options+set}" = set; then
8423 enableval=$enable_system_options;
8424 if test "$enableval" = yes; then
8425 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8426 else
8427 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8428 fi
8429 cache=yes
8430
8431 else
8432
8433 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8434 if test "x$LINE" != x ; then
8435 eval "DEFAULT_$LINE"
8436 cache=yes
8437 else
8438 cache=no
8439 fi
8440
8441 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8442
8443 fi
8444
8445
8446 eval "$wx_cv_use_system_options"
8447 if test "x$cache" = xyes; then
8448 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8449 fi
8450
8451 if test x"$enablestring" = xdisable; then
8452 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8453 result=no
8454 else
8455 result=yes
8456 fi
8457 else
8458 result=$wxUSE_SYSTEM_OPTIONS
8459 fi
8460
8461 { echo "$as_me:$LINENO: result: $result" >&5
8462 echo "${ECHO_T}$result" >&6; }
8463
8464
8465 enablestring=
8466 defaultval=$wxUSE_ALL_FEATURES
8467 if test -z "$defaultval"; then
8468 if test x"$enablestring" = xdisable; then
8469 defaultval=yes
8470 else
8471 defaultval=no
8472 fi
8473 fi
8474
8475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8476 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8477 # Check whether --enable-tarstream was given.
8478 if test "${enable_tarstream+set}" = set; then
8479 enableval=$enable_tarstream;
8480 if test "$enableval" = yes; then
8481 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8482 else
8483 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8484 fi
8485 cache=yes
8486
8487 else
8488
8489 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x ; then
8491 eval "DEFAULT_$LINE"
8492 cache=yes
8493 else
8494 cache=no
8495 fi
8496
8497 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8498
8499 fi
8500
8501
8502 eval "$wx_cv_use_tarstream"
8503 if test "x$cache" = xyes; then
8504 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8505 fi
8506
8507 if test x"$enablestring" = xdisable; then
8508 if test $wxUSE_TARSTREAM = yes; then
8509 result=no
8510 else
8511 result=yes
8512 fi
8513 else
8514 result=$wxUSE_TARSTREAM
8515 fi
8516
8517 { echo "$as_me:$LINENO: result: $result" >&5
8518 echo "${ECHO_T}$result" >&6; }
8519
8520
8521 enablestring=
8522 defaultval=$wxUSE_ALL_FEATURES
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8525 defaultval=yes
8526 else
8527 defaultval=no
8528 fi
8529 fi
8530
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8533 # Check whether --enable-textbuf was given.
8534 if test "${enable_textbuf+set}" = set; then
8535 enableval=$enable_textbuf;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8538 else
8539 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8540 fi
8541 cache=yes
8542
8543 else
8544
8545 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 cache=yes
8549 else
8550 cache=no
8551 fi
8552
8553 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8554
8555 fi
8556
8557
8558 eval "$wx_cv_use_textbuf"
8559 if test "x$cache" = xyes; then
8560 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8561 fi
8562
8563 if test x"$enablestring" = xdisable; then
8564 if test $wxUSE_TEXTBUFFER = yes; then
8565 result=no
8566 else
8567 result=yes
8568 fi
8569 else
8570 result=$wxUSE_TEXTBUFFER
8571 fi
8572
8573 { echo "$as_me:$LINENO: result: $result" >&5
8574 echo "${ECHO_T}$result" >&6; }
8575
8576
8577 enablestring=
8578 defaultval=$wxUSE_ALL_FEATURES
8579 if test -z "$defaultval"; then
8580 if test x"$enablestring" = xdisable; then
8581 defaultval=yes
8582 else
8583 defaultval=no
8584 fi
8585 fi
8586
8587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8589 # Check whether --enable-textfile was given.
8590 if test "${enable_textfile+set}" = set; then
8591 enableval=$enable_textfile;
8592 if test "$enableval" = yes; then
8593 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8594 else
8595 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8596 fi
8597 cache=yes
8598
8599 else
8600
8601 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8604 cache=yes
8605 else
8606 cache=no
8607 fi
8608
8609 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8610
8611 fi
8612
8613
8614 eval "$wx_cv_use_textfile"
8615 if test "x$cache" = xyes; then
8616 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8617 fi
8618
8619 if test x"$enablestring" = xdisable; then
8620 if test $wxUSE_TEXTFILE = yes; then
8621 result=no
8622 else
8623 result=yes
8624 fi
8625 else
8626 result=$wxUSE_TEXTFILE
8627 fi
8628
8629 { echo "$as_me:$LINENO: result: $result" >&5
8630 echo "${ECHO_T}$result" >&6; }
8631
8632
8633 enablestring=
8634 defaultval=$wxUSE_ALL_FEATURES
8635 if test -z "$defaultval"; then
8636 if test x"$enablestring" = xdisable; then
8637 defaultval=yes
8638 else
8639 defaultval=no
8640 fi
8641 fi
8642
8643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8644 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8645 # Check whether --enable-timer was given.
8646 if test "${enable_timer+set}" = set; then
8647 enableval=$enable_timer;
8648 if test "$enableval" = yes; then
8649 wx_cv_use_timer='wxUSE_TIMER=yes'
8650 else
8651 wx_cv_use_timer='wxUSE_TIMER=no'
8652 fi
8653 cache=yes
8654
8655 else
8656
8657 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8658 if test "x$LINE" != x ; then
8659 eval "DEFAULT_$LINE"
8660 cache=yes
8661 else
8662 cache=no
8663 fi
8664
8665 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8666
8667 fi
8668
8669
8670 eval "$wx_cv_use_timer"
8671 if test "x$cache" = xyes; then
8672 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8673 fi
8674
8675 if test x"$enablestring" = xdisable; then
8676 if test $wxUSE_TIMER = yes; then
8677 result=no
8678 else
8679 result=yes
8680 fi
8681 else
8682 result=$wxUSE_TIMER
8683 fi
8684
8685 { echo "$as_me:$LINENO: result: $result" >&5
8686 echo "${ECHO_T}$result" >&6; }
8687
8688
8689 enablestring=
8690 defaultval=$wxUSE_ALL_FEATURES
8691 if test -z "$defaultval"; then
8692 if test x"$enablestring" = xdisable; then
8693 defaultval=yes
8694 else
8695 defaultval=no
8696 fi
8697 fi
8698
8699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8700 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8701 # Check whether --enable-sound was given.
8702 if test "${enable_sound+set}" = set; then
8703 enableval=$enable_sound;
8704 if test "$enableval" = yes; then
8705 wx_cv_use_sound='wxUSE_SOUND=yes'
8706 else
8707 wx_cv_use_sound='wxUSE_SOUND=no'
8708 fi
8709 cache=yes
8710
8711 else
8712
8713 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8716 cache=yes
8717 else
8718 cache=no
8719 fi
8720
8721 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8722
8723 fi
8724
8725
8726 eval "$wx_cv_use_sound"
8727 if test "x$cache" = xyes; then
8728 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8729 fi
8730
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_SOUND = yes; then
8733 result=no
8734 else
8735 result=yes
8736 fi
8737 else
8738 result=$wxUSE_SOUND
8739 fi
8740
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8743
8744
8745 enablestring=
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8749 defaultval=yes
8750 else
8751 defaultval=no
8752 fi
8753 fi
8754
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8757 # Check whether --enable-mediactrl was given.
8758 if test "${enable_mediactrl+set}" = set; then
8759 enableval=$enable_mediactrl;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8762 else
8763 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8764 fi
8765 cache=yes
8766
8767 else
8768
8769 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8770 if test "x$LINE" != x ; then
8771 eval "DEFAULT_$LINE"
8772 cache=yes
8773 else
8774 cache=no
8775 fi
8776
8777 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8778
8779 fi
8780
8781
8782 eval "$wx_cv_use_mediactrl"
8783 if test "x$cache" = xyes; then
8784 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8785 fi
8786
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_MEDIACTRL = yes; then
8789 result=no
8790 else
8791 result=yes
8792 fi
8793 else
8794 result=$wxUSE_MEDIACTRL
8795 fi
8796
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8799
8800
8801 enablestring=
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8805 defaultval=yes
8806 else
8807 defaultval=no
8808 fi
8809 fi
8810
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8813 # Check whether --enable-gstreamer8 was given.
8814 if test "${enable_gstreamer8+set}" = set; then
8815 enableval=$enable_gstreamer8;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8818 else
8819 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8820 fi
8821 cache=yes
8822
8823 else
8824
8825 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8828 cache=yes
8829 else
8830 cache=no
8831 fi
8832
8833 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8834
8835 fi
8836
8837
8838 eval "$wx_cv_use_gstreamer8"
8839 if test "x$cache" = xyes; then
8840 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_GSTREAMER8 = yes; then
8845 result=no
8846 else
8847 result=yes
8848 fi
8849 else
8850 result=$wxUSE_GSTREAMER8
8851 fi
8852
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8855
8856
8857 enablestring=
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8861 defaultval=yes
8862 else
8863 defaultval=no
8864 fi
8865 fi
8866
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8869 # Check whether --enable-printfposparam was given.
8870 if test "${enable_printfposparam+set}" = set; then
8871 enableval=$enable_printfposparam;
8872 if test "$enableval" = yes; then
8873 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8874 else
8875 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8876 fi
8877 cache=yes
8878
8879 else
8880
8881 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8884 cache=yes
8885 else
8886 cache=no
8887 fi
8888
8889 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8890
8891 fi
8892
8893
8894 eval "$wx_cv_use_printfposparam"
8895 if test "x$cache" = xyes; then
8896 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8897 fi
8898
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8901 result=no
8902 else
8903 result=yes
8904 fi
8905 else
8906 result=$wxUSE_PRINTF_POS_PARAMS
8907 fi
8908
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8911
8912
8913 enablestring=
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8917 defaultval=yes
8918 else
8919 defaultval=no
8920 fi
8921 fi
8922
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8925 # Check whether --enable-zipstream was given.
8926 if test "${enable_zipstream+set}" = set; then
8927 enableval=$enable_zipstream;
8928 if test "$enableval" = yes; then
8929 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8930 else
8931 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8932 fi
8933 cache=yes
8934
8935 else
8936
8937 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8940 cache=yes
8941 else
8942 cache=no
8943 fi
8944
8945 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8946
8947 fi
8948
8949
8950 eval "$wx_cv_use_zipstream"
8951 if test "x$cache" = xyes; then
8952 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8953 fi
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_ZIPSTREAM = yes; then
8957 result=no
8958 else
8959 result=yes
8960 fi
8961 else
8962 result=$wxUSE_ZIPSTREAM
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969
8970 enablestring=
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8974 defaultval=yes
8975 else
8976 defaultval=no
8977 fi
8978 fi
8979
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8982 # Check whether --enable-url was given.
8983 if test "${enable_url+set}" = set; then
8984 enableval=$enable_url;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_url='wxUSE_URL=yes'
8987 else
8988 wx_cv_use_url='wxUSE_URL=no'
8989 fi
8990 cache=yes
8991
8992 else
8993
8994 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 cache=yes
8998 else
8999 cache=no
9000 fi
9001
9002 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9003
9004 fi
9005
9006
9007 eval "$wx_cv_use_url"
9008 if test "x$cache" = xyes; then
9009 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_URL = yes; then
9014 result=no
9015 else
9016 result=yes
9017 fi
9018 else
9019 result=$wxUSE_URL
9020 fi
9021
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9024
9025
9026 enablestring=
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9030 defaultval=yes
9031 else
9032 defaultval=no
9033 fi
9034 fi
9035
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9038 # Check whether --enable-variant was given.
9039 if test "${enable_variant+set}" = set; then
9040 enableval=$enable_variant;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_variant='wxUSE_VARIANT=yes'
9043 else
9044 wx_cv_use_variant='wxUSE_VARIANT=no'
9045 fi
9046 cache=yes
9047
9048 else
9049
9050 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9053 cache=yes
9054 else
9055 cache=no
9056 fi
9057
9058 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9059
9060 fi
9061
9062
9063 eval "$wx_cv_use_variant"
9064 if test "x$cache" = xyes; then
9065 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9066 fi
9067
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_VARIANT = yes; then
9070 result=no
9071 else
9072 result=yes
9073 fi
9074 else
9075 result=$wxUSE_VARIANT
9076 fi
9077
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9080
9081
9082 enablestring=
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9086 defaultval=yes
9087 else
9088 defaultval=no
9089 fi
9090 fi
9091
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9094 # Check whether --enable-protocol was given.
9095 if test "${enable_protocol+set}" = set; then
9096 enableval=$enable_protocol;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9099 else
9100 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9101 fi
9102 cache=yes
9103
9104 else
9105
9106 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9107 if test "x$LINE" != x ; then
9108 eval "DEFAULT_$LINE"
9109 cache=yes
9110 else
9111 cache=no
9112 fi
9113
9114 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9115
9116 fi
9117
9118
9119 eval "$wx_cv_use_protocol"
9120 if test "x$cache" = xyes; then
9121 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9122 fi
9123
9124 if test x"$enablestring" = xdisable; then
9125 if test $wxUSE_PROTOCOL = yes; then
9126 result=no
9127 else
9128 result=yes
9129 fi
9130 else
9131 result=$wxUSE_PROTOCOL
9132 fi
9133
9134 { echo "$as_me:$LINENO: result: $result" >&5
9135 echo "${ECHO_T}$result" >&6; }
9136
9137
9138 enablestring=
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9142 defaultval=yes
9143 else
9144 defaultval=no
9145 fi
9146 fi
9147
9148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9150 # Check whether --enable-protocol_http was given.
9151 if test "${enable_protocol_http+set}" = set; then
9152 enableval=$enable_protocol_http;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9155 else
9156 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9157 fi
9158 cache=yes
9159
9160 else
9161
9162 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 cache=yes
9166 else
9167 cache=no
9168 fi
9169
9170 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9171
9172 fi
9173
9174
9175 eval "$wx_cv_use_protocol_http"
9176 if test "x$cache" = xyes; then
9177 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9178 fi
9179
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_PROTOCOL_HTTP = yes; then
9182 result=no
9183 else
9184 result=yes
9185 fi
9186 else
9187 result=$wxUSE_PROTOCOL_HTTP
9188 fi
9189
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9192
9193
9194 enablestring=
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9198 defaultval=yes
9199 else
9200 defaultval=no
9201 fi
9202 fi
9203
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9206 # Check whether --enable-protocol_ftp was given.
9207 if test "${enable_protocol_ftp+set}" = set; then
9208 enableval=$enable_protocol_ftp;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9211 else
9212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9213 fi
9214 cache=yes
9215
9216 else
9217
9218 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9221 cache=yes
9222 else
9223 cache=no
9224 fi
9225
9226 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9227
9228 fi
9229
9230
9231 eval "$wx_cv_use_protocol_ftp"
9232 if test "x$cache" = xyes; then
9233 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9234 fi
9235
9236 if test x"$enablestring" = xdisable; then
9237 if test $wxUSE_PROTOCOL_FTP = yes; then
9238 result=no
9239 else
9240 result=yes
9241 fi
9242 else
9243 result=$wxUSE_PROTOCOL_FTP
9244 fi
9245
9246 { echo "$as_me:$LINENO: result: $result" >&5
9247 echo "${ECHO_T}$result" >&6; }
9248
9249
9250 enablestring=
9251 defaultval=$wxUSE_ALL_FEATURES
9252 if test -z "$defaultval"; then
9253 if test x"$enablestring" = xdisable; then
9254 defaultval=yes
9255 else
9256 defaultval=no
9257 fi
9258 fi
9259
9260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9262 # Check whether --enable-protocol_file was given.
9263 if test "${enable_protocol_file+set}" = set; then
9264 enableval=$enable_protocol_file;
9265 if test "$enableval" = yes; then
9266 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9267 else
9268 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9269 fi
9270 cache=yes
9271
9272 else
9273
9274 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9277 cache=yes
9278 else
9279 cache=no
9280 fi
9281
9282 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9283
9284 fi
9285
9286
9287 eval "$wx_cv_use_protocol_file"
9288 if test "x$cache" = xyes; then
9289 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9290 fi
9291
9292 if test x"$enablestring" = xdisable; then
9293 if test $wxUSE_PROTOCOL_FILE = yes; then
9294 result=no
9295 else
9296 result=yes
9297 fi
9298 else
9299 result=$wxUSE_PROTOCOL_FILE
9300 fi
9301
9302 { echo "$as_me:$LINENO: result: $result" >&5
9303 echo "${ECHO_T}$result" >&6; }
9304
9305
9306
9307 enablestring=
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9311 defaultval=yes
9312 else
9313 defaultval=no
9314 fi
9315 fi
9316
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9319 # Check whether --enable-threads was given.
9320 if test "${enable_threads+set}" = set; then
9321 enableval=$enable_threads;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_threads='wxUSE_THREADS=yes'
9324 else
9325 wx_cv_use_threads='wxUSE_THREADS=no'
9326 fi
9327 cache=yes
9328
9329 else
9330
9331 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9334 cache=yes
9335 else
9336 cache=no
9337 fi
9338
9339 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9340
9341 fi
9342
9343
9344 eval "$wx_cv_use_threads"
9345 if test "x$cache" = xyes; then
9346 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9347 fi
9348
9349 if test x"$enablestring" = xdisable; then
9350 if test $wxUSE_THREADS = yes; then
9351 result=no
9352 else
9353 result=yes
9354 fi
9355 else
9356 result=$wxUSE_THREADS
9357 fi
9358
9359 { echo "$as_me:$LINENO: result: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9361
9362
9363
9364 enablestring=
9365 defaultval=
9366 if test -z "$defaultval"; then
9367 if test x"$enablestring" = xdisable; then
9368 defaultval=yes
9369 else
9370 defaultval=no
9371 fi
9372 fi
9373
9374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9376 # Check whether --enable-iniconf was given.
9377 if test "${enable_iniconf+set}" = set; then
9378 enableval=$enable_iniconf;
9379 if test "$enableval" = yes; then
9380 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9381 else
9382 wx_cv_use_iniconf='wxUSE_INICONF=no'
9383 fi
9384 cache=yes
9385
9386 else
9387
9388 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9391 cache=yes
9392 else
9393 cache=no
9394 fi
9395
9396 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9397
9398 fi
9399
9400
9401 eval "$wx_cv_use_iniconf"
9402 if test "x$cache" = xyes; then
9403 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9404 fi
9405
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_INICONF = yes; then
9408 result=no
9409 else
9410 result=yes
9411 fi
9412 else
9413 result=$wxUSE_INICONF
9414 fi
9415
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9418
9419
9420 enablestring=
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9424 defaultval=yes
9425 else
9426 defaultval=no
9427 fi
9428 fi
9429
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9432 # Check whether --enable-regkey was given.
9433 if test "${enable_regkey+set}" = set; then
9434 enableval=$enable_regkey;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9437 else
9438 wx_cv_use_regkey='wxUSE_REGKEY=no'
9439 fi
9440 cache=yes
9441
9442 else
9443
9444 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 cache=yes
9448 else
9449 cache=no
9450 fi
9451
9452 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9453
9454 fi
9455
9456
9457 eval "$wx_cv_use_regkey"
9458 if test "x$cache" = xyes; then
9459 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9460 fi
9461
9462 if test x"$enablestring" = xdisable; then
9463 if test $wxUSE_REGKEY = yes; then
9464 result=no
9465 else
9466 result=yes
9467 fi
9468 else
9469 result=$wxUSE_REGKEY
9470 fi
9471
9472 { echo "$as_me:$LINENO: result: $result" >&5
9473 echo "${ECHO_T}$result" >&6; }
9474
9475
9476 if test "$wxUSE_GUI" = "yes"; then
9477
9478
9479
9480 enablestring=
9481 defaultval=$wxUSE_ALL_FEATURES
9482 if test -z "$defaultval"; then
9483 if test x"$enablestring" = xdisable; then
9484 defaultval=yes
9485 else
9486 defaultval=no
9487 fi
9488 fi
9489
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9492 # Check whether --enable-docview was given.
9493 if test "${enable_docview+set}" = set; then
9494 enableval=$enable_docview;
9495 if test "$enableval" = yes; then
9496 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9497 else
9498 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9499 fi
9500 cache=yes
9501
9502 else
9503
9504 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9507 cache=yes
9508 else
9509 cache=no
9510 fi
9511
9512 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9513
9514 fi
9515
9516
9517 eval "$wx_cv_use_docview"
9518 if test "x$cache" = xyes; then
9519 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9520 fi
9521
9522 if test x"$enablestring" = xdisable; then
9523 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9524 result=no
9525 else
9526 result=yes
9527 fi
9528 else
9529 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9530 fi
9531
9532 { echo "$as_me:$LINENO: result: $result" >&5
9533 echo "${ECHO_T}$result" >&6; }
9534
9535
9536 enablestring=
9537 defaultval=$wxUSE_ALL_FEATURES
9538 if test -z "$defaultval"; then
9539 if test x"$enablestring" = xdisable; then
9540 defaultval=yes
9541 else
9542 defaultval=no
9543 fi
9544 fi
9545
9546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9547 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9548 # Check whether --enable-help was given.
9549 if test "${enable_help+set}" = set; then
9550 enableval=$enable_help;
9551 if test "$enableval" = yes; then
9552 wx_cv_use_help='wxUSE_HELP=yes'
9553 else
9554 wx_cv_use_help='wxUSE_HELP=no'
9555 fi
9556 cache=yes
9557
9558 else
9559
9560 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9561 if test "x$LINE" != x ; then
9562 eval "DEFAULT_$LINE"
9563 cache=yes
9564 else
9565 cache=no
9566 fi
9567
9568 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9569
9570 fi
9571
9572
9573 eval "$wx_cv_use_help"
9574 if test "x$cache" = xyes; then
9575 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9576 fi
9577
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_HELP = yes; then
9580 result=no
9581 else
9582 result=yes
9583 fi
9584 else
9585 result=$wxUSE_HELP
9586 fi
9587
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9590
9591
9592 enablestring=
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9596 defaultval=yes
9597 else
9598 defaultval=no
9599 fi
9600 fi
9601
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9604 # Check whether --enable-mshtmlhelp was given.
9605 if test "${enable_mshtmlhelp+set}" = set; then
9606 enableval=$enable_mshtmlhelp;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9609 else
9610 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9611 fi
9612 cache=yes
9613
9614 else
9615
9616 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9619 cache=yes
9620 else
9621 cache=no
9622 fi
9623
9624 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9625
9626 fi
9627
9628
9629 eval "$wx_cv_use_mshtmlhelp"
9630 if test "x$cache" = xyes; then
9631 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9632 fi
9633
9634 if test x"$enablestring" = xdisable; then
9635 if test $wxUSE_MS_HTML_HELP = yes; then
9636 result=no
9637 else
9638 result=yes
9639 fi
9640 else
9641 result=$wxUSE_MS_HTML_HELP
9642 fi
9643
9644 { echo "$as_me:$LINENO: result: $result" >&5
9645 echo "${ECHO_T}$result" >&6; }
9646
9647
9648 enablestring=
9649 defaultval=$wxUSE_ALL_FEATURES
9650 if test -z "$defaultval"; then
9651 if test x"$enablestring" = xdisable; then
9652 defaultval=yes
9653 else
9654 defaultval=no
9655 fi
9656 fi
9657
9658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9659 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9660 # Check whether --enable-html was given.
9661 if test "${enable_html+set}" = set; then
9662 enableval=$enable_html;
9663 if test "$enableval" = yes; then
9664 wx_cv_use_html='wxUSE_HTML=yes'
9665 else
9666 wx_cv_use_html='wxUSE_HTML=no'
9667 fi
9668 cache=yes
9669
9670 else
9671
9672 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9673 if test "x$LINE" != x ; then
9674 eval "DEFAULT_$LINE"
9675 cache=yes
9676 else
9677 cache=no
9678 fi
9679
9680 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9681
9682 fi
9683
9684
9685 eval "$wx_cv_use_html"
9686 if test "x$cache" = xyes; then
9687 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9688 fi
9689
9690 if test x"$enablestring" = xdisable; then
9691 if test $wxUSE_HTML = yes; then
9692 result=no
9693 else
9694 result=yes
9695 fi
9696 else
9697 result=$wxUSE_HTML
9698 fi
9699
9700 { echo "$as_me:$LINENO: result: $result" >&5
9701 echo "${ECHO_T}$result" >&6; }
9702
9703
9704 enablestring=
9705 defaultval=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x"$enablestring" = xdisable; then
9708 defaultval=yes
9709 else
9710 defaultval=no
9711 fi
9712 fi
9713
9714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9716 # Check whether --enable-htmlhelp was given.
9717 if test "${enable_htmlhelp+set}" = set; then
9718 enableval=$enable_htmlhelp;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9721 else
9722 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9723 fi
9724 cache=yes
9725
9726 else
9727
9728 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9729 if test "x$LINE" != x ; then
9730 eval "DEFAULT_$LINE"
9731 cache=yes
9732 else
9733 cache=no
9734 fi
9735
9736 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9737
9738 fi
9739
9740
9741 eval "$wx_cv_use_htmlhelp"
9742 if test "x$cache" = xyes; then
9743 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9744 fi
9745
9746 if test x"$enablestring" = xdisable; then
9747 if test $wxUSE_WXHTML_HELP = yes; then
9748 result=no
9749 else
9750 result=yes
9751 fi
9752 else
9753 result=$wxUSE_WXHTML_HELP
9754 fi
9755
9756 { echo "$as_me:$LINENO: result: $result" >&5
9757 echo "${ECHO_T}$result" >&6; }
9758
9759
9760 enablestring=
9761 defaultval=$wxUSE_ALL_FEATURES
9762 if test -z "$defaultval"; then
9763 if test x"$enablestring" = xdisable; then
9764 defaultval=yes
9765 else
9766 defaultval=no
9767 fi
9768 fi
9769
9770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9771 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9772 # Check whether --enable-xrc was given.
9773 if test "${enable_xrc+set}" = set; then
9774 enableval=$enable_xrc;
9775 if test "$enableval" = yes; then
9776 wx_cv_use_xrc='wxUSE_XRC=yes'
9777 else
9778 wx_cv_use_xrc='wxUSE_XRC=no'
9779 fi
9780 cache=yes
9781
9782 else
9783
9784 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9785 if test "x$LINE" != x ; then
9786 eval "DEFAULT_$LINE"
9787 cache=yes
9788 else
9789 cache=no
9790 fi
9791
9792 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9793
9794 fi
9795
9796
9797 eval "$wx_cv_use_xrc"
9798 if test "x$cache" = xyes; then
9799 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9800 fi
9801
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_XRC = yes; then
9804 result=no
9805 else
9806 result=yes
9807 fi
9808 else
9809 result=$wxUSE_XRC
9810 fi
9811
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9814
9815
9816 enablestring=
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9820 defaultval=yes
9821 else
9822 defaultval=no
9823 fi
9824 fi
9825
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9828 # Check whether --enable-aui was given.
9829 if test "${enable_aui+set}" = set; then
9830 enableval=$enable_aui;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_aui='wxUSE_AUI=yes'
9833 else
9834 wx_cv_use_aui='wxUSE_AUI=no'
9835 fi
9836 cache=yes
9837
9838 else
9839
9840 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 cache=yes
9844 else
9845 cache=no
9846 fi
9847
9848 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9849
9850 fi
9851
9852
9853 eval "$wx_cv_use_aui"
9854 if test "x$cache" = xyes; then
9855 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9856 fi
9857
9858 if test x"$enablestring" = xdisable; then
9859 if test $wxUSE_AUI = yes; then
9860 result=no
9861 else
9862 result=yes
9863 fi
9864 else
9865 result=$wxUSE_AUI
9866 fi
9867
9868 { echo "$as_me:$LINENO: result: $result" >&5
9869 echo "${ECHO_T}$result" >&6; }
9870
9871
9872 enablestring=
9873 defaultval=$wxUSE_ALL_FEATURES
9874 if test -z "$defaultval"; then
9875 if test x"$enablestring" = xdisable; then
9876 defaultval=yes
9877 else
9878 defaultval=no
9879 fi
9880 fi
9881
9882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9884 # Check whether --enable-stc was given.
9885 if test "${enable_stc+set}" = set; then
9886 enableval=$enable_stc;
9887 if test "$enableval" = yes; then
9888 wx_cv_use_stc='wxUSE_STC=yes'
9889 else
9890 wx_cv_use_stc='wxUSE_STC=no'
9891 fi
9892 cache=yes
9893
9894 else
9895
9896 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9897 if test "x$LINE" != x ; then
9898 eval "DEFAULT_$LINE"
9899 cache=yes
9900 else
9901 cache=no
9902 fi
9903
9904 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_stc"
9910 if test "x$cache" = xyes; then
9911 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9912 fi
9913
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_STC = yes; then
9916 result=no
9917 else
9918 result=yes
9919 fi
9920 else
9921 result=$wxUSE_STC
9922 fi
9923
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9926
9927
9928 enablestring=
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9932 defaultval=yes
9933 else
9934 defaultval=no
9935 fi
9936 fi
9937
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9940 # Check whether --enable-constraints was given.
9941 if test "${enable_constraints+set}" = set; then
9942 enableval=$enable_constraints;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9945 else
9946 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9947 fi
9948 cache=yes
9949
9950 else
9951
9952 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9955 cache=yes
9956 else
9957 cache=no
9958 fi
9959
9960 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9961
9962 fi
9963
9964
9965 eval "$wx_cv_use_constraints"
9966 if test "x$cache" = xyes; then
9967 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9968 fi
9969
9970 if test x"$enablestring" = xdisable; then
9971 if test $wxUSE_CONSTRAINTS = yes; then
9972 result=no
9973 else
9974 result=yes
9975 fi
9976 else
9977 result=$wxUSE_CONSTRAINTS
9978 fi
9979
9980 { echo "$as_me:$LINENO: result: $result" >&5
9981 echo "${ECHO_T}$result" >&6; }
9982
9983
9984 enablestring=
9985 defaultval=$wxUSE_ALL_FEATURES
9986 if test -z "$defaultval"; then
9987 if test x"$enablestring" = xdisable; then
9988 defaultval=yes
9989 else
9990 defaultval=no
9991 fi
9992 fi
9993
9994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9995 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9996 # Check whether --enable-printarch was given.
9997 if test "${enable_printarch+set}" = set; then
9998 enableval=$enable_printarch;
9999 if test "$enableval" = yes; then
10000 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10001 else
10002 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10003 fi
10004 cache=yes
10005
10006 else
10007
10008 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10009 if test "x$LINE" != x ; then
10010 eval "DEFAULT_$LINE"
10011 cache=yes
10012 else
10013 cache=no
10014 fi
10015
10016 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10017
10018 fi
10019
10020
10021 eval "$wx_cv_use_printarch"
10022 if test "x$cache" = xyes; then
10023 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10024 fi
10025
10026 if test x"$enablestring" = xdisable; then
10027 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10028 result=no
10029 else
10030 result=yes
10031 fi
10032 else
10033 result=$wxUSE_PRINTING_ARCHITECTURE
10034 fi
10035
10036 { echo "$as_me:$LINENO: result: $result" >&5
10037 echo "${ECHO_T}$result" >&6; }
10038
10039
10040 enablestring=
10041 defaultval=$wxUSE_ALL_FEATURES
10042 if test -z "$defaultval"; then
10043 if test x"$enablestring" = xdisable; then
10044 defaultval=yes
10045 else
10046 defaultval=no
10047 fi
10048 fi
10049
10050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10052 # Check whether --enable-mdi was given.
10053 if test "${enable_mdi+set}" = set; then
10054 enableval=$enable_mdi;
10055 if test "$enableval" = yes; then
10056 wx_cv_use_mdi='wxUSE_MDI=yes'
10057 else
10058 wx_cv_use_mdi='wxUSE_MDI=no'
10059 fi
10060 cache=yes
10061
10062 else
10063
10064 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10065 if test "x$LINE" != x ; then
10066 eval "DEFAULT_$LINE"
10067 cache=yes
10068 else
10069 cache=no
10070 fi
10071
10072 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10073
10074 fi
10075
10076
10077 eval "$wx_cv_use_mdi"
10078 if test "x$cache" = xyes; then
10079 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10080 fi
10081
10082 if test x"$enablestring" = xdisable; then
10083 if test $wxUSE_MDI = yes; then
10084 result=no
10085 else
10086 result=yes
10087 fi
10088 else
10089 result=$wxUSE_MDI
10090 fi
10091
10092 { echo "$as_me:$LINENO: result: $result" >&5
10093 echo "${ECHO_T}$result" >&6; }
10094
10095
10096 enablestring=
10097 defaultval=$wxUSE_ALL_FEATURES
10098 if test -z "$defaultval"; then
10099 if test x"$enablestring" = xdisable; then
10100 defaultval=yes
10101 else
10102 defaultval=no
10103 fi
10104 fi
10105
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10108 # Check whether --enable-mdidoc was given.
10109 if test "${enable_mdidoc+set}" = set; then
10110 enableval=$enable_mdidoc;
10111 if test "$enableval" = yes; then
10112 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10113 else
10114 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10115 fi
10116 cache=yes
10117
10118 else
10119
10120 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10121 if test "x$LINE" != x ; then
10122 eval "DEFAULT_$LINE"
10123 cache=yes
10124 else
10125 cache=no
10126 fi
10127
10128 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10129
10130 fi
10131
10132
10133 eval "$wx_cv_use_mdidoc"
10134 if test "x$cache" = xyes; then
10135 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10136 fi
10137
10138 if test x"$enablestring" = xdisable; then
10139 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10140 result=no
10141 else
10142 result=yes
10143 fi
10144 else
10145 result=$wxUSE_MDI_ARCHITECTURE
10146 fi
10147
10148 { echo "$as_me:$LINENO: result: $result" >&5
10149 echo "${ECHO_T}$result" >&6; }
10150
10151
10152 enablestring=
10153 defaultval=$wxUSE_ALL_FEATURES
10154 if test -z "$defaultval"; then
10155 if test x"$enablestring" = xdisable; then
10156 defaultval=yes
10157 else
10158 defaultval=no
10159 fi
10160 fi
10161
10162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10164 # Check whether --enable-loggui was given.
10165 if test "${enable_loggui+set}" = set; then
10166 enableval=$enable_loggui;
10167 if test "$enableval" = yes; then
10168 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10169 else
10170 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10171 fi
10172 cache=yes
10173
10174 else
10175
10176 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10177 if test "x$LINE" != x ; then
10178 eval "DEFAULT_$LINE"
10179 cache=yes
10180 else
10181 cache=no
10182 fi
10183
10184 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10185
10186 fi
10187
10188
10189 eval "$wx_cv_use_loggui"
10190 if test "x$cache" = xyes; then
10191 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10192 fi
10193
10194 if test x"$enablestring" = xdisable; then
10195 if test $wxUSE_LOGGUI = yes; then
10196 result=no
10197 else
10198 result=yes
10199 fi
10200 else
10201 result=$wxUSE_LOGGUI
10202 fi
10203
10204 { echo "$as_me:$LINENO: result: $result" >&5
10205 echo "${ECHO_T}$result" >&6; }
10206
10207
10208 enablestring=
10209 defaultval=$wxUSE_ALL_FEATURES
10210 if test -z "$defaultval"; then
10211 if test x"$enablestring" = xdisable; then
10212 defaultval=yes
10213 else
10214 defaultval=no
10215 fi
10216 fi
10217
10218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10220 # Check whether --enable-logwin was given.
10221 if test "${enable_logwin+set}" = set; then
10222 enableval=$enable_logwin;
10223 if test "$enableval" = yes; then
10224 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10225 else
10226 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10227 fi
10228 cache=yes
10229
10230 else
10231
10232 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10235 cache=yes
10236 else
10237 cache=no
10238 fi
10239
10240 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10241
10242 fi
10243
10244
10245 eval "$wx_cv_use_logwin"
10246 if test "x$cache" = xyes; then
10247 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10248 fi
10249
10250 if test x"$enablestring" = xdisable; then
10251 if test $wxUSE_LOGWINDOW = yes; then
10252 result=no
10253 else
10254 result=yes
10255 fi
10256 else
10257 result=$wxUSE_LOGWINDOW
10258 fi
10259
10260 { echo "$as_me:$LINENO: result: $result" >&5
10261 echo "${ECHO_T}$result" >&6; }
10262
10263
10264 enablestring=
10265 defaultval=$wxUSE_ALL_FEATURES
10266 if test -z "$defaultval"; then
10267 if test x"$enablestring" = xdisable; then
10268 defaultval=yes
10269 else
10270 defaultval=no
10271 fi
10272 fi
10273
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10276 # Check whether --enable-logdialog was given.
10277 if test "${enable_logdialog+set}" = set; then
10278 enableval=$enable_logdialog;
10279 if test "$enableval" = yes; then
10280 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10281 else
10282 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10283 fi
10284 cache=yes
10285
10286 else
10287
10288 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10291 cache=yes
10292 else
10293 cache=no
10294 fi
10295
10296 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10297
10298 fi
10299
10300
10301 eval "$wx_cv_use_logdialog"
10302 if test "x$cache" = xyes; then
10303 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10304 fi
10305
10306 if test x"$enablestring" = xdisable; then
10307 if test $wxUSE_LOGDIALOG = yes; then
10308 result=no
10309 else
10310 result=yes
10311 fi
10312 else
10313 result=$wxUSE_LOGDIALOG
10314 fi
10315
10316 { echo "$as_me:$LINENO: result: $result" >&5
10317 echo "${ECHO_T}$result" >&6; }
10318
10319
10320 enablestring=
10321 defaultval=$wxUSE_ALL_FEATURES
10322 if test -z "$defaultval"; then
10323 if test x"$enablestring" = xdisable; then
10324 defaultval=yes
10325 else
10326 defaultval=no
10327 fi
10328 fi
10329
10330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10331 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10332 # Check whether --enable-webkit was given.
10333 if test "${enable_webkit+set}" = set; then
10334 enableval=$enable_webkit;
10335 if test "$enableval" = yes; then
10336 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10337 else
10338 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10339 fi
10340 cache=yes
10341
10342 else
10343
10344 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10345 if test "x$LINE" != x ; then
10346 eval "DEFAULT_$LINE"
10347 cache=yes
10348 else
10349 cache=no
10350 fi
10351
10352 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10353
10354 fi
10355
10356
10357 eval "$wx_cv_use_webkit"
10358 if test "x$cache" = xyes; then
10359 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test x"$enablestring" = xdisable; then
10363 if test $wxUSE_WEBKIT = yes; then
10364 result=no
10365 else
10366 result=yes
10367 fi
10368 else
10369 result=$wxUSE_WEBKIT
10370 fi
10371
10372 { echo "$as_me:$LINENO: result: $result" >&5
10373 echo "${ECHO_T}$result" >&6; }
10374
10375
10376 enablestring=
10377 defaultval=$wxUSE_ALL_FEATURES
10378 if test -z "$defaultval"; then
10379 if test x"$enablestring" = xdisable; then
10380 defaultval=yes
10381 else
10382 defaultval=no
10383 fi
10384 fi
10385
10386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10388 # Check whether --enable-richtext was given.
10389 if test "${enable_richtext+set}" = set; then
10390 enableval=$enable_richtext;
10391 if test "$enableval" = yes; then
10392 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10393 else
10394 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10395 fi
10396 cache=yes
10397
10398 else
10399
10400 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10401 if test "x$LINE" != x ; then
10402 eval "DEFAULT_$LINE"
10403 cache=yes
10404 else
10405 cache=no
10406 fi
10407
10408 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10409
10410 fi
10411
10412
10413 eval "$wx_cv_use_richtext"
10414 if test "x$cache" = xyes; then
10415 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10416 fi
10417
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_RICHTEXT = yes; then
10420 result=no
10421 else
10422 result=yes
10423 fi
10424 else
10425 result=$wxUSE_RICHTEXT
10426 fi
10427
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10430
10431
10432 enablestring=
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10436 defaultval=yes
10437 else
10438 defaultval=no
10439 fi
10440 fi
10441
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10444 # Check whether --enable-graphics_ctx was given.
10445 if test "${enable_graphics_ctx+set}" = set; then
10446 enableval=$enable_graphics_ctx;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10449 else
10450 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10451 fi
10452 cache=yes
10453
10454 else
10455
10456 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10457 if test "x$LINE" != x ; then
10458 eval "DEFAULT_$LINE"
10459 cache=yes
10460 else
10461 cache=no
10462 fi
10463
10464 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10465
10466 fi
10467
10468
10469 eval "$wx_cv_use_graphics_ctx"
10470 if test "x$cache" = xyes; then
10471 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10472 fi
10473
10474 if test x"$enablestring" = xdisable; then
10475 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10476 result=no
10477 else
10478 result=yes
10479 fi
10480 else
10481 result=$wxUSE_GRAPHICS_CONTEXT
10482 fi
10483
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10486
10487
10488 enablestring=
10489 defaultval=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x"$enablestring" = xdisable; then
10492 defaultval=yes
10493 else
10494 defaultval=no
10495 fi
10496 fi
10497
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10500 # Check whether --enable-postscript was given.
10501 if test "${enable_postscript+set}" = set; then
10502 enableval=$enable_postscript;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10505 else
10506 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10507 fi
10508 cache=yes
10509
10510 else
10511
10512 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x ; then
10514 eval "DEFAULT_$LINE"
10515 cache=yes
10516 else
10517 cache=no
10518 fi
10519
10520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10521
10522 fi
10523
10524
10525 eval "$wx_cv_use_postscript"
10526 if test "x$cache" = xyes; then
10527 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10528 fi
10529
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_POSTSCRIPT = yes; then
10532 result=no
10533 else
10534 result=yes
10535 fi
10536 else
10537 result=$wxUSE_POSTSCRIPT
10538 fi
10539
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10542
10543
10544 enablestring=
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10548 defaultval=yes
10549 else
10550 defaultval=no
10551 fi
10552 fi
10553
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10556 # Check whether --enable-svg was given.
10557 if test "${enable_svg+set}" = set; then
10558 enableval=$enable_svg;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_svg='wxUSE_SVG=yes'
10561 else
10562 wx_cv_use_svg='wxUSE_SVG=no'
10563 fi
10564 cache=yes
10565
10566 else
10567
10568 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10569 if test "x$LINE" != x ; then
10570 eval "DEFAULT_$LINE"
10571 cache=yes
10572 else
10573 cache=no
10574 fi
10575
10576 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10577
10578 fi
10579
10580
10581 eval "$wx_cv_use_svg"
10582 if test "x$cache" = xyes; then
10583 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10584 fi
10585
10586 if test x"$enablestring" = xdisable; then
10587 if test $wxUSE_SVG = yes; then
10588 result=no
10589 else
10590 result=yes
10591 fi
10592 else
10593 result=$wxUSE_SVG
10594 fi
10595
10596 { echo "$as_me:$LINENO: result: $result" >&5
10597 echo "${ECHO_T}$result" >&6; }
10598
10599
10600
10601
10602 enablestring=
10603 defaultval=$wxUSE_ALL_FEATURES
10604 if test -z "$defaultval"; then
10605 if test x"$enablestring" = xdisable; then
10606 defaultval=yes
10607 else
10608 defaultval=no
10609 fi
10610 fi
10611
10612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10614 # Check whether --enable-clipboard was given.
10615 if test "${enable_clipboard+set}" = set; then
10616 enableval=$enable_clipboard;
10617 if test "$enableval" = yes; then
10618 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10619 else
10620 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10621 fi
10622 cache=yes
10623
10624 else
10625
10626 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10627 if test "x$LINE" != x ; then
10628 eval "DEFAULT_$LINE"
10629 cache=yes
10630 else
10631 cache=no
10632 fi
10633
10634 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10635
10636 fi
10637
10638
10639 eval "$wx_cv_use_clipboard"
10640 if test "x$cache" = xyes; then
10641 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10642 fi
10643
10644 if test x"$enablestring" = xdisable; then
10645 if test $wxUSE_CLIPBOARD = yes; then
10646 result=no
10647 else
10648 result=yes
10649 fi
10650 else
10651 result=$wxUSE_CLIPBOARD
10652 fi
10653
10654 { echo "$as_me:$LINENO: result: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10656
10657
10658 enablestring=
10659 defaultval=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x"$enablestring" = xdisable; then
10662 defaultval=yes
10663 else
10664 defaultval=no
10665 fi
10666 fi
10667
10668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10670 # Check whether --enable-dnd was given.
10671 if test "${enable_dnd+set}" = set; then
10672 enableval=$enable_dnd;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10675 else
10676 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10677 fi
10678 cache=yes
10679
10680 else
10681
10682 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10683 if test "x$LINE" != x ; then
10684 eval "DEFAULT_$LINE"
10685 cache=yes
10686 else
10687 cache=no
10688 fi
10689
10690 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10691
10692 fi
10693
10694
10695 eval "$wx_cv_use_dnd"
10696 if test "x$cache" = xyes; then
10697 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10698 fi
10699
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_DRAG_AND_DROP = yes; then
10702 result=no
10703 else
10704 result=yes
10705 fi
10706 else
10707 result=$wxUSE_DRAG_AND_DROP
10708 fi
10709
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10712
10713
10714 enablestring=
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10718 defaultval=yes
10719 else
10720 defaultval=no
10721 fi
10722 fi
10723
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10726 # Check whether --enable-metafile was given.
10727 if test "${enable_metafile+set}" = set; then
10728 enableval=$enable_metafile;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10731 else
10732 wx_cv_use_metafile='wxUSE_METAFILE=no'
10733 fi
10734 cache=yes
10735
10736 else
10737
10738 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x ; then
10740 eval "DEFAULT_$LINE"
10741 cache=yes
10742 else
10743 cache=no
10744 fi
10745
10746 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10747
10748 fi
10749
10750
10751 eval "$wx_cv_use_metafile"
10752 if test "x$cache" = xyes; then
10753 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10754 fi
10755
10756 if test x"$enablestring" = xdisable; then
10757 if test $wxUSE_METAFILE = yes; then
10758 result=no
10759 else
10760 result=yes
10761 fi
10762 else
10763 result=$wxUSE_METAFILE
10764 fi
10765
10766 { echo "$as_me:$LINENO: result: $result" >&5
10767 echo "${ECHO_T}$result" >&6; }
10768
10769
10770
10771 DEFAULT_wxUSE_CONTROLS=none
10772
10773 enablestring=disable
10774 defaultval=
10775 if test -z "$defaultval"; then
10776 if test x"$enablestring" = xdisable; then
10777 defaultval=yes
10778 else
10779 defaultval=no
10780 fi
10781 fi
10782
10783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10784 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10785 # Check whether --enable-controls was given.
10786 if test "${enable_controls+set}" = set; then
10787 enableval=$enable_controls;
10788 if test "$enableval" = yes; then
10789 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10790 else
10791 wx_cv_use_controls='wxUSE_CONTROLS=no'
10792 fi
10793 cache=yes
10794
10795 else
10796
10797 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10800 cache=yes
10801 else
10802 cache=no
10803 fi
10804
10805 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10806
10807 fi
10808
10809
10810 eval "$wx_cv_use_controls"
10811 if test "x$cache" = xyes; then
10812 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10813 fi
10814
10815 if test x"$enablestring" = xdisable; then
10816 if test $wxUSE_CONTROLS = yes; then
10817 result=no
10818 else
10819 result=yes
10820 fi
10821 else
10822 result=$wxUSE_CONTROLS
10823 fi
10824
10825 { echo "$as_me:$LINENO: result: $result" >&5
10826 echo "${ECHO_T}$result" >&6; }
10827
10828
10829 if test "$wxUSE_CONTROLS" = "yes"; then
10830 DEFAULT_wxUSE_ACCEL=yes
10831 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10832 DEFAULT_wxUSE_BMPBUTTON=yes
10833 DEFAULT_wxUSE_BUTTON=yes
10834 DEFAULT_wxUSE_CALCTRL=yes
10835 DEFAULT_wxUSE_CARET=yes
10836 DEFAULT_wxUSE_COMBOBOX=yes
10837 DEFAULT_wxUSE_CHECKBOX=yes
10838 DEFAULT_wxUSE_CHECKLISTBOX=yes
10839 DEFAULT_wxUSE_CHOICE=yes
10840 DEFAULT_wxUSE_CHOICEBOOK=yes
10841 DEFAULT_wxUSE_COLLPANE=yes
10842 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10843 DEFAULT_wxUSE_COMBOBOX=yes
10844 DEFAULT_wxUSE_DATEPICKCTRL=yes
10845 DEFAULT_wxUSE_DISPLAY=yes
10846 DEFAULT_wxUSE_DETECT_SM=yes
10847 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10848 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10849 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10850 DEFAULT_wxUSE_GAUGE=yes
10851 DEFAULT_wxUSE_GRID=yes
10852 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10853 DEFAULT_wxUSE_DATAVIEWCTRL=no
10854 DEFAULT_wxUSE_IMAGLIST=yes
10855 DEFAULT_wxUSE_LISTBOOK=yes
10856 DEFAULT_wxUSE_LISTBOX=yes
10857 DEFAULT_wxUSE_LISTCTRL=yes
10858 DEFAULT_wxUSE_NOTEBOOK=yes
10859 DEFAULT_wxUSE_RADIOBOX=yes
10860 DEFAULT_wxUSE_RADIOBTN=yes
10861 DEFAULT_wxUSE_SASH=yes
10862 DEFAULT_wxUSE_SCROLLBAR=yes
10863 DEFAULT_wxUSE_SEARCHCTRL=yes
10864 DEFAULT_wxUSE_SLIDER=yes
10865 DEFAULT_wxUSE_SPINBTN=yes
10866 DEFAULT_wxUSE_SPINCTRL=yes
10867 DEFAULT_wxUSE_SPLITTER=yes
10868 DEFAULT_wxUSE_STATBMP=yes
10869 DEFAULT_wxUSE_STATBOX=yes
10870 DEFAULT_wxUSE_STATLINE=yes
10871 DEFAULT_wxUSE_STATUSBAR=yes
10872 DEFAULT_wxUSE_TAB_DIALOG=yes
10873 DEFAULT_wxUSE_TOGGLEBTN=yes
10874 DEFAULT_wxUSE_TOOLBAR=yes
10875 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10876 DEFAULT_wxUSE_TOOLTIPS=yes
10877 DEFAULT_wxUSE_TREEBOOK=yes
10878 DEFAULT_wxUSE_TOOLBOOK=yes
10879 DEFAULT_wxUSE_TREECTRL=yes
10880 DEFAULT_wxUSE_POPUPWIN=yes
10881 DEFAULT_wxUSE_TIPWINDOW=yes
10882 elif test "$wxUSE_CONTROLS" = "no"; then
10883 DEFAULT_wxUSE_ACCEL=no
10884 DEFAULT_wxUSE_ANIMATIONCTRL=no
10885 DEFAULT_wxUSE_BMPBUTTON=no
10886 DEFAULT_wxUSE_BUTTON=no
10887 DEFAULT_wxUSE_CALCTRL=no
10888 DEFAULT_wxUSE_CARET=no
10889 DEFAULT_wxUSE_COLLPANE=no
10890 DEFAULT_wxUSE_COMBOBOX=no
10891 DEFAULT_wxUSE_CHECKBOX=no
10892 DEFAULT_wxUSE_CHECKLISTBOX=no
10893 DEFAULT_wxUSE_CHOICE=no
10894 DEFAULT_wxUSE_CHOICEBOOK=no
10895 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10896 DEFAULT_wxUSE_COMBOBOX=no
10897 DEFAULT_wxUSE_DATEPICKCTRL=no
10898 DEFAULT_wxUSE_DISPLAY=no
10899 DEFAULT_wxUSE_DETECT_SM=no
10900 DEFAULT_wxUSE_DIRPICKERCTRL=no
10901 DEFAULT_wxUSE_FILEPICKERCTRL=no
10902 DEFAULT_wxUSE_FONTPICKERCTRL=no
10903 DEFAULT_wxUSE_GAUGE=no
10904 DEFAULT_wxUSE_GRID=no
10905 DEFAULT_wxUSE_HYPERLINKCTRL=no
10906 DEFAULT_wxUSE_DATAVIEWCTRL=no
10907 DEFAULT_wxUSE_IMAGLIST=no
10908 DEFAULT_wxUSE_LISTBOOK=no
10909 DEFAULT_wxUSE_LISTBOX=no
10910 DEFAULT_wxUSE_LISTCTRL=no
10911 DEFAULT_wxUSE_NOTEBOOK=no
10912 DEFAULT_wxUSE_RADIOBOX=no
10913 DEFAULT_wxUSE_RADIOBTN=no
10914 DEFAULT_wxUSE_SASH=no
10915 DEFAULT_wxUSE_SCROLLBAR=no
10916 DEFAULT_wxUSE_SEARCHCTRL=no
10917 DEFAULT_wxUSE_SLIDER=no
10918 DEFAULT_wxUSE_SPINBTN=no
10919 DEFAULT_wxUSE_SPINCTRL=no
10920 DEFAULT_wxUSE_SPLITTER=no
10921 DEFAULT_wxUSE_STATBMP=no
10922 DEFAULT_wxUSE_STATBOX=no
10923 DEFAULT_wxUSE_STATLINE=no
10924 DEFAULT_wxUSE_STATUSBAR=no
10925 DEFAULT_wxUSE_TAB_DIALOG=no
10926 DEFAULT_wxUSE_TOGGLEBTN=no
10927 DEFAULT_wxUSE_TOOLBAR=no
10928 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10929 DEFAULT_wxUSE_TOOLTIPS=no
10930 DEFAULT_wxUSE_TREEBOOK=no
10931 DEFAULT_wxUSE_TOOLBOOK=no
10932 DEFAULT_wxUSE_TREECTRL=no
10933 DEFAULT_wxUSE_POPUPWIN=no
10934 DEFAULT_wxUSE_TIPWINDOW=no
10935 fi
10936
10937
10938 enablestring=
10939 defaultval=$wxUSE_ALL_FEATURES
10940 if test -z "$defaultval"; then
10941 if test x"$enablestring" = xdisable; then
10942 defaultval=yes
10943 else
10944 defaultval=no
10945 fi
10946 fi
10947
10948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10950 # Check whether --enable-accel was given.
10951 if test "${enable_accel+set}" = set; then
10952 enableval=$enable_accel;
10953 if test "$enableval" = yes; then
10954 wx_cv_use_accel='wxUSE_ACCEL=yes'
10955 else
10956 wx_cv_use_accel='wxUSE_ACCEL=no'
10957 fi
10958 cache=yes
10959
10960 else
10961
10962 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10963 if test "x$LINE" != x ; then
10964 eval "DEFAULT_$LINE"
10965 cache=yes
10966 else
10967 cache=no
10968 fi
10969
10970 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10971
10972 fi
10973
10974
10975 eval "$wx_cv_use_accel"
10976 if test "x$cache" = xyes; then
10977 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10978 fi
10979
10980 if test x"$enablestring" = xdisable; then
10981 if test $wxUSE_ACCEL = yes; then
10982 result=no
10983 else
10984 result=yes
10985 fi
10986 else
10987 result=$wxUSE_ACCEL
10988 fi
10989
10990 { echo "$as_me:$LINENO: result: $result" >&5
10991 echo "${ECHO_T}$result" >&6; }
10992
10993
10994 enablestring=
10995 defaultval=$wxUSE_ALL_FEATURES
10996 if test -z "$defaultval"; then
10997 if test x"$enablestring" = xdisable; then
10998 defaultval=yes
10999 else
11000 defaultval=no
11001 fi
11002 fi
11003
11004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11005 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11006 # Check whether --enable-animatectrl was given.
11007 if test "${enable_animatectrl+set}" = set; then
11008 enableval=$enable_animatectrl;
11009 if test "$enableval" = yes; then
11010 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11011 else
11012 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11013 fi
11014 cache=yes
11015
11016 else
11017
11018 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11019 if test "x$LINE" != x ; then
11020 eval "DEFAULT_$LINE"
11021 cache=yes
11022 else
11023 cache=no
11024 fi
11025
11026 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11027
11028 fi
11029
11030
11031 eval "$wx_cv_use_animatectrl"
11032 if test "x$cache" = xyes; then
11033 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11034 fi
11035
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_ANIMATIONCTRL = yes; then
11038 result=no
11039 else
11040 result=yes
11041 fi
11042 else
11043 result=$wxUSE_ANIMATIONCTRL
11044 fi
11045
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11048
11049
11050 enablestring=
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11054 defaultval=yes
11055 else
11056 defaultval=no
11057 fi
11058 fi
11059
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11062 # Check whether --enable-button was given.
11063 if test "${enable_button+set}" = set; then
11064 enableval=$enable_button;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_button='wxUSE_BUTTON=yes'
11067 else
11068 wx_cv_use_button='wxUSE_BUTTON=no'
11069 fi
11070 cache=yes
11071
11072 else
11073
11074 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11075 if test "x$LINE" != x ; then
11076 eval "DEFAULT_$LINE"
11077 cache=yes
11078 else
11079 cache=no
11080 fi
11081
11082 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11083
11084 fi
11085
11086
11087 eval "$wx_cv_use_button"
11088 if test "x$cache" = xyes; then
11089 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11090 fi
11091
11092 if test x"$enablestring" = xdisable; then
11093 if test $wxUSE_BUTTON = yes; then
11094 result=no
11095 else
11096 result=yes
11097 fi
11098 else
11099 result=$wxUSE_BUTTON
11100 fi
11101
11102 { echo "$as_me:$LINENO: result: $result" >&5
11103 echo "${ECHO_T}$result" >&6; }
11104
11105
11106 enablestring=
11107 defaultval=$wxUSE_ALL_FEATURES
11108 if test -z "$defaultval"; then
11109 if test x"$enablestring" = xdisable; then
11110 defaultval=yes
11111 else
11112 defaultval=no
11113 fi
11114 fi
11115
11116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11118 # Check whether --enable-bmpbutton was given.
11119 if test "${enable_bmpbutton+set}" = set; then
11120 enableval=$enable_bmpbutton;
11121 if test "$enableval" = yes; then
11122 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11123 else
11124 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11125 fi
11126 cache=yes
11127
11128 else
11129
11130 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11131 if test "x$LINE" != x ; then
11132 eval "DEFAULT_$LINE"
11133 cache=yes
11134 else
11135 cache=no
11136 fi
11137
11138 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11139
11140 fi
11141
11142
11143 eval "$wx_cv_use_bmpbutton"
11144 if test "x$cache" = xyes; then
11145 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11146 fi
11147
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_BMPBUTTON = yes; then
11150 result=no
11151 else
11152 result=yes
11153 fi
11154 else
11155 result=$wxUSE_BMPBUTTON
11156 fi
11157
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11160
11161
11162 enablestring=
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11166 defaultval=yes
11167 else
11168 defaultval=no
11169 fi
11170 fi
11171
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11174 # Check whether --enable-bmpcombobox was given.
11175 if test "${enable_bmpcombobox+set}" = set; then
11176 enableval=$enable_bmpcombobox;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11179 else
11180 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11181 fi
11182 cache=yes
11183
11184 else
11185
11186 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11187 if test "x$LINE" != x ; then
11188 eval "DEFAULT_$LINE"
11189 cache=yes
11190 else
11191 cache=no
11192 fi
11193
11194 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11195
11196 fi
11197
11198
11199 eval "$wx_cv_use_bmpcombobox"
11200 if test "x$cache" = xyes; then
11201 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11202 fi
11203
11204 if test x"$enablestring" = xdisable; then
11205 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11206 result=no
11207 else
11208 result=yes
11209 fi
11210 else
11211 result=$wxUSE_BITMAPCOMBOBOX
11212 fi
11213
11214 { echo "$as_me:$LINENO: result: $result" >&5
11215 echo "${ECHO_T}$result" >&6; }
11216
11217
11218 enablestring=
11219 defaultval=$wxUSE_ALL_FEATURES
11220 if test -z "$defaultval"; then
11221 if test x"$enablestring" = xdisable; then
11222 defaultval=yes
11223 else
11224 defaultval=no
11225 fi
11226 fi
11227
11228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11229 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11230 # Check whether --enable-calendar was given.
11231 if test "${enable_calendar+set}" = set; then
11232 enableval=$enable_calendar;
11233 if test "$enableval" = yes; then
11234 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11235 else
11236 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11237 fi
11238 cache=yes
11239
11240 else
11241
11242 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11243 if test "x$LINE" != x ; then
11244 eval "DEFAULT_$LINE"
11245 cache=yes
11246 else
11247 cache=no
11248 fi
11249
11250 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11251
11252 fi
11253
11254
11255 eval "$wx_cv_use_calendar"
11256 if test "x$cache" = xyes; then
11257 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11258 fi
11259
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_CALCTRL = yes; then
11262 result=no
11263 else
11264 result=yes
11265 fi
11266 else
11267 result=$wxUSE_CALCTRL
11268 fi
11269
11270 { echo "$as_me:$LINENO: result: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11272
11273
11274 enablestring=
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11278 defaultval=yes
11279 else
11280 defaultval=no
11281 fi
11282 fi
11283
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11286 # Check whether --enable-caret was given.
11287 if test "${enable_caret+set}" = set; then
11288 enableval=$enable_caret;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_caret='wxUSE_CARET=yes'
11291 else
11292 wx_cv_use_caret='wxUSE_CARET=no'
11293 fi
11294 cache=yes
11295
11296 else
11297
11298 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x ; then
11300 eval "DEFAULT_$LINE"
11301 cache=yes
11302 else
11303 cache=no
11304 fi
11305
11306 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11307
11308 fi
11309
11310
11311 eval "$wx_cv_use_caret"
11312 if test "x$cache" = xyes; then
11313 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11314 fi
11315
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_CARET = yes; then
11318 result=no
11319 else
11320 result=yes
11321 fi
11322 else
11323 result=$wxUSE_CARET
11324 fi
11325
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11328
11329
11330 enablestring=
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11334 defaultval=yes
11335 else
11336 defaultval=no
11337 fi
11338 fi
11339
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11342 # Check whether --enable-checkbox was given.
11343 if test "${enable_checkbox+set}" = set; then
11344 enableval=$enable_checkbox;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11347 else
11348 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11349 fi
11350 cache=yes
11351
11352 else
11353
11354 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11355 if test "x$LINE" != x ; then
11356 eval "DEFAULT_$LINE"
11357 cache=yes
11358 else
11359 cache=no
11360 fi
11361
11362 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11363
11364 fi
11365
11366
11367 eval "$wx_cv_use_checkbox"
11368 if test "x$cache" = xyes; then
11369 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11370 fi
11371
11372 if test x"$enablestring" = xdisable; then
11373 if test $wxUSE_CHECKBOX = yes; then
11374 result=no
11375 else
11376 result=yes
11377 fi
11378 else
11379 result=$wxUSE_CHECKBOX
11380 fi
11381
11382 { echo "$as_me:$LINENO: result: $result" >&5
11383 echo "${ECHO_T}$result" >&6; }
11384
11385
11386 enablestring=
11387 defaultval=$wxUSE_ALL_FEATURES
11388 if test -z "$defaultval"; then
11389 if test x"$enablestring" = xdisable; then
11390 defaultval=yes
11391 else
11392 defaultval=no
11393 fi
11394 fi
11395
11396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11397 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11398 # Check whether --enable-checklst was given.
11399 if test "${enable_checklst+set}" = set; then
11400 enableval=$enable_checklst;
11401 if test "$enableval" = yes; then
11402 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11403 else
11404 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11405 fi
11406 cache=yes
11407
11408 else
11409
11410 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11411 if test "x$LINE" != x ; then
11412 eval "DEFAULT_$LINE"
11413 cache=yes
11414 else
11415 cache=no
11416 fi
11417
11418 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11419
11420 fi
11421
11422
11423 eval "$wx_cv_use_checklst"
11424 if test "x$cache" = xyes; then
11425 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11426 fi
11427
11428 if test x"$enablestring" = xdisable; then
11429 if test $wxUSE_CHECKLST = yes; then
11430 result=no
11431 else
11432 result=yes
11433 fi
11434 else
11435 result=$wxUSE_CHECKLST
11436 fi
11437
11438 { echo "$as_me:$LINENO: result: $result" >&5
11439 echo "${ECHO_T}$result" >&6; }
11440
11441
11442 enablestring=
11443 defaultval=$wxUSE_ALL_FEATURES
11444 if test -z "$defaultval"; then
11445 if test x"$enablestring" = xdisable; then
11446 defaultval=yes
11447 else
11448 defaultval=no
11449 fi
11450 fi
11451
11452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11454 # Check whether --enable-choice was given.
11455 if test "${enable_choice+set}" = set; then
11456 enableval=$enable_choice;
11457 if test "$enableval" = yes; then
11458 wx_cv_use_choice='wxUSE_CHOICE=yes'
11459 else
11460 wx_cv_use_choice='wxUSE_CHOICE=no'
11461 fi
11462 cache=yes
11463
11464 else
11465
11466 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11467 if test "x$LINE" != x ; then
11468 eval "DEFAULT_$LINE"
11469 cache=yes
11470 else
11471 cache=no
11472 fi
11473
11474 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11475
11476 fi
11477
11478
11479 eval "$wx_cv_use_choice"
11480 if test "x$cache" = xyes; then
11481 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11482 fi
11483
11484 if test x"$enablestring" = xdisable; then
11485 if test $wxUSE_CHOICE = yes; then
11486 result=no
11487 else
11488 result=yes
11489 fi
11490 else
11491 result=$wxUSE_CHOICE
11492 fi
11493
11494 { echo "$as_me:$LINENO: result: $result" >&5
11495 echo "${ECHO_T}$result" >&6; }
11496
11497
11498 enablestring=
11499 defaultval=$wxUSE_ALL_FEATURES
11500 if test -z "$defaultval"; then
11501 if test x"$enablestring" = xdisable; then
11502 defaultval=yes
11503 else
11504 defaultval=no
11505 fi
11506 fi
11507
11508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11509 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11510 # Check whether --enable-choicebook was given.
11511 if test "${enable_choicebook+set}" = set; then
11512 enableval=$enable_choicebook;
11513 if test "$enableval" = yes; then
11514 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11515 else
11516 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11517 fi
11518 cache=yes
11519
11520 else
11521
11522 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11523 if test "x$LINE" != x ; then
11524 eval "DEFAULT_$LINE"
11525 cache=yes
11526 else
11527 cache=no
11528 fi
11529
11530 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11531
11532 fi
11533
11534
11535 eval "$wx_cv_use_choicebook"
11536 if test "x$cache" = xyes; then
11537 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11538 fi
11539
11540 if test x"$enablestring" = xdisable; then
11541 if test $wxUSE_CHOICEBOOK = yes; then
11542 result=no
11543 else
11544 result=yes
11545 fi
11546 else
11547 result=$wxUSE_CHOICEBOOK
11548 fi
11549
11550 { echo "$as_me:$LINENO: result: $result" >&5
11551 echo "${ECHO_T}$result" >&6; }
11552
11553
11554 enablestring=
11555 defaultval=$wxUSE_ALL_FEATURES
11556 if test -z "$defaultval"; then
11557 if test x"$enablestring" = xdisable; then
11558 defaultval=yes
11559 else
11560 defaultval=no
11561 fi
11562 fi
11563
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11566 # Check whether --enable-collpane was given.
11567 if test "${enable_collpane+set}" = set; then
11568 enableval=$enable_collpane;
11569 if test "$enableval" = yes; then
11570 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11571 else
11572 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11573 fi
11574 cache=yes
11575
11576 else
11577
11578 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11579 if test "x$LINE" != x ; then
11580 eval "DEFAULT_$LINE"
11581 cache=yes
11582 else
11583 cache=no
11584 fi
11585
11586 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11587
11588 fi
11589
11590
11591 eval "$wx_cv_use_collpane"
11592 if test "x$cache" = xyes; then
11593 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11594 fi
11595
11596 if test x"$enablestring" = xdisable; then
11597 if test $wxUSE_COLLPANE = yes; then
11598 result=no
11599 else
11600 result=yes
11601 fi
11602 else
11603 result=$wxUSE_COLLPANE
11604 fi
11605
11606 { echo "$as_me:$LINENO: result: $result" >&5
11607 echo "${ECHO_T}$result" >&6; }
11608
11609
11610 enablestring=
11611 defaultval=$wxUSE_ALL_FEATURES
11612 if test -z "$defaultval"; then
11613 if test x"$enablestring" = xdisable; then
11614 defaultval=yes
11615 else
11616 defaultval=no
11617 fi
11618 fi
11619
11620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11621 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11622 # Check whether --enable-colourpicker was given.
11623 if test "${enable_colourpicker+set}" = set; then
11624 enableval=$enable_colourpicker;
11625 if test "$enableval" = yes; then
11626 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11627 else
11628 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11629 fi
11630 cache=yes
11631
11632 else
11633
11634 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11635 if test "x$LINE" != x ; then
11636 eval "DEFAULT_$LINE"
11637 cache=yes
11638 else
11639 cache=no
11640 fi
11641
11642 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11643
11644 fi
11645
11646
11647 eval "$wx_cv_use_colourpicker"
11648 if test "x$cache" = xyes; then
11649 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11650 fi
11651
11652 if test x"$enablestring" = xdisable; then
11653 if test $wxUSE_COLOURPICKERCTRL = yes; then
11654 result=no
11655 else
11656 result=yes
11657 fi
11658 else
11659 result=$wxUSE_COLOURPICKERCTRL
11660 fi
11661
11662 { echo "$as_me:$LINENO: result: $result" >&5
11663 echo "${ECHO_T}$result" >&6; }
11664
11665
11666 enablestring=
11667 defaultval=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x"$enablestring" = xdisable; then
11670 defaultval=yes
11671 else
11672 defaultval=no
11673 fi
11674 fi
11675
11676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11677 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11678 # Check whether --enable-combobox was given.
11679 if test "${enable_combobox+set}" = set; then
11680 enableval=$enable_combobox;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11683 else
11684 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11685 fi
11686 cache=yes
11687
11688 else
11689
11690 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11691 if test "x$LINE" != x ; then
11692 eval "DEFAULT_$LINE"
11693 cache=yes
11694 else
11695 cache=no
11696 fi
11697
11698 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11699
11700 fi
11701
11702
11703 eval "$wx_cv_use_combobox"
11704 if test "x$cache" = xyes; then
11705 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11706 fi
11707
11708 if test x"$enablestring" = xdisable; then
11709 if test $wxUSE_COMBOBOX = yes; then
11710 result=no
11711 else
11712 result=yes
11713 fi
11714 else
11715 result=$wxUSE_COMBOBOX
11716 fi
11717
11718 { echo "$as_me:$LINENO: result: $result" >&5
11719 echo "${ECHO_T}$result" >&6; }
11720
11721
11722 enablestring=
11723 defaultval=$wxUSE_ALL_FEATURES
11724 if test -z "$defaultval"; then
11725 if test x"$enablestring" = xdisable; then
11726 defaultval=yes
11727 else
11728 defaultval=no
11729 fi
11730 fi
11731
11732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11734 # Check whether --enable-comboctrl was given.
11735 if test "${enable_comboctrl+set}" = set; then
11736 enableval=$enable_comboctrl;
11737 if test "$enableval" = yes; then
11738 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11739 else
11740 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11741 fi
11742 cache=yes
11743
11744 else
11745
11746 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11747 if test "x$LINE" != x ; then
11748 eval "DEFAULT_$LINE"
11749 cache=yes
11750 else
11751 cache=no
11752 fi
11753
11754 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11755
11756 fi
11757
11758
11759 eval "$wx_cv_use_comboctrl"
11760 if test "x$cache" = xyes; then
11761 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11762 fi
11763
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_COMBOCTRL = yes; then
11766 result=no
11767 else
11768 result=yes
11769 fi
11770 else
11771 result=$wxUSE_COMBOCTRL
11772 fi
11773
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11776
11777
11778 enablestring=
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11782 defaultval=yes
11783 else
11784 defaultval=no
11785 fi
11786 fi
11787
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11790 # Check whether --enable-datepick was given.
11791 if test "${enable_datepick+set}" = set; then
11792 enableval=$enable_datepick;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11795 else
11796 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11797 fi
11798 cache=yes
11799
11800 else
11801
11802 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11803 if test "x$LINE" != x ; then
11804 eval "DEFAULT_$LINE"
11805 cache=yes
11806 else
11807 cache=no
11808 fi
11809
11810 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11811
11812 fi
11813
11814
11815 eval "$wx_cv_use_datepick"
11816 if test "x$cache" = xyes; then
11817 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11818 fi
11819
11820 if test x"$enablestring" = xdisable; then
11821 if test $wxUSE_DATEPICKCTRL = yes; then
11822 result=no
11823 else
11824 result=yes
11825 fi
11826 else
11827 result=$wxUSE_DATEPICKCTRL
11828 fi
11829
11830 { echo "$as_me:$LINENO: result: $result" >&5
11831 echo "${ECHO_T}$result" >&6; }
11832
11833
11834 enablestring=
11835 defaultval=$wxUSE_ALL_FEATURES
11836 if test -z "$defaultval"; then
11837 if test x"$enablestring" = xdisable; then
11838 defaultval=yes
11839 else
11840 defaultval=no
11841 fi
11842 fi
11843
11844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11845 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11846 # Check whether --enable-dirpicker was given.
11847 if test "${enable_dirpicker+set}" = set; then
11848 enableval=$enable_dirpicker;
11849 if test "$enableval" = yes; then
11850 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11851 else
11852 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11853 fi
11854 cache=yes
11855
11856 else
11857
11858 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11859 if test "x$LINE" != x ; then
11860 eval "DEFAULT_$LINE"
11861 cache=yes
11862 else
11863 cache=no
11864 fi
11865
11866 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11867
11868 fi
11869
11870
11871 eval "$wx_cv_use_dirpicker"
11872 if test "x$cache" = xyes; then
11873 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11874 fi
11875
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_DIRPICKERCTRL = yes; then
11878 result=no
11879 else
11880 result=yes
11881 fi
11882 else
11883 result=$wxUSE_DIRPICKERCTRL
11884 fi
11885
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11888
11889
11890 enablestring=
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11894 defaultval=yes
11895 else
11896 defaultval=no
11897 fi
11898 fi
11899
11900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11901 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11902 # Check whether --enable-display was given.
11903 if test "${enable_display+set}" = set; then
11904 enableval=$enable_display;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_display='wxUSE_DISPLAY=yes'
11907 else
11908 wx_cv_use_display='wxUSE_DISPLAY=no'
11909 fi
11910 cache=yes
11911
11912 else
11913
11914 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11915 if test "x$LINE" != x ; then
11916 eval "DEFAULT_$LINE"
11917 cache=yes
11918 else
11919 cache=no
11920 fi
11921
11922 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11923
11924 fi
11925
11926
11927 eval "$wx_cv_use_display"
11928 if test "x$cache" = xyes; then
11929 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11930 fi
11931
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_DISPLAY = yes; then
11934 result=no
11935 else
11936 result=yes
11937 fi
11938 else
11939 result=$wxUSE_DISPLAY
11940 fi
11941
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11944
11945
11946 enablestring=
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11950 defaultval=yes
11951 else
11952 defaultval=no
11953 fi
11954 fi
11955
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11958 # Check whether --enable-detect_sm was given.
11959 if test "${enable_detect_sm+set}" = set; then
11960 enableval=$enable_detect_sm;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11963 else
11964 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11965 fi
11966 cache=yes
11967
11968 else
11969
11970 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11971 if test "x$LINE" != x ; then
11972 eval "DEFAULT_$LINE"
11973 cache=yes
11974 else
11975 cache=no
11976 fi
11977
11978 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11979
11980 fi
11981
11982
11983 eval "$wx_cv_use_detect_sm"
11984 if test "x$cache" = xyes; then
11985 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11986 fi
11987
11988 if test x"$enablestring" = xdisable; then
11989 if test $wxUSE_DETECT_SM = yes; then
11990 result=no
11991 else
11992 result=yes
11993 fi
11994 else
11995 result=$wxUSE_DETECT_SM
11996 fi
11997
11998 { echo "$as_me:$LINENO: result: $result" >&5
11999 echo "${ECHO_T}$result" >&6; }
12000
12001
12002 enablestring=
12003 defaultval=$wxUSE_ALL_FEATURES
12004 if test -z "$defaultval"; then
12005 if test x"$enablestring" = xdisable; then
12006 defaultval=yes
12007 else
12008 defaultval=no
12009 fi
12010 fi
12011
12012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12013 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12014 # Check whether --enable-editablebox was given.
12015 if test "${enable_editablebox+set}" = set; then
12016 enableval=$enable_editablebox;
12017 if test "$enableval" = yes; then
12018 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12019 else
12020 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12021 fi
12022 cache=yes
12023
12024 else
12025
12026 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12027 if test "x$LINE" != x ; then
12028 eval "DEFAULT_$LINE"
12029 cache=yes
12030 else
12031 cache=no
12032 fi
12033
12034 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12035
12036 fi
12037
12038
12039 eval "$wx_cv_use_editablebox"
12040 if test "x$cache" = xyes; then
12041 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12042 fi
12043
12044 if test x"$enablestring" = xdisable; then
12045 if test $wxUSE_EDITABLELISTBOX = yes; then
12046 result=no
12047 else
12048 result=yes
12049 fi
12050 else
12051 result=$wxUSE_EDITABLELISTBOX
12052 fi
12053
12054 { echo "$as_me:$LINENO: result: $result" >&5
12055 echo "${ECHO_T}$result" >&6; }
12056
12057
12058 enablestring=
12059 defaultval=$wxUSE_ALL_FEATURES
12060 if test -z "$defaultval"; then
12061 if test x"$enablestring" = xdisable; then
12062 defaultval=yes
12063 else
12064 defaultval=no
12065 fi
12066 fi
12067
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12070 # Check whether --enable-filepicker was given.
12071 if test "${enable_filepicker+set}" = set; then
12072 enableval=$enable_filepicker;
12073 if test "$enableval" = yes; then
12074 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12075 else
12076 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12077 fi
12078 cache=yes
12079
12080 else
12081
12082 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12085 cache=yes
12086 else
12087 cache=no
12088 fi
12089
12090 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12091
12092 fi
12093
12094
12095 eval "$wx_cv_use_filepicker"
12096 if test "x$cache" = xyes; then
12097 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12098 fi
12099
12100 if test x"$enablestring" = xdisable; then
12101 if test $wxUSE_FILEPICKERCTRL = yes; then
12102 result=no
12103 else
12104 result=yes
12105 fi
12106 else
12107 result=$wxUSE_FILEPICKERCTRL
12108 fi
12109
12110 { echo "$as_me:$LINENO: result: $result" >&5
12111 echo "${ECHO_T}$result" >&6; }
12112
12113
12114 enablestring=
12115 defaultval=$wxUSE_ALL_FEATURES
12116 if test -z "$defaultval"; then
12117 if test x"$enablestring" = xdisable; then
12118 defaultval=yes
12119 else
12120 defaultval=no
12121 fi
12122 fi
12123
12124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12125 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12126 # Check whether --enable-fontpicker was given.
12127 if test "${enable_fontpicker+set}" = set; then
12128 enableval=$enable_fontpicker;
12129 if test "$enableval" = yes; then
12130 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12131 else
12132 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12133 fi
12134 cache=yes
12135
12136 else
12137
12138 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12139 if test "x$LINE" != x ; then
12140 eval "DEFAULT_$LINE"
12141 cache=yes
12142 else
12143 cache=no
12144 fi
12145
12146 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12147
12148 fi
12149
12150
12151 eval "$wx_cv_use_fontpicker"
12152 if test "x$cache" = xyes; then
12153 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12154 fi
12155
12156 if test x"$enablestring" = xdisable; then
12157 if test $wxUSE_FONTPICKERCTRL = yes; then
12158 result=no
12159 else
12160 result=yes
12161 fi
12162 else
12163 result=$wxUSE_FONTPICKERCTRL
12164 fi
12165
12166 { echo "$as_me:$LINENO: result: $result" >&5
12167 echo "${ECHO_T}$result" >&6; }
12168
12169
12170 enablestring=
12171 defaultval=$wxUSE_ALL_FEATURES
12172 if test -z "$defaultval"; then
12173 if test x"$enablestring" = xdisable; then
12174 defaultval=yes
12175 else
12176 defaultval=no
12177 fi
12178 fi
12179
12180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12181 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12182 # Check whether --enable-gauge was given.
12183 if test "${enable_gauge+set}" = set; then
12184 enableval=$enable_gauge;
12185 if test "$enableval" = yes; then
12186 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12187 else
12188 wx_cv_use_gauge='wxUSE_GAUGE=no'
12189 fi
12190 cache=yes
12191
12192 else
12193
12194 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12195 if test "x$LINE" != x ; then
12196 eval "DEFAULT_$LINE"
12197 cache=yes
12198 else
12199 cache=no
12200 fi
12201
12202 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12203
12204 fi
12205
12206
12207 eval "$wx_cv_use_gauge"
12208 if test "x$cache" = xyes; then
12209 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12210 fi
12211
12212 if test x"$enablestring" = xdisable; then
12213 if test $wxUSE_GAUGE = yes; then
12214 result=no
12215 else
12216 result=yes
12217 fi
12218 else
12219 result=$wxUSE_GAUGE
12220 fi
12221
12222 { echo "$as_me:$LINENO: result: $result" >&5
12223 echo "${ECHO_T}$result" >&6; }
12224
12225
12226 enablestring=
12227 defaultval=$wxUSE_ALL_FEATURES
12228 if test -z "$defaultval"; then
12229 if test x"$enablestring" = xdisable; then
12230 defaultval=yes
12231 else
12232 defaultval=no
12233 fi
12234 fi
12235
12236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12237 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12238 # Check whether --enable-grid was given.
12239 if test "${enable_grid+set}" = set; then
12240 enableval=$enable_grid;
12241 if test "$enableval" = yes; then
12242 wx_cv_use_grid='wxUSE_GRID=yes'
12243 else
12244 wx_cv_use_grid='wxUSE_GRID=no'
12245 fi
12246 cache=yes
12247
12248 else
12249
12250 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12251 if test "x$LINE" != x ; then
12252 eval "DEFAULT_$LINE"
12253 cache=yes
12254 else
12255 cache=no
12256 fi
12257
12258 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12259
12260 fi
12261
12262
12263 eval "$wx_cv_use_grid"
12264 if test "x$cache" = xyes; then
12265 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12266 fi
12267
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_GRID = yes; then
12270 result=no
12271 else
12272 result=yes
12273 fi
12274 else
12275 result=$wxUSE_GRID
12276 fi
12277
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12280
12281
12282 enablestring=
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12286 defaultval=yes
12287 else
12288 defaultval=no
12289 fi
12290 fi
12291
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12294 # Check whether --enable-dataviewctrl was given.
12295 if test "${enable_dataviewctrl+set}" = set; then
12296 enableval=$enable_dataviewctrl;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12299 else
12300 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12301 fi
12302 cache=yes
12303
12304 else
12305
12306 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12309 cache=yes
12310 else
12311 cache=no
12312 fi
12313
12314 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12315
12316 fi
12317
12318
12319 eval "$wx_cv_use_dataviewctrl"
12320 if test "x$cache" = xyes; then
12321 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12322 fi
12323
12324 if test x"$enablestring" = xdisable; then
12325 if test $wxUSE_DATAVIEWCTRL = yes; then
12326 result=no
12327 else
12328 result=yes
12329 fi
12330 else
12331 result=$wxUSE_DATAVIEWCTRL
12332 fi
12333
12334 { echo "$as_me:$LINENO: result: $result" >&5
12335 echo "${ECHO_T}$result" >&6; }
12336
12337
12338 enablestring=
12339 defaultval=$wxUSE_ALL_FEATURES
12340 if test -z "$defaultval"; then
12341 if test x"$enablestring" = xdisable; then
12342 defaultval=yes
12343 else
12344 defaultval=no
12345 fi
12346 fi
12347
12348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12349 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12350 # Check whether --enable-hyperlink was given.
12351 if test "${enable_hyperlink+set}" = set; then
12352 enableval=$enable_hyperlink;
12353 if test "$enableval" = yes; then
12354 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12355 else
12356 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12357 fi
12358 cache=yes
12359
12360 else
12361
12362 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12363 if test "x$LINE" != x ; then
12364 eval "DEFAULT_$LINE"
12365 cache=yes
12366 else
12367 cache=no
12368 fi
12369
12370 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12371
12372 fi
12373
12374
12375 eval "$wx_cv_use_hyperlink"
12376 if test "x$cache" = xyes; then
12377 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12378 fi
12379
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_HYPERLINKCTRL = yes; then
12382 result=no
12383 else
12384 result=yes
12385 fi
12386 else
12387 result=$wxUSE_HYPERLINKCTRL
12388 fi
12389
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12392
12393
12394 enablestring=
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12398 defaultval=yes
12399 else
12400 defaultval=no
12401 fi
12402 fi
12403
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12406 # Check whether --enable-imaglist was given.
12407 if test "${enable_imaglist+set}" = set; then
12408 enableval=$enable_imaglist;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12411 else
12412 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12413 fi
12414 cache=yes
12415
12416 else
12417
12418 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12419 if test "x$LINE" != x ; then
12420 eval "DEFAULT_$LINE"
12421 cache=yes
12422 else
12423 cache=no
12424 fi
12425
12426 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12427
12428 fi
12429
12430
12431 eval "$wx_cv_use_imaglist"
12432 if test "x$cache" = xyes; then
12433 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12434 fi
12435
12436 if test x"$enablestring" = xdisable; then
12437 if test $wxUSE_IMAGLIST = yes; then
12438 result=no
12439 else
12440 result=yes
12441 fi
12442 else
12443 result=$wxUSE_IMAGLIST
12444 fi
12445
12446 { echo "$as_me:$LINENO: result: $result" >&5
12447 echo "${ECHO_T}$result" >&6; }
12448
12449
12450 enablestring=
12451 defaultval=$wxUSE_ALL_FEATURES
12452 if test -z "$defaultval"; then
12453 if test x"$enablestring" = xdisable; then
12454 defaultval=yes
12455 else
12456 defaultval=no
12457 fi
12458 fi
12459
12460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12461 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12462 # Check whether --enable-listbook was given.
12463 if test "${enable_listbook+set}" = set; then
12464 enableval=$enable_listbook;
12465 if test "$enableval" = yes; then
12466 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12467 else
12468 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12469 fi
12470 cache=yes
12471
12472 else
12473
12474 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12475 if test "x$LINE" != x ; then
12476 eval "DEFAULT_$LINE"
12477 cache=yes
12478 else
12479 cache=no
12480 fi
12481
12482 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12483
12484 fi
12485
12486
12487 eval "$wx_cv_use_listbook"
12488 if test "x$cache" = xyes; then
12489 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12490 fi
12491
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_LISTBOOK = yes; then
12494 result=no
12495 else
12496 result=yes
12497 fi
12498 else
12499 result=$wxUSE_LISTBOOK
12500 fi
12501
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12504
12505
12506 enablestring=
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12510 defaultval=yes
12511 else
12512 defaultval=no
12513 fi
12514 fi
12515
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12518 # Check whether --enable-listbox was given.
12519 if test "${enable_listbox+set}" = set; then
12520 enableval=$enable_listbox;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12523 else
12524 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12525 fi
12526 cache=yes
12527
12528 else
12529
12530 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12531 if test "x$LINE" != x ; then
12532 eval "DEFAULT_$LINE"
12533 cache=yes
12534 else
12535 cache=no
12536 fi
12537
12538 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12539
12540 fi
12541
12542
12543 eval "$wx_cv_use_listbox"
12544 if test "x$cache" = xyes; then
12545 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12546 fi
12547
12548 if test x"$enablestring" = xdisable; then
12549 if test $wxUSE_LISTBOX = yes; then
12550 result=no
12551 else
12552 result=yes
12553 fi
12554 else
12555 result=$wxUSE_LISTBOX
12556 fi
12557
12558 { echo "$as_me:$LINENO: result: $result" >&5
12559 echo "${ECHO_T}$result" >&6; }
12560
12561
12562 enablestring=
12563 defaultval=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x"$enablestring" = xdisable; then
12566 defaultval=yes
12567 else
12568 defaultval=no
12569 fi
12570 fi
12571
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12574 # Check whether --enable-listctrl was given.
12575 if test "${enable_listctrl+set}" = set; then
12576 enableval=$enable_listctrl;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12579 else
12580 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12581 fi
12582 cache=yes
12583
12584 else
12585
12586 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12587 if test "x$LINE" != x ; then
12588 eval "DEFAULT_$LINE"
12589 cache=yes
12590 else
12591 cache=no
12592 fi
12593
12594 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12595
12596 fi
12597
12598
12599 eval "$wx_cv_use_listctrl"
12600 if test "x$cache" = xyes; then
12601 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12602 fi
12603
12604 if test x"$enablestring" = xdisable; then
12605 if test $wxUSE_LISTCTRL = yes; then
12606 result=no
12607 else
12608 result=yes
12609 fi
12610 else
12611 result=$wxUSE_LISTCTRL
12612 fi
12613
12614 { echo "$as_me:$LINENO: result: $result" >&5
12615 echo "${ECHO_T}$result" >&6; }
12616
12617
12618 enablestring=
12619 defaultval=$wxUSE_ALL_FEATURES
12620 if test -z "$defaultval"; then
12621 if test x"$enablestring" = xdisable; then
12622 defaultval=yes
12623 else
12624 defaultval=no
12625 fi
12626 fi
12627
12628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12629 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12630 # Check whether --enable-notebook was given.
12631 if test "${enable_notebook+set}" = set; then
12632 enableval=$enable_notebook;
12633 if test "$enableval" = yes; then
12634 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12635 else
12636 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12637 fi
12638 cache=yes
12639
12640 else
12641
12642 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12643 if test "x$LINE" != x ; then
12644 eval "DEFAULT_$LINE"
12645 cache=yes
12646 else
12647 cache=no
12648 fi
12649
12650 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12651
12652 fi
12653
12654
12655 eval "$wx_cv_use_notebook"
12656 if test "x$cache" = xyes; then
12657 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12658 fi
12659
12660 if test x"$enablestring" = xdisable; then
12661 if test $wxUSE_NOTEBOOK = yes; then
12662 result=no
12663 else
12664 result=yes
12665 fi
12666 else
12667 result=$wxUSE_NOTEBOOK
12668 fi
12669
12670 { echo "$as_me:$LINENO: result: $result" >&5
12671 echo "${ECHO_T}$result" >&6; }
12672
12673
12674 enablestring=
12675 defaultval=$wxUSE_ALL_FEATURES
12676 if test -z "$defaultval"; then
12677 if test x"$enablestring" = xdisable; then
12678 defaultval=yes
12679 else
12680 defaultval=no
12681 fi
12682 fi
12683
12684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12685 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12686 # Check whether --enable-odcombobox was given.
12687 if test "${enable_odcombobox+set}" = set; then
12688 enableval=$enable_odcombobox;
12689 if test "$enableval" = yes; then
12690 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12691 else
12692 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12693 fi
12694 cache=yes
12695
12696 else
12697
12698 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12699 if test "x$LINE" != x ; then
12700 eval "DEFAULT_$LINE"
12701 cache=yes
12702 else
12703 cache=no
12704 fi
12705
12706 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12707
12708 fi
12709
12710
12711 eval "$wx_cv_use_odcombobox"
12712 if test "x$cache" = xyes; then
12713 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12714 fi
12715
12716 if test x"$enablestring" = xdisable; then
12717 if test $wxUSE_ODCOMBOBOX = yes; then
12718 result=no
12719 else
12720 result=yes
12721 fi
12722 else
12723 result=$wxUSE_ODCOMBOBOX
12724 fi
12725
12726 { echo "$as_me:$LINENO: result: $result" >&5
12727 echo "${ECHO_T}$result" >&6; }
12728
12729
12730 enablestring=
12731 defaultval=$wxUSE_ALL_FEATURES
12732 if test -z "$defaultval"; then
12733 if test x"$enablestring" = xdisable; then
12734 defaultval=yes
12735 else
12736 defaultval=no
12737 fi
12738 fi
12739
12740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12741 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12742 # Check whether --enable-radiobox was given.
12743 if test "${enable_radiobox+set}" = set; then
12744 enableval=$enable_radiobox;
12745 if test "$enableval" = yes; then
12746 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12747 else
12748 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12749 fi
12750 cache=yes
12751
12752 else
12753
12754 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12755 if test "x$LINE" != x ; then
12756 eval "DEFAULT_$LINE"
12757 cache=yes
12758 else
12759 cache=no
12760 fi
12761
12762 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12763
12764 fi
12765
12766
12767 eval "$wx_cv_use_radiobox"
12768 if test "x$cache" = xyes; then
12769 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12770 fi
12771
12772 if test x"$enablestring" = xdisable; then
12773 if test $wxUSE_RADIOBOX = yes; then
12774 result=no
12775 else
12776 result=yes
12777 fi
12778 else
12779 result=$wxUSE_RADIOBOX
12780 fi
12781
12782 { echo "$as_me:$LINENO: result: $result" >&5
12783 echo "${ECHO_T}$result" >&6; }
12784
12785
12786 enablestring=
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12790 defaultval=yes
12791 else
12792 defaultval=no
12793 fi
12794 fi
12795
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12798 # Check whether --enable-radiobtn was given.
12799 if test "${enable_radiobtn+set}" = set; then
12800 enableval=$enable_radiobtn;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12803 else
12804 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12805 fi
12806 cache=yes
12807
12808 else
12809
12810 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12811 if test "x$LINE" != x ; then
12812 eval "DEFAULT_$LINE"
12813 cache=yes
12814 else
12815 cache=no
12816 fi
12817
12818 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12819
12820 fi
12821
12822
12823 eval "$wx_cv_use_radiobtn"
12824 if test "x$cache" = xyes; then
12825 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12826 fi
12827
12828 if test x"$enablestring" = xdisable; then
12829 if test $wxUSE_RADIOBTN = yes; then
12830 result=no
12831 else
12832 result=yes
12833 fi
12834 else
12835 result=$wxUSE_RADIOBTN
12836 fi
12837
12838 { echo "$as_me:$LINENO: result: $result" >&5
12839 echo "${ECHO_T}$result" >&6; }
12840
12841
12842 enablestring=
12843 defaultval=$wxUSE_ALL_FEATURES
12844 if test -z "$defaultval"; then
12845 if test x"$enablestring" = xdisable; then
12846 defaultval=yes
12847 else
12848 defaultval=no
12849 fi
12850 fi
12851
12852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12853 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12854 # Check whether --enable-sash was given.
12855 if test "${enable_sash+set}" = set; then
12856 enableval=$enable_sash;
12857 if test "$enableval" = yes; then
12858 wx_cv_use_sash='wxUSE_SASH=yes'
12859 else
12860 wx_cv_use_sash='wxUSE_SASH=no'
12861 fi
12862 cache=yes
12863
12864 else
12865
12866 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12867 if test "x$LINE" != x ; then
12868 eval "DEFAULT_$LINE"
12869 cache=yes
12870 else
12871 cache=no
12872 fi
12873
12874 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12875
12876 fi
12877
12878
12879 eval "$wx_cv_use_sash"
12880 if test "x$cache" = xyes; then
12881 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12882 fi
12883
12884 if test x"$enablestring" = xdisable; then
12885 if test $wxUSE_SASH = yes; then
12886 result=no
12887 else
12888 result=yes
12889 fi
12890 else
12891 result=$wxUSE_SASH
12892 fi
12893
12894 { echo "$as_me:$LINENO: result: $result" >&5
12895 echo "${ECHO_T}$result" >&6; }
12896
12897
12898 enablestring=
12899 defaultval=$wxUSE_ALL_FEATURES
12900 if test -z "$defaultval"; then
12901 if test x"$enablestring" = xdisable; then
12902 defaultval=yes
12903 else
12904 defaultval=no
12905 fi
12906 fi
12907
12908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12909 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12910 # Check whether --enable-scrollbar was given.
12911 if test "${enable_scrollbar+set}" = set; then
12912 enableval=$enable_scrollbar;
12913 if test "$enableval" = yes; then
12914 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12915 else
12916 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12917 fi
12918 cache=yes
12919
12920 else
12921
12922 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12923 if test "x$LINE" != x ; then
12924 eval "DEFAULT_$LINE"
12925 cache=yes
12926 else
12927 cache=no
12928 fi
12929
12930 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12931
12932 fi
12933
12934
12935 eval "$wx_cv_use_scrollbar"
12936 if test "x$cache" = xyes; then
12937 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12938 fi
12939
12940 if test x"$enablestring" = xdisable; then
12941 if test $wxUSE_SCROLLBAR = yes; then
12942 result=no
12943 else
12944 result=yes
12945 fi
12946 else
12947 result=$wxUSE_SCROLLBAR
12948 fi
12949
12950 { echo "$as_me:$LINENO: result: $result" >&5
12951 echo "${ECHO_T}$result" >&6; }
12952
12953
12954 enablestring=
12955 defaultval=$wxUSE_ALL_FEATURES
12956 if test -z "$defaultval"; then
12957 if test x"$enablestring" = xdisable; then
12958 defaultval=yes
12959 else
12960 defaultval=no
12961 fi
12962 fi
12963
12964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12965 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12966 # Check whether --enable-searchctrl was given.
12967 if test "${enable_searchctrl+set}" = set; then
12968 enableval=$enable_searchctrl;
12969 if test "$enableval" = yes; then
12970 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12971 else
12972 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12973 fi
12974 cache=yes
12975
12976 else
12977
12978 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12979 if test "x$LINE" != x ; then
12980 eval "DEFAULT_$LINE"
12981 cache=yes
12982 else
12983 cache=no
12984 fi
12985
12986 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12987
12988 fi
12989
12990
12991 eval "$wx_cv_use_searchctrl"
12992 if test "x$cache" = xyes; then
12993 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12994 fi
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_SEARCHCTRL = yes; then
12998 result=no
12999 else
13000 result=yes
13001 fi
13002 else
13003 result=$wxUSE_SEARCHCTRL
13004 fi
13005
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13008
13009
13010 enablestring=
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13014 defaultval=yes
13015 else
13016 defaultval=no
13017 fi
13018 fi
13019
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13022 # Check whether --enable-slider was given.
13023 if test "${enable_slider+set}" = set; then
13024 enableval=$enable_slider;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_slider='wxUSE_SLIDER=yes'
13027 else
13028 wx_cv_use_slider='wxUSE_SLIDER=no'
13029 fi
13030 cache=yes
13031
13032 else
13033
13034 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13035 if test "x$LINE" != x ; then
13036 eval "DEFAULT_$LINE"
13037 cache=yes
13038 else
13039 cache=no
13040 fi
13041
13042 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13043
13044 fi
13045
13046
13047 eval "$wx_cv_use_slider"
13048 if test "x$cache" = xyes; then
13049 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13050 fi
13051
13052 if test x"$enablestring" = xdisable; then
13053 if test $wxUSE_SLIDER = yes; then
13054 result=no
13055 else
13056 result=yes
13057 fi
13058 else
13059 result=$wxUSE_SLIDER
13060 fi
13061
13062 { echo "$as_me:$LINENO: result: $result" >&5
13063 echo "${ECHO_T}$result" >&6; }
13064
13065
13066 enablestring=
13067 defaultval=$wxUSE_ALL_FEATURES
13068 if test -z "$defaultval"; then
13069 if test x"$enablestring" = xdisable; then
13070 defaultval=yes
13071 else
13072 defaultval=no
13073 fi
13074 fi
13075
13076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13077 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13078 # Check whether --enable-spinbtn was given.
13079 if test "${enable_spinbtn+set}" = set; then
13080 enableval=$enable_spinbtn;
13081 if test "$enableval" = yes; then
13082 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13083 else
13084 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13085 fi
13086 cache=yes
13087
13088 else
13089
13090 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13091 if test "x$LINE" != x ; then
13092 eval "DEFAULT_$LINE"
13093 cache=yes
13094 else
13095 cache=no
13096 fi
13097
13098 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13099
13100 fi
13101
13102
13103 eval "$wx_cv_use_spinbtn"
13104 if test "x$cache" = xyes; then
13105 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13106 fi
13107
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_SPINBTN = yes; then
13110 result=no
13111 else
13112 result=yes
13113 fi
13114 else
13115 result=$wxUSE_SPINBTN
13116 fi
13117
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13120
13121
13122 enablestring=
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13126 defaultval=yes
13127 else
13128 defaultval=no
13129 fi
13130 fi
13131
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13134 # Check whether --enable-spinctrl was given.
13135 if test "${enable_spinctrl+set}" = set; then
13136 enableval=$enable_spinctrl;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13139 else
13140 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13141 fi
13142 cache=yes
13143
13144 else
13145
13146 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13147 if test "x$LINE" != x ; then
13148 eval "DEFAULT_$LINE"
13149 cache=yes
13150 else
13151 cache=no
13152 fi
13153
13154 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13155
13156 fi
13157
13158
13159 eval "$wx_cv_use_spinctrl"
13160 if test "x$cache" = xyes; then
13161 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13162 fi
13163
13164 if test x"$enablestring" = xdisable; then
13165 if test $wxUSE_SPINCTRL = yes; then
13166 result=no
13167 else
13168 result=yes
13169 fi
13170 else
13171 result=$wxUSE_SPINCTRL
13172 fi
13173
13174 { echo "$as_me:$LINENO: result: $result" >&5
13175 echo "${ECHO_T}$result" >&6; }
13176
13177
13178 enablestring=
13179 defaultval=$wxUSE_ALL_FEATURES
13180 if test -z "$defaultval"; then
13181 if test x"$enablestring" = xdisable; then
13182 defaultval=yes
13183 else
13184 defaultval=no
13185 fi
13186 fi
13187
13188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13189 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13190 # Check whether --enable-splitter was given.
13191 if test "${enable_splitter+set}" = set; then
13192 enableval=$enable_splitter;
13193 if test "$enableval" = yes; then
13194 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13195 else
13196 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13197 fi
13198 cache=yes
13199
13200 else
13201
13202 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13203 if test "x$LINE" != x ; then
13204 eval "DEFAULT_$LINE"
13205 cache=yes
13206 else
13207 cache=no
13208 fi
13209
13210 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13211
13212 fi
13213
13214
13215 eval "$wx_cv_use_splitter"
13216 if test "x$cache" = xyes; then
13217 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13218 fi
13219
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_SPLITTER = yes; then
13222 result=no
13223 else
13224 result=yes
13225 fi
13226 else
13227 result=$wxUSE_SPLITTER
13228 fi
13229
13230 { echo "$as_me:$LINENO: result: $result" >&5
13231 echo "${ECHO_T}$result" >&6; }
13232
13233
13234 enablestring=
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13238 defaultval=yes
13239 else
13240 defaultval=no
13241 fi
13242 fi
13243
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13246 # Check whether --enable-statbmp was given.
13247 if test "${enable_statbmp+set}" = set; then
13248 enableval=$enable_statbmp;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13251 else
13252 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13253 fi
13254 cache=yes
13255
13256 else
13257
13258 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13259 if test "x$LINE" != x ; then
13260 eval "DEFAULT_$LINE"
13261 cache=yes
13262 else
13263 cache=no
13264 fi
13265
13266 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13267
13268 fi
13269
13270
13271 eval "$wx_cv_use_statbmp"
13272 if test "x$cache" = xyes; then
13273 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13274 fi
13275
13276 if test x"$enablestring" = xdisable; then
13277 if test $wxUSE_STATBMP = yes; then
13278 result=no
13279 else
13280 result=yes
13281 fi
13282 else
13283 result=$wxUSE_STATBMP
13284 fi
13285
13286 { echo "$as_me:$LINENO: result: $result" >&5
13287 echo "${ECHO_T}$result" >&6; }
13288
13289
13290 enablestring=
13291 defaultval=$wxUSE_ALL_FEATURES
13292 if test -z "$defaultval"; then
13293 if test x"$enablestring" = xdisable; then
13294 defaultval=yes
13295 else
13296 defaultval=no
13297 fi
13298 fi
13299
13300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13301 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13302 # Check whether --enable-statbox was given.
13303 if test "${enable_statbox+set}" = set; then
13304 enableval=$enable_statbox;
13305 if test "$enableval" = yes; then
13306 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13307 else
13308 wx_cv_use_statbox='wxUSE_STATBOX=no'
13309 fi
13310 cache=yes
13311
13312 else
13313
13314 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13315 if test "x$LINE" != x ; then
13316 eval "DEFAULT_$LINE"
13317 cache=yes
13318 else
13319 cache=no
13320 fi
13321
13322 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13323
13324 fi
13325
13326
13327 eval "$wx_cv_use_statbox"
13328 if test "x$cache" = xyes; then
13329 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13330 fi
13331
13332 if test x"$enablestring" = xdisable; then
13333 if test $wxUSE_STATBOX = yes; then
13334 result=no
13335 else
13336 result=yes
13337 fi
13338 else
13339 result=$wxUSE_STATBOX
13340 fi
13341
13342 { echo "$as_me:$LINENO: result: $result" >&5
13343 echo "${ECHO_T}$result" >&6; }
13344
13345
13346 enablestring=
13347 defaultval=$wxUSE_ALL_FEATURES
13348 if test -z "$defaultval"; then
13349 if test x"$enablestring" = xdisable; then
13350 defaultval=yes
13351 else
13352 defaultval=no
13353 fi
13354 fi
13355
13356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13357 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13358 # Check whether --enable-statline was given.
13359 if test "${enable_statline+set}" = set; then
13360 enableval=$enable_statline;
13361 if test "$enableval" = yes; then
13362 wx_cv_use_statline='wxUSE_STATLINE=yes'
13363 else
13364 wx_cv_use_statline='wxUSE_STATLINE=no'
13365 fi
13366 cache=yes
13367
13368 else
13369
13370 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13371 if test "x$LINE" != x ; then
13372 eval "DEFAULT_$LINE"
13373 cache=yes
13374 else
13375 cache=no
13376 fi
13377
13378 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_statline"
13384 if test "x$cache" = xyes; then
13385 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13386 fi
13387
13388 if test x"$enablestring" = xdisable; then
13389 if test $wxUSE_STATLINE = yes; then
13390 result=no
13391 else
13392 result=yes
13393 fi
13394 else
13395 result=$wxUSE_STATLINE
13396 fi
13397
13398 { echo "$as_me:$LINENO: result: $result" >&5
13399 echo "${ECHO_T}$result" >&6; }
13400
13401
13402 enablestring=
13403 defaultval=$wxUSE_ALL_FEATURES
13404 if test -z "$defaultval"; then
13405 if test x"$enablestring" = xdisable; then
13406 defaultval=yes
13407 else
13408 defaultval=no
13409 fi
13410 fi
13411
13412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13413 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13414 # Check whether --enable-stattext was given.
13415 if test "${enable_stattext+set}" = set; then
13416 enableval=$enable_stattext;
13417 if test "$enableval" = yes; then
13418 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13419 else
13420 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13421 fi
13422 cache=yes
13423
13424 else
13425
13426 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13427 if test "x$LINE" != x ; then
13428 eval "DEFAULT_$LINE"
13429 cache=yes
13430 else
13431 cache=no
13432 fi
13433
13434 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13435
13436 fi
13437
13438
13439 eval "$wx_cv_use_stattext"
13440 if test "x$cache" = xyes; then
13441 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13442 fi
13443
13444 if test x"$enablestring" = xdisable; then
13445 if test $wxUSE_STATTEXT = yes; then
13446 result=no
13447 else
13448 result=yes
13449 fi
13450 else
13451 result=$wxUSE_STATTEXT
13452 fi
13453
13454 { echo "$as_me:$LINENO: result: $result" >&5
13455 echo "${ECHO_T}$result" >&6; }
13456
13457
13458 enablestring=
13459 defaultval=$wxUSE_ALL_FEATURES
13460 if test -z "$defaultval"; then
13461 if test x"$enablestring" = xdisable; then
13462 defaultval=yes
13463 else
13464 defaultval=no
13465 fi
13466 fi
13467
13468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13469 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13470 # Check whether --enable-statusbar was given.
13471 if test "${enable_statusbar+set}" = set; then
13472 enableval=$enable_statusbar;
13473 if test "$enableval" = yes; then
13474 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13475 else
13476 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13477 fi
13478 cache=yes
13479
13480 else
13481
13482 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13483 if test "x$LINE" != x ; then
13484 eval "DEFAULT_$LINE"
13485 cache=yes
13486 else
13487 cache=no
13488 fi
13489
13490 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13491
13492 fi
13493
13494
13495 eval "$wx_cv_use_statusbar"
13496 if test "x$cache" = xyes; then
13497 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13498 fi
13499
13500 if test x"$enablestring" = xdisable; then
13501 if test $wxUSE_STATUSBAR = yes; then
13502 result=no
13503 else
13504 result=yes
13505 fi
13506 else
13507 result=$wxUSE_STATUSBAR
13508 fi
13509
13510 { echo "$as_me:$LINENO: result: $result" >&5
13511 echo "${ECHO_T}$result" >&6; }
13512
13513
13514 enablestring=
13515 defaultval=$wxUSE_ALL_FEATURES
13516 if test -z "$defaultval"; then
13517 if test x"$enablestring" = xdisable; then
13518 defaultval=yes
13519 else
13520 defaultval=no
13521 fi
13522 fi
13523
13524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13525 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13526 # Check whether --enable-tabdialog was given.
13527 if test "${enable_tabdialog+set}" = set; then
13528 enableval=$enable_tabdialog;
13529 if test "$enableval" = yes; then
13530 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13531 else
13532 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13533 fi
13534 cache=yes
13535
13536 else
13537
13538 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13539 if test "x$LINE" != x ; then
13540 eval "DEFAULT_$LINE"
13541 cache=yes
13542 else
13543 cache=no
13544 fi
13545
13546 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13547
13548 fi
13549
13550
13551 eval "$wx_cv_use_tabdialog"
13552 if test "x$cache" = xyes; then
13553 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13554 fi
13555
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_TAB_DIALOG = yes; then
13558 result=no
13559 else
13560 result=yes
13561 fi
13562 else
13563 result=$wxUSE_TAB_DIALOG
13564 fi
13565
13566 { echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13568
13569
13570 enablestring=
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13574 defaultval=yes
13575 else
13576 defaultval=no
13577 fi
13578 fi
13579
13580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13582 # Check whether --enable-taskbaricon was given.
13583 if test "${enable_taskbaricon+set}" = set; then
13584 enableval=$enable_taskbaricon;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13587 else
13588 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13589 fi
13590 cache=yes
13591
13592 else
13593
13594 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13595 if test "x$LINE" != x ; then
13596 eval "DEFAULT_$LINE"
13597 cache=yes
13598 else
13599 cache=no
13600 fi
13601
13602 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13603
13604 fi
13605
13606
13607 eval "$wx_cv_use_taskbaricon"
13608 if test "x$cache" = xyes; then
13609 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13610 fi
13611
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_TASKBARICON = yes; then
13614 result=no
13615 else
13616 result=yes
13617 fi
13618 else
13619 result=$wxUSE_TASKBARICON
13620 fi
13621
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13624
13625
13626 enablestring=
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13630 defaultval=yes
13631 else
13632 defaultval=no
13633 fi
13634 fi
13635
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13638 # Check whether --enable-textctrl was given.
13639 if test "${enable_textctrl+set}" = set; then
13640 enableval=$enable_textctrl;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13643 else
13644 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13645 fi
13646 cache=yes
13647
13648 else
13649
13650 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13651 if test "x$LINE" != x ; then
13652 eval "DEFAULT_$LINE"
13653 cache=yes
13654 else
13655 cache=no
13656 fi
13657
13658 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13659
13660 fi
13661
13662
13663 eval "$wx_cv_use_textctrl"
13664 if test "x$cache" = xyes; then
13665 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13666 fi
13667
13668 if test x"$enablestring" = xdisable; then
13669 if test $wxUSE_TEXTCTRL = yes; then
13670 result=no
13671 else
13672 result=yes
13673 fi
13674 else
13675 result=$wxUSE_TEXTCTRL
13676 fi
13677
13678 { echo "$as_me:$LINENO: result: $result" >&5
13679 echo "${ECHO_T}$result" >&6; }
13680
13681
13682 enablestring=
13683 defaultval=$wxUSE_ALL_FEATURES
13684 if test -z "$defaultval"; then
13685 if test x"$enablestring" = xdisable; then
13686 defaultval=yes
13687 else
13688 defaultval=no
13689 fi
13690 fi
13691
13692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13693 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13694 # Check whether --enable-togglebtn was given.
13695 if test "${enable_togglebtn+set}" = set; then
13696 enableval=$enable_togglebtn;
13697 if test "$enableval" = yes; then
13698 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13699 else
13700 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13701 fi
13702 cache=yes
13703
13704 else
13705
13706 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13707 if test "x$LINE" != x ; then
13708 eval "DEFAULT_$LINE"
13709 cache=yes
13710 else
13711 cache=no
13712 fi
13713
13714 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13715
13716 fi
13717
13718
13719 eval "$wx_cv_use_togglebtn"
13720 if test "x$cache" = xyes; then
13721 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13722 fi
13723
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_TOGGLEBTN = yes; then
13726 result=no
13727 else
13728 result=yes
13729 fi
13730 else
13731 result=$wxUSE_TOGGLEBTN
13732 fi
13733
13734 { echo "$as_me:$LINENO: result: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13736
13737
13738 enablestring=
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13742 defaultval=yes
13743 else
13744 defaultval=no
13745 fi
13746 fi
13747
13748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13749 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13750 # Check whether --enable-toolbar was given.
13751 if test "${enable_toolbar+set}" = set; then
13752 enableval=$enable_toolbar;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13755 else
13756 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13757 fi
13758 cache=yes
13759
13760 else
13761
13762 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13763 if test "x$LINE" != x ; then
13764 eval "DEFAULT_$LINE"
13765 cache=yes
13766 else
13767 cache=no
13768 fi
13769
13770 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13771
13772 fi
13773
13774
13775 eval "$wx_cv_use_toolbar"
13776 if test "x$cache" = xyes; then
13777 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13778 fi
13779
13780 if test x"$enablestring" = xdisable; then
13781 if test $wxUSE_TOOLBAR = yes; then
13782 result=no
13783 else
13784 result=yes
13785 fi
13786 else
13787 result=$wxUSE_TOOLBAR
13788 fi
13789
13790 { echo "$as_me:$LINENO: result: $result" >&5
13791 echo "${ECHO_T}$result" >&6; }
13792
13793
13794 enablestring=
13795 defaultval=$wxUSE_ALL_FEATURES
13796 if test -z "$defaultval"; then
13797 if test x"$enablestring" = xdisable; then
13798 defaultval=yes
13799 else
13800 defaultval=no
13801 fi
13802 fi
13803
13804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13805 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13806 # Check whether --enable-tbarnative was given.
13807 if test "${enable_tbarnative+set}" = set; then
13808 enableval=$enable_tbarnative;
13809 if test "$enableval" = yes; then
13810 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13811 else
13812 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13813 fi
13814 cache=yes
13815
13816 else
13817
13818 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13819 if test "x$LINE" != x ; then
13820 eval "DEFAULT_$LINE"
13821 cache=yes
13822 else
13823 cache=no
13824 fi
13825
13826 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13827
13828 fi
13829
13830
13831 eval "$wx_cv_use_tbarnative"
13832 if test "x$cache" = xyes; then
13833 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13834 fi
13835
13836 if test x"$enablestring" = xdisable; then
13837 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13838 result=no
13839 else
13840 result=yes
13841 fi
13842 else
13843 result=$wxUSE_TOOLBAR_NATIVE
13844 fi
13845
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13848
13849
13850 enablestring=
13851 defaultval=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x"$enablestring" = xdisable; then
13854 defaultval=yes
13855 else
13856 defaultval=no
13857 fi
13858 fi
13859
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13862 # Check whether --enable-treebook was given.
13863 if test "${enable_treebook+set}" = set; then
13864 enableval=$enable_treebook;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13867 else
13868 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13869 fi
13870 cache=yes
13871
13872 else
13873
13874 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13875 if test "x$LINE" != x ; then
13876 eval "DEFAULT_$LINE"
13877 cache=yes
13878 else
13879 cache=no
13880 fi
13881
13882 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13883
13884 fi
13885
13886
13887 eval "$wx_cv_use_treebook"
13888 if test "x$cache" = xyes; then
13889 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13890 fi
13891
13892 if test x"$enablestring" = xdisable; then
13893 if test $wxUSE_TREEBOOK = yes; then
13894 result=no
13895 else
13896 result=yes
13897 fi
13898 else
13899 result=$wxUSE_TREEBOOK
13900 fi
13901
13902 { echo "$as_me:$LINENO: result: $result" >&5
13903 echo "${ECHO_T}$result" >&6; }
13904
13905
13906 enablestring=
13907 defaultval=$wxUSE_ALL_FEATURES
13908 if test -z "$defaultval"; then
13909 if test x"$enablestring" = xdisable; then
13910 defaultval=yes
13911 else
13912 defaultval=no
13913 fi
13914 fi
13915
13916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13917 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13918 # Check whether --enable-toolbook was given.
13919 if test "${enable_toolbook+set}" = set; then
13920 enableval=$enable_toolbook;
13921 if test "$enableval" = yes; then
13922 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13923 else
13924 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13925 fi
13926 cache=yes
13927
13928 else
13929
13930 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13931 if test "x$LINE" != x ; then
13932 eval "DEFAULT_$LINE"
13933 cache=yes
13934 else
13935 cache=no
13936 fi
13937
13938 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13939
13940 fi
13941
13942
13943 eval "$wx_cv_use_toolbook"
13944 if test "x$cache" = xyes; then
13945 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13946 fi
13947
13948 if test x"$enablestring" = xdisable; then
13949 if test $wxUSE_TOOLBOOK = yes; then
13950 result=no
13951 else
13952 result=yes
13953 fi
13954 else
13955 result=$wxUSE_TOOLBOOK
13956 fi
13957
13958 { echo "$as_me:$LINENO: result: $result" >&5
13959 echo "${ECHO_T}$result" >&6; }
13960
13961
13962 enablestring=
13963 defaultval=$wxUSE_ALL_FEATURES
13964 if test -z "$defaultval"; then
13965 if test x"$enablestring" = xdisable; then
13966 defaultval=yes
13967 else
13968 defaultval=no
13969 fi
13970 fi
13971
13972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13973 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13974 # Check whether --enable-treectrl was given.
13975 if test "${enable_treectrl+set}" = set; then
13976 enableval=$enable_treectrl;
13977 if test "$enableval" = yes; then
13978 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13979 else
13980 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13981 fi
13982 cache=yes
13983
13984 else
13985
13986 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13987 if test "x$LINE" != x ; then
13988 eval "DEFAULT_$LINE"
13989 cache=yes
13990 else
13991 cache=no
13992 fi
13993
13994 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13995
13996 fi
13997
13998
13999 eval "$wx_cv_use_treectrl"
14000 if test "x$cache" = xyes; then
14001 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14002 fi
14003
14004 if test x"$enablestring" = xdisable; then
14005 if test $wxUSE_TREECTRL = yes; then
14006 result=no
14007 else
14008 result=yes
14009 fi
14010 else
14011 result=$wxUSE_TREECTRL
14012 fi
14013
14014 { echo "$as_me:$LINENO: result: $result" >&5
14015 echo "${ECHO_T}$result" >&6; }
14016
14017
14018 enablestring=
14019 defaultval=$wxUSE_ALL_FEATURES
14020 if test -z "$defaultval"; then
14021 if test x"$enablestring" = xdisable; then
14022 defaultval=yes
14023 else
14024 defaultval=no
14025 fi
14026 fi
14027
14028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14029 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14030 # Check whether --enable-tipwindow was given.
14031 if test "${enable_tipwindow+set}" = set; then
14032 enableval=$enable_tipwindow;
14033 if test "$enableval" = yes; then
14034 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14035 else
14036 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14037 fi
14038 cache=yes
14039
14040 else
14041
14042 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14043 if test "x$LINE" != x ; then
14044 eval "DEFAULT_$LINE"
14045 cache=yes
14046 else
14047 cache=no
14048 fi
14049
14050 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14051
14052 fi
14053
14054
14055 eval "$wx_cv_use_tipwindow"
14056 if test "x$cache" = xyes; then
14057 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14058 fi
14059
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_TIPWINDOW = yes; then
14062 result=no
14063 else
14064 result=yes
14065 fi
14066 else
14067 result=$wxUSE_TIPWINDOW
14068 fi
14069
14070 { echo "$as_me:$LINENO: result: $result" >&5
14071 echo "${ECHO_T}$result" >&6; }
14072
14073
14074 enablestring=
14075 defaultval=$wxUSE_ALL_FEATURES
14076 if test -z "$defaultval"; then
14077 if test x"$enablestring" = xdisable; then
14078 defaultval=yes
14079 else
14080 defaultval=no
14081 fi
14082 fi
14083
14084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14085 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14086 # Check whether --enable-popupwin was given.
14087 if test "${enable_popupwin+set}" = set; then
14088 enableval=$enable_popupwin;
14089 if test "$enableval" = yes; then
14090 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14091 else
14092 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14093 fi
14094 cache=yes
14095
14096 else
14097
14098 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14099 if test "x$LINE" != x ; then
14100 eval "DEFAULT_$LINE"
14101 cache=yes
14102 else
14103 cache=no
14104 fi
14105
14106 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14107
14108 fi
14109
14110
14111 eval "$wx_cv_use_popupwin"
14112 if test "x$cache" = xyes; then
14113 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14114 fi
14115
14116 if test x"$enablestring" = xdisable; then
14117 if test $wxUSE_POPUPWIN = yes; then
14118 result=no
14119 else
14120 result=yes
14121 fi
14122 else
14123 result=$wxUSE_POPUPWIN
14124 fi
14125
14126 { echo "$as_me:$LINENO: result: $result" >&5
14127 echo "${ECHO_T}$result" >&6; }
14128
14129
14130
14131
14132 enablestring=
14133 defaultval=$wxUSE_ALL_FEATURES
14134 if test -z "$defaultval"; then
14135 if test x"$enablestring" = xdisable; then
14136 defaultval=yes
14137 else
14138 defaultval=no
14139 fi
14140 fi
14141
14142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14143 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14144 # Check whether --enable-commondlg was given.
14145 if test "${enable_commondlg+set}" = set; then
14146 enableval=$enable_commondlg;
14147 if test "$enableval" = yes; then
14148 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14149 else
14150 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14151 fi
14152 cache=yes
14153
14154 else
14155
14156 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14157 if test "x$LINE" != x ; then
14158 eval "DEFAULT_$LINE"
14159 cache=yes
14160 else
14161 cache=no
14162 fi
14163
14164 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14165
14166 fi
14167
14168
14169 eval "$wx_cv_use_commondlg"
14170 if test "x$cache" = xyes; then
14171 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14172 fi
14173
14174 if test x"$enablestring" = xdisable; then
14175 if test $wxUSE_COMMONDLGS = yes; then
14176 result=no
14177 else
14178 result=yes
14179 fi
14180 else
14181 result=$wxUSE_COMMONDLGS
14182 fi
14183
14184 { echo "$as_me:$LINENO: result: $result" >&5
14185 echo "${ECHO_T}$result" >&6; }
14186
14187
14188 enablestring=
14189 defaultval=$wxUSE_ALL_FEATURES
14190 if test -z "$defaultval"; then
14191 if test x"$enablestring" = xdisable; then
14192 defaultval=yes
14193 else
14194 defaultval=no
14195 fi
14196 fi
14197
14198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14199 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14200 # Check whether --enable-aboutdlg was given.
14201 if test "${enable_aboutdlg+set}" = set; then
14202 enableval=$enable_aboutdlg;
14203 if test "$enableval" = yes; then
14204 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14205 else
14206 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14207 fi
14208 cache=yes
14209
14210 else
14211
14212 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14213 if test "x$LINE" != x ; then
14214 eval "DEFAULT_$LINE"
14215 cache=yes
14216 else
14217 cache=no
14218 fi
14219
14220 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14221
14222 fi
14223
14224
14225 eval "$wx_cv_use_aboutdlg"
14226 if test "x$cache" = xyes; then
14227 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14228 fi
14229
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_ABOUTDLG = yes; then
14232 result=no
14233 else
14234 result=yes
14235 fi
14236 else
14237 result=$wxUSE_ABOUTDLG
14238 fi
14239
14240 { echo "$as_me:$LINENO: result: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14242
14243
14244 enablestring=
14245 defaultval=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x"$enablestring" = xdisable; then
14248 defaultval=yes
14249 else
14250 defaultval=no
14251 fi
14252 fi
14253
14254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14255 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14256 # Check whether --enable-choicedlg was given.
14257 if test "${enable_choicedlg+set}" = set; then
14258 enableval=$enable_choicedlg;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14261 else
14262 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14263 fi
14264 cache=yes
14265
14266 else
14267
14268 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14269 if test "x$LINE" != x ; then
14270 eval "DEFAULT_$LINE"
14271 cache=yes
14272 else
14273 cache=no
14274 fi
14275
14276 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14277
14278 fi
14279
14280
14281 eval "$wx_cv_use_choicedlg"
14282 if test "x$cache" = xyes; then
14283 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14284 fi
14285
14286 if test x"$enablestring" = xdisable; then
14287 if test $wxUSE_CHOICEDLG = yes; then
14288 result=no
14289 else
14290 result=yes
14291 fi
14292 else
14293 result=$wxUSE_CHOICEDLG
14294 fi
14295
14296 { echo "$as_me:$LINENO: result: $result" >&5
14297 echo "${ECHO_T}$result" >&6; }
14298
14299
14300 enablestring=
14301 defaultval=$wxUSE_ALL_FEATURES
14302 if test -z "$defaultval"; then
14303 if test x"$enablestring" = xdisable; then
14304 defaultval=yes
14305 else
14306 defaultval=no
14307 fi
14308 fi
14309
14310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14311 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14312 # Check whether --enable-coldlg was given.
14313 if test "${enable_coldlg+set}" = set; then
14314 enableval=$enable_coldlg;
14315 if test "$enableval" = yes; then
14316 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14317 else
14318 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14319 fi
14320 cache=yes
14321
14322 else
14323
14324 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14325 if test "x$LINE" != x ; then
14326 eval "DEFAULT_$LINE"
14327 cache=yes
14328 else
14329 cache=no
14330 fi
14331
14332 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14333
14334 fi
14335
14336
14337 eval "$wx_cv_use_coldlg"
14338 if test "x$cache" = xyes; then
14339 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14340 fi
14341
14342 if test x"$enablestring" = xdisable; then
14343 if test $wxUSE_COLOURDLG = yes; then
14344 result=no
14345 else
14346 result=yes
14347 fi
14348 else
14349 result=$wxUSE_COLOURDLG
14350 fi
14351
14352 { echo "$as_me:$LINENO: result: $result" >&5
14353 echo "${ECHO_T}$result" >&6; }
14354
14355
14356 enablestring=
14357 defaultval=$wxUSE_ALL_FEATURES
14358 if test -z "$defaultval"; then
14359 if test x"$enablestring" = xdisable; then
14360 defaultval=yes
14361 else
14362 defaultval=no
14363 fi
14364 fi
14365
14366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14367 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14368 # Check whether --enable-filedlg was given.
14369 if test "${enable_filedlg+set}" = set; then
14370 enableval=$enable_filedlg;
14371 if test "$enableval" = yes; then
14372 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14373 else
14374 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14375 fi
14376 cache=yes
14377
14378 else
14379
14380 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14381 if test "x$LINE" != x ; then
14382 eval "DEFAULT_$LINE"
14383 cache=yes
14384 else
14385 cache=no
14386 fi
14387
14388 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14389
14390 fi
14391
14392
14393 eval "$wx_cv_use_filedlg"
14394 if test "x$cache" = xyes; then
14395 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14396 fi
14397
14398 if test x"$enablestring" = xdisable; then
14399 if test $wxUSE_FILEDLG = yes; then
14400 result=no
14401 else
14402 result=yes
14403 fi
14404 else
14405 result=$wxUSE_FILEDLG
14406 fi
14407
14408 { echo "$as_me:$LINENO: result: $result" >&5
14409 echo "${ECHO_T}$result" >&6; }
14410
14411
14412 enablestring=
14413 defaultval=$wxUSE_ALL_FEATURES
14414 if test -z "$defaultval"; then
14415 if test x"$enablestring" = xdisable; then
14416 defaultval=yes
14417 else
14418 defaultval=no
14419 fi
14420 fi
14421
14422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14423 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14424 # Check whether --enable-finddlg was given.
14425 if test "${enable_finddlg+set}" = set; then
14426 enableval=$enable_finddlg;
14427 if test "$enableval" = yes; then
14428 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14429 else
14430 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14431 fi
14432 cache=yes
14433
14434 else
14435
14436 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14437 if test "x$LINE" != x ; then
14438 eval "DEFAULT_$LINE"
14439 cache=yes
14440 else
14441 cache=no
14442 fi
14443
14444 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14445
14446 fi
14447
14448
14449 eval "$wx_cv_use_finddlg"
14450 if test "x$cache" = xyes; then
14451 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14452 fi
14453
14454 if test x"$enablestring" = xdisable; then
14455 if test $wxUSE_FINDREPLDLG = yes; then
14456 result=no
14457 else
14458 result=yes
14459 fi
14460 else
14461 result=$wxUSE_FINDREPLDLG
14462 fi
14463
14464 { echo "$as_me:$LINENO: result: $result" >&5
14465 echo "${ECHO_T}$result" >&6; }
14466
14467
14468 enablestring=
14469 defaultval=$wxUSE_ALL_FEATURES
14470 if test -z "$defaultval"; then
14471 if test x"$enablestring" = xdisable; then
14472 defaultval=yes
14473 else
14474 defaultval=no
14475 fi
14476 fi
14477
14478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14479 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14480 # Check whether --enable-fontdlg was given.
14481 if test "${enable_fontdlg+set}" = set; then
14482 enableval=$enable_fontdlg;
14483 if test "$enableval" = yes; then
14484 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14485 else
14486 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14487 fi
14488 cache=yes
14489
14490 else
14491
14492 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14493 if test "x$LINE" != x ; then
14494 eval "DEFAULT_$LINE"
14495 cache=yes
14496 else
14497 cache=no
14498 fi
14499
14500 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14501
14502 fi
14503
14504
14505 eval "$wx_cv_use_fontdlg"
14506 if test "x$cache" = xyes; then
14507 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14508 fi
14509
14510 if test x"$enablestring" = xdisable; then
14511 if test $wxUSE_FONTDLG = yes; then
14512 result=no
14513 else
14514 result=yes
14515 fi
14516 else
14517 result=$wxUSE_FONTDLG
14518 fi
14519
14520 { echo "$as_me:$LINENO: result: $result" >&5
14521 echo "${ECHO_T}$result" >&6; }
14522
14523
14524 enablestring=
14525 defaultval=$wxUSE_ALL_FEATURES
14526 if test -z "$defaultval"; then
14527 if test x"$enablestring" = xdisable; then
14528 defaultval=yes
14529 else
14530 defaultval=no
14531 fi
14532 fi
14533
14534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14535 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14536 # Check whether --enable-dirdlg was given.
14537 if test "${enable_dirdlg+set}" = set; then
14538 enableval=$enable_dirdlg;
14539 if test "$enableval" = yes; then
14540 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14541 else
14542 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14543 fi
14544 cache=yes
14545
14546 else
14547
14548 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14549 if test "x$LINE" != x ; then
14550 eval "DEFAULT_$LINE"
14551 cache=yes
14552 else
14553 cache=no
14554 fi
14555
14556 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14557
14558 fi
14559
14560
14561 eval "$wx_cv_use_dirdlg"
14562 if test "x$cache" = xyes; then
14563 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14564 fi
14565
14566 if test x"$enablestring" = xdisable; then
14567 if test $wxUSE_DIRDLG = yes; then
14568 result=no
14569 else
14570 result=yes
14571 fi
14572 else
14573 result=$wxUSE_DIRDLG
14574 fi
14575
14576 { echo "$as_me:$LINENO: result: $result" >&5
14577 echo "${ECHO_T}$result" >&6; }
14578
14579
14580 enablestring=
14581 defaultval=$wxUSE_ALL_FEATURES
14582 if test -z "$defaultval"; then
14583 if test x"$enablestring" = xdisable; then
14584 defaultval=yes
14585 else
14586 defaultval=no
14587 fi
14588 fi
14589
14590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14591 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14592 # Check whether --enable-msgdlg was given.
14593 if test "${enable_msgdlg+set}" = set; then
14594 enableval=$enable_msgdlg;
14595 if test "$enableval" = yes; then
14596 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14597 else
14598 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14599 fi
14600 cache=yes
14601
14602 else
14603
14604 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14605 if test "x$LINE" != x ; then
14606 eval "DEFAULT_$LINE"
14607 cache=yes
14608 else
14609 cache=no
14610 fi
14611
14612 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14613
14614 fi
14615
14616
14617 eval "$wx_cv_use_msgdlg"
14618 if test "x$cache" = xyes; then
14619 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14620 fi
14621
14622 if test x"$enablestring" = xdisable; then
14623 if test $wxUSE_MSGDLG = yes; then
14624 result=no
14625 else
14626 result=yes
14627 fi
14628 else
14629 result=$wxUSE_MSGDLG
14630 fi
14631
14632 { echo "$as_me:$LINENO: result: $result" >&5
14633 echo "${ECHO_T}$result" >&6; }
14634
14635
14636 enablestring=
14637 defaultval=$wxUSE_ALL_FEATURES
14638 if test -z "$defaultval"; then
14639 if test x"$enablestring" = xdisable; then
14640 defaultval=yes
14641 else
14642 defaultval=no
14643 fi
14644 fi
14645
14646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14647 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14648 # Check whether --enable-numberdlg was given.
14649 if test "${enable_numberdlg+set}" = set; then
14650 enableval=$enable_numberdlg;
14651 if test "$enableval" = yes; then
14652 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14653 else
14654 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14655 fi
14656 cache=yes
14657
14658 else
14659
14660 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14661 if test "x$LINE" != x ; then
14662 eval "DEFAULT_$LINE"
14663 cache=yes
14664 else
14665 cache=no
14666 fi
14667
14668 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14669
14670 fi
14671
14672
14673 eval "$wx_cv_use_numberdlg"
14674 if test "x$cache" = xyes; then
14675 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14676 fi
14677
14678 if test x"$enablestring" = xdisable; then
14679 if test $wxUSE_NUMBERDLG = yes; then
14680 result=no
14681 else
14682 result=yes
14683 fi
14684 else
14685 result=$wxUSE_NUMBERDLG
14686 fi
14687
14688 { echo "$as_me:$LINENO: result: $result" >&5
14689 echo "${ECHO_T}$result" >&6; }
14690
14691
14692 enablestring=
14693 defaultval=$wxUSE_ALL_FEATURES
14694 if test -z "$defaultval"; then
14695 if test x"$enablestring" = xdisable; then
14696 defaultval=yes
14697 else
14698 defaultval=no
14699 fi
14700 fi
14701
14702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14703 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14704 # Check whether --enable-splash was given.
14705 if test "${enable_splash+set}" = set; then
14706 enableval=$enable_splash;
14707 if test "$enableval" = yes; then
14708 wx_cv_use_splash='wxUSE_SPLASH=yes'
14709 else
14710 wx_cv_use_splash='wxUSE_SPLASH=no'
14711 fi
14712 cache=yes
14713
14714 else
14715
14716 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14717 if test "x$LINE" != x ; then
14718 eval "DEFAULT_$LINE"
14719 cache=yes
14720 else
14721 cache=no
14722 fi
14723
14724 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14725
14726 fi
14727
14728
14729 eval "$wx_cv_use_splash"
14730 if test "x$cache" = xyes; then
14731 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14732 fi
14733
14734 if test x"$enablestring" = xdisable; then
14735 if test $wxUSE_SPLASH = yes; then
14736 result=no
14737 else
14738 result=yes
14739 fi
14740 else
14741 result=$wxUSE_SPLASH
14742 fi
14743
14744 { echo "$as_me:$LINENO: result: $result" >&5
14745 echo "${ECHO_T}$result" >&6; }
14746
14747
14748 enablestring=
14749 defaultval=$wxUSE_ALL_FEATURES
14750 if test -z "$defaultval"; then
14751 if test x"$enablestring" = xdisable; then
14752 defaultval=yes
14753 else
14754 defaultval=no
14755 fi
14756 fi
14757
14758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14759 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14760 # Check whether --enable-textdlg was given.
14761 if test "${enable_textdlg+set}" = set; then
14762 enableval=$enable_textdlg;
14763 if test "$enableval" = yes; then
14764 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14765 else
14766 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14767 fi
14768 cache=yes
14769
14770 else
14771
14772 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14773 if test "x$LINE" != x ; then
14774 eval "DEFAULT_$LINE"
14775 cache=yes
14776 else
14777 cache=no
14778 fi
14779
14780 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14781
14782 fi
14783
14784
14785 eval "$wx_cv_use_textdlg"
14786 if test "x$cache" = xyes; then
14787 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14788 fi
14789
14790 if test x"$enablestring" = xdisable; then
14791 if test $wxUSE_TEXTDLG = yes; then
14792 result=no
14793 else
14794 result=yes
14795 fi
14796 else
14797 result=$wxUSE_TEXTDLG
14798 fi
14799
14800 { echo "$as_me:$LINENO: result: $result" >&5
14801 echo "${ECHO_T}$result" >&6; }
14802
14803
14804 enablestring=
14805 defaultval=$wxUSE_ALL_FEATURES
14806 if test -z "$defaultval"; then
14807 if test x"$enablestring" = xdisable; then
14808 defaultval=yes
14809 else
14810 defaultval=no
14811 fi
14812 fi
14813
14814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14815 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14816 # Check whether --enable-tipdlg was given.
14817 if test "${enable_tipdlg+set}" = set; then
14818 enableval=$enable_tipdlg;
14819 if test "$enableval" = yes; then
14820 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14821 else
14822 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14823 fi
14824 cache=yes
14825
14826 else
14827
14828 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14829 if test "x$LINE" != x ; then
14830 eval "DEFAULT_$LINE"
14831 cache=yes
14832 else
14833 cache=no
14834 fi
14835
14836 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14837
14838 fi
14839
14840
14841 eval "$wx_cv_use_tipdlg"
14842 if test "x$cache" = xyes; then
14843 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14844 fi
14845
14846 if test x"$enablestring" = xdisable; then
14847 if test $wxUSE_STARTUP_TIPS = yes; then
14848 result=no
14849 else
14850 result=yes
14851 fi
14852 else
14853 result=$wxUSE_STARTUP_TIPS
14854 fi
14855
14856 { echo "$as_me:$LINENO: result: $result" >&5
14857 echo "${ECHO_T}$result" >&6; }
14858
14859
14860 enablestring=
14861 defaultval=$wxUSE_ALL_FEATURES
14862 if test -z "$defaultval"; then
14863 if test x"$enablestring" = xdisable; then
14864 defaultval=yes
14865 else
14866 defaultval=no
14867 fi
14868 fi
14869
14870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14871 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14872 # Check whether --enable-progressdlg was given.
14873 if test "${enable_progressdlg+set}" = set; then
14874 enableval=$enable_progressdlg;
14875 if test "$enableval" = yes; then
14876 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14877 else
14878 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14879 fi
14880 cache=yes
14881
14882 else
14883
14884 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14885 if test "x$LINE" != x ; then
14886 eval "DEFAULT_$LINE"
14887 cache=yes
14888 else
14889 cache=no
14890 fi
14891
14892 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14893
14894 fi
14895
14896
14897 eval "$wx_cv_use_progressdlg"
14898 if test "x$cache" = xyes; then
14899 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14900 fi
14901
14902 if test x"$enablestring" = xdisable; then
14903 if test $wxUSE_PROGRESSDLG = yes; then
14904 result=no
14905 else
14906 result=yes
14907 fi
14908 else
14909 result=$wxUSE_PROGRESSDLG
14910 fi
14911
14912 { echo "$as_me:$LINENO: result: $result" >&5
14913 echo "${ECHO_T}$result" >&6; }
14914
14915
14916 enablestring=
14917 defaultval=$wxUSE_ALL_FEATURES
14918 if test -z "$defaultval"; then
14919 if test x"$enablestring" = xdisable; then
14920 defaultval=yes
14921 else
14922 defaultval=no
14923 fi
14924 fi
14925
14926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14927 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14928 # Check whether --enable-wizarddlg was given.
14929 if test "${enable_wizarddlg+set}" = set; then
14930 enableval=$enable_wizarddlg;
14931 if test "$enableval" = yes; then
14932 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14933 else
14934 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14935 fi
14936 cache=yes
14937
14938 else
14939
14940 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14941 if test "x$LINE" != x ; then
14942 eval "DEFAULT_$LINE"
14943 cache=yes
14944 else
14945 cache=no
14946 fi
14947
14948 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14949
14950 fi
14951
14952
14953 eval "$wx_cv_use_wizarddlg"
14954 if test "x$cache" = xyes; then
14955 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14956 fi
14957
14958 if test x"$enablestring" = xdisable; then
14959 if test $wxUSE_WIZARDDLG = yes; then
14960 result=no
14961 else
14962 result=yes
14963 fi
14964 else
14965 result=$wxUSE_WIZARDDLG
14966 fi
14967
14968 { echo "$as_me:$LINENO: result: $result" >&5
14969 echo "${ECHO_T}$result" >&6; }
14970
14971
14972
14973
14974 enablestring=
14975 defaultval=$wxUSE_ALL_FEATURES
14976 if test -z "$defaultval"; then
14977 if test x"$enablestring" = xdisable; then
14978 defaultval=yes
14979 else
14980 defaultval=no
14981 fi
14982 fi
14983
14984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14985 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14986 # Check whether --enable-menus was given.
14987 if test "${enable_menus+set}" = set; then
14988 enableval=$enable_menus;
14989 if test "$enableval" = yes; then
14990 wx_cv_use_menus='wxUSE_MENUS=yes'
14991 else
14992 wx_cv_use_menus='wxUSE_MENUS=no'
14993 fi
14994 cache=yes
14995
14996 else
14997
14998 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14999 if test "x$LINE" != x ; then
15000 eval "DEFAULT_$LINE"
15001 cache=yes
15002 else
15003 cache=no
15004 fi
15005
15006 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15007
15008 fi
15009
15010
15011 eval "$wx_cv_use_menus"
15012 if test "x$cache" = xyes; then
15013 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15014 fi
15015
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_MENUS = yes; then
15018 result=no
15019 else
15020 result=yes
15021 fi
15022 else
15023 result=$wxUSE_MENUS
15024 fi
15025
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15028
15029
15030 enablestring=
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15034 defaultval=yes
15035 else
15036 defaultval=no
15037 fi
15038 fi
15039
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15042 # Check whether --enable-miniframe was given.
15043 if test "${enable_miniframe+set}" = set; then
15044 enableval=$enable_miniframe;
15045 if test "$enableval" = yes; then
15046 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15047 else
15048 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15049 fi
15050 cache=yes
15051
15052 else
15053
15054 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15057 cache=yes
15058 else
15059 cache=no
15060 fi
15061
15062 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15063
15064 fi
15065
15066
15067 eval "$wx_cv_use_miniframe"
15068 if test "x$cache" = xyes; then
15069 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15070 fi
15071
15072 if test x"$enablestring" = xdisable; then
15073 if test $wxUSE_MINIFRAME = yes; then
15074 result=no
15075 else
15076 result=yes
15077 fi
15078 else
15079 result=$wxUSE_MINIFRAME
15080 fi
15081
15082 { echo "$as_me:$LINENO: result: $result" >&5
15083 echo "${ECHO_T}$result" >&6; }
15084
15085
15086 enablestring=
15087 defaultval=$wxUSE_ALL_FEATURES
15088 if test -z "$defaultval"; then
15089 if test x"$enablestring" = xdisable; then
15090 defaultval=yes
15091 else
15092 defaultval=no
15093 fi
15094 fi
15095
15096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15097 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15098 # Check whether --enable-tooltips was given.
15099 if test "${enable_tooltips+set}" = set; then
15100 enableval=$enable_tooltips;
15101 if test "$enableval" = yes; then
15102 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15103 else
15104 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15105 fi
15106 cache=yes
15107
15108 else
15109
15110 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15111 if test "x$LINE" != x ; then
15112 eval "DEFAULT_$LINE"
15113 cache=yes
15114 else
15115 cache=no
15116 fi
15117
15118 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15119
15120 fi
15121
15122
15123 eval "$wx_cv_use_tooltips"
15124 if test "x$cache" = xyes; then
15125 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15126 fi
15127
15128 if test x"$enablestring" = xdisable; then
15129 if test $wxUSE_TOOLTIPS = yes; then
15130 result=no
15131 else
15132 result=yes
15133 fi
15134 else
15135 result=$wxUSE_TOOLTIPS
15136 fi
15137
15138 { echo "$as_me:$LINENO: result: $result" >&5
15139 echo "${ECHO_T}$result" >&6; }
15140
15141
15142 enablestring=
15143 defaultval=$wxUSE_ALL_FEATURES
15144 if test -z "$defaultval"; then
15145 if test x"$enablestring" = xdisable; then
15146 defaultval=yes
15147 else
15148 defaultval=no
15149 fi
15150 fi
15151
15152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15153 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15154 # Check whether --enable-splines was given.
15155 if test "${enable_splines+set}" = set; then
15156 enableval=$enable_splines;
15157 if test "$enableval" = yes; then
15158 wx_cv_use_splines='wxUSE_SPLINES=yes'
15159 else
15160 wx_cv_use_splines='wxUSE_SPLINES=no'
15161 fi
15162 cache=yes
15163
15164 else
15165
15166 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15167 if test "x$LINE" != x ; then
15168 eval "DEFAULT_$LINE"
15169 cache=yes
15170 else
15171 cache=no
15172 fi
15173
15174 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15175
15176 fi
15177
15178
15179 eval "$wx_cv_use_splines"
15180 if test "x$cache" = xyes; then
15181 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15182 fi
15183
15184 if test x"$enablestring" = xdisable; then
15185 if test $wxUSE_SPLINES = yes; then
15186 result=no
15187 else
15188 result=yes
15189 fi
15190 else
15191 result=$wxUSE_SPLINES
15192 fi
15193
15194 { echo "$as_me:$LINENO: result: $result" >&5
15195 echo "${ECHO_T}$result" >&6; }
15196
15197
15198 enablestring=
15199 defaultval=$wxUSE_ALL_FEATURES
15200 if test -z "$defaultval"; then
15201 if test x"$enablestring" = xdisable; then
15202 defaultval=yes
15203 else
15204 defaultval=no
15205 fi
15206 fi
15207
15208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15209 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15210 # Check whether --enable-mousewheel was given.
15211 if test "${enable_mousewheel+set}" = set; then
15212 enableval=$enable_mousewheel;
15213 if test "$enableval" = yes; then
15214 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15215 else
15216 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15217 fi
15218 cache=yes
15219
15220 else
15221
15222 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15223 if test "x$LINE" != x ; then
15224 eval "DEFAULT_$LINE"
15225 cache=yes
15226 else
15227 cache=no
15228 fi
15229
15230 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15231
15232 fi
15233
15234
15235 eval "$wx_cv_use_mousewheel"
15236 if test "x$cache" = xyes; then
15237 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15238 fi
15239
15240 if test x"$enablestring" = xdisable; then
15241 if test $wxUSE_MOUSEWHEEL = yes; then
15242 result=no
15243 else
15244 result=yes
15245 fi
15246 else
15247 result=$wxUSE_MOUSEWHEEL
15248 fi
15249
15250 { echo "$as_me:$LINENO: result: $result" >&5
15251 echo "${ECHO_T}$result" >&6; }
15252
15253
15254 enablestring=
15255 defaultval=$wxUSE_ALL_FEATURES
15256 if test -z "$defaultval"; then
15257 if test x"$enablestring" = xdisable; then
15258 defaultval=yes
15259 else
15260 defaultval=no
15261 fi
15262 fi
15263
15264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15265 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15266 # Check whether --enable-validators was given.
15267 if test "${enable_validators+set}" = set; then
15268 enableval=$enable_validators;
15269 if test "$enableval" = yes; then
15270 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15271 else
15272 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15273 fi
15274 cache=yes
15275
15276 else
15277
15278 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15279 if test "x$LINE" != x ; then
15280 eval "DEFAULT_$LINE"
15281 cache=yes
15282 else
15283 cache=no
15284 fi
15285
15286 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15287
15288 fi
15289
15290
15291 eval "$wx_cv_use_validators"
15292 if test "x$cache" = xyes; then
15293 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15294 fi
15295
15296 if test x"$enablestring" = xdisable; then
15297 if test $wxUSE_VALIDATORS = yes; then
15298 result=no
15299 else
15300 result=yes
15301 fi
15302 else
15303 result=$wxUSE_VALIDATORS
15304 fi
15305
15306 { echo "$as_me:$LINENO: result: $result" >&5
15307 echo "${ECHO_T}$result" >&6; }
15308
15309
15310 enablestring=
15311 defaultval=$wxUSE_ALL_FEATURES
15312 if test -z "$defaultval"; then
15313 if test x"$enablestring" = xdisable; then
15314 defaultval=yes
15315 else
15316 defaultval=no
15317 fi
15318 fi
15319
15320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15321 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15322 # Check whether --enable-busyinfo was given.
15323 if test "${enable_busyinfo+set}" = set; then
15324 enableval=$enable_busyinfo;
15325 if test "$enableval" = yes; then
15326 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15327 else
15328 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15329 fi
15330 cache=yes
15331
15332 else
15333
15334 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15335 if test "x$LINE" != x ; then
15336 eval "DEFAULT_$LINE"
15337 cache=yes
15338 else
15339 cache=no
15340 fi
15341
15342 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15343
15344 fi
15345
15346
15347 eval "$wx_cv_use_busyinfo"
15348 if test "x$cache" = xyes; then
15349 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15350 fi
15351
15352 if test x"$enablestring" = xdisable; then
15353 if test $wxUSE_BUSYINFO = yes; then
15354 result=no
15355 else
15356 result=yes
15357 fi
15358 else
15359 result=$wxUSE_BUSYINFO
15360 fi
15361
15362 { echo "$as_me:$LINENO: result: $result" >&5
15363 echo "${ECHO_T}$result" >&6; }
15364
15365
15366 enablestring=
15367 defaultval=$wxUSE_ALL_FEATURES
15368 if test -z "$defaultval"; then
15369 if test x"$enablestring" = xdisable; then
15370 defaultval=yes
15371 else
15372 defaultval=no
15373 fi
15374 fi
15375
15376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15377 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15378 # Check whether --enable-joystick was given.
15379 if test "${enable_joystick+set}" = set; then
15380 enableval=$enable_joystick;
15381 if test "$enableval" = yes; then
15382 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15383 else
15384 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15385 fi
15386 cache=yes
15387
15388 else
15389
15390 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15391 if test "x$LINE" != x ; then
15392 eval "DEFAULT_$LINE"
15393 cache=yes
15394 else
15395 cache=no
15396 fi
15397
15398 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15399
15400 fi
15401
15402
15403 eval "$wx_cv_use_joystick"
15404 if test "x$cache" = xyes; then
15405 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15406 fi
15407
15408 if test x"$enablestring" = xdisable; then
15409 if test $wxUSE_JOYSTICK = yes; then
15410 result=no
15411 else
15412 result=yes
15413 fi
15414 else
15415 result=$wxUSE_JOYSTICK
15416 fi
15417
15418 { echo "$as_me:$LINENO: result: $result" >&5
15419 echo "${ECHO_T}$result" >&6; }
15420
15421
15422 enablestring=
15423 defaultval=$wxUSE_ALL_FEATURES
15424 if test -z "$defaultval"; then
15425 if test x"$enablestring" = xdisable; then
15426 defaultval=yes
15427 else
15428 defaultval=no
15429 fi
15430 fi
15431
15432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15433 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15434 # Check whether --enable-metafile was given.
15435 if test "${enable_metafile+set}" = set; then
15436 enableval=$enable_metafile;
15437 if test "$enableval" = yes; then
15438 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15439 else
15440 wx_cv_use_metafile='wxUSE_METAFILE=no'
15441 fi
15442 cache=yes
15443
15444 else
15445
15446 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15447 if test "x$LINE" != x ; then
15448 eval "DEFAULT_$LINE"
15449 cache=yes
15450 else
15451 cache=no
15452 fi
15453
15454 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15455
15456 fi
15457
15458
15459 eval "$wx_cv_use_metafile"
15460 if test "x$cache" = xyes; then
15461 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15462 fi
15463
15464 if test x"$enablestring" = xdisable; then
15465 if test $wxUSE_METAFILE = yes; then
15466 result=no
15467 else
15468 result=yes
15469 fi
15470 else
15471 result=$wxUSE_METAFILE
15472 fi
15473
15474 { echo "$as_me:$LINENO: result: $result" >&5
15475 echo "${ECHO_T}$result" >&6; }
15476
15477
15478 enablestring=
15479 defaultval=$wxUSE_ALL_FEATURES
15480 if test -z "$defaultval"; then
15481 if test x"$enablestring" = xdisable; then
15482 defaultval=yes
15483 else
15484 defaultval=no
15485 fi
15486 fi
15487
15488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15489 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15490 # Check whether --enable-dragimage was given.
15491 if test "${enable_dragimage+set}" = set; then
15492 enableval=$enable_dragimage;
15493 if test "$enableval" = yes; then
15494 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15495 else
15496 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15497 fi
15498 cache=yes
15499
15500 else
15501
15502 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15503 if test "x$LINE" != x ; then
15504 eval "DEFAULT_$LINE"
15505 cache=yes
15506 else
15507 cache=no
15508 fi
15509
15510 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15511
15512 fi
15513
15514
15515 eval "$wx_cv_use_dragimage"
15516 if test "x$cache" = xyes; then
15517 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15518 fi
15519
15520 if test x"$enablestring" = xdisable; then
15521 if test $wxUSE_DRAGIMAGE = yes; then
15522 result=no
15523 else
15524 result=yes
15525 fi
15526 else
15527 result=$wxUSE_DRAGIMAGE
15528 fi
15529
15530 { echo "$as_me:$LINENO: result: $result" >&5
15531 echo "${ECHO_T}$result" >&6; }
15532
15533
15534 enablestring=
15535 defaultval=$wxUSE_ALL_FEATURES
15536 if test -z "$defaultval"; then
15537 if test x"$enablestring" = xdisable; then
15538 defaultval=yes
15539 else
15540 defaultval=no
15541 fi
15542 fi
15543
15544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15545 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15546 # Check whether --enable-accessibility was given.
15547 if test "${enable_accessibility+set}" = set; then
15548 enableval=$enable_accessibility;
15549 if test "$enableval" = yes; then
15550 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15551 else
15552 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15553 fi
15554 cache=yes
15555
15556 else
15557
15558 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15559 if test "x$LINE" != x ; then
15560 eval "DEFAULT_$LINE"
15561 cache=yes
15562 else
15563 cache=no
15564 fi
15565
15566 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15567
15568 fi
15569
15570
15571 eval "$wx_cv_use_accessibility"
15572 if test "x$cache" = xyes; then
15573 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15574 fi
15575
15576 if test x"$enablestring" = xdisable; then
15577 if test $wxUSE_ACCESSIBILITY = yes; then
15578 result=no
15579 else
15580 result=yes
15581 fi
15582 else
15583 result=$wxUSE_ACCESSIBILITY
15584 fi
15585
15586 { echo "$as_me:$LINENO: result: $result" >&5
15587 echo "${ECHO_T}$result" >&6; }
15588
15589
15590
15591
15592 enablestring=
15593 defaultval=$wxUSE_ALL_FEATURES
15594 if test -z "$defaultval"; then
15595 if test x"$enablestring" = xdisable; then
15596 defaultval=yes
15597 else
15598 defaultval=no
15599 fi
15600 fi
15601
15602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15603 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15604 # Check whether --enable-palette was given.
15605 if test "${enable_palette+set}" = set; then
15606 enableval=$enable_palette;
15607 if test "$enableval" = yes; then
15608 wx_cv_use_palette='wxUSE_PALETTE=yes'
15609 else
15610 wx_cv_use_palette='wxUSE_PALETTE=no'
15611 fi
15612 cache=yes
15613
15614 else
15615
15616 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15617 if test "x$LINE" != x ; then
15618 eval "DEFAULT_$LINE"
15619 cache=yes
15620 else
15621 cache=no
15622 fi
15623
15624 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15625
15626 fi
15627
15628
15629 eval "$wx_cv_use_palette"
15630 if test "x$cache" = xyes; then
15631 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15632 fi
15633
15634 if test x"$enablestring" = xdisable; then
15635 if test $wxUSE_PALETTE = yes; then
15636 result=no
15637 else
15638 result=yes
15639 fi
15640 else
15641 result=$wxUSE_PALETTE
15642 fi
15643
15644 { echo "$as_me:$LINENO: result: $result" >&5
15645 echo "${ECHO_T}$result" >&6; }
15646
15647
15648 enablestring=
15649 defaultval=$wxUSE_ALL_FEATURES
15650 if test -z "$defaultval"; then
15651 if test x"$enablestring" = xdisable; then
15652 defaultval=yes
15653 else
15654 defaultval=no
15655 fi
15656 fi
15657
15658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15659 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15660 # Check whether --enable-image was given.
15661 if test "${enable_image+set}" = set; then
15662 enableval=$enable_image;
15663 if test "$enableval" = yes; then
15664 wx_cv_use_image='wxUSE_IMAGE=yes'
15665 else
15666 wx_cv_use_image='wxUSE_IMAGE=no'
15667 fi
15668 cache=yes
15669
15670 else
15671
15672 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15673 if test "x$LINE" != x ; then
15674 eval "DEFAULT_$LINE"
15675 cache=yes
15676 else
15677 cache=no
15678 fi
15679
15680 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15681
15682 fi
15683
15684
15685 eval "$wx_cv_use_image"
15686 if test "x$cache" = xyes; then
15687 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15688 fi
15689
15690 if test x"$enablestring" = xdisable; then
15691 if test $wxUSE_IMAGE = yes; then
15692 result=no
15693 else
15694 result=yes
15695 fi
15696 else
15697 result=$wxUSE_IMAGE
15698 fi
15699
15700 { echo "$as_me:$LINENO: result: $result" >&5
15701 echo "${ECHO_T}$result" >&6; }
15702
15703
15704 enablestring=
15705 defaultval=$wxUSE_ALL_FEATURES
15706 if test -z "$defaultval"; then
15707 if test x"$enablestring" = xdisable; then
15708 defaultval=yes
15709 else
15710 defaultval=no
15711 fi
15712 fi
15713
15714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15715 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15716 # Check whether --enable-gif was given.
15717 if test "${enable_gif+set}" = set; then
15718 enableval=$enable_gif;
15719 if test "$enableval" = yes; then
15720 wx_cv_use_gif='wxUSE_GIF=yes'
15721 else
15722 wx_cv_use_gif='wxUSE_GIF=no'
15723 fi
15724 cache=yes
15725
15726 else
15727
15728 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15729 if test "x$LINE" != x ; then
15730 eval "DEFAULT_$LINE"
15731 cache=yes
15732 else
15733 cache=no
15734 fi
15735
15736 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15737
15738 fi
15739
15740
15741 eval "$wx_cv_use_gif"
15742 if test "x$cache" = xyes; then
15743 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15744 fi
15745
15746 if test x"$enablestring" = xdisable; then
15747 if test $wxUSE_GIF = yes; then
15748 result=no
15749 else
15750 result=yes
15751 fi
15752 else
15753 result=$wxUSE_GIF
15754 fi
15755
15756 { echo "$as_me:$LINENO: result: $result" >&5
15757 echo "${ECHO_T}$result" >&6; }
15758
15759
15760 enablestring=
15761 defaultval=$wxUSE_ALL_FEATURES
15762 if test -z "$defaultval"; then
15763 if test x"$enablestring" = xdisable; then
15764 defaultval=yes
15765 else
15766 defaultval=no
15767 fi
15768 fi
15769
15770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15771 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15772 # Check whether --enable-pcx was given.
15773 if test "${enable_pcx+set}" = set; then
15774 enableval=$enable_pcx;
15775 if test "$enableval" = yes; then
15776 wx_cv_use_pcx='wxUSE_PCX=yes'
15777 else
15778 wx_cv_use_pcx='wxUSE_PCX=no'
15779 fi
15780 cache=yes
15781
15782 else
15783
15784 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15785 if test "x$LINE" != x ; then
15786 eval "DEFAULT_$LINE"
15787 cache=yes
15788 else
15789 cache=no
15790 fi
15791
15792 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15793
15794 fi
15795
15796
15797 eval "$wx_cv_use_pcx"
15798 if test "x$cache" = xyes; then
15799 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15800 fi
15801
15802 if test x"$enablestring" = xdisable; then
15803 if test $wxUSE_PCX = yes; then
15804 result=no
15805 else
15806 result=yes
15807 fi
15808 else
15809 result=$wxUSE_PCX
15810 fi
15811
15812 { echo "$as_me:$LINENO: result: $result" >&5
15813 echo "${ECHO_T}$result" >&6; }
15814
15815
15816 enablestring=
15817 defaultval=$wxUSE_ALL_FEATURES
15818 if test -z "$defaultval"; then
15819 if test x"$enablestring" = xdisable; then
15820 defaultval=yes
15821 else
15822 defaultval=no
15823 fi
15824 fi
15825
15826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15827 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15828 # Check whether --enable-tga was given.
15829 if test "${enable_tga+set}" = set; then
15830 enableval=$enable_tga;
15831 if test "$enableval" = yes; then
15832 wx_cv_use_tga='wxUSE_TGA=yes'
15833 else
15834 wx_cv_use_tga='wxUSE_TGA=no'
15835 fi
15836 cache=yes
15837
15838 else
15839
15840 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15841 if test "x$LINE" != x ; then
15842 eval "DEFAULT_$LINE"
15843 cache=yes
15844 else
15845 cache=no
15846 fi
15847
15848 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15849
15850 fi
15851
15852
15853 eval "$wx_cv_use_tga"
15854 if test "x$cache" = xyes; then
15855 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15856 fi
15857
15858 if test x"$enablestring" = xdisable; then
15859 if test $wxUSE_TGA = yes; then
15860 result=no
15861 else
15862 result=yes
15863 fi
15864 else
15865 result=$wxUSE_TGA
15866 fi
15867
15868 { echo "$as_me:$LINENO: result: $result" >&5
15869 echo "${ECHO_T}$result" >&6; }
15870
15871
15872 enablestring=
15873 defaultval=$wxUSE_ALL_FEATURES
15874 if test -z "$defaultval"; then
15875 if test x"$enablestring" = xdisable; then
15876 defaultval=yes
15877 else
15878 defaultval=no
15879 fi
15880 fi
15881
15882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15883 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15884 # Check whether --enable-iff was given.
15885 if test "${enable_iff+set}" = set; then
15886 enableval=$enable_iff;
15887 if test "$enableval" = yes; then
15888 wx_cv_use_iff='wxUSE_IFF=yes'
15889 else
15890 wx_cv_use_iff='wxUSE_IFF=no'
15891 fi
15892 cache=yes
15893
15894 else
15895
15896 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15897 if test "x$LINE" != x ; then
15898 eval "DEFAULT_$LINE"
15899 cache=yes
15900 else
15901 cache=no
15902 fi
15903
15904 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15905
15906 fi
15907
15908
15909 eval "$wx_cv_use_iff"
15910 if test "x$cache" = xyes; then
15911 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15912 fi
15913
15914 if test x"$enablestring" = xdisable; then
15915 if test $wxUSE_IFF = yes; then
15916 result=no
15917 else
15918 result=yes
15919 fi
15920 else
15921 result=$wxUSE_IFF
15922 fi
15923
15924 { echo "$as_me:$LINENO: result: $result" >&5
15925 echo "${ECHO_T}$result" >&6; }
15926
15927
15928 enablestring=
15929 defaultval=$wxUSE_ALL_FEATURES
15930 if test -z "$defaultval"; then
15931 if test x"$enablestring" = xdisable; then
15932 defaultval=yes
15933 else
15934 defaultval=no
15935 fi
15936 fi
15937
15938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15939 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15940 # Check whether --enable-pnm was given.
15941 if test "${enable_pnm+set}" = set; then
15942 enableval=$enable_pnm;
15943 if test "$enableval" = yes; then
15944 wx_cv_use_pnm='wxUSE_PNM=yes'
15945 else
15946 wx_cv_use_pnm='wxUSE_PNM=no'
15947 fi
15948 cache=yes
15949
15950 else
15951
15952 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15953 if test "x$LINE" != x ; then
15954 eval "DEFAULT_$LINE"
15955 cache=yes
15956 else
15957 cache=no
15958 fi
15959
15960 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15961
15962 fi
15963
15964
15965 eval "$wx_cv_use_pnm"
15966 if test "x$cache" = xyes; then
15967 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15968 fi
15969
15970 if test x"$enablestring" = xdisable; then
15971 if test $wxUSE_PNM = yes; then
15972 result=no
15973 else
15974 result=yes
15975 fi
15976 else
15977 result=$wxUSE_PNM
15978 fi
15979
15980 { echo "$as_me:$LINENO: result: $result" >&5
15981 echo "${ECHO_T}$result" >&6; }
15982
15983
15984 enablestring=
15985 defaultval=$wxUSE_ALL_FEATURES
15986 if test -z "$defaultval"; then
15987 if test x"$enablestring" = xdisable; then
15988 defaultval=yes
15989 else
15990 defaultval=no
15991 fi
15992 fi
15993
15994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15995 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15996 # Check whether --enable-xpm was given.
15997 if test "${enable_xpm+set}" = set; then
15998 enableval=$enable_xpm;
15999 if test "$enableval" = yes; then
16000 wx_cv_use_xpm='wxUSE_XPM=yes'
16001 else
16002 wx_cv_use_xpm='wxUSE_XPM=no'
16003 fi
16004 cache=yes
16005
16006 else
16007
16008 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16009 if test "x$LINE" != x ; then
16010 eval "DEFAULT_$LINE"
16011 cache=yes
16012 else
16013 cache=no
16014 fi
16015
16016 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16017
16018 fi
16019
16020
16021 eval "$wx_cv_use_xpm"
16022 if test "x$cache" = xyes; then
16023 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16024 fi
16025
16026 if test x"$enablestring" = xdisable; then
16027 if test $wxUSE_XPM = yes; then
16028 result=no
16029 else
16030 result=yes
16031 fi
16032 else
16033 result=$wxUSE_XPM
16034 fi
16035
16036 { echo "$as_me:$LINENO: result: $result" >&5
16037 echo "${ECHO_T}$result" >&6; }
16038
16039
16040 enablestring=
16041 defaultval=$wxUSE_ALL_FEATURES
16042 if test -z "$defaultval"; then
16043 if test x"$enablestring" = xdisable; then
16044 defaultval=yes
16045 else
16046 defaultval=no
16047 fi
16048 fi
16049
16050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16051 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16052 # Check whether --enable-ico_cur was given.
16053 if test "${enable_ico_cur+set}" = set; then
16054 enableval=$enable_ico_cur;
16055 if test "$enableval" = yes; then
16056 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16057 else
16058 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16059 fi
16060 cache=yes
16061
16062 else
16063
16064 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16065 if test "x$LINE" != x ; then
16066 eval "DEFAULT_$LINE"
16067 cache=yes
16068 else
16069 cache=no
16070 fi
16071
16072 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16073
16074 fi
16075
16076
16077 eval "$wx_cv_use_ico_cur"
16078 if test "x$cache" = xyes; then
16079 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16080 fi
16081
16082 if test x"$enablestring" = xdisable; then
16083 if test $wxUSE_ICO_CUR = yes; then
16084 result=no
16085 else
16086 result=yes
16087 fi
16088 else
16089 result=$wxUSE_ICO_CUR
16090 fi
16091
16092 { echo "$as_me:$LINENO: result: $result" >&5
16093 echo "${ECHO_T}$result" >&6; }
16094
16095
16096
16097
16098 enablestring=
16099 defaultval=$wxUSE_ALL_FEATURES
16100 if test -z "$defaultval"; then
16101 if test x"$enablestring" = xdisable; then
16102 defaultval=yes
16103 else
16104 defaultval=no
16105 fi
16106 fi
16107
16108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16109 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16110 # Check whether --enable-dccache was given.
16111 if test "${enable_dccache+set}" = set; then
16112 enableval=$enable_dccache;
16113 if test "$enableval" = yes; then
16114 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16115 else
16116 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16117 fi
16118 cache=yes
16119
16120 else
16121
16122 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16123 if test "x$LINE" != x ; then
16124 eval "DEFAULT_$LINE"
16125 cache=yes
16126 else
16127 cache=no
16128 fi
16129
16130 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16131
16132 fi
16133
16134
16135 eval "$wx_cv_use_dccache"
16136 if test "x$cache" = xyes; then
16137 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16138 fi
16139
16140 if test x"$enablestring" = xdisable; then
16141 if test $wxUSE_DC_CACHEING = yes; then
16142 result=no
16143 else
16144 result=yes
16145 fi
16146 else
16147 result=$wxUSE_DC_CACHEING
16148 fi
16149
16150 { echo "$as_me:$LINENO: result: $result" >&5
16151 echo "${ECHO_T}$result" >&6; }
16152
16153
16154 enablestring=
16155 defaultval=$wxUSE_ALL_FEATURES
16156 if test -z "$defaultval"; then
16157 if test x"$enablestring" = xdisable; then
16158 defaultval=yes
16159 else
16160 defaultval=no
16161 fi
16162 fi
16163
16164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16165 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16166 # Check whether --enable-ps-in-msw was given.
16167 if test "${enable_ps_in_msw+set}" = set; then
16168 enableval=$enable_ps_in_msw;
16169 if test "$enableval" = yes; then
16170 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16171 else
16172 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16173 fi
16174 cache=yes
16175
16176 else
16177
16178 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16179 if test "x$LINE" != x ; then
16180 eval "DEFAULT_$LINE"
16181 cache=yes
16182 else
16183 cache=no
16184 fi
16185
16186 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16187
16188 fi
16189
16190
16191 eval "$wx_cv_use_ps_in_msw"
16192 if test "x$cache" = xyes; then
16193 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16194 fi
16195
16196 if test x"$enablestring" = xdisable; then
16197 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16198 result=no
16199 else
16200 result=yes
16201 fi
16202 else
16203 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16204 fi
16205
16206 { echo "$as_me:$LINENO: result: $result" >&5
16207 echo "${ECHO_T}$result" >&6; }
16208
16209
16210 enablestring=
16211 defaultval=$wxUSE_ALL_FEATURES
16212 if test -z "$defaultval"; then
16213 if test x"$enablestring" = xdisable; then
16214 defaultval=yes
16215 else
16216 defaultval=no
16217 fi
16218 fi
16219
16220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16221 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16222 # Check whether --enable-ownerdrawn was given.
16223 if test "${enable_ownerdrawn+set}" = set; then
16224 enableval=$enable_ownerdrawn;
16225 if test "$enableval" = yes; then
16226 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16227 else
16228 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16229 fi
16230 cache=yes
16231
16232 else
16233
16234 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16235 if test "x$LINE" != x ; then
16236 eval "DEFAULT_$LINE"
16237 cache=yes
16238 else
16239 cache=no
16240 fi
16241
16242 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16243
16244 fi
16245
16246
16247 eval "$wx_cv_use_ownerdrawn"
16248 if test "x$cache" = xyes; then
16249 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16250 fi
16251
16252 if test x"$enablestring" = xdisable; then
16253 if test $wxUSE_OWNER_DRAWN = yes; then
16254 result=no
16255 else
16256 result=yes
16257 fi
16258 else
16259 result=$wxUSE_OWNER_DRAWN
16260 fi
16261
16262 { echo "$as_me:$LINENO: result: $result" >&5
16263 echo "${ECHO_T}$result" >&6; }
16264
16265
16266 enablestring=
16267 defaultval=$wxUSE_ALL_FEATURES
16268 if test -z "$defaultval"; then
16269 if test x"$enablestring" = xdisable; then
16270 defaultval=yes
16271 else
16272 defaultval=no
16273 fi
16274 fi
16275
16276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16277 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16278 # Check whether --enable-uxtheme was given.
16279 if test "${enable_uxtheme+set}" = set; then
16280 enableval=$enable_uxtheme;
16281 if test "$enableval" = yes; then
16282 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16283 else
16284 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16285 fi
16286 cache=yes
16287
16288 else
16289
16290 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16291 if test "x$LINE" != x ; then
16292 eval "DEFAULT_$LINE"
16293 cache=yes
16294 else
16295 cache=no
16296 fi
16297
16298 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16299
16300 fi
16301
16302
16303 eval "$wx_cv_use_uxtheme"
16304 if test "x$cache" = xyes; then
16305 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16306 fi
16307
16308 if test x"$enablestring" = xdisable; then
16309 if test $wxUSE_UXTHEME = yes; then
16310 result=no
16311 else
16312 result=yes
16313 fi
16314 else
16315 result=$wxUSE_UXTHEME
16316 fi
16317
16318 { echo "$as_me:$LINENO: result: $result" >&5
16319 echo "${ECHO_T}$result" >&6; }
16320
16321
16322 enablestring=
16323 defaultval=$wxUSE_ALL_FEATURES
16324 if test -z "$defaultval"; then
16325 if test x"$enablestring" = xdisable; then
16326 defaultval=yes
16327 else
16328 defaultval=no
16329 fi
16330 fi
16331
16332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16333 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16334 # Check whether --enable-wxdib was given.
16335 if test "${enable_wxdib+set}" = set; then
16336 enableval=$enable_wxdib;
16337 if test "$enableval" = yes; then
16338 wx_cv_use_wxdib='wxUSE_DIB=yes'
16339 else
16340 wx_cv_use_wxdib='wxUSE_DIB=no'
16341 fi
16342 cache=yes
16343
16344 else
16345
16346 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16347 if test "x$LINE" != x ; then
16348 eval "DEFAULT_$LINE"
16349 cache=yes
16350 else
16351 cache=no
16352 fi
16353
16354 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16355
16356 fi
16357
16358
16359 eval "$wx_cv_use_wxdib"
16360 if test "x$cache" = xyes; then
16361 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16362 fi
16363
16364 if test x"$enablestring" = xdisable; then
16365 if test $wxUSE_DIB = yes; then
16366 result=no
16367 else
16368 result=yes
16369 fi
16370 else
16371 result=$wxUSE_DIB
16372 fi
16373
16374 { echo "$as_me:$LINENO: result: $result" >&5
16375 echo "${ECHO_T}$result" >&6; }
16376
16377
16378 fi
16379
16380
16381 echo "saving argument cache $wx_arg_cache_file"
16382 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16383
16384
16385
16386 { echo "$as_me:$LINENO: checking for toolkit" >&5
16387 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16388
16389 # In Wine, we need to default to MSW, not GTK or MOTIF
16390 if test "$wxUSE_WINE" = "yes"; then
16391 DEFAULT_DEFAULT_wxUSE_GTK=0
16392 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16393 DEFAULT_DEFAULT_wxUSE_MSW=1
16394 wxUSE_SHARED=no
16395 CC=${CC:-winegcc}
16396 CXX=${CXX:-wineg++}
16397 fi
16398
16399
16400 if test "$wxUSE_GUI" = "yes"; then
16401
16402 if test "$USE_BEOS" = 1; then
16403 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16404 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16405 { (exit 1); exit 1; }; }
16406 fi
16407
16408 if test "$TOOLKIT_GIVEN" = 1; then
16409 for toolkit in `echo $ALL_TOOLKITS`; do
16410 var=wxUSE_$toolkit
16411 eval "value=\$${var}"
16412 if test "x$value" = "xno"; then
16413 eval "$var=0"
16414 elif test "x$value" != "x"; then
16415 eval "$var=1"
16416 fi
16417
16418 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16419 eval "wx${toolkit}_VERSION=$value"
16420 fi
16421 done
16422 else
16423 for toolkit in `echo $ALL_TOOLKITS`; do
16424 if test "$has_toolkit_in_cache" != 1; then
16425 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16426 else
16427 var=DEFAULT_wxUSE_$toolkit
16428
16429 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16430 if test "x$version" != "x"; then
16431 eval "wx${toolkit}_VERSION=$version"
16432 fi
16433 fi
16434 eval "wxUSE_$toolkit=\$${var}"
16435 done
16436 fi
16437
16438 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16439 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16440 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16441
16442 case "${host}" in
16443 *-pc-os2_emx | *-pc-os2-emx )
16444 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16445 esac
16446
16447 case "$NUM_TOOLKITS" in
16448 1)
16449 ;;
16450 0)
16451 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16452 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16453 { (exit 1); exit 1; }; }
16454 ;;
16455 *)
16456 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16457 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16458 { (exit 1); exit 1; }; }
16459 esac
16460
16461 # to be removed when --disable-gtk2 isn't needed
16462 if test "x$wxUSE_GTK2" = "xyes"; then
16463 wxGTK_VERSION=2
16464 elif test "x$wxUSE_GTK2" = "xno"; then
16465 wxGTK_VERSION=1
16466 fi
16467
16468 for toolkit in `echo $ALL_TOOLKITS`; do
16469 var=wxUSE_$toolkit
16470 eval "value=\$${var}"
16471 if test "x$value" != x; then
16472 cache_var=CACHE_$toolkit
16473 eval "cache=\$${cache_var}"
16474 if test "$cache" = 1; then
16475 echo "$var=$value" >> ${wx_arg_cache_file}
16476 eval "version=\$wx${toolkit}_VERSION"
16477 if test "x$version" != "x"; then
16478 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16479 fi
16480 fi
16481 if test "$value" = 1; then
16482 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16483 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16484 echo "${ECHO_T}$toolkit_echo" >&6; }
16485 fi
16486 fi
16487 done
16488 else
16489 if test "x$host_alias" != "x"; then
16490 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16491 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16492 else
16493 { echo "$as_me:$LINENO: result: base only" >&5
16494 echo "${ECHO_T}base only" >&6; }
16495 fi
16496 fi
16497
16498
16499 cat >confcache <<\_ACEOF
16500 # This file is a shell script that caches the results of configure
16501 # tests run on this system so they can be shared between configure
16502 # scripts and configure runs, see configure's option --config-cache.
16503 # It is not useful on other systems. If it contains results you don't
16504 # want to keep, you may remove or edit it.
16505 #
16506 # config.status only pays attention to the cache file if you give it
16507 # the --recheck option to rerun configure.
16508 #
16509 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16510 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16511 # following values.
16512
16513 _ACEOF
16514
16515 # The following way of writing the cache mishandles newlines in values,
16516 # but we know of no workaround that is simple, portable, and efficient.
16517 # So, we kill variables containing newlines.
16518 # Ultrix sh set writes to stderr and can't be redirected directly,
16519 # and sets the high bit in the cache file unless we assign to the vars.
16520 (
16521 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16522 eval ac_val=\$$ac_var
16523 case $ac_val in #(
16524 *${as_nl}*)
16525 case $ac_var in #(
16526 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16527 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16528 esac
16529 case $ac_var in #(
16530 _ | IFS | as_nl) ;; #(
16531 *) $as_unset $ac_var ;;
16532 esac ;;
16533 esac
16534 done
16535
16536 (set) 2>&1 |
16537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16538 *${as_nl}ac_space=\ *)
16539 # `set' does not quote correctly, so add quotes (double-quote
16540 # substitution turns \\\\ into \\, and sed turns \\ into \).
16541 sed -n \
16542 "s/'/'\\\\''/g;
16543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16544 ;; #(
16545 *)
16546 # `set' quotes correctly as required by POSIX, so do not add quotes.
16547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16548 ;;
16549 esac |
16550 sort
16551 ) |
16552 sed '
16553 /^ac_cv_env_/b end
16554 t clear
16555 :clear
16556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16557 t end
16558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16559 :end' >>confcache
16560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16561 if test -w "$cache_file"; then
16562 test "x$cache_file" != "x/dev/null" &&
16563 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16564 echo "$as_me: updating cache $cache_file" >&6;}
16565 cat confcache >$cache_file
16566 else
16567 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16568 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16569 fi
16570 fi
16571 rm -f confcache
16572
16573 CFLAGS=${CFLAGS:=}
16574
16575
16576
16577 ac_ext=c
16578 ac_cpp='$CPP $CPPFLAGS'
16579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16582 if test -n "$ac_tool_prefix"; then
16583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_CC+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 if test -n "$CC"; then
16591 ac_cv_prog_CC="$CC" # Let the user override the test.
16592 else
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16595 do
16596 IFS=$as_save_IFS
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16602 break 2
16603 fi
16604 done
16605 done
16606 IFS=$as_save_IFS
16607
16608 fi
16609 fi
16610 CC=$ac_cv_prog_CC
16611 if test -n "$CC"; then
16612 { echo "$as_me:$LINENO: result: $CC" >&5
16613 echo "${ECHO_T}$CC" >&6; }
16614 else
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16617 fi
16618
16619
16620 fi
16621 if test -z "$ac_cv_prog_CC"; then
16622 ac_ct_CC=$CC
16623 # Extract the first word of "gcc", so it can be a program name with args.
16624 set dummy gcc; ac_word=$2
16625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 else
16630 if test -n "$ac_ct_CC"; then
16631 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16632 else
16633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16634 for as_dir in $PATH
16635 do
16636 IFS=$as_save_IFS
16637 test -z "$as_dir" && as_dir=.
16638 for ac_exec_ext in '' $ac_executable_extensions; do
16639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16640 ac_cv_prog_ac_ct_CC="gcc"
16641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16642 break 2
16643 fi
16644 done
16645 done
16646 IFS=$as_save_IFS
16647
16648 fi
16649 fi
16650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16651 if test -n "$ac_ct_CC"; then
16652 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16653 echo "${ECHO_T}$ac_ct_CC" >&6; }
16654 else
16655 { echo "$as_me:$LINENO: result: no" >&5
16656 echo "${ECHO_T}no" >&6; }
16657 fi
16658
16659 if test "x$ac_ct_CC" = x; then
16660 CC=""
16661 else
16662 case $cross_compiling:$ac_tool_warned in
16663 yes:)
16664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16665 whose name does not start with the host triplet. If you think this
16666 configuration is useful to you, please write to autoconf@gnu.org." >&5
16667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16670 ac_tool_warned=yes ;;
16671 esac
16672 CC=$ac_ct_CC
16673 fi
16674 else
16675 CC="$ac_cv_prog_CC"
16676 fi
16677
16678 if test -z "$CC"; then
16679 if test -n "$ac_tool_prefix"; then
16680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16681 set dummy ${ac_tool_prefix}cc; ac_word=$2
16682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16684 if test "${ac_cv_prog_CC+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 else
16687 if test -n "$CC"; then
16688 ac_cv_prog_CC="$CC" # Let the user override the test.
16689 else
16690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16691 for as_dir in $PATH
16692 do
16693 IFS=$as_save_IFS
16694 test -z "$as_dir" && as_dir=.
16695 for ac_exec_ext in '' $ac_executable_extensions; do
16696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16697 ac_cv_prog_CC="${ac_tool_prefix}cc"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16699 break 2
16700 fi
16701 done
16702 done
16703 IFS=$as_save_IFS
16704
16705 fi
16706 fi
16707 CC=$ac_cv_prog_CC
16708 if test -n "$CC"; then
16709 { echo "$as_me:$LINENO: result: $CC" >&5
16710 echo "${ECHO_T}$CC" >&6; }
16711 else
16712 { echo "$as_me:$LINENO: result: no" >&5
16713 echo "${ECHO_T}no" >&6; }
16714 fi
16715
16716
16717 fi
16718 fi
16719 if test -z "$CC"; then
16720 # Extract the first word of "cc", so it can be a program name with args.
16721 set dummy cc; 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_CC+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 else
16727 if test -n "$CC"; then
16728 ac_cv_prog_CC="$CC" # Let the user override the test.
16729 else
16730 ac_prog_rejected=no
16731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16732 for as_dir in $PATH
16733 do
16734 IFS=$as_save_IFS
16735 test -z "$as_dir" && as_dir=.
16736 for ac_exec_ext in '' $ac_executable_extensions; do
16737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16738 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16739 ac_prog_rejected=yes
16740 continue
16741 fi
16742 ac_cv_prog_CC="cc"
16743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16744 break 2
16745 fi
16746 done
16747 done
16748 IFS=$as_save_IFS
16749
16750 if test $ac_prog_rejected = yes; then
16751 # We found a bogon in the path, so make sure we never use it.
16752 set dummy $ac_cv_prog_CC
16753 shift
16754 if test $# != 0; then
16755 # We chose a different compiler from the bogus one.
16756 # However, it has the same basename, so the bogon will be chosen
16757 # first if we set CC to just the basename; use the full file name.
16758 shift
16759 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16760 fi
16761 fi
16762 fi
16763 fi
16764 CC=$ac_cv_prog_CC
16765 if test -n "$CC"; then
16766 { echo "$as_me:$LINENO: result: $CC" >&5
16767 echo "${ECHO_T}$CC" >&6; }
16768 else
16769 { echo "$as_me:$LINENO: result: no" >&5
16770 echo "${ECHO_T}no" >&6; }
16771 fi
16772
16773
16774 fi
16775 if test -z "$CC"; then
16776 if test -n "$ac_tool_prefix"; then
16777 for ac_prog in cl.exe
16778 do
16779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16783 if test "${ac_cv_prog_CC+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 else
16786 if test -n "$CC"; then
16787 ac_cv_prog_CC="$CC" # Let the user override the test.
16788 else
16789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16790 for as_dir in $PATH
16791 do
16792 IFS=$as_save_IFS
16793 test -z "$as_dir" && as_dir=.
16794 for ac_exec_ext in '' $ac_executable_extensions; do
16795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16796 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16798 break 2
16799 fi
16800 done
16801 done
16802 IFS=$as_save_IFS
16803
16804 fi
16805 fi
16806 CC=$ac_cv_prog_CC
16807 if test -n "$CC"; then
16808 { echo "$as_me:$LINENO: result: $CC" >&5
16809 echo "${ECHO_T}$CC" >&6; }
16810 else
16811 { echo "$as_me:$LINENO: result: no" >&5
16812 echo "${ECHO_T}no" >&6; }
16813 fi
16814
16815
16816 test -n "$CC" && break
16817 done
16818 fi
16819 if test -z "$CC"; then
16820 ac_ct_CC=$CC
16821 for ac_prog in cl.exe
16822 do
16823 # Extract the first word of "$ac_prog", so it can be a program name with args.
16824 set dummy $ac_prog; ac_word=$2
16825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 if test -n "$ac_ct_CC"; then
16831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16832 else
16833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16834 for as_dir in $PATH
16835 do
16836 IFS=$as_save_IFS
16837 test -z "$as_dir" && as_dir=.
16838 for ac_exec_ext in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_prog_ac_ct_CC="$ac_prog"
16841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16842 break 2
16843 fi
16844 done
16845 done
16846 IFS=$as_save_IFS
16847
16848 fi
16849 fi
16850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16851 if test -n "$ac_ct_CC"; then
16852 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16853 echo "${ECHO_T}$ac_ct_CC" >&6; }
16854 else
16855 { echo "$as_me:$LINENO: result: no" >&5
16856 echo "${ECHO_T}no" >&6; }
16857 fi
16858
16859
16860 test -n "$ac_ct_CC" && break
16861 done
16862
16863 if test "x$ac_ct_CC" = x; then
16864 CC=""
16865 else
16866 case $cross_compiling:$ac_tool_warned in
16867 yes:)
16868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16869 whose name does not start with the host triplet. If you think this
16870 configuration is useful to you, please write to autoconf@gnu.org." >&5
16871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16872 whose name does not start with the host triplet. If you think this
16873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16874 ac_tool_warned=yes ;;
16875 esac
16876 CC=$ac_ct_CC
16877 fi
16878 fi
16879
16880 fi
16881
16882
16883 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16884 See \`config.log' for more details." >&5
16885 echo "$as_me: error: no acceptable C compiler found in \$PATH
16886 See \`config.log' for more details." >&2;}
16887 { (exit 1); exit 1; }; }
16888
16889 # Provide some information about the compiler.
16890 echo "$as_me:$LINENO: checking for C compiler version" >&5
16891 ac_compiler=`set X $ac_compile; echo $2`
16892 { (ac_try="$ac_compiler --version >&5"
16893 case "(($ac_try" in
16894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16895 *) ac_try_echo=$ac_try;;
16896 esac
16897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16898 (eval "$ac_compiler --version >&5") 2>&5
16899 ac_status=$?
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }
16902 { (ac_try="$ac_compiler -v >&5"
16903 case "(($ac_try" in
16904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16905 *) ac_try_echo=$ac_try;;
16906 esac
16907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16908 (eval "$ac_compiler -v >&5") 2>&5
16909 ac_status=$?
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }
16912 { (ac_try="$ac_compiler -V >&5"
16913 case "(($ac_try" in
16914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16916 esac
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_compiler -V >&5") 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }
16922
16923 cat >conftest.$ac_ext <<_ACEOF
16924 /* confdefs.h. */
16925 _ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929
16930 int
16931 main ()
16932 {
16933
16934 ;
16935 return 0;
16936 }
16937 _ACEOF
16938 ac_clean_files_save=$ac_clean_files
16939 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16940 # Try to create an executable without -o first, disregard a.out.
16941 # It will help us diagnose broken compilers, and finding out an intuition
16942 # of exeext.
16943 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16944 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16945 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16946 #
16947 # List of possible output files, starting from the most likely.
16948 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16949 # only as a last resort. b.out is created by i960 compilers.
16950 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16951 #
16952 # The IRIX 6 linker writes into existing files which may not be
16953 # executable, retaining their permissions. Remove them first so a
16954 # subsequent execution test works.
16955 ac_rmfiles=
16956 for ac_file in $ac_files
16957 do
16958 case $ac_file in
16959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16960 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16961 esac
16962 done
16963 rm -f $ac_rmfiles
16964
16965 if { (ac_try="$ac_link_default"
16966 case "(($ac_try" in
16967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16968 *) ac_try_echo=$ac_try;;
16969 esac
16970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16971 (eval "$ac_link_default") 2>&5
16972 ac_status=$?
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; then
16975 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16976 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16977 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16978 # so that the user can short-circuit this test for compilers unknown to
16979 # Autoconf.
16980 for ac_file in $ac_files ''
16981 do
16982 test -f "$ac_file" || continue
16983 case $ac_file in
16984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16985 ;;
16986 [ab].out )
16987 # We found the default executable, but exeext='' is most
16988 # certainly right.
16989 break;;
16990 *.* )
16991 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16992 then :; else
16993 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16994 fi
16995 # We set ac_cv_exeext here because the later test for it is not
16996 # safe: cross compilers may not add the suffix if given an `-o'
16997 # argument, so we may need to know it at that point already.
16998 # Even if this section looks crufty: it has the advantage of
16999 # actually working.
17000 break;;
17001 * )
17002 break;;
17003 esac
17004 done
17005 test "$ac_cv_exeext" = no && ac_cv_exeext=
17006
17007 else
17008 ac_file=''
17009 fi
17010
17011 { echo "$as_me:$LINENO: result: $ac_file" >&5
17012 echo "${ECHO_T}$ac_file" >&6; }
17013 if test -z "$ac_file"; then
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17016
17017 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17018 See \`config.log' for more details." >&5
17019 echo "$as_me: error: C compiler cannot create executables
17020 See \`config.log' for more details." >&2;}
17021 { (exit 77); exit 77; }; }
17022 fi
17023
17024 ac_exeext=$ac_cv_exeext
17025
17026 # Check that the compiler produces executables we can run. If not, either
17027 # the compiler is broken, or we cross compile.
17028 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17029 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17030 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17031 # If not cross compiling, check that we can run a simple program.
17032 if test "$cross_compiling" != yes; then
17033 if { ac_try='./$ac_file'
17034 { (case "(($ac_try" in
17035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17036 *) ac_try_echo=$ac_try;;
17037 esac
17038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17039 (eval "$ac_try") 2>&5
17040 ac_status=$?
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; }; then
17043 cross_compiling=no
17044 else
17045 if test "$cross_compiling" = maybe; then
17046 cross_compiling=yes
17047 else
17048 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17049 If you meant to cross compile, use \`--host'.
17050 See \`config.log' for more details." >&5
17051 echo "$as_me: error: cannot run C compiled programs.
17052 If you meant to cross compile, use \`--host'.
17053 See \`config.log' for more details." >&2;}
17054 { (exit 1); exit 1; }; }
17055 fi
17056 fi
17057 fi
17058 { echo "$as_me:$LINENO: result: yes" >&5
17059 echo "${ECHO_T}yes" >&6; }
17060
17061 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17062 ac_clean_files=$ac_clean_files_save
17063 # Check that the compiler produces executables we can run. If not, either
17064 # the compiler is broken, or we cross compile.
17065 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17066 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17067 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17068 echo "${ECHO_T}$cross_compiling" >&6; }
17069
17070 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17071 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17072 if { (ac_try="$ac_link"
17073 case "(($ac_try" in
17074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17075 *) ac_try_echo=$ac_try;;
17076 esac
17077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17078 (eval "$ac_link") 2>&5
17079 ac_status=$?
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; then
17082 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17083 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17084 # work properly (i.e., refer to `conftest.exe'), while it won't with
17085 # `rm'.
17086 for ac_file in conftest.exe conftest conftest.*; do
17087 test -f "$ac_file" || continue
17088 case $ac_file in
17089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17090 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17091 break;;
17092 * ) break;;
17093 esac
17094 done
17095 else
17096 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17097 See \`config.log' for more details." >&5
17098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17099 See \`config.log' for more details." >&2;}
17100 { (exit 1); exit 1; }; }
17101 fi
17102
17103 rm -f conftest$ac_cv_exeext
17104 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17105 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17106
17107 rm -f conftest.$ac_ext
17108 EXEEXT=$ac_cv_exeext
17109 ac_exeext=$EXEEXT
17110 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17111 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17112 if test "${ac_cv_objext+set}" = set; then
17113 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 else
17115 cat >conftest.$ac_ext <<_ACEOF
17116 /* confdefs.h. */
17117 _ACEOF
17118 cat confdefs.h >>conftest.$ac_ext
17119 cat >>conftest.$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121
17122 int
17123 main ()
17124 {
17125
17126 ;
17127 return 0;
17128 }
17129 _ACEOF
17130 rm -f conftest.o conftest.obj
17131 if { (ac_try="$ac_compile"
17132 case "(($ac_try" in
17133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17134 *) ac_try_echo=$ac_try;;
17135 esac
17136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17137 (eval "$ac_compile") 2>&5
17138 ac_status=$?
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; then
17141 for ac_file in conftest.o conftest.obj conftest.*; do
17142 test -f "$ac_file" || continue;
17143 case $ac_file in
17144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17145 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17146 break;;
17147 esac
17148 done
17149 else
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17152
17153 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17154 See \`config.log' for more details." >&5
17155 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17156 See \`config.log' for more details." >&2;}
17157 { (exit 1); exit 1; }; }
17158 fi
17159
17160 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17161 fi
17162 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17163 echo "${ECHO_T}$ac_cv_objext" >&6; }
17164 OBJEXT=$ac_cv_objext
17165 ac_objext=$OBJEXT
17166 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17167 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17168 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17170 else
17171 cat >conftest.$ac_ext <<_ACEOF
17172 /* confdefs.h. */
17173 _ACEOF
17174 cat confdefs.h >>conftest.$ac_ext
17175 cat >>conftest.$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177
17178 int
17179 main ()
17180 {
17181 #ifndef __GNUC__
17182 choke me
17183 #endif
17184
17185 ;
17186 return 0;
17187 }
17188 _ACEOF
17189 rm -f conftest.$ac_objext
17190 if { (ac_try="$ac_compile"
17191 case "(($ac_try" in
17192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17193 *) ac_try_echo=$ac_try;;
17194 esac
17195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_compile") 2>conftest.er1
17197 ac_status=$?
17198 grep -v '^ *+' conftest.er1 >conftest.err
17199 rm -f conftest.er1
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } && {
17203 test -z "$ac_c_werror_flag" ||
17204 test ! -s conftest.err
17205 } && test -s conftest.$ac_objext; then
17206 ac_compiler_gnu=yes
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17210
17211 ac_compiler_gnu=no
17212 fi
17213
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17216
17217 fi
17218 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17219 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17220 GCC=`test $ac_compiler_gnu = yes && echo yes`
17221 ac_test_CFLAGS=${CFLAGS+set}
17222 ac_save_CFLAGS=$CFLAGS
17223 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17224 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17225 if test "${ac_cv_prog_cc_g+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 ac_save_c_werror_flag=$ac_c_werror_flag
17229 ac_c_werror_flag=yes
17230 ac_cv_prog_cc_g=no
17231 CFLAGS="-g"
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238
17239 int
17240 main ()
17241 {
17242
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (ac_try="$ac_compile"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17252 esac
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compile") 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest.$ac_objext; then
17264 ac_cv_prog_cc_g=yes
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 CFLAGS=""
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276
17277 int
17278 main ()
17279 {
17280
17281 ;
17282 return 0;
17283 }
17284 _ACEOF
17285 rm -f conftest.$ac_objext
17286 if { (ac_try="$ac_compile"
17287 case "(($ac_try" in
17288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17289 *) ac_try_echo=$ac_try;;
17290 esac
17291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_compile") 2>conftest.er1
17293 ac_status=$?
17294 grep -v '^ *+' conftest.er1 >conftest.err
17295 rm -f conftest.er1
17296 cat conftest.err >&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } && {
17299 test -z "$ac_c_werror_flag" ||
17300 test ! -s conftest.err
17301 } && test -s conftest.$ac_objext; then
17302 :
17303 else
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17306
17307 ac_c_werror_flag=$ac_save_c_werror_flag
17308 CFLAGS="-g"
17309 cat >conftest.$ac_ext <<_ACEOF
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315
17316 int
17317 main ()
17318 {
17319
17320 ;
17321 return 0;
17322 }
17323 _ACEOF
17324 rm -f conftest.$ac_objext
17325 if { (ac_try="$ac_compile"
17326 case "(($ac_try" in
17327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17328 *) ac_try_echo=$ac_try;;
17329 esac
17330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17331 (eval "$ac_compile") 2>conftest.er1
17332 ac_status=$?
17333 grep -v '^ *+' conftest.er1 >conftest.err
17334 rm -f conftest.er1
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } && {
17338 test -z "$ac_c_werror_flag" ||
17339 test ! -s conftest.err
17340 } && test -s conftest.$ac_objext; then
17341 ac_cv_prog_cc_g=yes
17342 else
17343 echo "$as_me: failed program was:" >&5
17344 sed 's/^/| /' conftest.$ac_ext >&5
17345
17346
17347 fi
17348
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 fi
17351
17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17353 fi
17354
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 ac_c_werror_flag=$ac_save_c_werror_flag
17357 fi
17358 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17360 if test "$ac_test_CFLAGS" = set; then
17361 CFLAGS=$ac_save_CFLAGS
17362 elif test $ac_cv_prog_cc_g = yes; then
17363 if test "$GCC" = yes; then
17364 CFLAGS="-g -O2"
17365 else
17366 CFLAGS="-g"
17367 fi
17368 else
17369 if test "$GCC" = yes; then
17370 CFLAGS="-O2"
17371 else
17372 CFLAGS=
17373 fi
17374 fi
17375 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17376 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17377 if test "${ac_cv_prog_cc_c89+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17379 else
17380 ac_cv_prog_cc_c89=no
17381 ac_save_CC=$CC
17382 cat >conftest.$ac_ext <<_ACEOF
17383 /* confdefs.h. */
17384 _ACEOF
17385 cat confdefs.h >>conftest.$ac_ext
17386 cat >>conftest.$ac_ext <<_ACEOF
17387 /* end confdefs.h. */
17388 #include <stdarg.h>
17389 #include <stdio.h>
17390 #include <sys/types.h>
17391 #include <sys/stat.h>
17392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17393 struct buf { int x; };
17394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17395 static char *e (p, i)
17396 char **p;
17397 int i;
17398 {
17399 return p[i];
17400 }
17401 static char *f (char * (*g) (char **, int), char **p, ...)
17402 {
17403 char *s;
17404 va_list v;
17405 va_start (v,p);
17406 s = g (p, va_arg (v,int));
17407 va_end (v);
17408 return s;
17409 }
17410
17411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17412 function prototypes and stuff, but not '\xHH' hex character constants.
17413 These don't provoke an error unfortunately, instead are silently treated
17414 as 'x'. The following induces an error, until -std is added to get
17415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17416 array size at least. It's necessary to write '\x00'==0 to get something
17417 that's true only with -std. */
17418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17419
17420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17421 inside strings and character constants. */
17422 #define FOO(x) 'x'
17423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17424
17425 int test (int i, double x);
17426 struct s1 {int (*f) (int a);};
17427 struct s2 {int (*f) (double a);};
17428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17429 int argc;
17430 char **argv;
17431 int
17432 main ()
17433 {
17434 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17435 ;
17436 return 0;
17437 }
17438 _ACEOF
17439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17440 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17441 do
17442 CC="$ac_save_CC $ac_arg"
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17448 esac
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_c_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 ac_cv_prog_cc_c89=$ac_arg
17461 else
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465
17466 fi
17467
17468 rm -f core conftest.err conftest.$ac_objext
17469 test "x$ac_cv_prog_cc_c89" != "xno" && break
17470 done
17471 rm -f conftest.$ac_ext
17472 CC=$ac_save_CC
17473
17474 fi
17475 # AC_CACHE_VAL
17476 case "x$ac_cv_prog_cc_c89" in
17477 x)
17478 { echo "$as_me:$LINENO: result: none needed" >&5
17479 echo "${ECHO_T}none needed" >&6; } ;;
17480 xno)
17481 { echo "$as_me:$LINENO: result: unsupported" >&5
17482 echo "${ECHO_T}unsupported" >&6; } ;;
17483 *)
17484 CC="$CC $ac_cv_prog_cc_c89"
17485 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17486 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17487 esac
17488
17489
17490 ac_ext=c
17491 ac_cpp='$CPP $CPPFLAGS'
17492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17495
17496
17497
17498
17499 ac_ext=c
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504
17505 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17506 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17507 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 else
17510 cat >conftest.$ac_ext <<_ACEOF
17511 /* confdefs.h. */
17512 _ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17516
17517 int
17518 main ()
17519 {
17520
17521 #ifndef __INTEL_COMPILER
17522 choke me
17523 #endif
17524
17525 ;
17526 return 0;
17527 }
17528 _ACEOF
17529 rm -f conftest.$ac_objext
17530 if { (ac_try="$ac_compile"
17531 case "(($ac_try" in
17532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17533 *) ac_try_echo=$ac_try;;
17534 esac
17535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_compile") 2>conftest.er1
17537 ac_status=$?
17538 grep -v '^ *+' conftest.er1 >conftest.err
17539 rm -f conftest.er1
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && {
17543 test -z "$ac_c_werror_flag" ||
17544 test ! -s conftest.err
17545 } && test -s conftest.$ac_objext; then
17546 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17547 else
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.$ac_ext >&5
17550
17551 bakefile_cv_c_compiler___INTEL_COMPILER=no
17552
17553 fi
17554
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556
17557
17558 fi
17559 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17560 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17561 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17562 :; INTELCC=yes
17563 else
17564 :;
17565 fi
17566 ac_ext=c
17567 ac_cpp='$CPP $CPPFLAGS'
17568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17571
17572
17573
17574
17575 if test "x$GCC" != "xyes"; then
17576 if test "xCC" = "xC"; then
17577 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17578 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17579 if test "${bakefile_cv_c_exto+set}" = set; then
17580 echo $ECHO_N "(cached) $ECHO_C" >&6
17581 else
17582 cat >conftest.$ac_ext <<_ACEOF
17583 /* confdefs.h. */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588
17589 int
17590 main ()
17591 {
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext conftest.$ac_ext.o
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; then
17603 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17604 case $ac_file in
17605 conftest.$ac_ext.o)
17606 bakefile_cv_c_exto="-ext o"
17607 ;;
17608 *)
17609 ;;
17610 esac
17611 done
17612 else
17613 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17614 See \`config.log' for more details." >&5
17615 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17616 See \`config.log' for more details." >&2;}
17617 { (exit 1); exit 1; }; }
17618
17619 fi
17620
17621 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17622
17623 fi
17624 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17625 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17626 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17627 if test "c" = "c"; then
17628 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17629 fi
17630 if test "c" = "cxx"; then
17631 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17632 fi
17633 fi
17634
17635 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17636 unset ac_cv_prog_cc_g
17637 ac_test_CFLAGS=${CFLAGS+set}
17638 ac_save_CFLAGS=$CFLAGS
17639 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17640 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17641 if test "${ac_cv_prog_cc_g+set}" = set; then
17642 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 else
17644 ac_save_c_werror_flag=$ac_c_werror_flag
17645 ac_c_werror_flag=yes
17646 ac_cv_prog_cc_g=no
17647 CFLAGS="-g"
17648 cat >conftest.$ac_ext <<_ACEOF
17649 /* confdefs.h. */
17650 _ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654
17655 int
17656 main ()
17657 {
17658
17659 ;
17660 return 0;
17661 }
17662 _ACEOF
17663 rm -f conftest.$ac_objext
17664 if { (ac_try="$ac_compile"
17665 case "(($ac_try" in
17666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17667 *) ac_try_echo=$ac_try;;
17668 esac
17669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17670 (eval "$ac_compile") 2>conftest.er1
17671 ac_status=$?
17672 grep -v '^ *+' conftest.er1 >conftest.err
17673 rm -f conftest.er1
17674 cat conftest.err >&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } && {
17677 test -z "$ac_c_werror_flag" ||
17678 test ! -s conftest.err
17679 } && test -s conftest.$ac_objext; then
17680 ac_cv_prog_cc_g=yes
17681 else
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 CFLAGS=""
17686 cat >conftest.$ac_ext <<_ACEOF
17687 /* confdefs.h. */
17688 _ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17692
17693 int
17694 main ()
17695 {
17696
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17706 esac
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17709 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_c_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17718 :
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 ac_c_werror_flag=$ac_save_c_werror_flag
17724 CFLAGS="-g"
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731
17732 int
17733 main ()
17734 {
17735
17736 ;
17737 return 0;
17738 }
17739 _ACEOF
17740 rm -f conftest.$ac_objext
17741 if { (ac_try="$ac_compile"
17742 case "(($ac_try" in
17743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17744 *) ac_try_echo=$ac_try;;
17745 esac
17746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17747 (eval "$ac_compile") 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } && {
17754 test -z "$ac_c_werror_flag" ||
17755 test ! -s conftest.err
17756 } && test -s conftest.$ac_objext; then
17757 ac_cv_prog_cc_g=yes
17758 else
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.$ac_ext >&5
17761
17762
17763 fi
17764
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17766 fi
17767
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769 fi
17770
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772 ac_c_werror_flag=$ac_save_c_werror_flag
17773 fi
17774 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17775 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17776 if test "$ac_test_CFLAGS" = set; then
17777 CFLAGS=$ac_save_CFLAGS
17778 elif test $ac_cv_prog_cc_g = yes; then
17779 if test "$GCC" = yes; then
17780 CFLAGS="-g -O2"
17781 else
17782 CFLAGS="-g"
17783 fi
17784 else
17785 if test "$GCC" = yes; then
17786 CFLAGS="-O2"
17787 else
17788 CFLAGS=
17789 fi
17790 fi
17791 fi
17792 fi
17793
17794 case `uname -s` in
17795 AIX*)
17796
17797
17798 ac_ext=c
17799 ac_cpp='$CPP $CPPFLAGS'
17800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17803
17804 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17805 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17806 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17808 else
17809 cat >conftest.$ac_ext <<_ACEOF
17810 /* confdefs.h. */
17811 _ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815
17816 int
17817 main ()
17818 {
17819
17820 #ifndef __xlC__
17821 choke me
17822 #endif
17823
17824 ;
17825 return 0;
17826 }
17827 _ACEOF
17828 rm -f conftest.$ac_objext
17829 if { (ac_try="$ac_compile"
17830 case "(($ac_try" in
17831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17832 *) ac_try_echo=$ac_try;;
17833 esac
17834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17835 (eval "$ac_compile") 2>conftest.er1
17836 ac_status=$?
17837 grep -v '^ *+' conftest.er1 >conftest.err
17838 rm -f conftest.er1
17839 cat conftest.err >&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && {
17842 test -z "$ac_c_werror_flag" ||
17843 test ! -s conftest.err
17844 } && test -s conftest.$ac_objext; then
17845 bakefile_cv_c_compiler___xlC__=yes
17846 else
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.$ac_ext >&5
17849
17850 bakefile_cv_c_compiler___xlC__=no
17851
17852 fi
17853
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17855
17856
17857 fi
17858 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17859 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17860 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17861 :; XLCC=yes
17862 else
17863 :;
17864 fi
17865 ac_ext=c
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870
17871
17872
17873 ;;
17874
17875 Darwin)
17876
17877
17878 ac_ext=c
17879 ac_cpp='$CPP $CPPFLAGS'
17880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17883
17884 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17885 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17886 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 else
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895
17896 int
17897 main ()
17898 {
17899
17900 #ifndef __MWERKS__
17901 choke me
17902 #endif
17903
17904 ;
17905 return 0;
17906 }
17907 _ACEOF
17908 rm -f conftest.$ac_objext
17909 if { (ac_try="$ac_compile"
17910 case "(($ac_try" in
17911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17912 *) ac_try_echo=$ac_try;;
17913 esac
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_compile") 2>conftest.er1
17916 ac_status=$?
17917 grep -v '^ *+' conftest.er1 >conftest.err
17918 rm -f conftest.er1
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } && {
17922 test -z "$ac_c_werror_flag" ||
17923 test ! -s conftest.err
17924 } && test -s conftest.$ac_objext; then
17925 bakefile_cv_c_compiler___MWERKS__=yes
17926 else
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17929
17930 bakefile_cv_c_compiler___MWERKS__=no
17931
17932 fi
17933
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935
17936
17937 fi
17938 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17939 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17940 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17941 :; MWCC=yes
17942 else
17943 :;
17944 fi
17945 ac_ext=c
17946 ac_cpp='$CPP $CPPFLAGS'
17947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17950
17951
17952
17953
17954
17955 ac_ext=c
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960
17961 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17962 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17963 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 else
17966 cat >conftest.$ac_ext <<_ACEOF
17967 /* confdefs.h. */
17968 _ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17972
17973 int
17974 main ()
17975 {
17976
17977 #ifndef __xlC__
17978 choke me
17979 #endif
17980
17981 ;
17982 return 0;
17983 }
17984 _ACEOF
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17990 esac
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17993 ac_status=$?
17994 grep -v '^ *+' conftest.er1 >conftest.err
17995 rm -f conftest.er1
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 bakefile_cv_c_compiler___xlC__=yes
18003 else
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18006
18007 bakefile_cv_c_compiler___xlC__=no
18008
18009 fi
18010
18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18012
18013
18014 fi
18015 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18016 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18017 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18018 :; XLCC=yes
18019 else
18020 :;
18021 fi
18022 ac_ext=c
18023 ac_cpp='$CPP $CPPFLAGS'
18024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18027
18028
18029
18030 ;;
18031
18032 IRIX*)
18033
18034
18035 ac_ext=c
18036 ac_cpp='$CPP $CPPFLAGS'
18037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18040
18041 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18042 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18043 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18044 echo $ECHO_N "(cached) $ECHO_C" >&6
18045 else
18046 cat >conftest.$ac_ext <<_ACEOF
18047 /* confdefs.h. */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052
18053 int
18054 main ()
18055 {
18056
18057 #ifndef _SGI_COMPILER_VERSION
18058 choke me
18059 #endif
18060
18061 ;
18062 return 0;
18063 }
18064 _ACEOF
18065 rm -f conftest.$ac_objext
18066 if { (ac_try="$ac_compile"
18067 case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18070 esac
18071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_compile") 2>conftest.er1
18073 ac_status=$?
18074 grep -v '^ *+' conftest.er1 >conftest.err
18075 rm -f conftest.er1
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } && {
18079 test -z "$ac_c_werror_flag" ||
18080 test ! -s conftest.err
18081 } && test -s conftest.$ac_objext; then
18082 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18083 else
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.$ac_ext >&5
18086
18087 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18088
18089 fi
18090
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092
18093
18094 fi
18095 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18096 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18097 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18098 :; SGICC=yes
18099 else
18100 :;
18101 fi
18102 ac_ext=c
18103 ac_cpp='$CPP $CPPFLAGS'
18104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18107
18108
18109
18110 ;;
18111
18112 Linux*)
18113
18114
18115 ac_ext=c
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120
18121 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18122 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 else
18126 cat >conftest.$ac_ext <<_ACEOF
18127 /* confdefs.h. */
18128 _ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18132
18133 int
18134 main ()
18135 {
18136
18137 #ifndef __SUNPRO_C
18138 choke me
18139 #endif
18140
18141 ;
18142 return 0;
18143 }
18144 _ACEOF
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18149 *) ac_try_echo=$ac_try;;
18150 esac
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_c_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.$ac_objext; then
18162 bakefile_cv_c_compiler___SUNPRO_C=yes
18163 else
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.$ac_ext >&5
18166
18167 bakefile_cv_c_compiler___SUNPRO_C=no
18168
18169 fi
18170
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18172
18173
18174 fi
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18176 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18177 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18178 :; SUNCC=yes
18179 else
18180 :;
18181 fi
18182 ac_ext=c
18183 ac_cpp='$CPP $CPPFLAGS'
18184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18187
18188
18189
18190 ;;
18191
18192 HP-UX*)
18193
18194
18195 ac_ext=c
18196 ac_cpp='$CPP $CPPFLAGS'
18197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18200
18201 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18202 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18203 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18205 else
18206 cat >conftest.$ac_ext <<_ACEOF
18207 /* confdefs.h. */
18208 _ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18212
18213 int
18214 main ()
18215 {
18216
18217 #ifndef __HP_cc
18218 choke me
18219 #endif
18220
18221 ;
18222 return 0;
18223 }
18224 _ACEOF
18225 rm -f conftest.$ac_objext
18226 if { (ac_try="$ac_compile"
18227 case "(($ac_try" in
18228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18229 *) ac_try_echo=$ac_try;;
18230 esac
18231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18232 (eval "$ac_compile") 2>conftest.er1
18233 ac_status=$?
18234 grep -v '^ *+' conftest.er1 >conftest.err
18235 rm -f conftest.er1
18236 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && {
18239 test -z "$ac_c_werror_flag" ||
18240 test ! -s conftest.err
18241 } && test -s conftest.$ac_objext; then
18242 bakefile_cv_c_compiler___HP_cc=yes
18243 else
18244 echo "$as_me: failed program was:" >&5
18245 sed 's/^/| /' conftest.$ac_ext >&5
18246
18247 bakefile_cv_c_compiler___HP_cc=no
18248
18249 fi
18250
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252
18253
18254 fi
18255 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18256 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18257 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18258 :; HPCC=yes
18259 else
18260 :;
18261 fi
18262 ac_ext=c
18263 ac_cpp='$CPP $CPPFLAGS'
18264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18267
18268
18269
18270 ;;
18271
18272 OSF1)
18273
18274
18275 ac_ext=c
18276 ac_cpp='$CPP $CPPFLAGS'
18277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18280
18281 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18282 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18283 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18284 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 else
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292
18293 int
18294 main ()
18295 {
18296
18297 #ifndef __DECC
18298 choke me
18299 #endif
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18310 esac
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18313 ac_status=$?
18314 grep -v '^ *+' conftest.er1 >conftest.err
18315 rm -f conftest.er1
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 bakefile_cv_c_compiler___DECC=yes
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18326
18327 bakefile_cv_c_compiler___DECC=no
18328
18329 fi
18330
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18332
18333
18334 fi
18335 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18336 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18337 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18338 :; COMPAQCC=yes
18339 else
18340 :;
18341 fi
18342 ac_ext=c
18343 ac_cpp='$CPP $CPPFLAGS'
18344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347
18348
18349
18350 ;;
18351
18352 SunOS)
18353
18354
18355 ac_ext=c
18356 ac_cpp='$CPP $CPPFLAGS'
18357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18360
18361 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18362 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18363 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18364 echo $ECHO_N "(cached) $ECHO_C" >&6
18365 else
18366 cat >conftest.$ac_ext <<_ACEOF
18367 /* confdefs.h. */
18368 _ACEOF
18369 cat confdefs.h >>conftest.$ac_ext
18370 cat >>conftest.$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18372
18373 int
18374 main ()
18375 {
18376
18377 #ifndef __SUNPRO_C
18378 choke me
18379 #endif
18380
18381 ;
18382 return 0;
18383 }
18384 _ACEOF
18385 rm -f conftest.$ac_objext
18386 if { (ac_try="$ac_compile"
18387 case "(($ac_try" in
18388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18389 *) ac_try_echo=$ac_try;;
18390 esac
18391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18392 (eval "$ac_compile") 2>conftest.er1
18393 ac_status=$?
18394 grep -v '^ *+' conftest.er1 >conftest.err
18395 rm -f conftest.er1
18396 cat conftest.err >&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && {
18399 test -z "$ac_c_werror_flag" ||
18400 test ! -s conftest.err
18401 } && test -s conftest.$ac_objext; then
18402 bakefile_cv_c_compiler___SUNPRO_C=yes
18403 else
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.$ac_ext >&5
18406
18407 bakefile_cv_c_compiler___SUNPRO_C=no
18408
18409 fi
18410
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412
18413
18414 fi
18415 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18416 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18417 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18418 :; SUNCC=yes
18419 else
18420 :;
18421 fi
18422 ac_ext=c
18423 ac_cpp='$CPP $CPPFLAGS'
18424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18427
18428
18429
18430 ;;
18431 esac
18432 fi
18433
18434
18435
18436 ac_ext=c
18437 ac_cpp='$CPP $CPPFLAGS'
18438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18441 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18442 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18443 # On Suns, sometimes $CPP names a directory.
18444 if test -n "$CPP" && test -d "$CPP"; then
18445 CPP=
18446 fi
18447 if test -z "$CPP"; then
18448 if test "${ac_cv_prog_CPP+set}" = set; then
18449 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 else
18451 # Double quotes because CPP needs to be expanded
18452 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18453 do
18454 ac_preproc_ok=false
18455 for ac_c_preproc_warn_flag in '' yes
18456 do
18457 # Use a header file that comes with gcc, so configuring glibc
18458 # with a fresh cross-compiler works.
18459 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18460 # <limits.h> exists even on freestanding compilers.
18461 # On the NeXT, cc -E runs the code through the compiler's parser,
18462 # not just through cpp. "Syntax error" is here to catch this case.
18463 cat >conftest.$ac_ext <<_ACEOF
18464 /* confdefs.h. */
18465 _ACEOF
18466 cat confdefs.h >>conftest.$ac_ext
18467 cat >>conftest.$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18469 #ifdef __STDC__
18470 # include <limits.h>
18471 #else
18472 # include <assert.h>
18473 #endif
18474 Syntax error
18475 _ACEOF
18476 if { (ac_try="$ac_cpp conftest.$ac_ext"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18480 esac
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } >/dev/null && {
18489 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18491 }; then
18492 :
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 # Broken: fails on valid input.
18498 continue
18499 fi
18500
18501 rm -f conftest.err conftest.$ac_ext
18502
18503 # OK, works on sane cases. Now check whether nonexistent headers
18504 # can be detected and how.
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #include <ac_nonexistent.h>
18512 _ACEOF
18513 if { (ac_try="$ac_cpp conftest.$ac_ext"
18514 case "(($ac_try" in
18515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18517 esac
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } >/dev/null && {
18526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18527 test ! -s conftest.err
18528 }; then
18529 # Broken: success on invalid input.
18530 continue
18531 else
18532 echo "$as_me: failed program was:" >&5
18533 sed 's/^/| /' conftest.$ac_ext >&5
18534
18535 # Passes both tests.
18536 ac_preproc_ok=:
18537 break
18538 fi
18539
18540 rm -f conftest.err conftest.$ac_ext
18541
18542 done
18543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18544 rm -f conftest.err conftest.$ac_ext
18545 if $ac_preproc_ok; then
18546 break
18547 fi
18548
18549 done
18550 ac_cv_prog_CPP=$CPP
18551
18552 fi
18553 CPP=$ac_cv_prog_CPP
18554 else
18555 ac_cv_prog_CPP=$CPP
18556 fi
18557 { echo "$as_me:$LINENO: result: $CPP" >&5
18558 echo "${ECHO_T}$CPP" >&6; }
18559 ac_preproc_ok=false
18560 for ac_c_preproc_warn_flag in '' yes
18561 do
18562 # Use a header file that comes with gcc, so configuring glibc
18563 # with a fresh cross-compiler works.
18564 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18565 # <limits.h> exists even on freestanding compilers.
18566 # On the NeXT, cc -E runs the code through the compiler's parser,
18567 # not just through cpp. "Syntax error" is here to catch this case.
18568 cat >conftest.$ac_ext <<_ACEOF
18569 /* confdefs.h. */
18570 _ACEOF
18571 cat confdefs.h >>conftest.$ac_ext
18572 cat >>conftest.$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18574 #ifdef __STDC__
18575 # include <limits.h>
18576 #else
18577 # include <assert.h>
18578 #endif
18579 Syntax error
18580 _ACEOF
18581 if { (ac_try="$ac_cpp conftest.$ac_ext"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18588 ac_status=$?
18589 grep -v '^ *+' conftest.er1 >conftest.err
18590 rm -f conftest.er1
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } >/dev/null && {
18594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18596 }; then
18597 :
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18601
18602 # Broken: fails on valid input.
18603 continue
18604 fi
18605
18606 rm -f conftest.err conftest.$ac_ext
18607
18608 # OK, works on sane cases. Now check whether nonexistent headers
18609 # can be detected and how.
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <ac_nonexistent.h>
18617 _ACEOF
18618 if { (ac_try="$ac_cpp conftest.$ac_ext"
18619 case "(($ac_try" in
18620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18621 *) ac_try_echo=$ac_try;;
18622 esac
18623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18624 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18625 ac_status=$?
18626 grep -v '^ *+' conftest.er1 >conftest.err
18627 rm -f conftest.er1
18628 cat conftest.err >&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } >/dev/null && {
18631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18632 test ! -s conftest.err
18633 }; then
18634 # Broken: success on invalid input.
18635 continue
18636 else
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18639
18640 # Passes both tests.
18641 ac_preproc_ok=:
18642 break
18643 fi
18644
18645 rm -f conftest.err conftest.$ac_ext
18646
18647 done
18648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18649 rm -f conftest.err conftest.$ac_ext
18650 if $ac_preproc_ok; then
18651 :
18652 else
18653 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18654 See \`config.log' for more details." >&5
18655 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18656 See \`config.log' for more details." >&2;}
18657 { (exit 1); exit 1; }; }
18658 fi
18659
18660 ac_ext=c
18661 ac_cpp='$CPP $CPPFLAGS'
18662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18665
18666
18667 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18668 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18669 if test "${ac_cv_path_GREP+set}" = set; then
18670 echo $ECHO_N "(cached) $ECHO_C" >&6
18671 else
18672 # Extract the first word of "grep ggrep" to use in msg output
18673 if test -z "$GREP"; then
18674 set dummy grep ggrep; ac_prog_name=$2
18675 if test "${ac_cv_path_GREP+set}" = set; then
18676 echo $ECHO_N "(cached) $ECHO_C" >&6
18677 else
18678 ac_path_GREP_found=false
18679 # Loop through the user's path and test for each of PROGNAME-LIST
18680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18682 do
18683 IFS=$as_save_IFS
18684 test -z "$as_dir" && as_dir=.
18685 for ac_prog in grep ggrep; do
18686 for ac_exec_ext in '' $ac_executable_extensions; do
18687 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18688 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18689 # Check for GNU ac_path_GREP and select it if it is found.
18690 # Check for GNU $ac_path_GREP
18691 case `"$ac_path_GREP" --version 2>&1` in
18692 *GNU*)
18693 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18694 *)
18695 ac_count=0
18696 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18697 while :
18698 do
18699 cat "conftest.in" "conftest.in" >"conftest.tmp"
18700 mv "conftest.tmp" "conftest.in"
18701 cp "conftest.in" "conftest.nl"
18702 echo 'GREP' >> "conftest.nl"
18703 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18705 ac_count=`expr $ac_count + 1`
18706 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18707 # Best one so far, save it but keep looking for a better one
18708 ac_cv_path_GREP="$ac_path_GREP"
18709 ac_path_GREP_max=$ac_count
18710 fi
18711 # 10*(2^10) chars as input seems more than enough
18712 test $ac_count -gt 10 && break
18713 done
18714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18715 esac
18716
18717
18718 $ac_path_GREP_found && break 3
18719 done
18720 done
18721
18722 done
18723 IFS=$as_save_IFS
18724
18725
18726 fi
18727
18728 GREP="$ac_cv_path_GREP"
18729 if test -z "$GREP"; then
18730 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18731 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18732 { (exit 1); exit 1; }; }
18733 fi
18734
18735 else
18736 ac_cv_path_GREP=$GREP
18737 fi
18738
18739
18740 fi
18741 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18742 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18743 GREP="$ac_cv_path_GREP"
18744
18745
18746 { echo "$as_me:$LINENO: checking for egrep" >&5
18747 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18748 if test "${ac_cv_path_EGREP+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 else
18751 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18752 then ac_cv_path_EGREP="$GREP -E"
18753 else
18754 # Extract the first word of "egrep" to use in msg output
18755 if test -z "$EGREP"; then
18756 set dummy egrep; ac_prog_name=$2
18757 if test "${ac_cv_path_EGREP+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 else
18760 ac_path_EGREP_found=false
18761 # Loop through the user's path and test for each of PROGNAME-LIST
18762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18764 do
18765 IFS=$as_save_IFS
18766 test -z "$as_dir" && as_dir=.
18767 for ac_prog in egrep; do
18768 for ac_exec_ext in '' $ac_executable_extensions; do
18769 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18770 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18771 # Check for GNU ac_path_EGREP and select it if it is found.
18772 # Check for GNU $ac_path_EGREP
18773 case `"$ac_path_EGREP" --version 2>&1` in
18774 *GNU*)
18775 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18776 *)
18777 ac_count=0
18778 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18779 while :
18780 do
18781 cat "conftest.in" "conftest.in" >"conftest.tmp"
18782 mv "conftest.tmp" "conftest.in"
18783 cp "conftest.in" "conftest.nl"
18784 echo 'EGREP' >> "conftest.nl"
18785 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18786 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18787 ac_count=`expr $ac_count + 1`
18788 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18789 # Best one so far, save it but keep looking for a better one
18790 ac_cv_path_EGREP="$ac_path_EGREP"
18791 ac_path_EGREP_max=$ac_count
18792 fi
18793 # 10*(2^10) chars as input seems more than enough
18794 test $ac_count -gt 10 && break
18795 done
18796 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18797 esac
18798
18799
18800 $ac_path_EGREP_found && break 3
18801 done
18802 done
18803
18804 done
18805 IFS=$as_save_IFS
18806
18807
18808 fi
18809
18810 EGREP="$ac_cv_path_EGREP"
18811 if test -z "$EGREP"; then
18812 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18813 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18814 { (exit 1); exit 1; }; }
18815 fi
18816
18817 else
18818 ac_cv_path_EGREP=$EGREP
18819 fi
18820
18821
18822 fi
18823 fi
18824 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18825 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18826 EGREP="$ac_cv_path_EGREP"
18827
18828
18829 if test $ac_cv_c_compiler_gnu = yes; then
18830 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18831 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18832 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 else
18835 ac_pattern="Autoconf.*'x'"
18836 cat >conftest.$ac_ext <<_ACEOF
18837 /* confdefs.h. */
18838 _ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842 #include <sgtty.h>
18843 Autoconf TIOCGETP
18844 _ACEOF
18845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18846 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18847 ac_cv_prog_gcc_traditional=yes
18848 else
18849 ac_cv_prog_gcc_traditional=no
18850 fi
18851 rm -f conftest*
18852
18853
18854 if test $ac_cv_prog_gcc_traditional = no; then
18855 cat >conftest.$ac_ext <<_ACEOF
18856 /* confdefs.h. */
18857 _ACEOF
18858 cat confdefs.h >>conftest.$ac_ext
18859 cat >>conftest.$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 #include <termio.h>
18862 Autoconf TCGETA
18863 _ACEOF
18864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18865 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18866 ac_cv_prog_gcc_traditional=yes
18867 fi
18868 rm -f conftest*
18869
18870 fi
18871 fi
18872 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18873 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18874 if test $ac_cv_prog_gcc_traditional = yes; then
18875 CC="$CC -traditional"
18876 fi
18877 fi
18878
18879
18880 CXXFLAGS=${CXXFLAGS:=}
18881
18882
18883
18884 ac_ext=cpp
18885 ac_cpp='$CXXCPP $CPPFLAGS'
18886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889 if test -z "$CXX"; then
18890 if test -n "$CCC"; then
18891 CXX=$CCC
18892 else
18893 if test -n "$ac_tool_prefix"; then
18894 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18895 do
18896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18900 if test "${ac_cv_prog_CXX+set}" = set; then
18901 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 else
18903 if test -n "$CXX"; then
18904 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18905 else
18906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18907 for as_dir in $PATH
18908 do
18909 IFS=$as_save_IFS
18910 test -z "$as_dir" && as_dir=.
18911 for ac_exec_ext in '' $ac_executable_extensions; do
18912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18913 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18915 break 2
18916 fi
18917 done
18918 done
18919 IFS=$as_save_IFS
18920
18921 fi
18922 fi
18923 CXX=$ac_cv_prog_CXX
18924 if test -n "$CXX"; then
18925 { echo "$as_me:$LINENO: result: $CXX" >&5
18926 echo "${ECHO_T}$CXX" >&6; }
18927 else
18928 { echo "$as_me:$LINENO: result: no" >&5
18929 echo "${ECHO_T}no" >&6; }
18930 fi
18931
18932
18933 test -n "$CXX" && break
18934 done
18935 fi
18936 if test -z "$CXX"; then
18937 ac_ct_CXX=$CXX
18938 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18939 do
18940 # Extract the first word of "$ac_prog", so it can be a program name with args.
18941 set dummy $ac_prog; ac_word=$2
18942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18944 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 else
18947 if test -n "$ac_ct_CXX"; then
18948 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18949 else
18950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18951 for as_dir in $PATH
18952 do
18953 IFS=$as_save_IFS
18954 test -z "$as_dir" && as_dir=.
18955 for ac_exec_ext in '' $ac_executable_extensions; do
18956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18957 ac_cv_prog_ac_ct_CXX="$ac_prog"
18958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18959 break 2
18960 fi
18961 done
18962 done
18963 IFS=$as_save_IFS
18964
18965 fi
18966 fi
18967 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18968 if test -n "$ac_ct_CXX"; then
18969 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18970 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18971 else
18972 { echo "$as_me:$LINENO: result: no" >&5
18973 echo "${ECHO_T}no" >&6; }
18974 fi
18975
18976
18977 test -n "$ac_ct_CXX" && break
18978 done
18979
18980 if test "x$ac_ct_CXX" = x; then
18981 CXX="g++"
18982 else
18983 case $cross_compiling:$ac_tool_warned in
18984 yes:)
18985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18986 whose name does not start with the host triplet. If you think this
18987 configuration is useful to you, please write to autoconf@gnu.org." >&5
18988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18989 whose name does not start with the host triplet. If you think this
18990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18991 ac_tool_warned=yes ;;
18992 esac
18993 CXX=$ac_ct_CXX
18994 fi
18995 fi
18996
18997 fi
18998 fi
18999 # Provide some information about the compiler.
19000 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19001 ac_compiler=`set X $ac_compile; echo $2`
19002 { (ac_try="$ac_compiler --version >&5"
19003 case "(($ac_try" in
19004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19006 esac
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compiler --version >&5") 2>&5
19009 ac_status=$?
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); }
19012 { (ac_try="$ac_compiler -v >&5"
19013 case "(($ac_try" in
19014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19015 *) ac_try_echo=$ac_try;;
19016 esac
19017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19018 (eval "$ac_compiler -v >&5") 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }
19022 { (ac_try="$ac_compiler -V >&5"
19023 case "(($ac_try" in
19024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025 *) ac_try_echo=$ac_try;;
19026 esac
19027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19028 (eval "$ac_compiler -V >&5") 2>&5
19029 ac_status=$?
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }
19032
19033 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19034 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19035 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19036 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 else
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044
19045 int
19046 main ()
19047 {
19048 #ifndef __GNUC__
19049 choke me
19050 #endif
19051
19052 ;
19053 return 0;
19054 }
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19061 esac
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_cxx_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 ac_compiler_gnu=yes
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19077
19078 ac_compiler_gnu=no
19079 fi
19080
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19082 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19083
19084 fi
19085 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19086 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19087 GXX=`test $ac_compiler_gnu = yes && echo yes`
19088 ac_test_CXXFLAGS=${CXXFLAGS+set}
19089 ac_save_CXXFLAGS=$CXXFLAGS
19090 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19091 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19092 if test "${ac_cv_prog_cxx_g+set}" = set; then
19093 echo $ECHO_N "(cached) $ECHO_C" >&6
19094 else
19095 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19096 ac_cxx_werror_flag=yes
19097 ac_cv_prog_cxx_g=no
19098 CXXFLAGS="-g"
19099 cat >conftest.$ac_ext <<_ACEOF
19100 /* confdefs.h. */
19101 _ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19105
19106 int
19107 main ()
19108 {
19109
19110 ;
19111 return 0;
19112 }
19113 _ACEOF
19114 rm -f conftest.$ac_objext
19115 if { (ac_try="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19119 esac
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_cxx_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19131 ac_cv_prog_cxx_g=yes
19132 else
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19135
19136 CXXFLAGS=""
19137 cat >conftest.$ac_ext <<_ACEOF
19138 /* confdefs.h. */
19139 _ACEOF
19140 cat confdefs.h >>conftest.$ac_ext
19141 cat >>conftest.$ac_ext <<_ACEOF
19142 /* end confdefs.h. */
19143
19144 int
19145 main ()
19146 {
19147
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_cxx_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 :
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19175 CXXFLAGS="-g"
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182
19183 int
19184 main ()
19185 {
19186
19187 ;
19188 return 0;
19189 }
19190 _ACEOF
19191 rm -f conftest.$ac_objext
19192 if { (ac_try="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19196 esac
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19199 ac_status=$?
19200 grep -v '^ *+' conftest.er1 >conftest.err
19201 rm -f conftest.er1
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_cxx_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 ac_cv_prog_cxx_g=yes
19209 else
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19212
19213
19214 fi
19215
19216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 fi
19218
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 fi
19221
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19224 fi
19225 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19226 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19227 if test "$ac_test_CXXFLAGS" = set; then
19228 CXXFLAGS=$ac_save_CXXFLAGS
19229 elif test $ac_cv_prog_cxx_g = yes; then
19230 if test "$GXX" = yes; then
19231 CXXFLAGS="-g -O2"
19232 else
19233 CXXFLAGS="-g"
19234 fi
19235 else
19236 if test "$GXX" = yes; then
19237 CXXFLAGS="-O2"
19238 else
19239 CXXFLAGS=
19240 fi
19241 fi
19242 ac_ext=c
19243 ac_cpp='$CPP $CPPFLAGS'
19244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19247
19248
19249
19250
19251 ac_ext=cpp
19252 ac_cpp='$CXXCPP $CPPFLAGS'
19253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19256
19257 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19258 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19259 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 else
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268
19269 int
19270 main ()
19271 {
19272
19273 #ifndef __INTEL_COMPILER
19274 choke me
19275 #endif
19276
19277 ;
19278 return 0;
19279 }
19280 _ACEOF
19281 rm -f conftest.$ac_objext
19282 if { (ac_try="$ac_compile"
19283 case "(($ac_try" in
19284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19285 *) ac_try_echo=$ac_try;;
19286 esac
19287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19288 (eval "$ac_compile") 2>conftest.er1
19289 ac_status=$?
19290 grep -v '^ *+' conftest.er1 >conftest.err
19291 rm -f conftest.er1
19292 cat conftest.err >&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } && {
19295 test -z "$ac_cxx_werror_flag" ||
19296 test ! -s conftest.err
19297 } && test -s conftest.$ac_objext; then
19298 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19299 else
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19302
19303 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19304
19305 fi
19306
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308
19309
19310 fi
19311 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19312 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19313 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19314 :; INTELCXX=yes
19315 else
19316 :;
19317 fi
19318 ac_ext=c
19319 ac_cpp='$CPP $CPPFLAGS'
19320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19323
19324
19325
19326
19327 if test "x$GCXX" != "xyes"; then
19328 if test "xCXX" = "xC"; then
19329 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19330 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19331 if test "${bakefile_cv_c_exto+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19334 cat >conftest.$ac_ext <<_ACEOF
19335 /* confdefs.h. */
19336 _ACEOF
19337 cat confdefs.h >>conftest.$ac_ext
19338 cat >>conftest.$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340
19341 int
19342 main ()
19343 {
19344
19345 ;
19346 return 0;
19347 }
19348 _ACEOF
19349 rm -f conftest.$ac_objext conftest.$ac_ext.o
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; then
19355 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19356 case $ac_file in
19357 conftest.$ac_ext.o)
19358 bakefile_cv_c_exto="-ext o"
19359 ;;
19360 *)
19361 ;;
19362 esac
19363 done
19364 else
19365 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19366 See \`config.log' for more details." >&5
19367 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19368 See \`config.log' for more details." >&2;}
19369 { (exit 1); exit 1; }; }
19370
19371 fi
19372
19373 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19374
19375 fi
19376 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19377 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19378 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19379 if test "c" = "c"; then
19380 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19381 fi
19382 if test "c" = "cxx"; then
19383 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19384 fi
19385 fi
19386
19387 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19388 unset ac_cv_prog_cc_g
19389 ac_test_CFLAGS=${CFLAGS+set}
19390 ac_save_CFLAGS=$CFLAGS
19391 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19392 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19393 if test "${ac_cv_prog_cc_g+set}" = set; then
19394 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 else
19396 ac_save_c_werror_flag=$ac_c_werror_flag
19397 ac_c_werror_flag=yes
19398 ac_cv_prog_cc_g=no
19399 CFLAGS="-g"
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406
19407 int
19408 main ()
19409 {
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19420 esac
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19423 ac_status=$?
19424 grep -v '^ *+' conftest.er1 >conftest.err
19425 rm -f conftest.er1
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_prog_cc_g=yes
19433 else
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19436
19437 CFLAGS=""
19438 cat >conftest.$ac_ext <<_ACEOF
19439 /* confdefs.h. */
19440 _ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19444
19445 int
19446 main ()
19447 {
19448
19449 ;
19450 return 0;
19451 }
19452 _ACEOF
19453 rm -f conftest.$ac_objext
19454 if { (ac_try="$ac_compile"
19455 case "(($ac_try" in
19456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19457 *) ac_try_echo=$ac_try;;
19458 esac
19459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19460 (eval "$ac_compile") 2>conftest.er1
19461 ac_status=$?
19462 grep -v '^ *+' conftest.er1 >conftest.err
19463 rm -f conftest.er1
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } && {
19467 test -z "$ac_c_werror_flag" ||
19468 test ! -s conftest.err
19469 } && test -s conftest.$ac_objext; then
19470 :
19471 else
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.$ac_ext >&5
19474
19475 ac_c_werror_flag=$ac_save_c_werror_flag
19476 CFLAGS="-g"
19477 cat >conftest.$ac_ext <<_ACEOF
19478 /* confdefs.h. */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483
19484 int
19485 main ()
19486 {
19487
19488 ;
19489 return 0;
19490 }
19491 _ACEOF
19492 rm -f conftest.$ac_objext
19493 if { (ac_try="$ac_compile"
19494 case "(($ac_try" in
19495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19496 *) ac_try_echo=$ac_try;;
19497 esac
19498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19499 (eval "$ac_compile") 2>conftest.er1
19500 ac_status=$?
19501 grep -v '^ *+' conftest.er1 >conftest.err
19502 rm -f conftest.er1
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } && {
19506 test -z "$ac_c_werror_flag" ||
19507 test ! -s conftest.err
19508 } && test -s conftest.$ac_objext; then
19509 ac_cv_prog_cc_g=yes
19510 else
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19513
19514
19515 fi
19516
19517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19518 fi
19519
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19521 fi
19522
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 ac_c_werror_flag=$ac_save_c_werror_flag
19525 fi
19526 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19527 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19528 if test "$ac_test_CFLAGS" = set; then
19529 CFLAGS=$ac_save_CFLAGS
19530 elif test $ac_cv_prog_cc_g = yes; then
19531 if test "$GCC" = yes; then
19532 CFLAGS="-g -O2"
19533 else
19534 CFLAGS="-g"
19535 fi
19536 else
19537 if test "$GCC" = yes; then
19538 CFLAGS="-O2"
19539 else
19540 CFLAGS=
19541 fi
19542 fi
19543 fi
19544 fi
19545
19546 case `uname -s` in
19547 AIX*)
19548
19549
19550 ac_ext=cpp
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555
19556 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19557 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19558 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 else
19561 cat >conftest.$ac_ext <<_ACEOF
19562 /* confdefs.h. */
19563 _ACEOF
19564 cat confdefs.h >>conftest.$ac_ext
19565 cat >>conftest.$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19567
19568 int
19569 main ()
19570 {
19571
19572 #ifndef __xlC__
19573 choke me
19574 #endif
19575
19576 ;
19577 return 0;
19578 }
19579 _ACEOF
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19585 esac
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19588 ac_status=$?
19589 grep -v '^ *+' conftest.er1 >conftest.err
19590 rm -f conftest.er1
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_cxx_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.$ac_objext; then
19597 bakefile_cv_cxx_compiler___xlC__=yes
19598 else
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19601
19602 bakefile_cv_cxx_compiler___xlC__=no
19603
19604 fi
19605
19606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19607
19608
19609 fi
19610 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19611 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19612 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19613 :; XLCXX=yes
19614 else
19615 :;
19616 fi
19617 ac_ext=c
19618 ac_cpp='$CPP $CPPFLAGS'
19619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19622
19623
19624
19625 ;;
19626
19627 Darwin)
19628
19629
19630 ac_ext=cpp
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19635
19636 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19637 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19638 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 else
19641 cat >conftest.$ac_ext <<_ACEOF
19642 /* confdefs.h. */
19643 _ACEOF
19644 cat confdefs.h >>conftest.$ac_ext
19645 cat >>conftest.$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647
19648 int
19649 main ()
19650 {
19651
19652 #ifndef __MWERKS__
19653 choke me
19654 #endif
19655
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19665 esac
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19668 ac_status=$?
19669 grep -v '^ *+' conftest.er1 >conftest.err
19670 rm -f conftest.er1
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_cxx_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19677 bakefile_cv_cxx_compiler___MWERKS__=yes
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 bakefile_cv_cxx_compiler___MWERKS__=no
19683
19684 fi
19685
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687
19688
19689 fi
19690 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19691 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19692 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19693 :; MWCXX=yes
19694 else
19695 :;
19696 fi
19697 ac_ext=c
19698 ac_cpp='$CPP $CPPFLAGS'
19699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19702
19703
19704
19705
19706
19707 ac_ext=cpp
19708 ac_cpp='$CXXCPP $CPPFLAGS'
19709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19712
19713 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19714 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19715 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 else
19718 cat >conftest.$ac_ext <<_ACEOF
19719 /* confdefs.h. */
19720 _ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724
19725 int
19726 main ()
19727 {
19728
19729 #ifndef __xlC__
19730 choke me
19731 #endif
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 rm -f conftest.$ac_objext
19738 if { (ac_try="$ac_compile"
19739 case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19742 esac
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_compile") 2>conftest.er1
19745 ac_status=$?
19746 grep -v '^ *+' conftest.er1 >conftest.err
19747 rm -f conftest.er1
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } && {
19751 test -z "$ac_cxx_werror_flag" ||
19752 test ! -s conftest.err
19753 } && test -s conftest.$ac_objext; then
19754 bakefile_cv_cxx_compiler___xlC__=yes
19755 else
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19758
19759 bakefile_cv_cxx_compiler___xlC__=no
19760
19761 fi
19762
19763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19764
19765
19766 fi
19767 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19768 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19769 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19770 :; XLCXX=yes
19771 else
19772 :;
19773 fi
19774 ac_ext=c
19775 ac_cpp='$CPP $CPPFLAGS'
19776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19779
19780
19781
19782 ;;
19783
19784 IRIX*)
19785
19786
19787 ac_ext=cpp
19788 ac_cpp='$CXXCPP $CPPFLAGS'
19789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19792
19793 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19794 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19795 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 else
19798 cat >conftest.$ac_ext <<_ACEOF
19799 /* confdefs.h. */
19800 _ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804
19805 int
19806 main ()
19807 {
19808
19809 #ifndef _SGI_COMPILER_VERSION
19810 choke me
19811 #endif
19812
19813 ;
19814 return 0;
19815 }
19816 _ACEOF
19817 rm -f conftest.$ac_objext
19818 if { (ac_try="$ac_compile"
19819 case "(($ac_try" in
19820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19821 *) ac_try_echo=$ac_try;;
19822 esac
19823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19824 (eval "$ac_compile") 2>conftest.er1
19825 ac_status=$?
19826 grep -v '^ *+' conftest.er1 >conftest.err
19827 rm -f conftest.er1
19828 cat conftest.err >&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } && {
19831 test -z "$ac_cxx_werror_flag" ||
19832 test ! -s conftest.err
19833 } && test -s conftest.$ac_objext; then
19834 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19835 else
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.$ac_ext >&5
19838
19839 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19840
19841 fi
19842
19843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19844
19845
19846 fi
19847 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19848 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19849 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19850 :; SGICXX=yes
19851 else
19852 :;
19853 fi
19854 ac_ext=c
19855 ac_cpp='$CPP $CPPFLAGS'
19856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19859
19860
19861
19862 ;;
19863
19864 Linux*)
19865
19866
19867 ac_ext=cpp
19868 ac_cpp='$CXXCPP $CPPFLAGS'
19869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19872
19873 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19874 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19875 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 else
19878 cat >conftest.$ac_ext <<_ACEOF
19879 /* confdefs.h. */
19880 _ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884
19885 int
19886 main ()
19887 {
19888
19889 #ifndef __SUNPRO_CC
19890 choke me
19891 #endif
19892
19893 ;
19894 return 0;
19895 }
19896 _ACEOF
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19902 esac
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19905 ac_status=$?
19906 grep -v '^ *+' conftest.er1 >conftest.err
19907 rm -f conftest.er1
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_cxx_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.$ac_objext; then
19914 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19915 else
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19918
19919 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19920
19921 fi
19922
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19924
19925
19926 fi
19927 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19928 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19929 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19930 :; SUNCXX=yes
19931 else
19932 :;
19933 fi
19934 ac_ext=c
19935 ac_cpp='$CPP $CPPFLAGS'
19936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19939
19940
19941
19942 ;;
19943
19944 HP-UX*)
19945
19946
19947 ac_ext=cpp
19948 ac_cpp='$CXXCPP $CPPFLAGS'
19949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19952
19953 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19954 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19955 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 else
19958 cat >conftest.$ac_ext <<_ACEOF
19959 /* confdefs.h. */
19960 _ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964
19965 int
19966 main ()
19967 {
19968
19969 #ifndef __HP_aCC
19970 choke me
19971 #endif
19972
19973 ;
19974 return 0;
19975 }
19976 _ACEOF
19977 rm -f conftest.$ac_objext
19978 if { (ac_try="$ac_compile"
19979 case "(($ac_try" in
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19982 esac
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_compile") 2>conftest.er1
19985 ac_status=$?
19986 grep -v '^ *+' conftest.er1 >conftest.err
19987 rm -f conftest.er1
19988 cat conftest.err >&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } && {
19991 test -z "$ac_cxx_werror_flag" ||
19992 test ! -s conftest.err
19993 } && test -s conftest.$ac_objext; then
19994 bakefile_cv_cxx_compiler___HP_aCC=yes
19995 else
19996 echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.$ac_ext >&5
19998
19999 bakefile_cv_cxx_compiler___HP_aCC=no
20000
20001 fi
20002
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004
20005
20006 fi
20007 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20008 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20009 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20010 :; HPCXX=yes
20011 else
20012 :;
20013 fi
20014 ac_ext=c
20015 ac_cpp='$CPP $CPPFLAGS'
20016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20019
20020
20021
20022 ;;
20023
20024 OSF1)
20025
20026
20027 ac_ext=cpp
20028 ac_cpp='$CXXCPP $CPPFLAGS'
20029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20032
20033 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20034 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20035 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 else
20038 cat >conftest.$ac_ext <<_ACEOF
20039 /* confdefs.h. */
20040 _ACEOF
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20044
20045 int
20046 main ()
20047 {
20048
20049 #ifndef __DECCXX
20050 choke me
20051 #endif
20052
20053 ;
20054 return 0;
20055 }
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20062 esac
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_cxx_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20074 bakefile_cv_cxx_compiler___DECCXX=yes
20075 else
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20078
20079 bakefile_cv_cxx_compiler___DECCXX=no
20080
20081 fi
20082
20083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20084
20085
20086 fi
20087 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20088 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20089 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20090 :; COMPAQCXX=yes
20091 else
20092 :;
20093 fi
20094 ac_ext=c
20095 ac_cpp='$CPP $CPPFLAGS'
20096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20099
20100
20101
20102 ;;
20103
20104 SunOS)
20105
20106
20107 ac_ext=cpp
20108 ac_cpp='$CXXCPP $CPPFLAGS'
20109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20112
20113 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20114 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20115 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 else
20118 cat >conftest.$ac_ext <<_ACEOF
20119 /* confdefs.h. */
20120 _ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124
20125 int
20126 main ()
20127 {
20128
20129 #ifndef __SUNPRO_CC
20130 choke me
20131 #endif
20132
20133 ;
20134 return 0;
20135 }
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20142 esac
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_cxx_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.$ac_objext; then
20154 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20155 else
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20158
20159 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20160
20161 fi
20162
20163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164
20165
20166 fi
20167 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20168 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20169 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20170 :; SUNCXX=yes
20171 else
20172 :;
20173 fi
20174 ac_ext=c
20175 ac_cpp='$CPP $CPPFLAGS'
20176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20179
20180
20181
20182 ;;
20183 esac
20184 fi
20185
20186
20187
20188 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20189 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20190 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20191 { (exit 1); exit 1; }; }
20192 fi
20193
20194 if test "x$SUNCXX" != xyes; then
20195 if test -n "$ac_tool_prefix"; then
20196 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20197 set dummy ${ac_tool_prefix}ar; ac_word=$2
20198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20200 if test "${ac_cv_prog_AR+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20202 else
20203 if test -n "$AR"; then
20204 ac_cv_prog_AR="$AR" # Let the user override the test.
20205 else
20206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20207 for as_dir in $PATH
20208 do
20209 IFS=$as_save_IFS
20210 test -z "$as_dir" && as_dir=.
20211 for ac_exec_ext in '' $ac_executable_extensions; do
20212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20213 ac_cv_prog_AR="${ac_tool_prefix}ar"
20214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20215 break 2
20216 fi
20217 done
20218 done
20219 IFS=$as_save_IFS
20220
20221 fi
20222 fi
20223 AR=$ac_cv_prog_AR
20224 if test -n "$AR"; then
20225 { echo "$as_me:$LINENO: result: $AR" >&5
20226 echo "${ECHO_T}$AR" >&6; }
20227 else
20228 { echo "$as_me:$LINENO: result: no" >&5
20229 echo "${ECHO_T}no" >&6; }
20230 fi
20231
20232
20233 fi
20234 if test -z "$ac_cv_prog_AR"; then
20235 ac_ct_AR=$AR
20236 # Extract the first word of "ar", so it can be a program name with args.
20237 set dummy ar; ac_word=$2
20238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20240 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 else
20243 if test -n "$ac_ct_AR"; then
20244 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20245 else
20246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20247 for as_dir in $PATH
20248 do
20249 IFS=$as_save_IFS
20250 test -z "$as_dir" && as_dir=.
20251 for ac_exec_ext in '' $ac_executable_extensions; do
20252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20253 ac_cv_prog_ac_ct_AR="ar"
20254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20255 break 2
20256 fi
20257 done
20258 done
20259 IFS=$as_save_IFS
20260
20261 fi
20262 fi
20263 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20264 if test -n "$ac_ct_AR"; then
20265 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20266 echo "${ECHO_T}$ac_ct_AR" >&6; }
20267 else
20268 { echo "$as_me:$LINENO: result: no" >&5
20269 echo "${ECHO_T}no" >&6; }
20270 fi
20271
20272 if test "x$ac_ct_AR" = x; then
20273 AR=""
20274 else
20275 case $cross_compiling:$ac_tool_warned in
20276 yes:)
20277 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20278 whose name does not start with the host triplet. If you think this
20279 configuration is useful to you, please write to autoconf@gnu.org." >&5
20280 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20281 whose name does not start with the host triplet. If you think this
20282 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20283 ac_tool_warned=yes ;;
20284 esac
20285 AR=$ac_ct_AR
20286 fi
20287 else
20288 AR="$ac_cv_prog_AR"
20289 fi
20290
20291 if test "x$AR" = "x" ; then
20292 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20293 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20294 { (exit 1); exit 1; }; }
20295 fi
20296 fi
20297
20298 retest_macosx_linking=no
20299
20300 #if test "$wxUSE_MAC" = 1; then
20301 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20302 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20303 # Implicitly turn on the new --with-macosx-sdk using the default
20304 # SDK which provides the behavior this option has always had.
20305 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20306 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20307 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20308 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20309 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20310 wxUSE_MACOSX_SDK=yes
20311 fi
20312 else
20313 # Complain to user if he specified an argument to --enable-universal_binary
20314 # and also 1) specified --with-macosx-sdk using the default (yes) or
20315 # 2) specified --with-macosx-sdk using a path or 3) specified
20316 # --without-macosx-sdk (no).
20317 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20318 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20319 See \`config.log' for more details." >&5
20320 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20321 See \`config.log' for more details." >&2;}
20322 { (exit 1); exit 1; }; }
20323 else
20324 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20325 # special-case the empty string because the below test simply
20326 # converts "no" to the empty string anyway.
20327 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20328 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20329 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20330 fi
20331 fi
20332 OSX_UNIV_OPTS="-arch ppc -arch i386"
20333 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20334 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20335 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20336 retest_macosx_linking=yes
20337
20338 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20339 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20340 bk_use_pch=no
20341 fi
20342 #fi
20343
20344 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20345 wxUSE_MACOSX_SDK=
20346 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20347 # TODO: Search for most recent SDK and use it.
20348 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20349 fi
20350
20351
20352 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20353 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20354 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20355 if ! test -d "$wxUSE_MACOSX_SDK"; then
20356 { { echo "$as_me:$LINENO: error: not found
20357 See \`config.log' for more details." >&5
20358 echo "$as_me: error: not found
20359 See \`config.log' for more details." >&2;}
20360 { (exit 1); exit 1; }; }
20361 else
20362 { echo "$as_me:$LINENO: result: exists" >&5
20363 echo "${ECHO_T}exists" >&6; }
20364 fi
20365 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20366 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20367 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20368 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20369 retest_macosx_linking=yes
20370 fi
20371
20372 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20373 wxUSE_MACOSX_VERSION_MIN=
20374 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20375 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20376 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20377 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20378
20379 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20380
20381 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20382 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20383 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20384 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20385 else
20386 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20387 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20388 wxUSE_MACOSX_VERSION_MIN=
20389 fi
20390 else
20391 wxUSE_MACOSX_VERSION_MIN=
20392 fi
20393 fi
20394
20395 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20396 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20397 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20398 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20399 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20400 retest_macosx_linking=yes
20401 fi
20402
20403 if test "x$retest_macosx_linking" = "xyes"; then
20404 ac_ext=c
20405 ac_cpp='$CPP $CPPFLAGS'
20406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20409
20410 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20411 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20412 cat >conftest.$ac_ext <<_ACEOF
20413 /* confdefs.h. */
20414 _ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418
20419 int
20420 main ()
20421 {
20422
20423 ;
20424 return 0;
20425 }
20426 _ACEOF
20427 rm -f conftest.$ac_objext conftest$ac_exeext
20428 if { (ac_try="$ac_link"
20429 case "(($ac_try" in
20430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20431 *) ac_try_echo=$ac_try;;
20432 esac
20433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20434 (eval "$ac_link") 2>conftest.er1
20435 ac_status=$?
20436 grep -v '^ *+' conftest.er1 >conftest.err
20437 rm -f conftest.er1
20438 cat conftest.err >&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } && {
20441 test -z "$ac_c_werror_flag" ||
20442 test ! -s conftest.err
20443 } && test -s conftest$ac_exeext &&
20444 $as_test_x conftest$ac_exeext; then
20445 { echo "$as_me:$LINENO: result: yes" >&5
20446 echo "${ECHO_T}yes" >&6; }
20447 else
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20450
20451 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20452 See \`config.log' for more details." >&5
20453 echo "$as_me: error: no. Try a different SDK
20454 See \`config.log' for more details." >&2;}
20455 { (exit 1); exit 1; }; }; exit 1
20456 fi
20457
20458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20459 conftest$ac_exeext conftest.$ac_ext
20460 ac_ext=c
20461 ac_cpp='$CPP $CPPFLAGS'
20462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20465
20466
20467 ac_ext=cpp
20468 ac_cpp='$CXXCPP $CPPFLAGS'
20469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20472
20473 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20474 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20475 cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h. */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481
20482 int
20483 main ()
20484 {
20485
20486 ;
20487 return 0;
20488 }
20489 _ACEOF
20490 rm -f conftest.$ac_objext conftest$ac_exeext
20491 if { (ac_try="$ac_link"
20492 case "(($ac_try" in
20493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20494 *) ac_try_echo=$ac_try;;
20495 esac
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_link") 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } && {
20504 test -z "$ac_cxx_werror_flag" ||
20505 test ! -s conftest.err
20506 } && test -s conftest$ac_exeext &&
20507 $as_test_x conftest$ac_exeext; then
20508 { echo "$as_me:$LINENO: result: yes" >&5
20509 echo "${ECHO_T}yes" >&6; }
20510 else
20511 echo "$as_me: failed program was:" >&5
20512 sed 's/^/| /' conftest.$ac_ext >&5
20513
20514 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20515 See \`config.log' for more details." >&5
20516 echo "$as_me: error: no. Try a different SDK
20517 See \`config.log' for more details." >&2;}
20518 { (exit 1); exit 1; }; }; exit 1
20519 fi
20520
20521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20522 conftest$ac_exeext conftest.$ac_ext
20523 ac_ext=c
20524 ac_cpp='$CPP $CPPFLAGS'
20525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20528
20529 fi
20530
20531
20532 case "${host}" in
20533
20534 *-*-darwin* )
20535 INSTALL_PROGRAM="cp -fp"
20536 INSTALL_DATA="cp -fp"
20537 ;;
20538 *)
20539 ;;
20540 esac
20541
20542
20543 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20544 CXXFLAGS="-qunique $CXXFLAGS"
20545 fi
20546
20547 case "${host}" in
20548 powerpc-*-darwin* )
20549 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20550 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20551 cat >conftest.$ac_ext <<_ACEOF
20552 /* confdefs.h. */
20553 _ACEOF
20554 cat confdefs.h >>conftest.$ac_ext
20555 cat >>conftest.$ac_ext <<_ACEOF
20556 /* end confdefs.h. */
20557
20558 int
20559 main ()
20560 {
20561 #ifndef __POWERPC__
20562 choke me for lack of PowerPC
20563 #endif
20564
20565 ;
20566 return 0;
20567 }
20568 _ACEOF
20569 rm -f conftest.$ac_objext
20570 if { (ac_try="$ac_compile"
20571 case "(($ac_try" in
20572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20573 *) ac_try_echo=$ac_try;;
20574 esac
20575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20576 (eval "$ac_compile") 2>conftest.er1
20577 ac_status=$?
20578 grep -v '^ *+' conftest.er1 >conftest.err
20579 rm -f conftest.er1
20580 cat conftest.err >&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); } && {
20583 test -z "$ac_c_werror_flag" ||
20584 test ! -s conftest.err
20585 } && test -s conftest.$ac_objext; then
20586 { echo "$as_me:$LINENO: result: yes" >&5
20587 echo "${ECHO_T}yes" >&6; }
20588 else
20589 echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.$ac_ext >&5
20591
20592 { echo "$as_me:$LINENO: result: no" >&5
20593 echo "${ECHO_T}no" >&6; }
20594 cat >>confdefs.h <<\_ACEOF
20595 #define __POWERPC__ 1
20596 _ACEOF
20597
20598
20599 fi
20600
20601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20602 ;;
20603 esac
20604
20605 case "${host}" in
20606 *-*-darwin* )
20607 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20608 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20609 cat >conftest.$ac_ext <<_ACEOF
20610 /* confdefs.h. */
20611 _ACEOF
20612 cat confdefs.h >>conftest.$ac_ext
20613 cat >>conftest.$ac_ext <<_ACEOF
20614 /* end confdefs.h. */
20615 #include <CoreFoundation/CFBase.h>
20616
20617 int
20618 main ()
20619 {
20620
20621 ;
20622 return 0;
20623 }
20624 _ACEOF
20625 rm -f conftest.$ac_objext
20626 if { (ac_try="$ac_compile"
20627 case "(($ac_try" in
20628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20629 *) ac_try_echo=$ac_try;;
20630 esac
20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval "$ac_compile") 2>conftest.er1
20633 ac_status=$?
20634 grep -v '^ *+' conftest.er1 >conftest.err
20635 rm -f conftest.er1
20636 cat conftest.err >&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } && {
20639 test -z "$ac_c_werror_flag" ||
20640 test ! -s conftest.err
20641 } && test -s conftest.$ac_objext; then
20642 { echo "$as_me:$LINENO: result: yes" >&5
20643 echo "${ECHO_T}yes" >&6; }
20644 else
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20647
20648 { echo "$as_me:$LINENO: result: no" >&5
20649 echo "${ECHO_T}no" >&6; }
20650 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20651 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20652 cat >conftest.$ac_ext <<_ACEOF
20653 /* confdefs.h. */
20654 _ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 #define __CF_USE_FRAMEWORK_INCLUDES__
20659 #include <CoreFoundation/CFBase.h>
20660
20661 int
20662 main ()
20663 {
20664
20665 ;
20666 return 0;
20667 }
20668 _ACEOF
20669 rm -f conftest.$ac_objext
20670 if { (ac_try="$ac_compile"
20671 case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20674 esac
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_compile") 2>conftest.er1
20677 ac_status=$?
20678 grep -v '^ *+' conftest.er1 >conftest.err
20679 rm -f conftest.er1
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && {
20683 test -z "$ac_c_werror_flag" ||
20684 test ! -s conftest.err
20685 } && test -s conftest.$ac_objext; then
20686 { echo "$as_me:$LINENO: result: yes" >&5
20687 echo "${ECHO_T}yes" >&6; }
20688 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20689 else
20690 echo "$as_me: failed program was:" >&5
20691 sed 's/^/| /' conftest.$ac_ext >&5
20692
20693 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20694 See \`config.log' for more details." >&5
20695 echo "$as_me: error: no. CoreFoundation not available.
20696 See \`config.log' for more details." >&2;}
20697 { (exit 1); exit 1; }; }
20698
20699 fi
20700
20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20702
20703
20704 fi
20705
20706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20707 ;;
20708 esac
20709
20710 wants_win32=0
20711 doesnt_want_win32=0
20712 case "${host}" in
20713 *-*-cygwin*)
20714 if test "$wxUSE_MSW" = 1 ; then
20715 wants_win32=1
20716 else
20717 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20718 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20719 if test "${wx_cv_nocygwin+set}" = set; then
20720 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 else
20722
20723 cat >conftest.$ac_ext <<_ACEOF
20724 /* confdefs.h. */
20725 _ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729
20730 int
20731 main ()
20732 {
20733
20734 #ifdef __MINGW32__
20735 choke me
20736 #endif
20737
20738 ;
20739 return 0;
20740 }
20741 _ACEOF
20742 rm -f conftest.$ac_objext
20743 if { (ac_try="$ac_compile"
20744 case "(($ac_try" in
20745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20747 esac
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_compile") 2>conftest.er1
20750 ac_status=$?
20751 grep -v '^ *+' conftest.er1 >conftest.err
20752 rm -f conftest.er1
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } && {
20756 test -z "$ac_c_werror_flag" ||
20757 test ! -s conftest.err
20758 } && test -s conftest.$ac_objext; then
20759 wx_cv_nocygwin=no
20760 else
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20763
20764 wx_cv_nocygwin=yes
20765
20766 fi
20767
20768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20769
20770
20771 fi
20772 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20773 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20774
20775 if test "$wx_cv_nocygwin" = "yes"; then
20776 wants_win32=1
20777 else
20778 doesnt_want_win32=1
20779 fi
20780 fi
20781 if test "$wants_win32" = 1 ; then
20782 BAKEFILE_FORCE_PLATFORM=win32
20783 fi
20784 ;;
20785 *-*-mingw*)
20786 wants_win32=1
20787 ;;
20788 esac
20789
20790 if test "$wxUSE_WINE" = "yes"; then
20791 wants_win32=1
20792 LDFLAGS_GUI="-mwindows"
20793 fi
20794
20795 if test "$wants_win32" = 1 ; then
20796 USE_UNIX=0
20797 USE_WIN32=1
20798 cat >>confdefs.h <<\_ACEOF
20799 #define __WIN32__ 1
20800 _ACEOF
20801
20802 cat >>confdefs.h <<\_ACEOF
20803 #define __WIN95__ 1
20804 _ACEOF
20805
20806 cat >>confdefs.h <<\_ACEOF
20807 #define __WINDOWS__ 1
20808 _ACEOF
20809
20810 cat >>confdefs.h <<\_ACEOF
20811 #define __GNUWIN32__ 1
20812 _ACEOF
20813
20814 cat >>confdefs.h <<\_ACEOF
20815 #define STRICT 1
20816 _ACEOF
20817
20818 fi
20819 if test "$doesnt_want_win32" = 1 ; then
20820 USE_UNIX=1
20821 USE_WIN32=0
20822 fi
20823
20824 if test "$USE_UNIX" = 1 ; then
20825 wxUSE_UNIX=yes
20826 cat >>confdefs.h <<\_ACEOF
20827 #define __UNIX__ 1
20828 _ACEOF
20829
20830 fi
20831
20832 case "${host}" in
20833 *-pc-os2_emx | *-pc-os2-emx )
20834 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20835 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20836 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20837 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20838 echo $ECHO_N "(cached) $ECHO_C" >&6
20839 else
20840 ac_check_lib_save_LIBS=$LIBS
20841 LIBS="-lcExt $LIBS"
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848
20849 /* Override any GCC internal prototype to avoid an error.
20850 Use char because int might match the return type of a GCC
20851 builtin and then its argument prototype would still apply. */
20852 #ifdef __cplusplus
20853 extern "C"
20854 #endif
20855 char drand48 ();
20856 int
20857 main ()
20858 {
20859 return drand48 ();
20860 ;
20861 return 0;
20862 }
20863 _ACEOF
20864 rm -f conftest.$ac_objext conftest$ac_exeext
20865 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
20872 ac_status=$?
20873 grep -v '^ *+' conftest.er1 >conftest.err
20874 rm -f conftest.er1
20875 cat conftest.err >&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && {
20878 test -z "$ac_c_werror_flag" ||
20879 test ! -s conftest.err
20880 } && test -s conftest$ac_exeext &&
20881 $as_test_x conftest$ac_exeext; then
20882 ac_cv_lib_cExt_drand48=yes
20883 else
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20886
20887 ac_cv_lib_cExt_drand48=no
20888 fi
20889
20890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20891 conftest$ac_exeext conftest.$ac_ext
20892 LIBS=$ac_check_lib_save_LIBS
20893 fi
20894 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20895 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20896 if test $ac_cv_lib_cExt_drand48 = yes; then
20897 LIBS="$LIBS -lcExt"
20898 fi
20899
20900 else
20901 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20902 fi
20903 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20904 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20905 if test "${wx_cv_gccversion+set}" = set; then
20906 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 else
20908
20909 if test "$cross_compiling" = yes; then
20910 wx_cv_gccversion="EMX2"
20911
20912 else
20913 cat >conftest.$ac_ext <<_ACEOF
20914 /* confdefs.h. */
20915 _ACEOF
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20919
20920 #include <stdio.h>
20921
20922 int main()
20923 {
20924 FILE *f=fopen("conftestval", "w");
20925 if (!f) exit(1);
20926 fprintf(f,
20927 #if (__GNUC__ < 3)
20928 "EMX2"
20929 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20930 "EMX3"
20931 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20932 "Innotek5"
20933 #else
20934 "Innotek6"
20935 #endif
20936 );
20937 exit(0);
20938 }
20939
20940 _ACEOF
20941 rm -f conftest$ac_exeext
20942 if { (ac_try="$ac_link"
20943 case "(($ac_try" in
20944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20945 *) ac_try_echo=$ac_try;;
20946 esac
20947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20948 (eval "$ac_link") 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20952 { (case "(($ac_try" in
20953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20954 *) ac_try_echo=$ac_try;;
20955 esac
20956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20957 (eval "$ac_try") 2>&5
20958 ac_status=$?
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); }; }; then
20961 wx_cv_gccversion=`cat conftestval`
20962 else
20963 echo "$as_me: program exited with status $ac_status" >&5
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.$ac_ext >&5
20966
20967 ( exit $ac_status )
20968 wx_cv_gccversion="EMX2"
20969 fi
20970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20971 fi
20972
20973
20974
20975 fi
20976 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20977 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20978 if test "$wx_cv_gccversion" = "EMX2"; then
20979 LIBS="$LIBS -lstdcpp"
20980 LDFLAGS="$LDFLAGS -Zsysv-signals"
20981 else
20982 if test "$wx_cv_gccversion" = "EMX3"; then
20983 LIBS="$LIBS -lstdcxx -lgcc"
20984 LDFLAGS="$LDFLAGS -Zsysv-signals"
20985 else
20986 LIBS="$LIBS -lstdc++"
20987 fi
20988 fi
20989 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20990 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20991 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20992 wxUSE_OMF=yes
20993 enable_omf=yes
20994 fi
20995 ;;
20996 *)
20997
20998 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20999 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21000 if test "${ac_cv_string_strcasecmp+set}" = set; then
21001 echo $ECHO_N "(cached) $ECHO_C" >&6
21002 else
21003
21004 cat >conftest.$ac_ext <<_ACEOF
21005 /* confdefs.h. */
21006 _ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010
21011 #include <string.h>
21012
21013 int
21014 main ()
21015 {
21016
21017 strcasecmp("foo", "bar");
21018
21019 ;
21020 return 0;
21021 }
21022 _ACEOF
21023 rm -f conftest.$ac_objext conftest$ac_exeext
21024 if { (ac_try="$ac_link"
21025 case "(($ac_try" in
21026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21028 esac
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_link") 2>conftest.er1
21031 ac_status=$?
21032 grep -v '^ *+' conftest.er1 >conftest.err
21033 rm -f conftest.er1
21034 cat conftest.err >&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } && {
21037 test -z "$ac_c_werror_flag" ||
21038 test ! -s conftest.err
21039 } && test -s conftest$ac_exeext &&
21040 $as_test_x conftest$ac_exeext; then
21041 ac_cv_string_strcasecmp=yes
21042 else
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21045
21046 ac_cv_string_strcasecmp=no
21047
21048 fi
21049
21050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21051 conftest$ac_exeext conftest.$ac_ext
21052
21053 fi
21054 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21055 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21056
21057 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21058 cat >>confdefs.h <<\_ACEOF
21059 #define HAVE_STRCASECMP_IN_STRING_H 1
21060 _ACEOF
21061
21062 else
21063 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21064 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21065 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 else
21068
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h. */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075
21076 #include <strings.h>
21077
21078 int
21079 main ()
21080 {
21081
21082 strcasecmp("foo", "bar");
21083
21084 ;
21085 return 0;
21086 }
21087 _ACEOF
21088 rm -f conftest.$ac_objext conftest$ac_exeext
21089 if { (ac_try="$ac_link"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21093 esac
21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_link") 2>conftest.er1
21096 ac_status=$?
21097 grep -v '^ *+' conftest.er1 >conftest.err
21098 rm -f conftest.er1
21099 cat conftest.err >&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } && {
21102 test -z "$ac_c_werror_flag" ||
21103 test ! -s conftest.err
21104 } && test -s conftest$ac_exeext &&
21105 $as_test_x conftest$ac_exeext; then
21106 ac_cv_strings_strcasecmp=yes
21107 else
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21110
21111 ac_cv_strings_strcasecmp=no
21112
21113 fi
21114
21115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21116 conftest$ac_exeext conftest.$ac_ext
21117
21118 fi
21119 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21120 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21121
21122 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21123 cat >>confdefs.h <<\_ACEOF
21124 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21125 _ACEOF
21126
21127 else
21128 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21129 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21130 { (exit 1); exit 1; }; }
21131 fi
21132 fi
21133
21134 ;;
21135 esac
21136
21137
21138 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21139 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21140 if test "${ac_cv_header_stdc+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21142 else
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 #include <stdlib.h>
21150 #include <stdarg.h>
21151 #include <string.h>
21152 #include <float.h>
21153
21154 int
21155 main ()
21156 {
21157
21158 ;
21159 return 0;
21160 }
21161 _ACEOF
21162 rm -f conftest.$ac_objext
21163 if { (ac_try="$ac_compile"
21164 case "(($ac_try" in
21165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166 *) ac_try_echo=$ac_try;;
21167 esac
21168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21169 (eval "$ac_compile") 2>conftest.er1
21170 ac_status=$?
21171 grep -v '^ *+' conftest.er1 >conftest.err
21172 rm -f conftest.er1
21173 cat conftest.err >&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); } && {
21176 test -z "$ac_c_werror_flag" ||
21177 test ! -s conftest.err
21178 } && test -s conftest.$ac_objext; then
21179 ac_cv_header_stdc=yes
21180 else
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21183
21184 ac_cv_header_stdc=no
21185 fi
21186
21187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21188
21189 if test $ac_cv_header_stdc = yes; then
21190 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 #include <string.h>
21198
21199 _ACEOF
21200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21201 $EGREP "memchr" >/dev/null 2>&1; then
21202 :
21203 else
21204 ac_cv_header_stdc=no
21205 fi
21206 rm -f conftest*
21207
21208 fi
21209
21210 if test $ac_cv_header_stdc = yes; then
21211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21212 cat >conftest.$ac_ext <<_ACEOF
21213 /* confdefs.h. */
21214 _ACEOF
21215 cat confdefs.h >>conftest.$ac_ext
21216 cat >>conftest.$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21218 #include <stdlib.h>
21219
21220 _ACEOF
21221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21222 $EGREP "free" >/dev/null 2>&1; then
21223 :
21224 else
21225 ac_cv_header_stdc=no
21226 fi
21227 rm -f conftest*
21228
21229 fi
21230
21231 if test $ac_cv_header_stdc = yes; then
21232 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21233 if test "$cross_compiling" = yes; then
21234 :
21235 else
21236 cat >conftest.$ac_ext <<_ACEOF
21237 /* confdefs.h. */
21238 _ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242 #include <ctype.h>
21243 #include <stdlib.h>
21244 #if ((' ' & 0x0FF) == 0x020)
21245 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21246 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21247 #else
21248 # define ISLOWER(c) \
21249 (('a' <= (c) && (c) <= 'i') \
21250 || ('j' <= (c) && (c) <= 'r') \
21251 || ('s' <= (c) && (c) <= 'z'))
21252 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21253 #endif
21254
21255 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21256 int
21257 main ()
21258 {
21259 int i;
21260 for (i = 0; i < 256; i++)
21261 if (XOR (islower (i), ISLOWER (i))
21262 || toupper (i) != TOUPPER (i))
21263 return 2;
21264 return 0;
21265 }
21266 _ACEOF
21267 rm -f conftest$ac_exeext
21268 if { (ac_try="$ac_link"
21269 case "(($ac_try" in
21270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21271 *) ac_try_echo=$ac_try;;
21272 esac
21273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21274 (eval "$ac_link") 2>&5
21275 ac_status=$?
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21278 { (case "(($ac_try" in
21279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280 *) ac_try_echo=$ac_try;;
21281 esac
21282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_try") 2>&5
21284 ac_status=$?
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; }; then
21287 :
21288 else
21289 echo "$as_me: program exited with status $ac_status" >&5
21290 echo "$as_me: failed program was:" >&5
21291 sed 's/^/| /' conftest.$ac_ext >&5
21292
21293 ( exit $ac_status )
21294 ac_cv_header_stdc=no
21295 fi
21296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21297 fi
21298
21299
21300 fi
21301 fi
21302 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21303 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21304 if test $ac_cv_header_stdc = yes; then
21305
21306 cat >>confdefs.h <<\_ACEOF
21307 #define STDC_HEADERS 1
21308 _ACEOF
21309
21310 fi
21311
21312 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21323 inttypes.h stdint.h unistd.h
21324 do
21325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21326 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21329 echo $ECHO_N "(cached) $ECHO_C" >&6
21330 else
21331 cat >conftest.$ac_ext <<_ACEOF
21332 /* confdefs.h. */
21333 _ACEOF
21334 cat confdefs.h >>conftest.$ac_ext
21335 cat >>conftest.$ac_ext <<_ACEOF
21336 /* end confdefs.h. */
21337 $ac_includes_default
21338
21339 #include <$ac_header>
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 test -z "$ac_c_werror_flag" ||
21356 test ! -s conftest.err
21357 } && test -s conftest.$ac_objext; then
21358 eval "$as_ac_Header=yes"
21359 else
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.$ac_ext >&5
21362
21363 eval "$as_ac_Header=no"
21364 fi
21365
21366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21367 fi
21368 ac_res=`eval echo '${'$as_ac_Header'}'`
21369 { echo "$as_me:$LINENO: result: $ac_res" >&5
21370 echo "${ECHO_T}$ac_res" >&6; }
21371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21372 cat >>confdefs.h <<_ACEOF
21373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21374 _ACEOF
21375
21376 fi
21377
21378 done
21379
21380
21381
21382
21383
21384
21385
21386
21387 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21388 do
21389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21390 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21393 echo $ECHO_N "(cached) $ECHO_C" >&6
21394 else
21395 cat >conftest.$ac_ext <<_ACEOF
21396 /* confdefs.h. */
21397 _ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21402
21403 #include <$ac_header>
21404 _ACEOF
21405 rm -f conftest.$ac_objext
21406 if { (ac_try="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21410 esac
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21413 ac_status=$?
21414 grep -v '^ *+' conftest.er1 >conftest.err
21415 rm -f conftest.er1
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } && {
21419 test -z "$ac_c_werror_flag" ||
21420 test ! -s conftest.err
21421 } && test -s conftest.$ac_objext; then
21422 eval "$as_ac_Header=yes"
21423 else
21424 echo "$as_me: failed program was:" >&5
21425 sed 's/^/| /' conftest.$ac_ext >&5
21426
21427 eval "$as_ac_Header=no"
21428 fi
21429
21430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21431 fi
21432 ac_res=`eval echo '${'$as_ac_Header'}'`
21433 { echo "$as_me:$LINENO: result: $ac_res" >&5
21434 echo "${ECHO_T}$ac_res" >&6; }
21435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21436 cat >>confdefs.h <<_ACEOF
21437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21438 _ACEOF
21439
21440 fi
21441
21442 done
21443
21444
21445 if test "$ac_cv_header_wchar_h" != "yes"; then
21446
21447 for ac_header in wcstr.h
21448 do
21449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21450 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21453 echo $ECHO_N "(cached) $ECHO_C" >&6
21454 else
21455 cat >conftest.$ac_ext <<_ACEOF
21456 /* confdefs.h. */
21457 _ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 $ac_includes_default
21462
21463 #include <$ac_header>
21464 _ACEOF
21465 rm -f conftest.$ac_objext
21466 if { (ac_try="$ac_compile"
21467 case "(($ac_try" in
21468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21469 *) ac_try_echo=$ac_try;;
21470 esac
21471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21472 (eval "$ac_compile") 2>conftest.er1
21473 ac_status=$?
21474 grep -v '^ *+' conftest.er1 >conftest.err
21475 rm -f conftest.er1
21476 cat conftest.err >&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); } && {
21479 test -z "$ac_c_werror_flag" ||
21480 test ! -s conftest.err
21481 } && test -s conftest.$ac_objext; then
21482 eval "$as_ac_Header=yes"
21483 else
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21486
21487 eval "$as_ac_Header=no"
21488 fi
21489
21490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21491 fi
21492 ac_res=`eval echo '${'$as_ac_Header'}'`
21493 { echo "$as_me:$LINENO: result: $ac_res" >&5
21494 echo "${ECHO_T}$ac_res" >&6; }
21495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21496 cat >>confdefs.h <<_ACEOF
21497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21498 _ACEOF
21499
21500 fi
21501
21502 done
21503
21504 fi
21505
21506 case "${host}" in
21507 *-pc-os2_emx | *-pc-os2-emx )
21508 if test $ac_cv_header_langinfo_h = "yes" \
21509 -a \( "$wx_cv_gccversion" = "EMX2" \
21510 -o "$wx_cv_gccversion" = "EMX3" \
21511 -o "$wx_cv_gccversion" = "Innotek5" \); then
21512 LIBS="$LIBS -lintl"
21513 fi
21514 ;;
21515 esac
21516
21517 if test "$USE_UNIX" = 1 ; then
21518
21519 for ac_header in sys/select.h
21520 do
21521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21522 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 else
21527 cat >conftest.$ac_ext <<_ACEOF
21528 /* confdefs.h. */
21529 _ACEOF
21530 cat confdefs.h >>conftest.$ac_ext
21531 cat >>conftest.$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 $ac_includes_default
21534
21535 #include <$ac_header>
21536 _ACEOF
21537 rm -f conftest.$ac_objext
21538 if { (ac_try="$ac_compile"
21539 case "(($ac_try" in
21540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21541 *) ac_try_echo=$ac_try;;
21542 esac
21543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21544 (eval "$ac_compile") 2>conftest.er1
21545 ac_status=$?
21546 grep -v '^ *+' conftest.er1 >conftest.err
21547 rm -f conftest.er1
21548 cat conftest.err >&5
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } && {
21551 test -z "$ac_c_werror_flag" ||
21552 test ! -s conftest.err
21553 } && test -s conftest.$ac_objext; then
21554 eval "$as_ac_Header=yes"
21555 else
21556 echo "$as_me: failed program was:" >&5
21557 sed 's/^/| /' conftest.$ac_ext >&5
21558
21559 eval "$as_ac_Header=no"
21560 fi
21561
21562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21563 fi
21564 ac_res=`eval echo '${'$as_ac_Header'}'`
21565 { echo "$as_me:$LINENO: result: $ac_res" >&5
21566 echo "${ECHO_T}$ac_res" >&6; }
21567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21568 cat >>confdefs.h <<_ACEOF
21569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21570 _ACEOF
21571
21572 fi
21573
21574 done
21575
21576 fi
21577
21578
21579 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21580 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21581 if test "${ac_cv_c_const+set}" = set; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 else
21584 cat >conftest.$ac_ext <<_ACEOF
21585 /* confdefs.h. */
21586 _ACEOF
21587 cat confdefs.h >>conftest.$ac_ext
21588 cat >>conftest.$ac_ext <<_ACEOF
21589 /* end confdefs.h. */
21590
21591 int
21592 main ()
21593 {
21594 /* FIXME: Include the comments suggested by Paul. */
21595 #ifndef __cplusplus
21596 /* Ultrix mips cc rejects this. */
21597 typedef int charset[2];
21598 const charset cs;
21599 /* SunOS 4.1.1 cc rejects this. */
21600 char const *const *pcpcc;
21601 char **ppc;
21602 /* NEC SVR4.0.2 mips cc rejects this. */
21603 struct point {int x, y;};
21604 static struct point const zero = {0,0};
21605 /* AIX XL C 1.02.0.0 rejects this.
21606 It does not let you subtract one const X* pointer from another in
21607 an arm of an if-expression whose if-part is not a constant
21608 expression */
21609 const char *g = "string";
21610 pcpcc = &g + (g ? g-g : 0);
21611 /* HPUX 7.0 cc rejects these. */
21612 ++pcpcc;
21613 ppc = (char**) pcpcc;
21614 pcpcc = (char const *const *) ppc;
21615 { /* SCO 3.2v4 cc rejects this. */
21616 char *t;
21617 char const *s = 0 ? (char *) 0 : (char const *) 0;
21618
21619 *t++ = 0;
21620 if (s) return 0;
21621 }
21622 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21623 int x[] = {25, 17};
21624 const int *foo = &x[0];
21625 ++foo;
21626 }
21627 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21628 typedef const int *iptr;
21629 iptr p = 0;
21630 ++p;
21631 }
21632 { /* AIX XL C 1.02.0.0 rejects this saying
21633 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21634 struct s { int j; const int *ap[3]; };
21635 struct s *b; b->j = 5;
21636 }
21637 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21638 const int foo = 10;
21639 if (!foo) return 0;
21640 }
21641 return !cs[0] && !zero.x;
21642 #endif
21643
21644 ;
21645 return 0;
21646 }
21647 _ACEOF
21648 rm -f conftest.$ac_objext
21649 if { (ac_try="$ac_compile"
21650 case "(($ac_try" in
21651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652 *) ac_try_echo=$ac_try;;
21653 esac
21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_compile") 2>conftest.er1
21656 ac_status=$?
21657 grep -v '^ *+' conftest.er1 >conftest.err
21658 rm -f conftest.er1
21659 cat conftest.err >&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } && {
21662 test -z "$ac_c_werror_flag" ||
21663 test ! -s conftest.err
21664 } && test -s conftest.$ac_objext; then
21665 ac_cv_c_const=yes
21666 else
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ac_cv_c_const=no
21671 fi
21672
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21674 fi
21675 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21676 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21677 if test $ac_cv_c_const = no; then
21678
21679 cat >>confdefs.h <<\_ACEOF
21680 #define const
21681 _ACEOF
21682
21683 fi
21684
21685 { echo "$as_me:$LINENO: checking for inline" >&5
21686 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21687 if test "${ac_cv_c_inline+set}" = set; then
21688 echo $ECHO_N "(cached) $ECHO_C" >&6
21689 else
21690 ac_cv_c_inline=no
21691 for ac_kw in inline __inline__ __inline; do
21692 cat >conftest.$ac_ext <<_ACEOF
21693 /* confdefs.h. */
21694 _ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 #ifndef __cplusplus
21699 typedef int foo_t;
21700 static $ac_kw foo_t static_foo () {return 0; }
21701 $ac_kw foo_t foo () {return 0; }
21702 #endif
21703
21704 _ACEOF
21705 rm -f conftest.$ac_objext
21706 if { (ac_try="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21710 esac
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21713 ac_status=$?
21714 grep -v '^ *+' conftest.er1 >conftest.err
21715 rm -f conftest.er1
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21722 ac_cv_c_inline=$ac_kw
21723 else
21724 echo "$as_me: failed program was:" >&5
21725 sed 's/^/| /' conftest.$ac_ext >&5
21726
21727
21728 fi
21729
21730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21731 test "$ac_cv_c_inline" != no && break
21732 done
21733
21734 fi
21735 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21736 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21737
21738
21739 case $ac_cv_c_inline in
21740 inline | yes) ;;
21741 *)
21742 case $ac_cv_c_inline in
21743 no) ac_val=;;
21744 *) ac_val=$ac_cv_c_inline;;
21745 esac
21746 cat >>confdefs.h <<_ACEOF
21747 #ifndef __cplusplus
21748 #define inline $ac_val
21749 #endif
21750 _ACEOF
21751 ;;
21752 esac
21753
21754
21755 { echo "$as_me:$LINENO: checking for short" >&5
21756 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21757 if test "${ac_cv_type_short+set}" = set; then
21758 echo $ECHO_N "(cached) $ECHO_C" >&6
21759 else
21760 cat >conftest.$ac_ext <<_ACEOF
21761 /* confdefs.h. */
21762 _ACEOF
21763 cat confdefs.h >>conftest.$ac_ext
21764 cat >>conftest.$ac_ext <<_ACEOF
21765 /* end confdefs.h. */
21766 $ac_includes_default
21767 typedef short ac__type_new_;
21768 int
21769 main ()
21770 {
21771 if ((ac__type_new_ *) 0)
21772 return 0;
21773 if (sizeof (ac__type_new_))
21774 return 0;
21775 ;
21776 return 0;
21777 }
21778 _ACEOF
21779 rm -f conftest.$ac_objext
21780 if { (ac_try="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21784 esac
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21787 ac_status=$?
21788 grep -v '^ *+' conftest.er1 >conftest.err
21789 rm -f conftest.er1
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21796 ac_cv_type_short=yes
21797 else
21798 echo "$as_me: failed program was:" >&5
21799 sed 's/^/| /' conftest.$ac_ext >&5
21800
21801 ac_cv_type_short=no
21802 fi
21803
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21805 fi
21806 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21807 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21808
21809 # The cast to long int works around a bug in the HP C Compiler
21810 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21811 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21812 # This bug is HP SR number 8606223364.
21813 { echo "$as_me:$LINENO: checking size of short" >&5
21814 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21815 if test "${ac_cv_sizeof_short+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21817 else
21818 if test "$cross_compiling" = yes; then
21819 # Depending upon the size, compute the lo and hi bounds.
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 $ac_includes_default
21827 typedef short ac__type_sizeof_;
21828 int
21829 main ()
21830 {
21831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21832 test_array [0] = 0
21833
21834 ;
21835 return 0;
21836 }
21837 _ACEOF
21838 rm -f conftest.$ac_objext
21839 if { (ac_try="$ac_compile"
21840 case "(($ac_try" in
21841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21842 *) ac_try_echo=$ac_try;;
21843 esac
21844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21845 (eval "$ac_compile") 2>conftest.er1
21846 ac_status=$?
21847 grep -v '^ *+' conftest.er1 >conftest.err
21848 rm -f conftest.er1
21849 cat conftest.err >&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); } && {
21852 test -z "$ac_c_werror_flag" ||
21853 test ! -s conftest.err
21854 } && test -s conftest.$ac_objext; then
21855 ac_lo=0 ac_mid=0
21856 while :; do
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef short ac__type_sizeof_;
21865 int
21866 main ()
21867 {
21868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21869 test_array [0] = 0
21870
21871 ;
21872 return 0;
21873 }
21874 _ACEOF
21875 rm -f conftest.$ac_objext
21876 if { (ac_try="$ac_compile"
21877 case "(($ac_try" in
21878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21879 *) ac_try_echo=$ac_try;;
21880 esac
21881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21882 (eval "$ac_compile") 2>conftest.er1
21883 ac_status=$?
21884 grep -v '^ *+' conftest.er1 >conftest.err
21885 rm -f conftest.er1
21886 cat conftest.err >&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); } && {
21889 test -z "$ac_c_werror_flag" ||
21890 test ! -s conftest.err
21891 } && test -s conftest.$ac_objext; then
21892 ac_hi=$ac_mid; break
21893 else
21894 echo "$as_me: failed program was:" >&5
21895 sed 's/^/| /' conftest.$ac_ext >&5
21896
21897 ac_lo=`expr $ac_mid + 1`
21898 if test $ac_lo -le $ac_mid; then
21899 ac_lo= ac_hi=
21900 break
21901 fi
21902 ac_mid=`expr 2 '*' $ac_mid + 1`
21903 fi
21904
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21906 done
21907 else
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.$ac_ext >&5
21910
21911 cat >conftest.$ac_ext <<_ACEOF
21912 /* confdefs.h. */
21913 _ACEOF
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 $ac_includes_default
21918 typedef short ac__type_sizeof_;
21919 int
21920 main ()
21921 {
21922 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21923 test_array [0] = 0
21924
21925 ;
21926 return 0;
21927 }
21928 _ACEOF
21929 rm -f conftest.$ac_objext
21930 if { (ac_try="$ac_compile"
21931 case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21934 esac
21935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21936 (eval "$ac_compile") 2>conftest.er1
21937 ac_status=$?
21938 grep -v '^ *+' conftest.er1 >conftest.err
21939 rm -f conftest.er1
21940 cat conftest.err >&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); } && {
21943 test -z "$ac_c_werror_flag" ||
21944 test ! -s conftest.err
21945 } && test -s conftest.$ac_objext; then
21946 ac_hi=-1 ac_mid=-1
21947 while :; do
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 short ac__type_sizeof_;
21956 int
21957 main ()
21958 {
21959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
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 test -z "$ac_c_werror_flag" ||
21981 test ! -s conftest.err
21982 } && test -s conftest.$ac_objext; then
21983 ac_lo=$ac_mid; break
21984 else
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21987
21988 ac_hi=`expr '(' $ac_mid ')' - 1`
21989 if test $ac_mid -le $ac_hi; then
21990 ac_lo= ac_hi=
21991 break
21992 fi
21993 ac_mid=`expr 2 '*' $ac_mid`
21994 fi
21995
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21997 done
21998 else
21999 echo "$as_me: failed program was:" >&5
22000 sed 's/^/| /' conftest.$ac_ext >&5
22001
22002 ac_lo= ac_hi=
22003 fi
22004
22005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006 fi
22007
22008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22009 # Binary search between lo and hi bounds.
22010 while test "x$ac_lo" != "x$ac_hi"; do
22011 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22012 cat >conftest.$ac_ext <<_ACEOF
22013 /* confdefs.h. */
22014 _ACEOF
22015 cat confdefs.h >>conftest.$ac_ext
22016 cat >>conftest.$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22018 $ac_includes_default
22019 typedef short ac__type_sizeof_;
22020 int
22021 main ()
22022 {
22023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22024 test_array [0] = 0
22025
22026 ;
22027 return 0;
22028 }
22029 _ACEOF
22030 rm -f conftest.$ac_objext
22031 if { (ac_try="$ac_compile"
22032 case "(($ac_try" in
22033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034 *) ac_try_echo=$ac_try;;
22035 esac
22036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22037 (eval "$ac_compile") 2>conftest.er1
22038 ac_status=$?
22039 grep -v '^ *+' conftest.er1 >conftest.err
22040 rm -f conftest.er1
22041 cat conftest.err >&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } && {
22044 test -z "$ac_c_werror_flag" ||
22045 test ! -s conftest.err
22046 } && test -s conftest.$ac_objext; then
22047 ac_hi=$ac_mid
22048 else
22049 echo "$as_me: failed program was:" >&5
22050 sed 's/^/| /' conftest.$ac_ext >&5
22051
22052 ac_lo=`expr '(' $ac_mid ')' + 1`
22053 fi
22054
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 done
22057 case $ac_lo in
22058 ?*) ac_cv_sizeof_short=$ac_lo;;
22059 '') if test "$ac_cv_type_short" = yes; then
22060 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22061 See \`config.log' for more details." >&5
22062 echo "$as_me: error: cannot compute sizeof (short)
22063 See \`config.log' for more details." >&2;}
22064 { (exit 77); exit 77; }; }
22065 else
22066 ac_cv_sizeof_short=0
22067 fi ;;
22068 esac
22069 else
22070 cat >conftest.$ac_ext <<_ACEOF
22071 /* confdefs.h. */
22072 _ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef short ac__type_sizeof_;
22078 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22079 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22080 #include <stdio.h>
22081 #include <stdlib.h>
22082 int
22083 main ()
22084 {
22085
22086 FILE *f = fopen ("conftest.val", "w");
22087 if (! f)
22088 return 1;
22089 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22090 {
22091 long int i = longval ();
22092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22093 return 1;
22094 fprintf (f, "%ld\n", i);
22095 }
22096 else
22097 {
22098 unsigned long int i = ulongval ();
22099 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22100 return 1;
22101 fprintf (f, "%lu\n", i);
22102 }
22103 return ferror (f) || fclose (f) != 0;
22104
22105 ;
22106 return 0;
22107 }
22108 _ACEOF
22109 rm -f conftest$ac_exeext
22110 if { (ac_try="$ac_link"
22111 case "(($ac_try" in
22112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22113 *) ac_try_echo=$ac_try;;
22114 esac
22115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22116 (eval "$ac_link") 2>&5
22117 ac_status=$?
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22120 { (case "(($ac_try" in
22121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22122 *) ac_try_echo=$ac_try;;
22123 esac
22124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22125 (eval "$ac_try") 2>&5
22126 ac_status=$?
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; }; then
22129 ac_cv_sizeof_short=`cat conftest.val`
22130 else
22131 echo "$as_me: program exited with status $ac_status" >&5
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.$ac_ext >&5
22134
22135 ( exit $ac_status )
22136 if test "$ac_cv_type_short" = yes; then
22137 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22138 See \`config.log' for more details." >&5
22139 echo "$as_me: error: cannot compute sizeof (short)
22140 See \`config.log' for more details." >&2;}
22141 { (exit 77); exit 77; }; }
22142 else
22143 ac_cv_sizeof_short=0
22144 fi
22145 fi
22146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22147 fi
22148 rm -f conftest.val
22149 fi
22150 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22151 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22152
22153
22154
22155 cat >>confdefs.h <<_ACEOF
22156 #define SIZEOF_SHORT $ac_cv_sizeof_short
22157 _ACEOF
22158
22159
22160 { echo "$as_me:$LINENO: checking for void *" >&5
22161 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22162 if test "${ac_cv_type_void_p+set}" = set; then
22163 echo $ECHO_N "(cached) $ECHO_C" >&6
22164 else
22165 cat >conftest.$ac_ext <<_ACEOF
22166 /* confdefs.h. */
22167 _ACEOF
22168 cat confdefs.h >>conftest.$ac_ext
22169 cat >>conftest.$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22171 $ac_includes_default
22172 typedef void * ac__type_new_;
22173 int
22174 main ()
22175 {
22176 if ((ac__type_new_ *) 0)
22177 return 0;
22178 if (sizeof (ac__type_new_))
22179 return 0;
22180 ;
22181 return 0;
22182 }
22183 _ACEOF
22184 rm -f conftest.$ac_objext
22185 if { (ac_try="$ac_compile"
22186 case "(($ac_try" in
22187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22188 *) ac_try_echo=$ac_try;;
22189 esac
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_compile") 2>conftest.er1
22192 ac_status=$?
22193 grep -v '^ *+' conftest.er1 >conftest.err
22194 rm -f conftest.er1
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } && {
22198 test -z "$ac_c_werror_flag" ||
22199 test ! -s conftest.err
22200 } && test -s conftest.$ac_objext; then
22201 ac_cv_type_void_p=yes
22202 else
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.$ac_ext >&5
22205
22206 ac_cv_type_void_p=no
22207 fi
22208
22209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22210 fi
22211 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22212 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22213
22214 # The cast to long int works around a bug in the HP C Compiler
22215 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22216 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22217 # This bug is HP SR number 8606223364.
22218 { echo "$as_me:$LINENO: checking size of void *" >&5
22219 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22220 if test "${ac_cv_sizeof_void_p+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 else
22223 if test "$cross_compiling" = yes; then
22224 # Depending upon the size, compute the lo and hi bounds.
22225 cat >conftest.$ac_ext <<_ACEOF
22226 /* confdefs.h. */
22227 _ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 typedef void * ac__type_sizeof_;
22233 int
22234 main ()
22235 {
22236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22237 test_array [0] = 0
22238
22239 ;
22240 return 0;
22241 }
22242 _ACEOF
22243 rm -f conftest.$ac_objext
22244 if { (ac_try="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22247 *) ac_try_echo=$ac_try;;
22248 esac
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22251 ac_status=$?
22252 grep -v '^ *+' conftest.er1 >conftest.err
22253 rm -f conftest.er1
22254 cat conftest.err >&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err
22259 } && test -s conftest.$ac_objext; then
22260 ac_lo=0 ac_mid=0
22261 while :; do
22262 cat >conftest.$ac_ext <<_ACEOF
22263 /* confdefs.h. */
22264 _ACEOF
22265 cat confdefs.h >>conftest.$ac_ext
22266 cat >>conftest.$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 $ac_includes_default
22269 typedef void * ac__type_sizeof_;
22270 int
22271 main ()
22272 {
22273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22274 test_array [0] = 0
22275
22276 ;
22277 return 0;
22278 }
22279 _ACEOF
22280 rm -f conftest.$ac_objext
22281 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22288 ac_status=$?
22289 grep -v '^ *+' conftest.er1 >conftest.err
22290 rm -f conftest.er1
22291 cat conftest.err >&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } && {
22294 test -z "$ac_c_werror_flag" ||
22295 test ! -s conftest.err
22296 } && test -s conftest.$ac_objext; then
22297 ac_hi=$ac_mid; break
22298 else
22299 echo "$as_me: failed program was:" >&5
22300 sed 's/^/| /' conftest.$ac_ext >&5
22301
22302 ac_lo=`expr $ac_mid + 1`
22303 if test $ac_lo -le $ac_mid; then
22304 ac_lo= ac_hi=
22305 break
22306 fi
22307 ac_mid=`expr 2 '*' $ac_mid + 1`
22308 fi
22309
22310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22311 done
22312 else
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.$ac_ext >&5
22315
22316 cat >conftest.$ac_ext <<_ACEOF
22317 /* confdefs.h. */
22318 _ACEOF
22319 cat confdefs.h >>conftest.$ac_ext
22320 cat >>conftest.$ac_ext <<_ACEOF
22321 /* end confdefs.h. */
22322 $ac_includes_default
22323 typedef void * ac__type_sizeof_;
22324 int
22325 main ()
22326 {
22327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22328 test_array [0] = 0
22329
22330 ;
22331 return 0;
22332 }
22333 _ACEOF
22334 rm -f conftest.$ac_objext
22335 if { (ac_try="$ac_compile"
22336 case "(($ac_try" in
22337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22338 *) ac_try_echo=$ac_try;;
22339 esac
22340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22341 (eval "$ac_compile") 2>conftest.er1
22342 ac_status=$?
22343 grep -v '^ *+' conftest.er1 >conftest.err
22344 rm -f conftest.er1
22345 cat conftest.err >&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); } && {
22348 test -z "$ac_c_werror_flag" ||
22349 test ! -s conftest.err
22350 } && test -s conftest.$ac_objext; then
22351 ac_hi=-1 ac_mid=-1
22352 while :; do
22353 cat >conftest.$ac_ext <<_ACEOF
22354 /* confdefs.h. */
22355 _ACEOF
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22359 $ac_includes_default
22360 typedef void * ac__type_sizeof_;
22361 int
22362 main ()
22363 {
22364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22365 test_array [0] = 0
22366
22367 ;
22368 return 0;
22369 }
22370 _ACEOF
22371 rm -f conftest.$ac_objext
22372 if { (ac_try="$ac_compile"
22373 case "(($ac_try" in
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22375 *) ac_try_echo=$ac_try;;
22376 esac
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22378 (eval "$ac_compile") 2>conftest.er1
22379 ac_status=$?
22380 grep -v '^ *+' conftest.er1 >conftest.err
22381 rm -f conftest.er1
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && {
22385 test -z "$ac_c_werror_flag" ||
22386 test ! -s conftest.err
22387 } && test -s conftest.$ac_objext; then
22388 ac_lo=$ac_mid; break
22389 else
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22392
22393 ac_hi=`expr '(' $ac_mid ')' - 1`
22394 if test $ac_mid -le $ac_hi; then
22395 ac_lo= ac_hi=
22396 break
22397 fi
22398 ac_mid=`expr 2 '*' $ac_mid`
22399 fi
22400
22401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22402 done
22403 else
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22406
22407 ac_lo= ac_hi=
22408 fi
22409
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411 fi
22412
22413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22414 # Binary search between lo and hi bounds.
22415 while test "x$ac_lo" != "x$ac_hi"; do
22416 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22417 cat >conftest.$ac_ext <<_ACEOF
22418 /* confdefs.h. */
22419 _ACEOF
22420 cat confdefs.h >>conftest.$ac_ext
22421 cat >>conftest.$ac_ext <<_ACEOF
22422 /* end confdefs.h. */
22423 $ac_includes_default
22424 typedef void * ac__type_sizeof_;
22425 int
22426 main ()
22427 {
22428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22429 test_array [0] = 0
22430
22431 ;
22432 return 0;
22433 }
22434 _ACEOF
22435 rm -f conftest.$ac_objext
22436 if { (ac_try="$ac_compile"
22437 case "(($ac_try" in
22438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22439 *) ac_try_echo=$ac_try;;
22440 esac
22441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_compile") 2>conftest.er1
22443 ac_status=$?
22444 grep -v '^ *+' conftest.er1 >conftest.err
22445 rm -f conftest.er1
22446 cat conftest.err >&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } && {
22449 test -z "$ac_c_werror_flag" ||
22450 test ! -s conftest.err
22451 } && test -s conftest.$ac_objext; then
22452 ac_hi=$ac_mid
22453 else
22454 echo "$as_me: failed program was:" >&5
22455 sed 's/^/| /' conftest.$ac_ext >&5
22456
22457 ac_lo=`expr '(' $ac_mid ')' + 1`
22458 fi
22459
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 done
22462 case $ac_lo in
22463 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22464 '') if test "$ac_cv_type_void_p" = yes; then
22465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22466 See \`config.log' for more details." >&5
22467 echo "$as_me: error: cannot compute sizeof (void *)
22468 See \`config.log' for more details." >&2;}
22469 { (exit 77); exit 77; }; }
22470 else
22471 ac_cv_sizeof_void_p=0
22472 fi ;;
22473 esac
22474 else
22475 cat >conftest.$ac_ext <<_ACEOF
22476 /* confdefs.h. */
22477 _ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22481 $ac_includes_default
22482 typedef void * ac__type_sizeof_;
22483 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22484 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22485 #include <stdio.h>
22486 #include <stdlib.h>
22487 int
22488 main ()
22489 {
22490
22491 FILE *f = fopen ("conftest.val", "w");
22492 if (! f)
22493 return 1;
22494 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22495 {
22496 long int i = longval ();
22497 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22498 return 1;
22499 fprintf (f, "%ld\n", i);
22500 }
22501 else
22502 {
22503 unsigned long int i = ulongval ();
22504 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22505 return 1;
22506 fprintf (f, "%lu\n", i);
22507 }
22508 return ferror (f) || fclose (f) != 0;
22509
22510 ;
22511 return 0;
22512 }
22513 _ACEOF
22514 rm -f conftest$ac_exeext
22515 if { (ac_try="$ac_link"
22516 case "(($ac_try" in
22517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22518 *) ac_try_echo=$ac_try;;
22519 esac
22520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22521 (eval "$ac_link") 2>&5
22522 ac_status=$?
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22531 ac_status=$?
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; }; then
22534 ac_cv_sizeof_void_p=`cat conftest.val`
22535 else
22536 echo "$as_me: program exited with status $ac_status" >&5
22537 echo "$as_me: failed program was:" >&5
22538 sed 's/^/| /' conftest.$ac_ext >&5
22539
22540 ( exit $ac_status )
22541 if test "$ac_cv_type_void_p" = yes; then
22542 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22543 See \`config.log' for more details." >&5
22544 echo "$as_me: error: cannot compute sizeof (void *)
22545 See \`config.log' for more details." >&2;}
22546 { (exit 77); exit 77; }; }
22547 else
22548 ac_cv_sizeof_void_p=0
22549 fi
22550 fi
22551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22552 fi
22553 rm -f conftest.val
22554 fi
22555 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22556 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22557
22558
22559
22560 cat >>confdefs.h <<_ACEOF
22561 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22562 _ACEOF
22563
22564
22565 { echo "$as_me:$LINENO: checking for int" >&5
22566 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22567 if test "${ac_cv_type_int+set}" = set; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 else
22570 cat >conftest.$ac_ext <<_ACEOF
22571 /* confdefs.h. */
22572 _ACEOF
22573 cat confdefs.h >>conftest.$ac_ext
22574 cat >>conftest.$ac_ext <<_ACEOF
22575 /* end confdefs.h. */
22576 $ac_includes_default
22577 typedef int ac__type_new_;
22578 int
22579 main ()
22580 {
22581 if ((ac__type_new_ *) 0)
22582 return 0;
22583 if (sizeof (ac__type_new_))
22584 return 0;
22585 ;
22586 return 0;
22587 }
22588 _ACEOF
22589 rm -f conftest.$ac_objext
22590 if { (ac_try="$ac_compile"
22591 case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22593 *) ac_try_echo=$ac_try;;
22594 esac
22595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22596 (eval "$ac_compile") 2>conftest.er1
22597 ac_status=$?
22598 grep -v '^ *+' conftest.er1 >conftest.err
22599 rm -f conftest.er1
22600 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } && {
22603 test -z "$ac_c_werror_flag" ||
22604 test ! -s conftest.err
22605 } && test -s conftest.$ac_objext; then
22606 ac_cv_type_int=yes
22607 else
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.$ac_ext >&5
22610
22611 ac_cv_type_int=no
22612 fi
22613
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615 fi
22616 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22617 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22618
22619 # The cast to long int works around a bug in the HP C Compiler
22620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22622 # This bug is HP SR number 8606223364.
22623 { echo "$as_me:$LINENO: checking size of int" >&5
22624 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22625 if test "${ac_cv_sizeof_int+set}" = set; then
22626 echo $ECHO_N "(cached) $ECHO_C" >&6
22627 else
22628 if test "$cross_compiling" = yes; then
22629 # Depending upon the size, compute the lo and hi bounds.
22630 cat >conftest.$ac_ext <<_ACEOF
22631 /* confdefs.h. */
22632 _ACEOF
22633 cat confdefs.h >>conftest.$ac_ext
22634 cat >>conftest.$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 $ac_includes_default
22637 typedef int ac__type_sizeof_;
22638 int
22639 main ()
22640 {
22641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22642 test_array [0] = 0
22643
22644 ;
22645 return 0;
22646 }
22647 _ACEOF
22648 rm -f conftest.$ac_objext
22649 if { (ac_try="$ac_compile"
22650 case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22653 esac
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_compile") 2>conftest.er1
22656 ac_status=$?
22657 grep -v '^ *+' conftest.er1 >conftest.err
22658 rm -f conftest.er1
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && {
22662 test -z "$ac_c_werror_flag" ||
22663 test ! -s conftest.err
22664 } && test -s conftest.$ac_objext; then
22665 ac_lo=0 ac_mid=0
22666 while :; do
22667 cat >conftest.$ac_ext <<_ACEOF
22668 /* confdefs.h. */
22669 _ACEOF
22670 cat confdefs.h >>conftest.$ac_ext
22671 cat >>conftest.$ac_ext <<_ACEOF
22672 /* end confdefs.h. */
22673 $ac_includes_default
22674 typedef int ac__type_sizeof_;
22675 int
22676 main ()
22677 {
22678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22679 test_array [0] = 0
22680
22681 ;
22682 return 0;
22683 }
22684 _ACEOF
22685 rm -f conftest.$ac_objext
22686 if { (ac_try="$ac_compile"
22687 case "(($ac_try" in
22688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22689 *) ac_try_echo=$ac_try;;
22690 esac
22691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22692 (eval "$ac_compile") 2>conftest.er1
22693 ac_status=$?
22694 grep -v '^ *+' conftest.er1 >conftest.err
22695 rm -f conftest.er1
22696 cat conftest.err >&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); } && {
22699 test -z "$ac_c_werror_flag" ||
22700 test ! -s conftest.err
22701 } && test -s conftest.$ac_objext; then
22702 ac_hi=$ac_mid; break
22703 else
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22706
22707 ac_lo=`expr $ac_mid + 1`
22708 if test $ac_lo -le $ac_mid; then
22709 ac_lo= ac_hi=
22710 break
22711 fi
22712 ac_mid=`expr 2 '*' $ac_mid + 1`
22713 fi
22714
22715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22716 done
22717 else
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.$ac_ext >&5
22720
22721 cat >conftest.$ac_ext <<_ACEOF
22722 /* confdefs.h. */
22723 _ACEOF
22724 cat confdefs.h >>conftest.$ac_ext
22725 cat >>conftest.$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22727 $ac_includes_default
22728 typedef int ac__type_sizeof_;
22729 int
22730 main ()
22731 {
22732 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22733 test_array [0] = 0
22734
22735 ;
22736 return 0;
22737 }
22738 _ACEOF
22739 rm -f conftest.$ac_objext
22740 if { (ac_try="$ac_compile"
22741 case "(($ac_try" in
22742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22743 *) ac_try_echo=$ac_try;;
22744 esac
22745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22746 (eval "$ac_compile") 2>conftest.er1
22747 ac_status=$?
22748 grep -v '^ *+' conftest.er1 >conftest.err
22749 rm -f conftest.er1
22750 cat conftest.err >&5
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); } && {
22753 test -z "$ac_c_werror_flag" ||
22754 test ! -s conftest.err
22755 } && test -s conftest.$ac_objext; then
22756 ac_hi=-1 ac_mid=-1
22757 while :; do
22758 cat >conftest.$ac_ext <<_ACEOF
22759 /* confdefs.h. */
22760 _ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef int ac__type_sizeof_;
22766 int
22767 main ()
22768 {
22769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22770 test_array [0] = 0
22771
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22781 esac
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22784 ac_status=$?
22785 grep -v '^ *+' conftest.er1 >conftest.err
22786 rm -f conftest.er1
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && {
22790 test -z "$ac_c_werror_flag" ||
22791 test ! -s conftest.err
22792 } && test -s conftest.$ac_objext; then
22793 ac_lo=$ac_mid; break
22794 else
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22797
22798 ac_hi=`expr '(' $ac_mid ')' - 1`
22799 if test $ac_mid -le $ac_hi; then
22800 ac_lo= ac_hi=
22801 break
22802 fi
22803 ac_mid=`expr 2 '*' $ac_mid`
22804 fi
22805
22806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22807 done
22808 else
22809 echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.$ac_ext >&5
22811
22812 ac_lo= ac_hi=
22813 fi
22814
22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816 fi
22817
22818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22819 # Binary search between lo and hi bounds.
22820 while test "x$ac_lo" != "x$ac_hi"; do
22821 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22822 cat >conftest.$ac_ext <<_ACEOF
22823 /* confdefs.h. */
22824 _ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 $ac_includes_default
22829 typedef int ac__type_sizeof_;
22830 int
22831 main ()
22832 {
22833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22834 test_array [0] = 0
22835
22836 ;
22837 return 0;
22838 }
22839 _ACEOF
22840 rm -f conftest.$ac_objext
22841 if { (ac_try="$ac_compile"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22845 esac
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_compile") 2>conftest.er1
22848 ac_status=$?
22849 grep -v '^ *+' conftest.er1 >conftest.err
22850 rm -f conftest.er1
22851 cat conftest.err >&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } && {
22854 test -z "$ac_c_werror_flag" ||
22855 test ! -s conftest.err
22856 } && test -s conftest.$ac_objext; then
22857 ac_hi=$ac_mid
22858 else
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.$ac_ext >&5
22861
22862 ac_lo=`expr '(' $ac_mid ')' + 1`
22863 fi
22864
22865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22866 done
22867 case $ac_lo in
22868 ?*) ac_cv_sizeof_int=$ac_lo;;
22869 '') if test "$ac_cv_type_int" = yes; then
22870 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22871 See \`config.log' for more details." >&5
22872 echo "$as_me: error: cannot compute sizeof (int)
22873 See \`config.log' for more details." >&2;}
22874 { (exit 77); exit 77; }; }
22875 else
22876 ac_cv_sizeof_int=0
22877 fi ;;
22878 esac
22879 else
22880 cat >conftest.$ac_ext <<_ACEOF
22881 /* confdefs.h. */
22882 _ACEOF
22883 cat confdefs.h >>conftest.$ac_ext
22884 cat >>conftest.$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22886 $ac_includes_default
22887 typedef int ac__type_sizeof_;
22888 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22889 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22890 #include <stdio.h>
22891 #include <stdlib.h>
22892 int
22893 main ()
22894 {
22895
22896 FILE *f = fopen ("conftest.val", "w");
22897 if (! f)
22898 return 1;
22899 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22900 {
22901 long int i = longval ();
22902 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22903 return 1;
22904 fprintf (f, "%ld\n", i);
22905 }
22906 else
22907 {
22908 unsigned long int i = ulongval ();
22909 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22910 return 1;
22911 fprintf (f, "%lu\n", i);
22912 }
22913 return ferror (f) || fclose (f) != 0;
22914
22915 ;
22916 return 0;
22917 }
22918 _ACEOF
22919 rm -f conftest$ac_exeext
22920 if { (ac_try="$ac_link"
22921 case "(($ac_try" in
22922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22923 *) ac_try_echo=$ac_try;;
22924 esac
22925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22926 (eval "$ac_link") 2>&5
22927 ac_status=$?
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22930 { (case "(($ac_try" in
22931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22932 *) ac_try_echo=$ac_try;;
22933 esac
22934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22935 (eval "$ac_try") 2>&5
22936 ac_status=$?
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 ac_cv_sizeof_int=`cat conftest.val`
22940 else
22941 echo "$as_me: program exited with status $ac_status" >&5
22942 echo "$as_me: failed program was:" >&5
22943 sed 's/^/| /' conftest.$ac_ext >&5
22944
22945 ( exit $ac_status )
22946 if test "$ac_cv_type_int" = yes; then
22947 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22948 See \`config.log' for more details." >&5
22949 echo "$as_me: error: cannot compute sizeof (int)
22950 See \`config.log' for more details." >&2;}
22951 { (exit 77); exit 77; }; }
22952 else
22953 ac_cv_sizeof_int=0
22954 fi
22955 fi
22956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22957 fi
22958 rm -f conftest.val
22959 fi
22960 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22961 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22962
22963
22964
22965 cat >>confdefs.h <<_ACEOF
22966 #define SIZEOF_INT $ac_cv_sizeof_int
22967 _ACEOF
22968
22969
22970 { echo "$as_me:$LINENO: checking for long" >&5
22971 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22972 if test "${ac_cv_type_long+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22974 else
22975 cat >conftest.$ac_ext <<_ACEOF
22976 /* confdefs.h. */
22977 _ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 $ac_includes_default
22982 typedef long ac__type_new_;
22983 int
22984 main ()
22985 {
22986 if ((ac__type_new_ *) 0)
22987 return 0;
22988 if (sizeof (ac__type_new_))
22989 return 0;
22990 ;
22991 return 0;
22992 }
22993 _ACEOF
22994 rm -f conftest.$ac_objext
22995 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23002 ac_status=$?
23003 grep -v '^ *+' conftest.er1 >conftest.err
23004 rm -f conftest.er1
23005 cat conftest.err >&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } && {
23008 test -z "$ac_c_werror_flag" ||
23009 test ! -s conftest.err
23010 } && test -s conftest.$ac_objext; then
23011 ac_cv_type_long=yes
23012 else
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.$ac_ext >&5
23015
23016 ac_cv_type_long=no
23017 fi
23018
23019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23020 fi
23021 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23022 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23023
23024 # The cast to long int works around a bug in the HP C Compiler
23025 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23026 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23027 # This bug is HP SR number 8606223364.
23028 { echo "$as_me:$LINENO: checking size of long" >&5
23029 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23030 if test "${ac_cv_sizeof_long+set}" = set; then
23031 echo $ECHO_N "(cached) $ECHO_C" >&6
23032 else
23033 if test "$cross_compiling" = yes; then
23034 # Depending upon the size, compute the lo and hi bounds.
23035 cat >conftest.$ac_ext <<_ACEOF
23036 /* confdefs.h. */
23037 _ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 $ac_includes_default
23042 typedef long ac__type_sizeof_;
23043 int
23044 main ()
23045 {
23046 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23047 test_array [0] = 0
23048
23049 ;
23050 return 0;
23051 }
23052 _ACEOF
23053 rm -f conftest.$ac_objext
23054 if { (ac_try="$ac_compile"
23055 case "(($ac_try" in
23056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23057 *) ac_try_echo=$ac_try;;
23058 esac
23059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23060 (eval "$ac_compile") 2>conftest.er1
23061 ac_status=$?
23062 grep -v '^ *+' conftest.er1 >conftest.err
23063 rm -f conftest.er1
23064 cat conftest.err >&5
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); } && {
23067 test -z "$ac_c_werror_flag" ||
23068 test ! -s conftest.err
23069 } && test -s conftest.$ac_objext; then
23070 ac_lo=0 ac_mid=0
23071 while :; do
23072 cat >conftest.$ac_ext <<_ACEOF
23073 /* confdefs.h. */
23074 _ACEOF
23075 cat confdefs.h >>conftest.$ac_ext
23076 cat >>conftest.$ac_ext <<_ACEOF
23077 /* end confdefs.h. */
23078 $ac_includes_default
23079 typedef long ac__type_sizeof_;
23080 int
23081 main ()
23082 {
23083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23084 test_array [0] = 0
23085
23086 ;
23087 return 0;
23088 }
23089 _ACEOF
23090 rm -f conftest.$ac_objext
23091 if { (ac_try="$ac_compile"
23092 case "(($ac_try" in
23093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23094 *) ac_try_echo=$ac_try;;
23095 esac
23096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23097 (eval "$ac_compile") 2>conftest.er1
23098 ac_status=$?
23099 grep -v '^ *+' conftest.er1 >conftest.err
23100 rm -f conftest.er1
23101 cat conftest.err >&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } && {
23104 test -z "$ac_c_werror_flag" ||
23105 test ! -s conftest.err
23106 } && test -s conftest.$ac_objext; then
23107 ac_hi=$ac_mid; break
23108 else
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.$ac_ext >&5
23111
23112 ac_lo=`expr $ac_mid + 1`
23113 if test $ac_lo -le $ac_mid; then
23114 ac_lo= ac_hi=
23115 break
23116 fi
23117 ac_mid=`expr 2 '*' $ac_mid + 1`
23118 fi
23119
23120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23121 done
23122 else
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.$ac_ext >&5
23125
23126 cat >conftest.$ac_ext <<_ACEOF
23127 /* confdefs.h. */
23128 _ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 $ac_includes_default
23133 typedef long ac__type_sizeof_;
23134 int
23135 main ()
23136 {
23137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23138 test_array [0] = 0
23139
23140 ;
23141 return 0;
23142 }
23143 _ACEOF
23144 rm -f conftest.$ac_objext
23145 if { (ac_try="$ac_compile"
23146 case "(($ac_try" in
23147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23148 *) ac_try_echo=$ac_try;;
23149 esac
23150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23151 (eval "$ac_compile") 2>conftest.er1
23152 ac_status=$?
23153 grep -v '^ *+' conftest.er1 >conftest.err
23154 rm -f conftest.er1
23155 cat conftest.err >&5
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); } && {
23158 test -z "$ac_c_werror_flag" ||
23159 test ! -s conftest.err
23160 } && test -s conftest.$ac_objext; then
23161 ac_hi=-1 ac_mid=-1
23162 while :; do
23163 cat >conftest.$ac_ext <<_ACEOF
23164 /* confdefs.h. */
23165 _ACEOF
23166 cat confdefs.h >>conftest.$ac_ext
23167 cat >>conftest.$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 $ac_includes_default
23170 typedef long ac__type_sizeof_;
23171 int
23172 main ()
23173 {
23174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23175 test_array [0] = 0
23176
23177 ;
23178 return 0;
23179 }
23180 _ACEOF
23181 rm -f conftest.$ac_objext
23182 if { (ac_try="$ac_compile"
23183 case "(($ac_try" in
23184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23185 *) ac_try_echo=$ac_try;;
23186 esac
23187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23188 (eval "$ac_compile") 2>conftest.er1
23189 ac_status=$?
23190 grep -v '^ *+' conftest.er1 >conftest.err
23191 rm -f conftest.er1
23192 cat conftest.err >&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } && {
23195 test -z "$ac_c_werror_flag" ||
23196 test ! -s conftest.err
23197 } && test -s conftest.$ac_objext; then
23198 ac_lo=$ac_mid; break
23199 else
23200 echo "$as_me: failed program was:" >&5
23201 sed 's/^/| /' conftest.$ac_ext >&5
23202
23203 ac_hi=`expr '(' $ac_mid ')' - 1`
23204 if test $ac_mid -le $ac_hi; then
23205 ac_lo= ac_hi=
23206 break
23207 fi
23208 ac_mid=`expr 2 '*' $ac_mid`
23209 fi
23210
23211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23212 done
23213 else
23214 echo "$as_me: failed program was:" >&5
23215 sed 's/^/| /' conftest.$ac_ext >&5
23216
23217 ac_lo= ac_hi=
23218 fi
23219
23220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221 fi
23222
23223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23224 # Binary search between lo and hi bounds.
23225 while test "x$ac_lo" != "x$ac_hi"; do
23226 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23227 cat >conftest.$ac_ext <<_ACEOF
23228 /* confdefs.h. */
23229 _ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233 $ac_includes_default
23234 typedef long ac__type_sizeof_;
23235 int
23236 main ()
23237 {
23238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23239 test_array [0] = 0
23240
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 rm -f conftest.$ac_objext
23246 if { (ac_try="$ac_compile"
23247 case "(($ac_try" in
23248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23249 *) ac_try_echo=$ac_try;;
23250 esac
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_compile") 2>conftest.er1
23253 ac_status=$?
23254 grep -v '^ *+' conftest.er1 >conftest.err
23255 rm -f conftest.er1
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && {
23259 test -z "$ac_c_werror_flag" ||
23260 test ! -s conftest.err
23261 } && test -s conftest.$ac_objext; then
23262 ac_hi=$ac_mid
23263 else
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23266
23267 ac_lo=`expr '(' $ac_mid ')' + 1`
23268 fi
23269
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23271 done
23272 case $ac_lo in
23273 ?*) ac_cv_sizeof_long=$ac_lo;;
23274 '') if test "$ac_cv_type_long" = yes; then
23275 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23276 See \`config.log' for more details." >&5
23277 echo "$as_me: error: cannot compute sizeof (long)
23278 See \`config.log' for more details." >&2;}
23279 { (exit 77); exit 77; }; }
23280 else
23281 ac_cv_sizeof_long=0
23282 fi ;;
23283 esac
23284 else
23285 cat >conftest.$ac_ext <<_ACEOF
23286 /* confdefs.h. */
23287 _ACEOF
23288 cat confdefs.h >>conftest.$ac_ext
23289 cat >>conftest.$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23291 $ac_includes_default
23292 typedef long ac__type_sizeof_;
23293 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23294 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23295 #include <stdio.h>
23296 #include <stdlib.h>
23297 int
23298 main ()
23299 {
23300
23301 FILE *f = fopen ("conftest.val", "w");
23302 if (! f)
23303 return 1;
23304 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23305 {
23306 long int i = longval ();
23307 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23308 return 1;
23309 fprintf (f, "%ld\n", i);
23310 }
23311 else
23312 {
23313 unsigned long int i = ulongval ();
23314 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23315 return 1;
23316 fprintf (f, "%lu\n", i);
23317 }
23318 return ferror (f) || fclose (f) != 0;
23319
23320 ;
23321 return 0;
23322 }
23323 _ACEOF
23324 rm -f conftest$ac_exeext
23325 if { (ac_try="$ac_link"
23326 case "(($ac_try" in
23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23329 esac
23330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23331 (eval "$ac_link") 2>&5
23332 ac_status=$?
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23335 { (case "(($ac_try" in
23336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23337 *) ac_try_echo=$ac_try;;
23338 esac
23339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23340 (eval "$ac_try") 2>&5
23341 ac_status=$?
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 ac_cv_sizeof_long=`cat conftest.val`
23345 else
23346 echo "$as_me: program exited with status $ac_status" >&5
23347 echo "$as_me: failed program was:" >&5
23348 sed 's/^/| /' conftest.$ac_ext >&5
23349
23350 ( exit $ac_status )
23351 if test "$ac_cv_type_long" = yes; then
23352 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23353 See \`config.log' for more details." >&5
23354 echo "$as_me: error: cannot compute sizeof (long)
23355 See \`config.log' for more details." >&2;}
23356 { (exit 77); exit 77; }; }
23357 else
23358 ac_cv_sizeof_long=0
23359 fi
23360 fi
23361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23362 fi
23363 rm -f conftest.val
23364 fi
23365 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23366 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23367
23368
23369
23370 cat >>confdefs.h <<_ACEOF
23371 #define SIZEOF_LONG $ac_cv_sizeof_long
23372 _ACEOF
23373
23374
23375 { echo "$as_me:$LINENO: checking for size_t" >&5
23376 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23377 if test "${ac_cv_type_size_t+set}" = set; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6
23379 else
23380 cat >conftest.$ac_ext <<_ACEOF
23381 /* confdefs.h. */
23382 _ACEOF
23383 cat confdefs.h >>conftest.$ac_ext
23384 cat >>conftest.$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386 $ac_includes_default
23387 typedef size_t ac__type_new_;
23388 int
23389 main ()
23390 {
23391 if ((ac__type_new_ *) 0)
23392 return 0;
23393 if (sizeof (ac__type_new_))
23394 return 0;
23395 ;
23396 return 0;
23397 }
23398 _ACEOF
23399 rm -f conftest.$ac_objext
23400 if { (ac_try="$ac_compile"
23401 case "(($ac_try" in
23402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23403 *) ac_try_echo=$ac_try;;
23404 esac
23405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23406 (eval "$ac_compile") 2>conftest.er1
23407 ac_status=$?
23408 grep -v '^ *+' conftest.er1 >conftest.err
23409 rm -f conftest.er1
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } && {
23413 test -z "$ac_c_werror_flag" ||
23414 test ! -s conftest.err
23415 } && test -s conftest.$ac_objext; then
23416 ac_cv_type_size_t=yes
23417 else
23418 echo "$as_me: failed program was:" >&5
23419 sed 's/^/| /' conftest.$ac_ext >&5
23420
23421 ac_cv_type_size_t=no
23422 fi
23423
23424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23425 fi
23426 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23427 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23428
23429 # The cast to long int works around a bug in the HP C Compiler
23430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23432 # This bug is HP SR number 8606223364.
23433 { echo "$as_me:$LINENO: checking size of size_t" >&5
23434 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23435 if test "${ac_cv_sizeof_size_t+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23437 else
23438 if test "$cross_compiling" = yes; then
23439 # Depending upon the size, compute the lo and hi bounds.
23440 cat >conftest.$ac_ext <<_ACEOF
23441 /* confdefs.h. */
23442 _ACEOF
23443 cat confdefs.h >>conftest.$ac_ext
23444 cat >>conftest.$ac_ext <<_ACEOF
23445 /* end confdefs.h. */
23446 $ac_includes_default
23447 typedef size_t ac__type_sizeof_;
23448 int
23449 main ()
23450 {
23451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23452 test_array [0] = 0
23453
23454 ;
23455 return 0;
23456 }
23457 _ACEOF
23458 rm -f conftest.$ac_objext
23459 if { (ac_try="$ac_compile"
23460 case "(($ac_try" in
23461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23462 *) ac_try_echo=$ac_try;;
23463 esac
23464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23465 (eval "$ac_compile") 2>conftest.er1
23466 ac_status=$?
23467 grep -v '^ *+' conftest.er1 >conftest.err
23468 rm -f conftest.er1
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && {
23472 test -z "$ac_c_werror_flag" ||
23473 test ! -s conftest.err
23474 } && test -s conftest.$ac_objext; then
23475 ac_lo=0 ac_mid=0
23476 while :; do
23477 cat >conftest.$ac_ext <<_ACEOF
23478 /* confdefs.h. */
23479 _ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 typedef size_t ac__type_sizeof_;
23485 int
23486 main ()
23487 {
23488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23489 test_array [0] = 0
23490
23491 ;
23492 return 0;
23493 }
23494 _ACEOF
23495 rm -f conftest.$ac_objext
23496 if { (ac_try="$ac_compile"
23497 case "(($ac_try" in
23498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23499 *) ac_try_echo=$ac_try;;
23500 esac
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_compile") 2>conftest.er1
23503 ac_status=$?
23504 grep -v '^ *+' conftest.er1 >conftest.err
23505 rm -f conftest.er1
23506 cat conftest.err >&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && {
23509 test -z "$ac_c_werror_flag" ||
23510 test ! -s conftest.err
23511 } && test -s conftest.$ac_objext; then
23512 ac_hi=$ac_mid; break
23513 else
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23516
23517 ac_lo=`expr $ac_mid + 1`
23518 if test $ac_lo -le $ac_mid; then
23519 ac_lo= ac_hi=
23520 break
23521 fi
23522 ac_mid=`expr 2 '*' $ac_mid + 1`
23523 fi
23524
23525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23526 done
23527 else
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23530
23531 cat >conftest.$ac_ext <<_ACEOF
23532 /* confdefs.h. */
23533 _ACEOF
23534 cat confdefs.h >>conftest.$ac_ext
23535 cat >>conftest.$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 $ac_includes_default
23538 typedef size_t ac__type_sizeof_;
23539 int
23540 main ()
23541 {
23542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23543 test_array [0] = 0
23544
23545 ;
23546 return 0;
23547 }
23548 _ACEOF
23549 rm -f conftest.$ac_objext
23550 if { (ac_try="$ac_compile"
23551 case "(($ac_try" in
23552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23553 *) ac_try_echo=$ac_try;;
23554 esac
23555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23556 (eval "$ac_compile") 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } && {
23563 test -z "$ac_c_werror_flag" ||
23564 test ! -s conftest.err
23565 } && test -s conftest.$ac_objext; then
23566 ac_hi=-1 ac_mid=-1
23567 while :; do
23568 cat >conftest.$ac_ext <<_ACEOF
23569 /* confdefs.h. */
23570 _ACEOF
23571 cat confdefs.h >>conftest.$ac_ext
23572 cat >>conftest.$ac_ext <<_ACEOF
23573 /* end confdefs.h. */
23574 $ac_includes_default
23575 typedef size_t ac__type_sizeof_;
23576 int
23577 main ()
23578 {
23579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23580 test_array [0] = 0
23581
23582 ;
23583 return 0;
23584 }
23585 _ACEOF
23586 rm -f conftest.$ac_objext
23587 if { (ac_try="$ac_compile"
23588 case "(($ac_try" in
23589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23590 *) ac_try_echo=$ac_try;;
23591 esac
23592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23593 (eval "$ac_compile") 2>conftest.er1
23594 ac_status=$?
23595 grep -v '^ *+' conftest.er1 >conftest.err
23596 rm -f conftest.er1
23597 cat conftest.err >&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && {
23600 test -z "$ac_c_werror_flag" ||
23601 test ! -s conftest.err
23602 } && test -s conftest.$ac_objext; then
23603 ac_lo=$ac_mid; break
23604 else
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23607
23608 ac_hi=`expr '(' $ac_mid ')' - 1`
23609 if test $ac_mid -le $ac_hi; then
23610 ac_lo= ac_hi=
23611 break
23612 fi
23613 ac_mid=`expr 2 '*' $ac_mid`
23614 fi
23615
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617 done
23618 else
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.$ac_ext >&5
23621
23622 ac_lo= ac_hi=
23623 fi
23624
23625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23626 fi
23627
23628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23629 # Binary search between lo and hi bounds.
23630 while test "x$ac_lo" != "x$ac_hi"; do
23631 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23632 cat >conftest.$ac_ext <<_ACEOF
23633 /* confdefs.h. */
23634 _ACEOF
23635 cat confdefs.h >>conftest.$ac_ext
23636 cat >>conftest.$ac_ext <<_ACEOF
23637 /* end confdefs.h. */
23638 $ac_includes_default
23639 typedef size_t ac__type_sizeof_;
23640 int
23641 main ()
23642 {
23643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23644 test_array [0] = 0
23645
23646 ;
23647 return 0;
23648 }
23649 _ACEOF
23650 rm -f conftest.$ac_objext
23651 if { (ac_try="$ac_compile"
23652 case "(($ac_try" in
23653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23654 *) ac_try_echo=$ac_try;;
23655 esac
23656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23657 (eval "$ac_compile") 2>conftest.er1
23658 ac_status=$?
23659 grep -v '^ *+' conftest.er1 >conftest.err
23660 rm -f conftest.er1
23661 cat conftest.err >&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); } && {
23664 test -z "$ac_c_werror_flag" ||
23665 test ! -s conftest.err
23666 } && test -s conftest.$ac_objext; then
23667 ac_hi=$ac_mid
23668 else
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23671
23672 ac_lo=`expr '(' $ac_mid ')' + 1`
23673 fi
23674
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23676 done
23677 case $ac_lo in
23678 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23679 '') if test "$ac_cv_type_size_t" = yes; then
23680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23681 See \`config.log' for more details." >&5
23682 echo "$as_me: error: cannot compute sizeof (size_t)
23683 See \`config.log' for more details." >&2;}
23684 { (exit 77); exit 77; }; }
23685 else
23686 ac_cv_sizeof_size_t=0
23687 fi ;;
23688 esac
23689 else
23690 cat >conftest.$ac_ext <<_ACEOF
23691 /* confdefs.h. */
23692 _ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 $ac_includes_default
23697 typedef size_t ac__type_sizeof_;
23698 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23699 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23700 #include <stdio.h>
23701 #include <stdlib.h>
23702 int
23703 main ()
23704 {
23705
23706 FILE *f = fopen ("conftest.val", "w");
23707 if (! f)
23708 return 1;
23709 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23710 {
23711 long int i = longval ();
23712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23713 return 1;
23714 fprintf (f, "%ld\n", i);
23715 }
23716 else
23717 {
23718 unsigned long int i = ulongval ();
23719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23720 return 1;
23721 fprintf (f, "%lu\n", i);
23722 }
23723 return ferror (f) || fclose (f) != 0;
23724
23725 ;
23726 return 0;
23727 }
23728 _ACEOF
23729 rm -f conftest$ac_exeext
23730 if { (ac_try="$ac_link"
23731 case "(($ac_try" in
23732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23733 *) ac_try_echo=$ac_try;;
23734 esac
23735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23736 (eval "$ac_link") 2>&5
23737 ac_status=$?
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23740 { (case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23743 esac
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_try") 2>&5
23746 ac_status=$?
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; }; then
23749 ac_cv_sizeof_size_t=`cat conftest.val`
23750 else
23751 echo "$as_me: program exited with status $ac_status" >&5
23752 echo "$as_me: failed program was:" >&5
23753 sed 's/^/| /' conftest.$ac_ext >&5
23754
23755 ( exit $ac_status )
23756 if test "$ac_cv_type_size_t" = yes; then
23757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23758 See \`config.log' for more details." >&5
23759 echo "$as_me: error: cannot compute sizeof (size_t)
23760 See \`config.log' for more details." >&2;}
23761 { (exit 77); exit 77; }; }
23762 else
23763 ac_cv_sizeof_size_t=0
23764 fi
23765 fi
23766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23767 fi
23768 rm -f conftest.val
23769 fi
23770 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23771 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23772
23773
23774
23775 cat >>confdefs.h <<_ACEOF
23776 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23777 _ACEOF
23778
23779
23780
23781 case "${host}" in
23782 arm-*-linux* )
23783 { echo "$as_me:$LINENO: checking for long long" >&5
23784 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23785 if test "${ac_cv_type_long_long+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23787 else
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h. */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 $ac_includes_default
23795 typedef long long ac__type_new_;
23796 int
23797 main ()
23798 {
23799 if ((ac__type_new_ *) 0)
23800 return 0;
23801 if (sizeof (ac__type_new_))
23802 return 0;
23803 ;
23804 return 0;
23805 }
23806 _ACEOF
23807 rm -f conftest.$ac_objext
23808 if { (ac_try="$ac_compile"
23809 case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23812 esac
23813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_compile") 2>conftest.er1
23815 ac_status=$?
23816 grep -v '^ *+' conftest.er1 >conftest.err
23817 rm -f conftest.er1
23818 cat conftest.err >&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } && {
23821 test -z "$ac_c_werror_flag" ||
23822 test ! -s conftest.err
23823 } && test -s conftest.$ac_objext; then
23824 ac_cv_type_long_long=yes
23825 else
23826 echo "$as_me: failed program was:" >&5
23827 sed 's/^/| /' conftest.$ac_ext >&5
23828
23829 ac_cv_type_long_long=no
23830 fi
23831
23832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23833 fi
23834 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23835 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23836
23837 # The cast to long int works around a bug in the HP C Compiler
23838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23840 # This bug is HP SR number 8606223364.
23841 { echo "$as_me:$LINENO: checking size of long long" >&5
23842 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23843 if test "${ac_cv_sizeof_long_long+set}" = set; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 else
23846 if test "$cross_compiling" = yes; then
23847 # Depending upon the size, compute the lo and hi bounds.
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 $ac_includes_default
23855 typedef long long ac__type_sizeof_;
23856 int
23857 main ()
23858 {
23859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23860 test_array [0] = 0
23861
23862 ;
23863 return 0;
23864 }
23865 _ACEOF
23866 rm -f conftest.$ac_objext
23867 if { (ac_try="$ac_compile"
23868 case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_compile") 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_c_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest.$ac_objext; then
23883 ac_lo=0 ac_mid=0
23884 while :; do
23885 cat >conftest.$ac_ext <<_ACEOF
23886 /* confdefs.h. */
23887 _ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891 $ac_includes_default
23892 typedef long long ac__type_sizeof_;
23893 int
23894 main ()
23895 {
23896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23897 test_array [0] = 0
23898
23899 ;
23900 return 0;
23901 }
23902 _ACEOF
23903 rm -f conftest.$ac_objext
23904 if { (ac_try="$ac_compile"
23905 case "(($ac_try" in
23906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23907 *) ac_try_echo=$ac_try;;
23908 esac
23909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23910 (eval "$ac_compile") 2>conftest.er1
23911 ac_status=$?
23912 grep -v '^ *+' conftest.er1 >conftest.err
23913 rm -f conftest.er1
23914 cat conftest.err >&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } && {
23917 test -z "$ac_c_werror_flag" ||
23918 test ! -s conftest.err
23919 } && test -s conftest.$ac_objext; then
23920 ac_hi=$ac_mid; break
23921 else
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23924
23925 ac_lo=`expr $ac_mid + 1`
23926 if test $ac_lo -le $ac_mid; then
23927 ac_lo= ac_hi=
23928 break
23929 fi
23930 ac_mid=`expr 2 '*' $ac_mid + 1`
23931 fi
23932
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934 done
23935 else
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.$ac_ext >&5
23938
23939 cat >conftest.$ac_ext <<_ACEOF
23940 /* confdefs.h. */
23941 _ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 $ac_includes_default
23946 typedef long long ac__type_sizeof_;
23947 int
23948 main ()
23949 {
23950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23951 test_array [0] = 0
23952
23953 ;
23954 return 0;
23955 }
23956 _ACEOF
23957 rm -f conftest.$ac_objext
23958 if { (ac_try="$ac_compile"
23959 case "(($ac_try" in
23960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23962 esac
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_compile") 2>conftest.er1
23965 ac_status=$?
23966 grep -v '^ *+' conftest.er1 >conftest.err
23967 rm -f conftest.er1
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } && {
23971 test -z "$ac_c_werror_flag" ||
23972 test ! -s conftest.err
23973 } && test -s conftest.$ac_objext; then
23974 ac_hi=-1 ac_mid=-1
23975 while :; do
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef long long ac__type_sizeof_;
23984 int
23985 main ()
23986 {
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23988 test_array [0] = 0
23989
23990 ;
23991 return 0;
23992 }
23993 _ACEOF
23994 rm -f conftest.$ac_objext
23995 if { (ac_try="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
23999 esac
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24002 ac_status=$?
24003 grep -v '^ *+' conftest.er1 >conftest.err
24004 rm -f conftest.er1
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.$ac_objext; then
24011 ac_lo=$ac_mid; break
24012 else
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.$ac_ext >&5
24015
24016 ac_hi=`expr '(' $ac_mid ')' - 1`
24017 if test $ac_mid -le $ac_hi; then
24018 ac_lo= ac_hi=
24019 break
24020 fi
24021 ac_mid=`expr 2 '*' $ac_mid`
24022 fi
24023
24024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24025 done
24026 else
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.$ac_ext >&5
24029
24030 ac_lo= ac_hi=
24031 fi
24032
24033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24034 fi
24035
24036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24037 # Binary search between lo and hi bounds.
24038 while test "x$ac_lo" != "x$ac_hi"; do
24039 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 typedef long long ac__type_sizeof_;
24048 int
24049 main ()
24050 {
24051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24052 test_array [0] = 0
24053
24054 ;
24055 return 0;
24056 }
24057 _ACEOF
24058 rm -f conftest.$ac_objext
24059 if { (ac_try="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24062 *) ac_try_echo=$ac_try;;
24063 esac
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.$ac_objext; then
24075 ac_hi=$ac_mid
24076 else
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24079
24080 ac_lo=`expr '(' $ac_mid ')' + 1`
24081 fi
24082
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24084 done
24085 case $ac_lo in
24086 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24087 '') if test "$ac_cv_type_long_long" = yes; then
24088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24089 See \`config.log' for more details." >&5
24090 echo "$as_me: error: cannot compute sizeof (long long)
24091 See \`config.log' for more details." >&2;}
24092 { (exit 77); exit 77; }; }
24093 else
24094 ac_cv_sizeof_long_long=0
24095 fi ;;
24096 esac
24097 else
24098 cat >conftest.$ac_ext <<_ACEOF
24099 /* confdefs.h. */
24100 _ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h. */
24104 $ac_includes_default
24105 typedef long long ac__type_sizeof_;
24106 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24107 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24108 #include <stdio.h>
24109 #include <stdlib.h>
24110 int
24111 main ()
24112 {
24113
24114 FILE *f = fopen ("conftest.val", "w");
24115 if (! f)
24116 return 1;
24117 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24118 {
24119 long int i = longval ();
24120 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24121 return 1;
24122 fprintf (f, "%ld\n", i);
24123 }
24124 else
24125 {
24126 unsigned long int i = ulongval ();
24127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24128 return 1;
24129 fprintf (f, "%lu\n", i);
24130 }
24131 return ferror (f) || fclose (f) != 0;
24132
24133 ;
24134 return 0;
24135 }
24136 _ACEOF
24137 rm -f conftest$ac_exeext
24138 if { (ac_try="$ac_link"
24139 case "(($ac_try" in
24140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24141 *) ac_try_echo=$ac_try;;
24142 esac
24143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24144 (eval "$ac_link") 2>&5
24145 ac_status=$?
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24148 { (case "(($ac_try" in
24149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24150 *) ac_try_echo=$ac_try;;
24151 esac
24152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24153 (eval "$ac_try") 2>&5
24154 ac_status=$?
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); }; }; then
24157 ac_cv_sizeof_long_long=`cat conftest.val`
24158 else
24159 echo "$as_me: program exited with status $ac_status" >&5
24160 echo "$as_me: failed program was:" >&5
24161 sed 's/^/| /' conftest.$ac_ext >&5
24162
24163 ( exit $ac_status )
24164 if test "$ac_cv_type_long_long" = yes; then
24165 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24166 See \`config.log' for more details." >&5
24167 echo "$as_me: error: cannot compute sizeof (long long)
24168 See \`config.log' for more details." >&2;}
24169 { (exit 77); exit 77; }; }
24170 else
24171 ac_cv_sizeof_long_long=0
24172 fi
24173 fi
24174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24175 fi
24176 rm -f conftest.val
24177 fi
24178 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24179 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24180
24181
24182
24183 cat >>confdefs.h <<_ACEOF
24184 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24185 _ACEOF
24186
24187
24188 ;;
24189 *-hp-hpux* )
24190 { echo "$as_me:$LINENO: checking for long long" >&5
24191 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24192 if test "${ac_cv_type_long_long+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 else
24195 cat >conftest.$ac_ext <<_ACEOF
24196 /* confdefs.h. */
24197 _ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201 $ac_includes_default
24202 typedef long long ac__type_new_;
24203 int
24204 main ()
24205 {
24206 if ((ac__type_new_ *) 0)
24207 return 0;
24208 if (sizeof (ac__type_new_))
24209 return 0;
24210 ;
24211 return 0;
24212 }
24213 _ACEOF
24214 rm -f conftest.$ac_objext
24215 if { (ac_try="$ac_compile"
24216 case "(($ac_try" in
24217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24218 *) ac_try_echo=$ac_try;;
24219 esac
24220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24221 (eval "$ac_compile") 2>conftest.er1
24222 ac_status=$?
24223 grep -v '^ *+' conftest.er1 >conftest.err
24224 rm -f conftest.er1
24225 cat conftest.err >&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } && {
24228 test -z "$ac_c_werror_flag" ||
24229 test ! -s conftest.err
24230 } && test -s conftest.$ac_objext; then
24231 ac_cv_type_long_long=yes
24232 else
24233 echo "$as_me: failed program was:" >&5
24234 sed 's/^/| /' conftest.$ac_ext >&5
24235
24236 ac_cv_type_long_long=no
24237 fi
24238
24239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24240 fi
24241 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24242 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24243
24244 # The cast to long int works around a bug in the HP C Compiler
24245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24247 # This bug is HP SR number 8606223364.
24248 { echo "$as_me:$LINENO: checking size of long long" >&5
24249 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24250 if test "${ac_cv_sizeof_long_long+set}" = set; then
24251 echo $ECHO_N "(cached) $ECHO_C" >&6
24252 else
24253 if test "$cross_compiling" = yes; then
24254 # Depending upon the size, compute the lo and hi bounds.
24255 cat >conftest.$ac_ext <<_ACEOF
24256 /* confdefs.h. */
24257 _ACEOF
24258 cat confdefs.h >>conftest.$ac_ext
24259 cat >>conftest.$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261 $ac_includes_default
24262 typedef long long ac__type_sizeof_;
24263 int
24264 main ()
24265 {
24266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24267 test_array [0] = 0
24268
24269 ;
24270 return 0;
24271 }
24272 _ACEOF
24273 rm -f conftest.$ac_objext
24274 if { (ac_try="$ac_compile"
24275 case "(($ac_try" in
24276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24277 *) ac_try_echo=$ac_try;;
24278 esac
24279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24280 (eval "$ac_compile") 2>conftest.er1
24281 ac_status=$?
24282 grep -v '^ *+' conftest.er1 >conftest.err
24283 rm -f conftest.er1
24284 cat conftest.err >&5
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); } && {
24287 test -z "$ac_c_werror_flag" ||
24288 test ! -s conftest.err
24289 } && test -s conftest.$ac_objext; then
24290 ac_lo=0 ac_mid=0
24291 while :; do
24292 cat >conftest.$ac_ext <<_ACEOF
24293 /* confdefs.h. */
24294 _ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 $ac_includes_default
24299 typedef long long ac__type_sizeof_;
24300 int
24301 main ()
24302 {
24303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24304 test_array [0] = 0
24305
24306 ;
24307 return 0;
24308 }
24309 _ACEOF
24310 rm -f conftest.$ac_objext
24311 if { (ac_try="$ac_compile"
24312 case "(($ac_try" in
24313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24314 *) ac_try_echo=$ac_try;;
24315 esac
24316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24317 (eval "$ac_compile") 2>conftest.er1
24318 ac_status=$?
24319 grep -v '^ *+' conftest.er1 >conftest.err
24320 rm -f conftest.er1
24321 cat conftest.err >&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); } && {
24324 test -z "$ac_c_werror_flag" ||
24325 test ! -s conftest.err
24326 } && test -s conftest.$ac_objext; then
24327 ac_hi=$ac_mid; break
24328 else
24329 echo "$as_me: failed program was:" >&5
24330 sed 's/^/| /' conftest.$ac_ext >&5
24331
24332 ac_lo=`expr $ac_mid + 1`
24333 if test $ac_lo -le $ac_mid; then
24334 ac_lo= ac_hi=
24335 break
24336 fi
24337 ac_mid=`expr 2 '*' $ac_mid + 1`
24338 fi
24339
24340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24341 done
24342 else
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.$ac_ext >&5
24345
24346 cat >conftest.$ac_ext <<_ACEOF
24347 /* confdefs.h. */
24348 _ACEOF
24349 cat confdefs.h >>conftest.$ac_ext
24350 cat >>conftest.$ac_ext <<_ACEOF
24351 /* end confdefs.h. */
24352 $ac_includes_default
24353 typedef long long ac__type_sizeof_;
24354 int
24355 main ()
24356 {
24357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24358 test_array [0] = 0
24359
24360 ;
24361 return 0;
24362 }
24363 _ACEOF
24364 rm -f conftest.$ac_objext
24365 if { (ac_try="$ac_compile"
24366 case "(($ac_try" in
24367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24368 *) ac_try_echo=$ac_try;;
24369 esac
24370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24371 (eval "$ac_compile") 2>conftest.er1
24372 ac_status=$?
24373 grep -v '^ *+' conftest.er1 >conftest.err
24374 rm -f conftest.er1
24375 cat conftest.err >&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } && {
24378 test -z "$ac_c_werror_flag" ||
24379 test ! -s conftest.err
24380 } && test -s conftest.$ac_objext; then
24381 ac_hi=-1 ac_mid=-1
24382 while :; do
24383 cat >conftest.$ac_ext <<_ACEOF
24384 /* confdefs.h. */
24385 _ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24389 $ac_includes_default
24390 typedef long long ac__type_sizeof_;
24391 int
24392 main ()
24393 {
24394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24395 test_array [0] = 0
24396
24397 ;
24398 return 0;
24399 }
24400 _ACEOF
24401 rm -f conftest.$ac_objext
24402 if { (ac_try="$ac_compile"
24403 case "(($ac_try" in
24404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24405 *) ac_try_echo=$ac_try;;
24406 esac
24407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24408 (eval "$ac_compile") 2>conftest.er1
24409 ac_status=$?
24410 grep -v '^ *+' conftest.er1 >conftest.err
24411 rm -f conftest.er1
24412 cat conftest.err >&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } && {
24415 test -z "$ac_c_werror_flag" ||
24416 test ! -s conftest.err
24417 } && test -s conftest.$ac_objext; then
24418 ac_lo=$ac_mid; break
24419 else
24420 echo "$as_me: failed program was:" >&5
24421 sed 's/^/| /' conftest.$ac_ext >&5
24422
24423 ac_hi=`expr '(' $ac_mid ')' - 1`
24424 if test $ac_mid -le $ac_hi; then
24425 ac_lo= ac_hi=
24426 break
24427 fi
24428 ac_mid=`expr 2 '*' $ac_mid`
24429 fi
24430
24431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24432 done
24433 else
24434 echo "$as_me: failed program was:" >&5
24435 sed 's/^/| /' conftest.$ac_ext >&5
24436
24437 ac_lo= ac_hi=
24438 fi
24439
24440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24441 fi
24442
24443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24444 # Binary search between lo and hi bounds.
24445 while test "x$ac_lo" != "x$ac_hi"; do
24446 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24447 cat >conftest.$ac_ext <<_ACEOF
24448 /* confdefs.h. */
24449 _ACEOF
24450 cat confdefs.h >>conftest.$ac_ext
24451 cat >>conftest.$ac_ext <<_ACEOF
24452 /* end confdefs.h. */
24453 $ac_includes_default
24454 typedef long long ac__type_sizeof_;
24455 int
24456 main ()
24457 {
24458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24459 test_array [0] = 0
24460
24461 ;
24462 return 0;
24463 }
24464 _ACEOF
24465 rm -f conftest.$ac_objext
24466 if { (ac_try="$ac_compile"
24467 case "(($ac_try" in
24468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24469 *) ac_try_echo=$ac_try;;
24470 esac
24471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24472 (eval "$ac_compile") 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } && {
24479 test -z "$ac_c_werror_flag" ||
24480 test ! -s conftest.err
24481 } && test -s conftest.$ac_objext; then
24482 ac_hi=$ac_mid
24483 else
24484 echo "$as_me: failed program was:" >&5
24485 sed 's/^/| /' conftest.$ac_ext >&5
24486
24487 ac_lo=`expr '(' $ac_mid ')' + 1`
24488 fi
24489
24490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24491 done
24492 case $ac_lo in
24493 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24494 '') if test "$ac_cv_type_long_long" = yes; then
24495 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24496 See \`config.log' for more details." >&5
24497 echo "$as_me: error: cannot compute sizeof (long long)
24498 See \`config.log' for more details." >&2;}
24499 { (exit 77); exit 77; }; }
24500 else
24501 ac_cv_sizeof_long_long=0
24502 fi ;;
24503 esac
24504 else
24505 cat >conftest.$ac_ext <<_ACEOF
24506 /* confdefs.h. */
24507 _ACEOF
24508 cat confdefs.h >>conftest.$ac_ext
24509 cat >>conftest.$ac_ext <<_ACEOF
24510 /* end confdefs.h. */
24511 $ac_includes_default
24512 typedef long long ac__type_sizeof_;
24513 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24514 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24515 #include <stdio.h>
24516 #include <stdlib.h>
24517 int
24518 main ()
24519 {
24520
24521 FILE *f = fopen ("conftest.val", "w");
24522 if (! f)
24523 return 1;
24524 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24525 {
24526 long int i = longval ();
24527 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24528 return 1;
24529 fprintf (f, "%ld\n", i);
24530 }
24531 else
24532 {
24533 unsigned long int i = ulongval ();
24534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24535 return 1;
24536 fprintf (f, "%lu\n", i);
24537 }
24538 return ferror (f) || fclose (f) != 0;
24539
24540 ;
24541 return 0;
24542 }
24543 _ACEOF
24544 rm -f conftest$ac_exeext
24545 if { (ac_try="$ac_link"
24546 case "(($ac_try" in
24547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24548 *) ac_try_echo=$ac_try;;
24549 esac
24550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24551 (eval "$ac_link") 2>&5
24552 ac_status=$?
24553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24555 { (case "(($ac_try" in
24556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24557 *) ac_try_echo=$ac_try;;
24558 esac
24559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24560 (eval "$ac_try") 2>&5
24561 ac_status=$?
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; }; then
24564 ac_cv_sizeof_long_long=`cat conftest.val`
24565 else
24566 echo "$as_me: program exited with status $ac_status" >&5
24567 echo "$as_me: failed program was:" >&5
24568 sed 's/^/| /' conftest.$ac_ext >&5
24569
24570 ( exit $ac_status )
24571 if test "$ac_cv_type_long_long" = yes; then
24572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24573 See \`config.log' for more details." >&5
24574 echo "$as_me: error: cannot compute sizeof (long long)
24575 See \`config.log' for more details." >&2;}
24576 { (exit 77); exit 77; }; }
24577 else
24578 ac_cv_sizeof_long_long=0
24579 fi
24580 fi
24581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24582 fi
24583 rm -f conftest.val
24584 fi
24585 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24586 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24587
24588
24589
24590 cat >>confdefs.h <<_ACEOF
24591 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24592 _ACEOF
24593
24594
24595 if test "$ac_cv_sizeof_long_long" != "0"; then
24596 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24597 fi
24598 ;;
24599 * )
24600 { echo "$as_me:$LINENO: checking for long long" >&5
24601 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24602 if test "${ac_cv_type_long_long+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24604 else
24605 cat >conftest.$ac_ext <<_ACEOF
24606 /* confdefs.h. */
24607 _ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611 $ac_includes_default
24612 typedef long long ac__type_new_;
24613 int
24614 main ()
24615 {
24616 if ((ac__type_new_ *) 0)
24617 return 0;
24618 if (sizeof (ac__type_new_))
24619 return 0;
24620 ;
24621 return 0;
24622 }
24623 _ACEOF
24624 rm -f conftest.$ac_objext
24625 if { (ac_try="$ac_compile"
24626 case "(($ac_try" in
24627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24628 *) ac_try_echo=$ac_try;;
24629 esac
24630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24631 (eval "$ac_compile") 2>conftest.er1
24632 ac_status=$?
24633 grep -v '^ *+' conftest.er1 >conftest.err
24634 rm -f conftest.er1
24635 cat conftest.err >&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } && {
24638 test -z "$ac_c_werror_flag" ||
24639 test ! -s conftest.err
24640 } && test -s conftest.$ac_objext; then
24641 ac_cv_type_long_long=yes
24642 else
24643 echo "$as_me: failed program was:" >&5
24644 sed 's/^/| /' conftest.$ac_ext >&5
24645
24646 ac_cv_type_long_long=no
24647 fi
24648
24649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 fi
24651 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24652 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24653
24654 # The cast to long int works around a bug in the HP C Compiler
24655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24657 # This bug is HP SR number 8606223364.
24658 { echo "$as_me:$LINENO: checking size of long long" >&5
24659 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24660 if test "${ac_cv_sizeof_long_long+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663 if test "$cross_compiling" = yes; then
24664 # Depending upon the size, compute the lo and hi bounds.
24665 cat >conftest.$ac_ext <<_ACEOF
24666 /* confdefs.h. */
24667 _ACEOF
24668 cat confdefs.h >>conftest.$ac_ext
24669 cat >>conftest.$ac_ext <<_ACEOF
24670 /* end confdefs.h. */
24671 $ac_includes_default
24672 typedef long long ac__type_sizeof_;
24673 int
24674 main ()
24675 {
24676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24677 test_array [0] = 0
24678
24679 ;
24680 return 0;
24681 }
24682 _ACEOF
24683 rm -f conftest.$ac_objext
24684 if { (ac_try="$ac_compile"
24685 case "(($ac_try" in
24686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24687 *) ac_try_echo=$ac_try;;
24688 esac
24689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24690 (eval "$ac_compile") 2>conftest.er1
24691 ac_status=$?
24692 grep -v '^ *+' conftest.er1 >conftest.err
24693 rm -f conftest.er1
24694 cat conftest.err >&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); } && {
24697 test -z "$ac_c_werror_flag" ||
24698 test ! -s conftest.err
24699 } && test -s conftest.$ac_objext; then
24700 ac_lo=0 ac_mid=0
24701 while :; do
24702 cat >conftest.$ac_ext <<_ACEOF
24703 /* confdefs.h. */
24704 _ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 $ac_includes_default
24709 typedef long long ac__type_sizeof_;
24710 int
24711 main ()
24712 {
24713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24714 test_array [0] = 0
24715
24716 ;
24717 return 0;
24718 }
24719 _ACEOF
24720 rm -f conftest.$ac_objext
24721 if { (ac_try="$ac_compile"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24724 *) ac_try_echo=$ac_try;;
24725 esac
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_compile") 2>conftest.er1
24728 ac_status=$?
24729 grep -v '^ *+' conftest.er1 >conftest.err
24730 rm -f conftest.er1
24731 cat conftest.err >&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && {
24734 test -z "$ac_c_werror_flag" ||
24735 test ! -s conftest.err
24736 } && test -s conftest.$ac_objext; then
24737 ac_hi=$ac_mid; break
24738 else
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.$ac_ext >&5
24741
24742 ac_lo=`expr $ac_mid + 1`
24743 if test $ac_lo -le $ac_mid; then
24744 ac_lo= ac_hi=
24745 break
24746 fi
24747 ac_mid=`expr 2 '*' $ac_mid + 1`
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24751 done
24752 else
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24755
24756 cat >conftest.$ac_ext <<_ACEOF
24757 /* confdefs.h. */
24758 _ACEOF
24759 cat confdefs.h >>conftest.$ac_ext
24760 cat >>conftest.$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24762 $ac_includes_default
24763 typedef long long ac__type_sizeof_;
24764 int
24765 main ()
24766 {
24767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24768 test_array [0] = 0
24769
24770 ;
24771 return 0;
24772 }
24773 _ACEOF
24774 rm -f conftest.$ac_objext
24775 if { (ac_try="$ac_compile"
24776 case "(($ac_try" in
24777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24778 *) ac_try_echo=$ac_try;;
24779 esac
24780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24781 (eval "$ac_compile") 2>conftest.er1
24782 ac_status=$?
24783 grep -v '^ *+' conftest.er1 >conftest.err
24784 rm -f conftest.er1
24785 cat conftest.err >&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } && {
24788 test -z "$ac_c_werror_flag" ||
24789 test ! -s conftest.err
24790 } && test -s conftest.$ac_objext; then
24791 ac_hi=-1 ac_mid=-1
24792 while :; do
24793 cat >conftest.$ac_ext <<_ACEOF
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 $ac_includes_default
24800 typedef long long ac__type_sizeof_;
24801 int
24802 main ()
24803 {
24804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24805 test_array [0] = 0
24806
24807 ;
24808 return 0;
24809 }
24810 _ACEOF
24811 rm -f conftest.$ac_objext
24812 if { (ac_try="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24815 *) ac_try_echo=$ac_try;;
24816 esac
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24819 ac_status=$?
24820 grep -v '^ *+' conftest.er1 >conftest.err
24821 rm -f conftest.er1
24822 cat conftest.err >&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_c_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.$ac_objext; then
24828 ac_lo=$ac_mid; break
24829 else
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24832
24833 ac_hi=`expr '(' $ac_mid ')' - 1`
24834 if test $ac_mid -le $ac_hi; then
24835 ac_lo= ac_hi=
24836 break
24837 fi
24838 ac_mid=`expr 2 '*' $ac_mid`
24839 fi
24840
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 done
24843 else
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847 ac_lo= ac_hi=
24848 fi
24849
24850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24851 fi
24852
24853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24854 # Binary search between lo and hi bounds.
24855 while test "x$ac_lo" != "x$ac_hi"; do
24856 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24857 cat >conftest.$ac_ext <<_ACEOF
24858 /* confdefs.h. */
24859 _ACEOF
24860 cat confdefs.h >>conftest.$ac_ext
24861 cat >>conftest.$ac_ext <<_ACEOF
24862 /* end confdefs.h. */
24863 $ac_includes_default
24864 typedef long long ac__type_sizeof_;
24865 int
24866 main ()
24867 {
24868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24869 test_array [0] = 0
24870
24871 ;
24872 return 0;
24873 }
24874 _ACEOF
24875 rm -f conftest.$ac_objext
24876 if { (ac_try="$ac_compile"
24877 case "(($ac_try" in
24878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24879 *) ac_try_echo=$ac_try;;
24880 esac
24881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24882 (eval "$ac_compile") 2>conftest.er1
24883 ac_status=$?
24884 grep -v '^ *+' conftest.er1 >conftest.err
24885 rm -f conftest.er1
24886 cat conftest.err >&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } && {
24889 test -z "$ac_c_werror_flag" ||
24890 test ! -s conftest.err
24891 } && test -s conftest.$ac_objext; then
24892 ac_hi=$ac_mid
24893 else
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.$ac_ext >&5
24896
24897 ac_lo=`expr '(' $ac_mid ')' + 1`
24898 fi
24899
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24901 done
24902 case $ac_lo in
24903 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24904 '') if test "$ac_cv_type_long_long" = yes; then
24905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24906 See \`config.log' for more details." >&5
24907 echo "$as_me: error: cannot compute sizeof (long long)
24908 See \`config.log' for more details." >&2;}
24909 { (exit 77); exit 77; }; }
24910 else
24911 ac_cv_sizeof_long_long=0
24912 fi ;;
24913 esac
24914 else
24915 cat >conftest.$ac_ext <<_ACEOF
24916 /* confdefs.h. */
24917 _ACEOF
24918 cat confdefs.h >>conftest.$ac_ext
24919 cat >>conftest.$ac_ext <<_ACEOF
24920 /* end confdefs.h. */
24921 $ac_includes_default
24922 typedef long long ac__type_sizeof_;
24923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24925 #include <stdio.h>
24926 #include <stdlib.h>
24927 int
24928 main ()
24929 {
24930
24931 FILE *f = fopen ("conftest.val", "w");
24932 if (! f)
24933 return 1;
24934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24935 {
24936 long int i = longval ();
24937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24938 return 1;
24939 fprintf (f, "%ld\n", i);
24940 }
24941 else
24942 {
24943 unsigned long int i = ulongval ();
24944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24945 return 1;
24946 fprintf (f, "%lu\n", i);
24947 }
24948 return ferror (f) || fclose (f) != 0;
24949
24950 ;
24951 return 0;
24952 }
24953 _ACEOF
24954 rm -f conftest$ac_exeext
24955 if { (ac_try="$ac_link"
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_link") 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24965 { (case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24968 esac
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_try") 2>&5
24971 ac_status=$?
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); }; }; then
24974 ac_cv_sizeof_long_long=`cat conftest.val`
24975 else
24976 echo "$as_me: program exited with status $ac_status" >&5
24977 echo "$as_me: failed program was:" >&5
24978 sed 's/^/| /' conftest.$ac_ext >&5
24979
24980 ( exit $ac_status )
24981 if test "$ac_cv_type_long_long" = yes; then
24982 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24983 See \`config.log' for more details." >&5
24984 echo "$as_me: error: cannot compute sizeof (long long)
24985 See \`config.log' for more details." >&2;}
24986 { (exit 77); exit 77; }; }
24987 else
24988 ac_cv_sizeof_long_long=0
24989 fi
24990 fi
24991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24992 fi
24993 rm -f conftest.val
24994 fi
24995 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24996 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24997
24998
24999
25000 cat >>confdefs.h <<_ACEOF
25001 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25002 _ACEOF
25003
25004
25005 esac
25006
25007 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25008 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25009 if test "${ac_cv_type_wchar_t+set}" = set; then
25010 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 else
25012 cat >conftest.$ac_ext <<_ACEOF
25013 /* confdefs.h. */
25014 _ACEOF
25015 cat confdefs.h >>conftest.$ac_ext
25016 cat >>conftest.$ac_ext <<_ACEOF
25017 /* end confdefs.h. */
25018
25019 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25020 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25021 # error "fake wchar_t"
25022 #endif
25023 #ifdef HAVE_WCHAR_H
25024 # ifdef __CYGWIN__
25025 # include <stddef.h>
25026 # endif
25027 # include <wchar.h>
25028 #endif
25029 #ifdef HAVE_STDLIB_H
25030 # include <stdlib.h>
25031 #endif
25032 #include <stdio.h>
25033
25034
25035
25036 typedef wchar_t ac__type_new_;
25037 int
25038 main ()
25039 {
25040 if ((ac__type_new_ *) 0)
25041 return 0;
25042 if (sizeof (ac__type_new_))
25043 return 0;
25044 ;
25045 return 0;
25046 }
25047 _ACEOF
25048 rm -f conftest.$ac_objext
25049 if { (ac_try="$ac_compile"
25050 case "(($ac_try" in
25051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25052 *) ac_try_echo=$ac_try;;
25053 esac
25054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25055 (eval "$ac_compile") 2>conftest.er1
25056 ac_status=$?
25057 grep -v '^ *+' conftest.er1 >conftest.err
25058 rm -f conftest.er1
25059 cat conftest.err >&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); } && {
25062 test -z "$ac_c_werror_flag" ||
25063 test ! -s conftest.err
25064 } && test -s conftest.$ac_objext; then
25065 ac_cv_type_wchar_t=yes
25066 else
25067 echo "$as_me: failed program was:" >&5
25068 sed 's/^/| /' conftest.$ac_ext >&5
25069
25070 ac_cv_type_wchar_t=no
25071 fi
25072
25073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25074 fi
25075 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25076 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25077
25078 # The cast to long int works around a bug in the HP C Compiler
25079 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25080 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25081 # This bug is HP SR number 8606223364.
25082 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25083 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25084 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25085 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 else
25087 if test "$cross_compiling" = yes; then
25088 # Depending upon the size, compute the lo and hi bounds.
25089 cat >conftest.$ac_ext <<_ACEOF
25090 /* confdefs.h. */
25091 _ACEOF
25092 cat confdefs.h >>conftest.$ac_ext
25093 cat >>conftest.$ac_ext <<_ACEOF
25094 /* end confdefs.h. */
25095
25096 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25097 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25098 # error "fake wchar_t"
25099 #endif
25100 #ifdef HAVE_WCHAR_H
25101 # ifdef __CYGWIN__
25102 # include <stddef.h>
25103 # endif
25104 # include <wchar.h>
25105 #endif
25106 #ifdef HAVE_STDLIB_H
25107 # include <stdlib.h>
25108 #endif
25109 #include <stdio.h>
25110
25111
25112
25113 typedef wchar_t ac__type_sizeof_;
25114 int
25115 main ()
25116 {
25117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25118 test_array [0] = 0
25119
25120 ;
25121 return 0;
25122 }
25123 _ACEOF
25124 rm -f conftest.$ac_objext
25125 if { (ac_try="$ac_compile"
25126 case "(($ac_try" in
25127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25128 *) ac_try_echo=$ac_try;;
25129 esac
25130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25131 (eval "$ac_compile") 2>conftest.er1
25132 ac_status=$?
25133 grep -v '^ *+' conftest.er1 >conftest.err
25134 rm -f conftest.er1
25135 cat conftest.err >&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); } && {
25138 test -z "$ac_c_werror_flag" ||
25139 test ! -s conftest.err
25140 } && test -s conftest.$ac_objext; then
25141 ac_lo=0 ac_mid=0
25142 while :; do
25143 cat >conftest.$ac_ext <<_ACEOF
25144 /* confdefs.h. */
25145 _ACEOF
25146 cat confdefs.h >>conftest.$ac_ext
25147 cat >>conftest.$ac_ext <<_ACEOF
25148 /* end confdefs.h. */
25149
25150 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25151 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25152 # error "fake wchar_t"
25153 #endif
25154 #ifdef HAVE_WCHAR_H
25155 # ifdef __CYGWIN__
25156 # include <stddef.h>
25157 # endif
25158 # include <wchar.h>
25159 #endif
25160 #ifdef HAVE_STDLIB_H
25161 # include <stdlib.h>
25162 #endif
25163 #include <stdio.h>
25164
25165
25166
25167 typedef wchar_t ac__type_sizeof_;
25168 int
25169 main ()
25170 {
25171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25172 test_array [0] = 0
25173
25174 ;
25175 return 0;
25176 }
25177 _ACEOF
25178 rm -f conftest.$ac_objext
25179 if { (ac_try="$ac_compile"
25180 case "(($ac_try" in
25181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25182 *) ac_try_echo=$ac_try;;
25183 esac
25184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25185 (eval "$ac_compile") 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } && {
25192 test -z "$ac_c_werror_flag" ||
25193 test ! -s conftest.err
25194 } && test -s conftest.$ac_objext; then
25195 ac_hi=$ac_mid; break
25196 else
25197 echo "$as_me: failed program was:" >&5
25198 sed 's/^/| /' conftest.$ac_ext >&5
25199
25200 ac_lo=`expr $ac_mid + 1`
25201 if test $ac_lo -le $ac_mid; then
25202 ac_lo= ac_hi=
25203 break
25204 fi
25205 ac_mid=`expr 2 '*' $ac_mid + 1`
25206 fi
25207
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 done
25210 else
25211 echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.$ac_ext >&5
25213
25214 cat >conftest.$ac_ext <<_ACEOF
25215 /* confdefs.h. */
25216 _ACEOF
25217 cat confdefs.h >>conftest.$ac_ext
25218 cat >>conftest.$ac_ext <<_ACEOF
25219 /* end confdefs.h. */
25220
25221 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25222 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25223 # error "fake wchar_t"
25224 #endif
25225 #ifdef HAVE_WCHAR_H
25226 # ifdef __CYGWIN__
25227 # include <stddef.h>
25228 # endif
25229 # include <wchar.h>
25230 #endif
25231 #ifdef HAVE_STDLIB_H
25232 # include <stdlib.h>
25233 #endif
25234 #include <stdio.h>
25235
25236
25237
25238 typedef wchar_t ac__type_sizeof_;
25239 int
25240 main ()
25241 {
25242 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25243 test_array [0] = 0
25244
25245 ;
25246 return 0;
25247 }
25248 _ACEOF
25249 rm -f conftest.$ac_objext
25250 if { (ac_try="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25254 esac
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25257 ac_status=$?
25258 grep -v '^ *+' conftest.er1 >conftest.err
25259 rm -f conftest.er1
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_c_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25266 ac_hi=-1 ac_mid=-1
25267 while :; do
25268 cat >conftest.$ac_ext <<_ACEOF
25269 /* confdefs.h. */
25270 _ACEOF
25271 cat confdefs.h >>conftest.$ac_ext
25272 cat >>conftest.$ac_ext <<_ACEOF
25273 /* end confdefs.h. */
25274
25275 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25276 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25277 # error "fake wchar_t"
25278 #endif
25279 #ifdef HAVE_WCHAR_H
25280 # ifdef __CYGWIN__
25281 # include <stddef.h>
25282 # endif
25283 # include <wchar.h>
25284 #endif
25285 #ifdef HAVE_STDLIB_H
25286 # include <stdlib.h>
25287 #endif
25288 #include <stdio.h>
25289
25290
25291
25292 typedef wchar_t ac__type_sizeof_;
25293 int
25294 main ()
25295 {
25296 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25297 test_array [0] = 0
25298
25299 ;
25300 return 0;
25301 }
25302 _ACEOF
25303 rm -f conftest.$ac_objext
25304 if { (ac_try="$ac_compile"
25305 case "(($ac_try" in
25306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25307 *) ac_try_echo=$ac_try;;
25308 esac
25309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25310 (eval "$ac_compile") 2>conftest.er1
25311 ac_status=$?
25312 grep -v '^ *+' conftest.er1 >conftest.err
25313 rm -f conftest.er1
25314 cat conftest.err >&5
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); } && {
25317 test -z "$ac_c_werror_flag" ||
25318 test ! -s conftest.err
25319 } && test -s conftest.$ac_objext; then
25320 ac_lo=$ac_mid; break
25321 else
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.$ac_ext >&5
25324
25325 ac_hi=`expr '(' $ac_mid ')' - 1`
25326 if test $ac_mid -le $ac_hi; then
25327 ac_lo= ac_hi=
25328 break
25329 fi
25330 ac_mid=`expr 2 '*' $ac_mid`
25331 fi
25332
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 done
25335 else
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25338
25339 ac_lo= ac_hi=
25340 fi
25341
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 fi
25344
25345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25346 # Binary search between lo and hi bounds.
25347 while test "x$ac_lo" != "x$ac_hi"; do
25348 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25349 cat >conftest.$ac_ext <<_ACEOF
25350 /* confdefs.h. */
25351 _ACEOF
25352 cat confdefs.h >>conftest.$ac_ext
25353 cat >>conftest.$ac_ext <<_ACEOF
25354 /* end confdefs.h. */
25355
25356 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25357 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25358 # error "fake wchar_t"
25359 #endif
25360 #ifdef HAVE_WCHAR_H
25361 # ifdef __CYGWIN__
25362 # include <stddef.h>
25363 # endif
25364 # include <wchar.h>
25365 #endif
25366 #ifdef HAVE_STDLIB_H
25367 # include <stdlib.h>
25368 #endif
25369 #include <stdio.h>
25370
25371
25372
25373 typedef wchar_t ac__type_sizeof_;
25374 int
25375 main ()
25376 {
25377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25378 test_array [0] = 0
25379
25380 ;
25381 return 0;
25382 }
25383 _ACEOF
25384 rm -f conftest.$ac_objext
25385 if { (ac_try="$ac_compile"
25386 case "(($ac_try" in
25387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25388 *) ac_try_echo=$ac_try;;
25389 esac
25390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25391 (eval "$ac_compile") 2>conftest.er1
25392 ac_status=$?
25393 grep -v '^ *+' conftest.er1 >conftest.err
25394 rm -f conftest.er1
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } && {
25398 test -z "$ac_c_werror_flag" ||
25399 test ! -s conftest.err
25400 } && test -s conftest.$ac_objext; then
25401 ac_hi=$ac_mid
25402 else
25403 echo "$as_me: failed program was:" >&5
25404 sed 's/^/| /' conftest.$ac_ext >&5
25405
25406 ac_lo=`expr '(' $ac_mid ')' + 1`
25407 fi
25408
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25410 done
25411 case $ac_lo in
25412 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25413 '') if test "$ac_cv_type_wchar_t" = yes; then
25414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25415 See \`config.log' for more details." >&5
25416 echo "$as_me: error: cannot compute sizeof (wchar_t)
25417 See \`config.log' for more details." >&2;}
25418 { (exit 77); exit 77; }; }
25419 else
25420 ac_cv_sizeof_wchar_t=0
25421 fi ;;
25422 esac
25423 else
25424 cat >conftest.$ac_ext <<_ACEOF
25425 /* confdefs.h. */
25426 _ACEOF
25427 cat confdefs.h >>conftest.$ac_ext
25428 cat >>conftest.$ac_ext <<_ACEOF
25429 /* end confdefs.h. */
25430
25431 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25432 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25433 # error "fake wchar_t"
25434 #endif
25435 #ifdef HAVE_WCHAR_H
25436 # ifdef __CYGWIN__
25437 # include <stddef.h>
25438 # endif
25439 # include <wchar.h>
25440 #endif
25441 #ifdef HAVE_STDLIB_H
25442 # include <stdlib.h>
25443 #endif
25444 #include <stdio.h>
25445
25446
25447
25448 typedef wchar_t ac__type_sizeof_;
25449 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25450 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25451 #include <stdio.h>
25452 #include <stdlib.h>
25453 int
25454 main ()
25455 {
25456
25457 FILE *f = fopen ("conftest.val", "w");
25458 if (! f)
25459 return 1;
25460 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25461 {
25462 long int i = longval ();
25463 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25464 return 1;
25465 fprintf (f, "%ld\n", i);
25466 }
25467 else
25468 {
25469 unsigned long int i = ulongval ();
25470 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25471 return 1;
25472 fprintf (f, "%lu\n", i);
25473 }
25474 return ferror (f) || fclose (f) != 0;
25475
25476 ;
25477 return 0;
25478 }
25479 _ACEOF
25480 rm -f conftest$ac_exeext
25481 if { (ac_try="$ac_link"
25482 case "(($ac_try" in
25483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25484 *) ac_try_echo=$ac_try;;
25485 esac
25486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25487 (eval "$ac_link") 2>&5
25488 ac_status=$?
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25491 { (case "(($ac_try" in
25492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25493 *) ac_try_echo=$ac_try;;
25494 esac
25495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25496 (eval "$ac_try") 2>&5
25497 ac_status=$?
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); }; }; then
25500 ac_cv_sizeof_wchar_t=`cat conftest.val`
25501 else
25502 echo "$as_me: program exited with status $ac_status" >&5
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25505
25506 ( exit $ac_status )
25507 if test "$ac_cv_type_wchar_t" = yes; then
25508 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25509 See \`config.log' for more details." >&5
25510 echo "$as_me: error: cannot compute sizeof (wchar_t)
25511 See \`config.log' for more details." >&2;}
25512 { (exit 77); exit 77; }; }
25513 else
25514 ac_cv_sizeof_wchar_t=0
25515 fi
25516 fi
25517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25518 fi
25519 rm -f conftest.val
25520 fi
25521 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25522 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25523
25524
25525
25526 cat >>confdefs.h <<_ACEOF
25527 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25528 _ACEOF
25529
25530
25531 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25532 wxUSE_WCHAR_T=yes
25533 else
25534 wxUSE_WCHAR_T=no
25535 fi
25536
25537 { echo "$as_me:$LINENO: checking for va_copy" >&5
25538 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25539 if test "${wx_cv_func_va_copy+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 else
25542
25543 ac_ext=cpp
25544 ac_cpp='$CXXCPP $CPPFLAGS'
25545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25548
25549 cat >conftest.$ac_ext <<_ACEOF
25550
25551 #include <stdarg.h>
25552 void foo(char *f, ...)
25553 {
25554 va_list ap1, ap2;
25555 va_start(ap1, f);
25556 va_copy(ap2, ap1);
25557 va_end(ap2);
25558 va_end(ap1);
25559 }
25560 int main()
25561 {
25562 foo("hi", 17);
25563 return 0;
25564 }
25565 _ACEOF
25566 rm -f conftest.$ac_objext conftest$ac_exeext
25567 if { (ac_try="$ac_link"
25568 case "(($ac_try" in
25569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25570 *) ac_try_echo=$ac_try;;
25571 esac
25572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25573 (eval "$ac_link") 2>conftest.er1
25574 ac_status=$?
25575 grep -v '^ *+' conftest.er1 >conftest.err
25576 rm -f conftest.er1
25577 cat conftest.err >&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } && {
25580 test -z "$ac_cxx_werror_flag" ||
25581 test ! -s conftest.err
25582 } && test -s conftest$ac_exeext &&
25583 $as_test_x conftest$ac_exeext; then
25584 wx_cv_func_va_copy=yes
25585 else
25586 echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.$ac_ext >&5
25588
25589 wx_cv_func_va_copy=no
25590
25591 fi
25592
25593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25594 conftest$ac_exeext conftest.$ac_ext
25595 ac_ext=c
25596 ac_cpp='$CPP $CPPFLAGS'
25597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25600
25601
25602
25603 fi
25604 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25605 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25606
25607 if test $wx_cv_func_va_copy = "yes"; then
25608 cat >>confdefs.h <<\_ACEOF
25609 #define HAVE_VA_COPY 1
25610 _ACEOF
25611
25612 else
25613 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25614 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25615 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 else
25618
25619 if test "$cross_compiling" = yes; then
25620 wx_cv_type_va_list_lvalue=yes
25621
25622 else
25623 cat >conftest.$ac_ext <<_ACEOF
25624
25625 #include <stdarg.h>
25626 int foo(char *f, ...)
25627 {
25628 va_list ap1, ap2;
25629 va_start(ap1, f);
25630 ap2 = ap1;
25631 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25632 return 1;
25633 va_end(ap2);
25634 va_end(ap1);
25635 return 0;
25636 }
25637 int main()
25638 {
25639 return foo("hi", 17);
25640 }
25641 _ACEOF
25642 rm -f conftest$ac_exeext
25643 if { (ac_try="$ac_link"
25644 case "(($ac_try" in
25645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25646 *) ac_try_echo=$ac_try;;
25647 esac
25648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25649 (eval "$ac_link") 2>&5
25650 ac_status=$?
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25653 { (case "(($ac_try" in
25654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25655 *) ac_try_echo=$ac_try;;
25656 esac
25657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25658 (eval "$ac_try") 2>&5
25659 ac_status=$?
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); }; }; then
25662 wx_cv_type_va_list_lvalue=yes
25663 else
25664 echo "$as_me: program exited with status $ac_status" >&5
25665 echo "$as_me: failed program was:" >&5
25666 sed 's/^/| /' conftest.$ac_ext >&5
25667
25668 ( exit $ac_status )
25669 wx_cv_type_va_list_lvalue=no
25670 fi
25671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25672 fi
25673
25674
25675
25676
25677 fi
25678 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25679 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25680
25681 if test $wx_cv_type_va_list_lvalue != "yes"; then
25682 cat >>confdefs.h <<\_ACEOF
25683 #define VA_LIST_IS_ARRAY 1
25684 _ACEOF
25685
25686 fi
25687 fi
25688
25689 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25690
25691 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25692 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25693 if test "${wx_cv_have_variadic_macros+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25695 else
25696
25697 ac_ext=cpp
25698 ac_cpp='$CXXCPP $CPPFLAGS'
25699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25702
25703 cat >conftest.$ac_ext <<_ACEOF
25704 /* confdefs.h. */
25705 _ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25709
25710 #include <stdio.h>
25711 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25712
25713 int
25714 main ()
25715 {
25716
25717 test("%s %d %p", "test", 1, 0);
25718
25719
25720 ;
25721 return 0;
25722 }
25723 _ACEOF
25724 rm -f conftest.$ac_objext
25725 if { (ac_try="$ac_compile"
25726 case "(($ac_try" in
25727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25728 *) ac_try_echo=$ac_try;;
25729 esac
25730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25731 (eval "$ac_compile") 2>conftest.er1
25732 ac_status=$?
25733 grep -v '^ *+' conftest.er1 >conftest.err
25734 rm -f conftest.er1
25735 cat conftest.err >&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } && {
25738 test -z "$ac_cxx_werror_flag" ||
25739 test ! -s conftest.err
25740 } && test -s conftest.$ac_objext; then
25741 wx_cv_have_variadic_macros=yes
25742 else
25743 echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.$ac_ext >&5
25745
25746 wx_cv_have_variadic_macros=no
25747
25748 fi
25749
25750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25751 ac_ext=c
25752 ac_cpp='$CPP $CPPFLAGS'
25753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25756
25757
25758
25759 fi
25760 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25761 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25762
25763 if test $wx_cv_have_variadic_macros = "yes"; then
25764 cat >>confdefs.h <<\_ACEOF
25765 #define HAVE_VARIADIC_MACROS 1
25766 _ACEOF
25767
25768 fi
25769
25770 fi
25771 # Check whether --enable-largefile was given.
25772 if test "${enable_largefile+set}" = set; then
25773 enableval=$enable_largefile;
25774 fi
25775
25776 if test "$enable_largefile" != no; then
25777 wx_largefile=no
25778
25779 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25780 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25781 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25782 echo $ECHO_N "(cached) $ECHO_C" >&6
25783 else
25784
25785 cat >conftest.$ac_ext <<_ACEOF
25786 /* confdefs.h. */
25787 _ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 #define _FILE_OFFSET_BITS 64
25792 #include <sys/types.h>
25793 int
25794 main ()
25795 {
25796 typedef struct {
25797 unsigned int field: sizeof(off_t) == 8;
25798 } wxlf;
25799
25800 ;
25801 return 0;
25802 }
25803 _ACEOF
25804 rm -f conftest.$ac_objext
25805 if { (ac_try="$ac_compile"
25806 case "(($ac_try" in
25807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25808 *) ac_try_echo=$ac_try;;
25809 esac
25810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25811 (eval "$ac_compile") 2>conftest.er1
25812 ac_status=$?
25813 grep -v '^ *+' conftest.er1 >conftest.err
25814 rm -f conftest.er1
25815 cat conftest.err >&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); } && {
25818 test -z "$ac_c_werror_flag" ||
25819 test ! -s conftest.err
25820 } && test -s conftest.$ac_objext; then
25821 ac_cv_sys_file_offset_bits=64
25822 else
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.$ac_ext >&5
25825
25826 ac_cv_sys_file_offset_bits=no
25827 fi
25828
25829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25830
25831
25832 fi
25833 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25834 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25835
25836 if test "$ac_cv_sys_file_offset_bits" != no; then
25837 wx_largefile=yes
25838 cat >>confdefs.h <<_ACEOF
25839 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25840 _ACEOF
25841
25842 fi
25843
25844 if test "x$wx_largefile" != "xyes"; then
25845
25846 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25847 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25848 if test "${ac_cv_sys_large_files+set}" = set; then
25849 echo $ECHO_N "(cached) $ECHO_C" >&6
25850 else
25851
25852 cat >conftest.$ac_ext <<_ACEOF
25853 /* confdefs.h. */
25854 _ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858 #define _LARGE_FILES 1
25859 #include <sys/types.h>
25860 int
25861 main ()
25862 {
25863 typedef struct {
25864 unsigned int field: sizeof(off_t) == 8;
25865 } wxlf;
25866
25867 ;
25868 return 0;
25869 }
25870 _ACEOF
25871 rm -f conftest.$ac_objext
25872 if { (ac_try="$ac_compile"
25873 case "(($ac_try" in
25874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25875 *) ac_try_echo=$ac_try;;
25876 esac
25877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25878 (eval "$ac_compile") 2>conftest.er1
25879 ac_status=$?
25880 grep -v '^ *+' conftest.er1 >conftest.err
25881 rm -f conftest.er1
25882 cat conftest.err >&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && {
25885 test -z "$ac_c_werror_flag" ||
25886 test ! -s conftest.err
25887 } && test -s conftest.$ac_objext; then
25888 ac_cv_sys_large_files=1
25889 else
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.$ac_ext >&5
25892
25893 ac_cv_sys_large_files=no
25894 fi
25895
25896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897
25898
25899 fi
25900 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25901 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25902
25903 if test "$ac_cv_sys_large_files" != no; then
25904 wx_largefile=yes
25905 cat >>confdefs.h <<_ACEOF
25906 #define _LARGE_FILES $ac_cv_sys_large_files
25907 _ACEOF
25908
25909 fi
25910
25911 fi
25912
25913 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25914 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25915 if test "x$wx_largefile" = "xyes"; then
25916 cat >>confdefs.h <<\_ACEOF
25917 #define HAVE_LARGEFILE_SUPPORT 1
25918 _ACEOF
25919
25920 fi
25921 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25922 echo "${ECHO_T}$wx_largefile" >&6; }
25923 fi
25924
25925
25926 if test "x$wx_largefile" = "xyes"; then
25927 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25928 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25929
25930 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25931 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25932 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25933 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25934 echo $ECHO_N "(cached) $ECHO_C" >&6
25935 else
25936
25937 ac_ext=cpp
25938 ac_cpp='$CXXCPP $CPPFLAGS'
25939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25942
25943 cat >conftest.$ac_ext <<_ACEOF
25944 /* confdefs.h. */
25945 _ACEOF
25946 cat confdefs.h >>conftest.$ac_ext
25947 cat >>conftest.$ac_ext <<_ACEOF
25948 /* end confdefs.h. */
25949
25950 int
25951 main ()
25952 {
25953
25954 #ifndef __STDC_EXT__
25955 choke me
25956 #endif
25957
25958 ;
25959 return 0;
25960 }
25961 _ACEOF
25962 rm -f conftest.$ac_objext
25963 if { (ac_try="$ac_compile"
25964 case "(($ac_try" in
25965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25966 *) ac_try_echo=$ac_try;;
25967 esac
25968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25969 (eval "$ac_compile") 2>conftest.er1
25970 ac_status=$?
25971 grep -v '^ *+' conftest.er1 >conftest.err
25972 rm -f conftest.er1
25973 cat conftest.err >&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); } && {
25976 test -z "$ac_cxx_werror_flag" ||
25977 test ! -s conftest.err
25978 } && test -s conftest.$ac_objext; then
25979 wx_cv_STDC_EXT_required=no
25980 else
25981 echo "$as_me: failed program was:" >&5
25982 sed 's/^/| /' conftest.$ac_ext >&5
25983
25984 wx_cv_STDC_EXT_required=yes
25985
25986 fi
25987
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989 ac_ext=c
25990 ac_cpp='$CPP $CPPFLAGS'
25991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25994
25995
25996
25997 fi
25998 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25999 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26000 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26001 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26002 fi
26003 fi
26004 else
26005 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26006 fi
26007 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26008 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26009 if test "${ac_cv_sys_largefile_source+set}" = set; then
26010 echo $ECHO_N "(cached) $ECHO_C" >&6
26011 else
26012 while :; do
26013 cat >conftest.$ac_ext <<_ACEOF
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 #include <sys/types.h> /* for off_t */
26020 #include <stdio.h>
26021 int
26022 main ()
26023 {
26024 int (*fp) (FILE *, off_t, int) = fseeko;
26025 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26026 ;
26027 return 0;
26028 }
26029 _ACEOF
26030 rm -f conftest.$ac_objext conftest$ac_exeext
26031 if { (ac_try="$ac_link"
26032 case "(($ac_try" in
26033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26034 *) ac_try_echo=$ac_try;;
26035 esac
26036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26037 (eval "$ac_link") 2>conftest.er1
26038 ac_status=$?
26039 grep -v '^ *+' conftest.er1 >conftest.err
26040 rm -f conftest.er1
26041 cat conftest.err >&5
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); } && {
26044 test -z "$ac_c_werror_flag" ||
26045 test ! -s conftest.err
26046 } && test -s conftest$ac_exeext &&
26047 $as_test_x conftest$ac_exeext; then
26048 ac_cv_sys_largefile_source=no; break
26049 else
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26052
26053
26054 fi
26055
26056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26057 conftest$ac_exeext conftest.$ac_ext
26058 cat >conftest.$ac_ext <<_ACEOF
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064 #define _LARGEFILE_SOURCE 1
26065 #include <sys/types.h> /* for off_t */
26066 #include <stdio.h>
26067 int
26068 main ()
26069 {
26070 int (*fp) (FILE *, off_t, int) = fseeko;
26071 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26072 ;
26073 return 0;
26074 }
26075 _ACEOF
26076 rm -f conftest.$ac_objext conftest$ac_exeext
26077 if { (ac_try="$ac_link"
26078 case "(($ac_try" in
26079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26080 *) ac_try_echo=$ac_try;;
26081 esac
26082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26083 (eval "$ac_link") 2>conftest.er1
26084 ac_status=$?
26085 grep -v '^ *+' conftest.er1 >conftest.err
26086 rm -f conftest.er1
26087 cat conftest.err >&5
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); } && {
26090 test -z "$ac_c_werror_flag" ||
26091 test ! -s conftest.err
26092 } && test -s conftest$ac_exeext &&
26093 $as_test_x conftest$ac_exeext; then
26094 ac_cv_sys_largefile_source=1; break
26095 else
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26098
26099
26100 fi
26101
26102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26103 conftest$ac_exeext conftest.$ac_ext
26104 ac_cv_sys_largefile_source=unknown
26105 break
26106 done
26107 fi
26108 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26109 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26110 case $ac_cv_sys_largefile_source in #(
26111 no | unknown) ;;
26112 *)
26113 cat >>confdefs.h <<_ACEOF
26114 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26115 _ACEOF
26116 ;;
26117 esac
26118 rm -f conftest*
26119
26120 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26121 # in glibc 2.1.3, but that breaks too many other things.
26122 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26123 if test $ac_cv_sys_largefile_source != unknown; then
26124
26125 cat >>confdefs.h <<\_ACEOF
26126 #define HAVE_FSEEKO 1
26127 _ACEOF
26128
26129 fi
26130
26131 if test "$ac_cv_sys_largefile_source" != no; then
26132 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26133 fi
26134 fi
26135
26136 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26137 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26138 if test "${ac_cv_c_bigendian+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26140 else
26141 ac_cv_c_bigendian=unknown
26142 # See if sys/param.h defines the BYTE_ORDER macro.
26143 cat >conftest.$ac_ext <<_ACEOF
26144 /* confdefs.h. */
26145 _ACEOF
26146 cat confdefs.h >>conftest.$ac_ext
26147 cat >>conftest.$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26149 #include <sys/types.h>
26150 #include <sys/param.h>
26151 int
26152 main ()
26153 {
26154
26155 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26156 bogus endian macros
26157 #endif
26158 ;
26159 return 0;
26160 }
26161 _ACEOF
26162 rm -f conftest.$ac_objext
26163 if { (ac_try="$ac_compile"
26164 case "(($ac_try" in
26165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26166 *) ac_try_echo=$ac_try;;
26167 esac
26168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26169 (eval "$ac_compile") 2>conftest.er1
26170 ac_status=$?
26171 grep -v '^ *+' conftest.er1 >conftest.err
26172 rm -f conftest.er1
26173 cat conftest.err >&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } && {
26176 test -z "$ac_c_werror_flag" ||
26177 test ! -s conftest.err
26178 } && test -s conftest.$ac_objext; then
26179 # It does; now see whether it defined to BIG_ENDIAN or not.
26180 cat >conftest.$ac_ext <<_ACEOF
26181 /* confdefs.h. */
26182 _ACEOF
26183 cat confdefs.h >>conftest.$ac_ext
26184 cat >>conftest.$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186 #include <sys/types.h>
26187 #include <sys/param.h>
26188 int
26189 main ()
26190 {
26191
26192 #if BYTE_ORDER != BIG_ENDIAN
26193 not big endian
26194 #endif
26195 ;
26196 return 0;
26197 }
26198 _ACEOF
26199 rm -f conftest.$ac_objext
26200 if { (ac_try="$ac_compile"
26201 case "(($ac_try" in
26202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26203 *) ac_try_echo=$ac_try;;
26204 esac
26205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26206 (eval "$ac_compile") 2>conftest.er1
26207 ac_status=$?
26208 grep -v '^ *+' conftest.er1 >conftest.err
26209 rm -f conftest.er1
26210 cat conftest.err >&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); } && {
26213 test -z "$ac_c_werror_flag" ||
26214 test ! -s conftest.err
26215 } && test -s conftest.$ac_objext; then
26216 ac_cv_c_bigendian=yes
26217 else
26218 echo "$as_me: failed program was:" >&5
26219 sed 's/^/| /' conftest.$ac_ext >&5
26220
26221 ac_cv_c_bigendian=no
26222 fi
26223
26224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26225 else
26226 echo "$as_me: failed program was:" >&5
26227 sed 's/^/| /' conftest.$ac_ext >&5
26228
26229
26230 fi
26231
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233 if test $ac_cv_c_bigendian = unknown; then
26234 if test "$cross_compiling" = yes; then
26235 ac_cv_c_bigendian=unknown
26236 else
26237 cat >conftest.$ac_ext <<_ACEOF
26238 /* confdefs.h. */
26239 _ACEOF
26240 cat confdefs.h >>conftest.$ac_ext
26241 cat >>conftest.$ac_ext <<_ACEOF
26242 /* end confdefs.h. */
26243 main () {
26244 /* Are we little or big endian? From Harbison&Steele. */
26245 union
26246 {
26247 long l;
26248 char c[sizeof (long)];
26249 } u;
26250 u.l = 1;
26251 exit (u.c[sizeof (long) - 1] == 1);
26252 }
26253 _ACEOF
26254 rm -f conftest$ac_exeext
26255 if { (ac_try="$ac_link"
26256 case "(($ac_try" in
26257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26258 *) ac_try_echo=$ac_try;;
26259 esac
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_link") 2>&5
26262 ac_status=$?
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26265 { (case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267 *) ac_try_echo=$ac_try;;
26268 esac
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_try") 2>&5
26271 ac_status=$?
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); }; }; then
26274 ac_cv_c_bigendian=no
26275 else
26276 echo "$as_me: program exited with status $ac_status" >&5
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26279
26280 ( exit $ac_status )
26281 ac_cv_c_bigendian=yes
26282 fi
26283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26284 fi
26285
26286
26287 fi
26288 fi
26289 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26290 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26291 if test $ac_cv_c_bigendian = unknown; then
26292 { 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
26293 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;}
26294 fi
26295 if test $ac_cv_c_bigendian = yes; then
26296 cat >>confdefs.h <<\_ACEOF
26297 #define WORDS_BIGENDIAN 1
26298 _ACEOF
26299
26300 fi
26301
26302
26303
26304
26305 ac_ext=cpp
26306 ac_cpp='$CXXCPP $CPPFLAGS'
26307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26310
26311
26312
26313 for ac_header in iostream
26314 do
26315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26316 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26319 echo $ECHO_N "(cached) $ECHO_C" >&6
26320 else
26321 cat >conftest.$ac_ext <<_ACEOF
26322 /* confdefs.h. */
26323 _ACEOF
26324 cat confdefs.h >>conftest.$ac_ext
26325 cat >>conftest.$ac_ext <<_ACEOF
26326 /* end confdefs.h. */
26327
26328
26329 #include <$ac_header>
26330 _ACEOF
26331 rm -f conftest.$ac_objext
26332 if { (ac_try="$ac_compile"
26333 case "(($ac_try" in
26334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26335 *) ac_try_echo=$ac_try;;
26336 esac
26337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26338 (eval "$ac_compile") 2>conftest.er1
26339 ac_status=$?
26340 grep -v '^ *+' conftest.er1 >conftest.err
26341 rm -f conftest.er1
26342 cat conftest.err >&5
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); } && {
26345 test -z "$ac_cxx_werror_flag" ||
26346 test ! -s conftest.err
26347 } && test -s conftest.$ac_objext; then
26348 eval "$as_ac_Header=yes"
26349 else
26350 echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.$ac_ext >&5
26352
26353 eval "$as_ac_Header=no"
26354 fi
26355
26356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26357 fi
26358 ac_res=`eval echo '${'$as_ac_Header'}'`
26359 { echo "$as_me:$LINENO: result: $ac_res" >&5
26360 echo "${ECHO_T}$ac_res" >&6; }
26361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26362 cat >>confdefs.h <<_ACEOF
26363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26364 _ACEOF
26365
26366 fi
26367
26368 done
26369
26370
26371 if test "$ac_cv_header_iostream" = "yes" ; then
26372 :
26373 else
26374 cat >>confdefs.h <<\_ACEOF
26375 #define wxUSE_IOSTREAMH 1
26376 _ACEOF
26377
26378 fi
26379
26380 ac_ext=c
26381 ac_cpp='$CPP $CPPFLAGS'
26382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26385
26386
26387
26388
26389 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26390 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26391 if test "${wx_cv_cpp_bool+set}" = set; then
26392 echo $ECHO_N "(cached) $ECHO_C" >&6
26393 else
26394
26395
26396 ac_ext=cpp
26397 ac_cpp='$CXXCPP $CPPFLAGS'
26398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26401
26402
26403 cat >conftest.$ac_ext <<_ACEOF
26404 /* confdefs.h. */
26405 _ACEOF
26406 cat confdefs.h >>conftest.$ac_ext
26407 cat >>conftest.$ac_ext <<_ACEOF
26408 /* end confdefs.h. */
26409
26410
26411 int
26412 main ()
26413 {
26414
26415 bool b = true;
26416
26417 return 0;
26418
26419 ;
26420 return 0;
26421 }
26422 _ACEOF
26423 rm -f conftest.$ac_objext
26424 if { (ac_try="$ac_compile"
26425 case "(($ac_try" in
26426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26427 *) ac_try_echo=$ac_try;;
26428 esac
26429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26430 (eval "$ac_compile") 2>conftest.er1
26431 ac_status=$?
26432 grep -v '^ *+' conftest.er1 >conftest.err
26433 rm -f conftest.er1
26434 cat conftest.err >&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } && {
26437 test -z "$ac_cxx_werror_flag" ||
26438 test ! -s conftest.err
26439 } && test -s conftest.$ac_objext; then
26440
26441 wx_cv_cpp_bool=yes
26442
26443 else
26444 echo "$as_me: failed program was:" >&5
26445 sed 's/^/| /' conftest.$ac_ext >&5
26446
26447
26448 wx_cv_cpp_bool=no
26449
26450
26451 fi
26452
26453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26454
26455 ac_ext=c
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26460
26461
26462 fi
26463 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26464 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26465
26466 if test "$wx_cv_cpp_bool" = "yes"; then
26467 cat >>confdefs.h <<\_ACEOF
26468 #define HAVE_BOOL 1
26469 _ACEOF
26470
26471 fi
26472
26473
26474
26475 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26476 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26477 if test "${wx_cv_explicit+set}" = set; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26479 else
26480
26481
26482 ac_ext=cpp
26483 ac_cpp='$CXXCPP $CPPFLAGS'
26484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26487
26488
26489 cat >conftest.$ac_ext <<_ACEOF
26490 /* confdefs.h. */
26491 _ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26495
26496 class Foo { public: explicit Foo(int) {} };
26497
26498 int
26499 main ()
26500 {
26501
26502 return 0;
26503
26504 ;
26505 return 0;
26506 }
26507 _ACEOF
26508 rm -f conftest.$ac_objext
26509 if { (ac_try="$ac_compile"
26510 case "(($ac_try" in
26511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26512 *) ac_try_echo=$ac_try;;
26513 esac
26514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26515 (eval "$ac_compile") 2>conftest.er1
26516 ac_status=$?
26517 grep -v '^ *+' conftest.er1 >conftest.err
26518 rm -f conftest.er1
26519 cat conftest.err >&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); } && {
26522 test -z "$ac_cxx_werror_flag" ||
26523 test ! -s conftest.err
26524 } && test -s conftest.$ac_objext; then
26525
26526 cat >conftest.$ac_ext <<_ACEOF
26527 /* confdefs.h. */
26528 _ACEOF
26529 cat confdefs.h >>conftest.$ac_ext
26530 cat >>conftest.$ac_ext <<_ACEOF
26531 /* end confdefs.h. */
26532
26533 class Foo { public: explicit Foo(int) {} };
26534 static void TakeFoo(const Foo& foo) { }
26535
26536 int
26537 main ()
26538 {
26539
26540 TakeFoo(17);
26541 return 0;
26542
26543 ;
26544 return 0;
26545 }
26546 _ACEOF
26547 rm -f conftest.$ac_objext
26548 if { (ac_try="$ac_compile"
26549 case "(($ac_try" in
26550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26551 *) ac_try_echo=$ac_try;;
26552 esac
26553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26554 (eval "$ac_compile") 2>conftest.er1
26555 ac_status=$?
26556 grep -v '^ *+' conftest.er1 >conftest.err
26557 rm -f conftest.er1
26558 cat conftest.err >&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); } && {
26561 test -z "$ac_cxx_werror_flag" ||
26562 test ! -s conftest.err
26563 } && test -s conftest.$ac_objext; then
26564 wx_cv_explicit=no
26565 else
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.$ac_ext >&5
26568
26569 wx_cv_explicit=yes
26570
26571 fi
26572
26573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26574
26575 else
26576 echo "$as_me: failed program was:" >&5
26577 sed 's/^/| /' conftest.$ac_ext >&5
26578
26579 wx_cv_explicit=no
26580
26581 fi
26582
26583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26584
26585 ac_ext=c
26586 ac_cpp='$CPP $CPPFLAGS'
26587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26590
26591
26592 fi
26593 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26594 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26595
26596 if test "$wx_cv_explicit" = "yes"; then
26597 cat >>confdefs.h <<\_ACEOF
26598 #define HAVE_EXPLICIT 1
26599 _ACEOF
26600
26601 fi
26602
26603
26604 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26605 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26606 if test "${ac_cv_cxx_const_cast+set}" = set; then
26607 echo $ECHO_N "(cached) $ECHO_C" >&6
26608 else
26609
26610 ac_ext=cpp
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26615
26616 cat >conftest.$ac_ext <<_ACEOF
26617 /* confdefs.h. */
26618 _ACEOF
26619 cat confdefs.h >>conftest.$ac_ext
26620 cat >>conftest.$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622
26623 int
26624 main ()
26625 {
26626 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26627 ;
26628 return 0;
26629 }
26630 _ACEOF
26631 rm -f conftest.$ac_objext
26632 if { (ac_try="$ac_compile"
26633 case "(($ac_try" in
26634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26635 *) ac_try_echo=$ac_try;;
26636 esac
26637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26638 (eval "$ac_compile") 2>conftest.er1
26639 ac_status=$?
26640 grep -v '^ *+' conftest.er1 >conftest.err
26641 rm -f conftest.er1
26642 cat conftest.err >&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } && {
26645 test -z "$ac_cxx_werror_flag" ||
26646 test ! -s conftest.err
26647 } && test -s conftest.$ac_objext; then
26648 ac_cv_cxx_const_cast=yes
26649 else
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.$ac_ext >&5
26652
26653 ac_cv_cxx_const_cast=no
26654 fi
26655
26656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26657 ac_ext=c
26658 ac_cpp='$CPP $CPPFLAGS'
26659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26662
26663
26664 fi
26665 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26666 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26667 if test "$ac_cv_cxx_const_cast" = yes; then
26668
26669 cat >>confdefs.h <<\_ACEOF
26670 #define HAVE_CONST_CAST
26671 _ACEOF
26672
26673 fi
26674
26675 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26676 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26677 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 else
26680
26681 ac_ext=cpp
26682 ac_cpp='$CXXCPP $CPPFLAGS'
26683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26686
26687 cat >conftest.$ac_ext <<_ACEOF
26688 /* confdefs.h. */
26689 _ACEOF
26690 cat confdefs.h >>conftest.$ac_ext
26691 cat >>conftest.$ac_ext <<_ACEOF
26692 /* end confdefs.h. */
26693 #include <typeinfo>
26694 class Base { public : Base () {} virtual void f () = 0;};
26695 class Derived : public Base { public : Derived () {} virtual void f () {} };
26696 class Unrelated { public : Unrelated () {} };
26697 int g (Unrelated&) { return 0; }
26698 int
26699 main ()
26700 {
26701
26702 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26703 ;
26704 return 0;
26705 }
26706 _ACEOF
26707 rm -f conftest.$ac_objext
26708 if { (ac_try="$ac_compile"
26709 case "(($ac_try" in
26710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26711 *) ac_try_echo=$ac_try;;
26712 esac
26713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26714 (eval "$ac_compile") 2>conftest.er1
26715 ac_status=$?
26716 grep -v '^ *+' conftest.er1 >conftest.err
26717 rm -f conftest.er1
26718 cat conftest.err >&5
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); } && {
26721 test -z "$ac_cxx_werror_flag" ||
26722 test ! -s conftest.err
26723 } && test -s conftest.$ac_objext; then
26724 ac_cv_cxx_reinterpret_cast=yes
26725 else
26726 echo "$as_me: failed program was:" >&5
26727 sed 's/^/| /' conftest.$ac_ext >&5
26728
26729 ac_cv_cxx_reinterpret_cast=no
26730 fi
26731
26732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26733 ac_ext=c
26734 ac_cpp='$CPP $CPPFLAGS'
26735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26738
26739
26740 fi
26741 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26742 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26743 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26744
26745 cat >>confdefs.h <<\_ACEOF
26746 #define HAVE_REINTERPRET_CAST
26747 _ACEOF
26748
26749 fi
26750
26751 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26752 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26753 if test "${ac_cv_cxx_static_cast+set}" = set; then
26754 echo $ECHO_N "(cached) $ECHO_C" >&6
26755 else
26756
26757 ac_ext=cpp
26758 ac_cpp='$CXXCPP $CPPFLAGS'
26759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26762
26763 cat >conftest.$ac_ext <<_ACEOF
26764 /* confdefs.h. */
26765 _ACEOF
26766 cat confdefs.h >>conftest.$ac_ext
26767 cat >>conftest.$ac_ext <<_ACEOF
26768 /* end confdefs.h. */
26769 #include <typeinfo>
26770 class Base { public : Base () {} virtual void f () = 0; };
26771 class Derived : public Base { public : Derived () {} virtual void f () {} };
26772 int g (Derived&) { return 0; }
26773 int
26774 main ()
26775 {
26776
26777 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26778 ;
26779 return 0;
26780 }
26781 _ACEOF
26782 rm -f conftest.$ac_objext
26783 if { (ac_try="$ac_compile"
26784 case "(($ac_try" in
26785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26786 *) ac_try_echo=$ac_try;;
26787 esac
26788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26789 (eval "$ac_compile") 2>conftest.er1
26790 ac_status=$?
26791 grep -v '^ *+' conftest.er1 >conftest.err
26792 rm -f conftest.er1
26793 cat conftest.err >&5
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); } && {
26796 test -z "$ac_cxx_werror_flag" ||
26797 test ! -s conftest.err
26798 } && test -s conftest.$ac_objext; then
26799 ac_cv_cxx_static_cast=yes
26800 else
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.$ac_ext >&5
26803
26804 ac_cv_cxx_static_cast=no
26805 fi
26806
26807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26808 ac_ext=c
26809 ac_cpp='$CPP $CPPFLAGS'
26810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26813
26814
26815 fi
26816 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26817 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26818 if test "$ac_cv_cxx_static_cast" = yes; then
26819
26820 cat >>confdefs.h <<\_ACEOF
26821 #define HAVE_STATIC_CAST
26822 _ACEOF
26823
26824 fi
26825
26826
26827 if test "x$SUNCXX" = xyes; then
26828 CXXFLAGS="-features=tmplife $CXXFLAGS"
26829 fi
26830
26831 if test "x$SUNCC" = xyes; then
26832 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26833 fi
26834
26835 if test "x$SGICC" = "xyes"; then
26836 CFLAGS="-woff 3970 $CFLAGS"
26837 fi
26838 if test "x$SGICXX" = "xyes"; then
26839 CXXFLAGS="-woff 3970 $CXXFLAGS"
26840 fi
26841
26842 if test "x$HPCC" = "xyes"; then
26843 CFLAGS="+W 2011,2450 $CFLAGS"
26844 fi
26845 if test "x$HPCXX" = "xyes"; then
26846 CXXFLAGS="+W 2340 $CXXFLAGS"
26847 fi
26848
26849 if test "x$COMPAQCXX" = "xyes"; then
26850 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26851 fi
26852
26853 ac_ext=cpp
26854 ac_cpp='$CXXCPP $CPPFLAGS'
26855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26858
26859
26860 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26861 if test "$wxUSE_UNICODE" = "yes"; then
26862 std_string="std::wstring"
26863 char_type="wchar_t"
26864 else
26865 std_string="std::string"
26866 char_type="char"
26867 fi
26868
26869 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26870 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26871 if test "${wx_cv_class_stdstring+set}" = set; then
26872 echo $ECHO_N "(cached) $ECHO_C" >&6
26873 else
26874
26875 cat >conftest.$ac_ext <<_ACEOF
26876 /* confdefs.h. */
26877 _ACEOF
26878 cat confdefs.h >>conftest.$ac_ext
26879 cat >>conftest.$ac_ext <<_ACEOF
26880 /* end confdefs.h. */
26881 #include <string>
26882 int
26883 main ()
26884 {
26885 $std_string foo;
26886 ;
26887 return 0;
26888 }
26889 _ACEOF
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26895 esac
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26898 ac_status=$?
26899 grep -v '^ *+' conftest.er1 >conftest.err
26900 rm -f conftest.er1
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } && {
26904 test -z "$ac_cxx_werror_flag" ||
26905 test ! -s conftest.err
26906 } && test -s conftest.$ac_objext; then
26907 wx_cv_class_stdstring=yes
26908 else
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26911
26912 wx_cv_class_stdstring=no
26913
26914 fi
26915
26916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26917
26918
26919 fi
26920 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26921 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26922
26923 if test "$wx_cv_class_stdstring" = yes; then
26924 if test "$wxUSE_UNICODE" = "yes"; then
26925 cat >>confdefs.h <<\_ACEOF
26926 #define HAVE_STD_WSTRING 1
26927 _ACEOF
26928
26929 fi
26930 else
26931 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26932 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26933 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26934 echo $ECHO_N "(cached) $ECHO_C" >&6
26935 else
26936
26937 cat >conftest.$ac_ext <<_ACEOF
26938 /* confdefs.h. */
26939 _ACEOF
26940 cat confdefs.h >>conftest.$ac_ext
26941 cat >>conftest.$ac_ext <<_ACEOF
26942 /* end confdefs.h. */
26943
26944 #ifdef HAVE_WCHAR_H
26945 # ifdef __CYGWIN__
26946 # include <stddef.h>
26947 # endif
26948 # include <wchar.h>
26949 #endif
26950 #ifdef HAVE_STDLIB_H
26951 # include <stdlib.h>
26952 #endif
26953 #include <stdio.h>
26954 #include <string>
26955
26956 int
26957 main ()
26958 {
26959 std::basic_string<$char_type> foo;
26960 const $char_type* dummy = foo.c_str();
26961 ;
26962 return 0;
26963 }
26964 _ACEOF
26965 rm -f conftest.$ac_objext
26966 if { (ac_try="$ac_compile"
26967 case "(($ac_try" in
26968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26969 *) ac_try_echo=$ac_try;;
26970 esac
26971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26972 (eval "$ac_compile") 2>conftest.er1
26973 ac_status=$?
26974 grep -v '^ *+' conftest.er1 >conftest.err
26975 rm -f conftest.er1
26976 cat conftest.err >&5
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); } && {
26979 test -z "$ac_cxx_werror_flag" ||
26980 test ! -s conftest.err
26981 } && test -s conftest.$ac_objext; then
26982 wx_cv_class_stdbasicstring=yes
26983 else
26984 echo "$as_me: failed program was:" >&5
26985 sed 's/^/| /' conftest.$ac_ext >&5
26986
26987 wx_cv_class_stdbasicstring=no
26988
26989 fi
26990
26991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26992
26993
26994 fi
26995 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26996 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26997
26998 if test "$wx_cv_class_stdbasicstring" != yes; then
26999 if test "$wxUSE_STL" = "yes"; then
27000 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27001 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27002 { (exit 1); exit 1; }; }
27003 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27004 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27005 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27006 { (exit 1); exit 1; }; }
27007 else
27008 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27009 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27010 wxUSE_STD_STRING=no
27011 fi
27012 fi
27013 fi
27014 fi
27015
27016 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27017 { echo "$as_me:$LINENO: checking for std::istream" >&5
27018 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27019 if test "${ac_cv_type_std__istream+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27021 else
27022 cat >conftest.$ac_ext <<_ACEOF
27023 /* confdefs.h. */
27024 _ACEOF
27025 cat confdefs.h >>conftest.$ac_ext
27026 cat >>conftest.$ac_ext <<_ACEOF
27027 /* end confdefs.h. */
27028 #include <iostream>
27029
27030 typedef std::istream ac__type_new_;
27031 int
27032 main ()
27033 {
27034 if ((ac__type_new_ *) 0)
27035 return 0;
27036 if (sizeof (ac__type_new_))
27037 return 0;
27038 ;
27039 return 0;
27040 }
27041 _ACEOF
27042 rm -f conftest.$ac_objext
27043 if { (ac_try="$ac_compile"
27044 case "(($ac_try" in
27045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27046 *) ac_try_echo=$ac_try;;
27047 esac
27048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27049 (eval "$ac_compile") 2>conftest.er1
27050 ac_status=$?
27051 grep -v '^ *+' conftest.er1 >conftest.err
27052 rm -f conftest.er1
27053 cat conftest.err >&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); } && {
27056 test -z "$ac_cxx_werror_flag" ||
27057 test ! -s conftest.err
27058 } && test -s conftest.$ac_objext; then
27059 ac_cv_type_std__istream=yes
27060 else
27061 echo "$as_me: failed program was:" >&5
27062 sed 's/^/| /' conftest.$ac_ext >&5
27063
27064 ac_cv_type_std__istream=no
27065 fi
27066
27067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27068 fi
27069 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27070 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27071 if test $ac_cv_type_std__istream = yes; then
27072
27073 cat >>confdefs.h <<_ACEOF
27074 #define HAVE_STD__ISTREAM 1
27075 _ACEOF
27076
27077
27078 else
27079 wxUSE_STD_IOSTREAM=no
27080 fi
27081 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27082 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27083 if test "${ac_cv_type_std__ostream+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 else
27086 cat >conftest.$ac_ext <<_ACEOF
27087 /* confdefs.h. */
27088 _ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <iostream>
27093
27094 typedef std::ostream ac__type_new_;
27095 int
27096 main ()
27097 {
27098 if ((ac__type_new_ *) 0)
27099 return 0;
27100 if (sizeof (ac__type_new_))
27101 return 0;
27102 ;
27103 return 0;
27104 }
27105 _ACEOF
27106 rm -f conftest.$ac_objext
27107 if { (ac_try="$ac_compile"
27108 case "(($ac_try" in
27109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27110 *) ac_try_echo=$ac_try;;
27111 esac
27112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27113 (eval "$ac_compile") 2>conftest.er1
27114 ac_status=$?
27115 grep -v '^ *+' conftest.er1 >conftest.err
27116 rm -f conftest.er1
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } && {
27120 test -z "$ac_cxx_werror_flag" ||
27121 test ! -s conftest.err
27122 } && test -s conftest.$ac_objext; then
27123 ac_cv_type_std__ostream=yes
27124 else
27125 echo "$as_me: failed program was:" >&5
27126 sed 's/^/| /' conftest.$ac_ext >&5
27127
27128 ac_cv_type_std__ostream=no
27129 fi
27130
27131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27132 fi
27133 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27134 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27135 if test $ac_cv_type_std__ostream = yes; then
27136
27137 cat >>confdefs.h <<_ACEOF
27138 #define HAVE_STD__OSTREAM 1
27139 _ACEOF
27140
27141
27142 else
27143 wxUSE_STD_IOSTREAM=no
27144 fi
27145
27146
27147 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27148 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27149 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27150 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27151 { (exit 1); exit 1; }; }
27152 else
27153 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27154 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27155 fi
27156 fi
27157 fi
27158
27159 if test "$wxUSE_STL" = "yes"; then
27160 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27161 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27162 if test "${wx_cv_lib_stl+set}" = set; then
27163 echo $ECHO_N "(cached) $ECHO_C" >&6
27164 else
27165 cat >conftest.$ac_ext <<_ACEOF
27166 /* confdefs.h. */
27167 _ACEOF
27168 cat confdefs.h >>conftest.$ac_ext
27169 cat >>conftest.$ac_ext <<_ACEOF
27170 /* end confdefs.h. */
27171 #include <string>
27172 #include <functional>
27173 #include <algorithm>
27174 #include <vector>
27175 #include <list>
27176 int
27177 main ()
27178 {
27179 std::vector<int> moo;
27180 std::list<int> foo;
27181 std::vector<int>::iterator it =
27182 std::find_if(moo.begin(), moo.end(),
27183 std::bind2nd(std::less<int>(), 3));
27184 ;
27185 return 0;
27186 }
27187 _ACEOF
27188 rm -f conftest.$ac_objext
27189 if { (ac_try="$ac_compile"
27190 case "(($ac_try" in
27191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27192 *) ac_try_echo=$ac_try;;
27193 esac
27194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27195 (eval "$ac_compile") 2>conftest.er1
27196 ac_status=$?
27197 grep -v '^ *+' conftest.er1 >conftest.err
27198 rm -f conftest.er1
27199 cat conftest.err >&5
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); } && {
27202 test -z "$ac_cxx_werror_flag" ||
27203 test ! -s conftest.err
27204 } && test -s conftest.$ac_objext; then
27205 wx_cv_lib_stl=yes
27206 else
27207 echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.$ac_ext >&5
27209
27210 wx_cv_lib_stl=no
27211
27212 fi
27213
27214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27215
27216 fi
27217 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27218 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27219
27220 if test "$wx_cv_lib_stl" != yes; then
27221 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27222 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27223 { (exit 1); exit 1; }; }
27224 fi
27225
27226 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27227 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27228 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27229 echo $ECHO_N "(cached) $ECHO_C" >&6
27230 else
27231 cat >conftest.$ac_ext <<_ACEOF
27232 /* confdefs.h. */
27233 _ACEOF
27234 cat confdefs.h >>conftest.$ac_ext
27235 cat >>conftest.$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27237 #include <string>
27238 int
27239 main ()
27240 {
27241 std::string foo, bar;
27242 foo.compare(bar);
27243 foo.compare(1, 1, bar);
27244 foo.compare(1, 1, bar, 1, 1);
27245 foo.compare("");
27246 foo.compare(1, 1, "");
27247 foo.compare(1, 1, "", 2);
27248 ;
27249 return 0;
27250 }
27251 _ACEOF
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27257 esac
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27260 ac_status=$?
27261 grep -v '^ *+' conftest.er1 >conftest.err
27262 rm -f conftest.er1
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_cxx_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27269 wx_cv_func_stdstring_compare=yes
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 wx_cv_func_stdstring_compare=no
27275
27276 fi
27277
27278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27279
27280 fi
27281 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27282 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27283
27284 if test "$wx_cv_func_stdstring_compare" = yes; then
27285 cat >>confdefs.h <<\_ACEOF
27286 #define HAVE_STD_STRING_COMPARE 1
27287 _ACEOF
27288
27289 fi
27290
27291 { echo "$as_me:$LINENO: checking for hash_map" >&5
27292 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27293 if test "${ac_cv_header_hash_map+set}" = set; then
27294 echo $ECHO_N "(cached) $ECHO_C" >&6
27295 else
27296 cat >conftest.$ac_ext <<_ACEOF
27297 /* confdefs.h. */
27298 _ACEOF
27299 cat confdefs.h >>conftest.$ac_ext
27300 cat >>conftest.$ac_ext <<_ACEOF
27301 /* end confdefs.h. */
27302
27303
27304
27305 #include <hash_map>
27306 _ACEOF
27307 rm -f conftest.$ac_objext
27308 if { (ac_try="$ac_compile"
27309 case "(($ac_try" in
27310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27311 *) ac_try_echo=$ac_try;;
27312 esac
27313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27314 (eval "$ac_compile") 2>conftest.er1
27315 ac_status=$?
27316 grep -v '^ *+' conftest.er1 >conftest.err
27317 rm -f conftest.er1
27318 cat conftest.err >&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); } && {
27321 test -z "$ac_cxx_werror_flag" ||
27322 test ! -s conftest.err
27323 } && test -s conftest.$ac_objext; then
27324 ac_cv_header_hash_map=yes
27325 else
27326 echo "$as_me: failed program was:" >&5
27327 sed 's/^/| /' conftest.$ac_ext >&5
27328
27329 ac_cv_header_hash_map=no
27330 fi
27331
27332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27333 fi
27334 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27335 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27336 if test $ac_cv_header_hash_map = yes; then
27337 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27338 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27339 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27341 else
27342 cat >conftest.$ac_ext <<_ACEOF
27343 /* confdefs.h. */
27344 _ACEOF
27345 cat confdefs.h >>conftest.$ac_ext
27346 cat >>conftest.$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348 #include <hash_map>
27349 #include <hash_set>
27350 int
27351 main ()
27352 {
27353 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27354 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27355 ;
27356 return 0;
27357 }
27358 _ACEOF
27359 rm -f conftest.$ac_objext
27360 if { (ac_try="$ac_compile"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27364 esac
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_compile") 2>conftest.er1
27367 ac_status=$?
27368 grep -v '^ *+' conftest.er1 >conftest.err
27369 rm -f conftest.er1
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } && {
27373 test -z "$ac_cxx_werror_flag" ||
27374 test ! -s conftest.err
27375 } && test -s conftest.$ac_objext; then
27376 wx_cv_class_stdhashmapset=yes
27377 else
27378 echo "$as_me: failed program was:" >&5
27379 sed 's/^/| /' conftest.$ac_ext >&5
27380
27381 wx_cv_class_stdhashmapset=no
27382 fi
27383
27384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27385
27386
27387 fi
27388 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27389 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27390 fi
27391
27392
27393
27394 if test "$wx_cv_class_stdhashmapset" = yes; then
27395 cat >>confdefs.h <<\_ACEOF
27396 #define HAVE_HASH_MAP 1
27397 _ACEOF
27398
27399 cat >>confdefs.h <<\_ACEOF
27400 #define HAVE_STD_HASH_MAP 1
27401 _ACEOF
27402
27403 fi
27404
27405 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27406 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27407 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27409 else
27410 cat >conftest.$ac_ext <<_ACEOF
27411 /* confdefs.h. */
27412 _ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416
27417
27418
27419 #include <ext/hash_map>
27420 _ACEOF
27421 rm -f conftest.$ac_objext
27422 if { (ac_try="$ac_compile"
27423 case "(($ac_try" in
27424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27425 *) ac_try_echo=$ac_try;;
27426 esac
27427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27428 (eval "$ac_compile") 2>conftest.er1
27429 ac_status=$?
27430 grep -v '^ *+' conftest.er1 >conftest.err
27431 rm -f conftest.er1
27432 cat conftest.err >&5
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); } && {
27435 test -z "$ac_cxx_werror_flag" ||
27436 test ! -s conftest.err
27437 } && test -s conftest.$ac_objext; then
27438 ac_cv_header_ext_hash_map=yes
27439 else
27440 echo "$as_me: failed program was:" >&5
27441 sed 's/^/| /' conftest.$ac_ext >&5
27442
27443 ac_cv_header_ext_hash_map=no
27444 fi
27445
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447 fi
27448 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27449 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27450 if test $ac_cv_header_ext_hash_map = yes; then
27451 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27452 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27453 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27455 else
27456 cat >conftest.$ac_ext <<_ACEOF
27457 /* confdefs.h. */
27458 _ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27462 #include <ext/hash_map>
27463 #include <ext/hash_set>
27464 int
27465 main ()
27466 {
27467 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27468 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27469 ;
27470 return 0;
27471 }
27472 _ACEOF
27473 rm -f conftest.$ac_objext
27474 if { (ac_try="$ac_compile"
27475 case "(($ac_try" in
27476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27477 *) ac_try_echo=$ac_try;;
27478 esac
27479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27480 (eval "$ac_compile") 2>conftest.er1
27481 ac_status=$?
27482 grep -v '^ *+' conftest.er1 >conftest.err
27483 rm -f conftest.er1
27484 cat conftest.err >&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } && {
27487 test -z "$ac_cxx_werror_flag" ||
27488 test ! -s conftest.err
27489 } && test -s conftest.$ac_objext; then
27490 wx_cv_class_gnuhashmapset=yes
27491 else
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.$ac_ext >&5
27494
27495 wx_cv_class_gnuhashmapset=no
27496 fi
27497
27498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27499
27500
27501 fi
27502 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27503 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27504 fi
27505
27506
27507
27508 if test "$wx_cv_class_gnuhashmapset" = yes; then
27509 cat >>confdefs.h <<\_ACEOF
27510 #define HAVE_EXT_HASH_MAP 1
27511 _ACEOF
27512
27513 cat >>confdefs.h <<\_ACEOF
27514 #define HAVE_GNU_CXX_HASH_MAP 1
27515 _ACEOF
27516
27517 fi
27518 fi
27519
27520 ac_ext=c
27521 ac_cpp='$CPP $CPPFLAGS'
27522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27525
27526
27527
27528 SEARCH_INCLUDE="\
27529 /usr/local/include \
27530 \
27531 /usr/Motif-2.1/include \
27532 /usr/Motif-1.2/include \
27533 /usr/include/Motif1.2 \
27534 \
27535 /usr/dt/include \
27536 /usr/openwin/include \
27537 \
27538 /usr/include/Xm \
27539 \
27540 /usr/X11R6/include \
27541 /usr/X11R6.4/include \
27542 /usr/X11R5/include \
27543 /usr/X11R4/include \
27544 \
27545 /usr/include/X11R6 \
27546 /usr/include/X11R5 \
27547 /usr/include/X11R4 \
27548 \
27549 /usr/local/X11R6/include \
27550 /usr/local/X11R5/include \
27551 /usr/local/X11R4/include \
27552 \
27553 /usr/local/include/X11R6 \
27554 /usr/local/include/X11R5 \
27555 /usr/local/include/X11R4 \
27556 \
27557 /usr/X11/include \
27558 /usr/include/X11 \
27559 /usr/local/X11/include \
27560 /usr/local/include/X11 \
27561 \
27562 /usr/XFree86/include/X11 \
27563 /usr/pkg/include \
27564 \
27565 /usr/openwin/share/include"
27566
27567 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27568 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27569
27570 case "${host}" in
27571 *-*-irix6* )
27572 if test "${wx_cv_std_libpath+set}" = set; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27574 else
27575
27576 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27577 for e in a so sl dylib dll.a; do
27578 libc="$d/libc.$e"
27579 if test -f $libc; then
27580 save_LIBS="$LIBS"
27581 LIBS="$libc"
27582 cat >conftest.$ac_ext <<_ACEOF
27583 int main() { return 0; }
27584 _ACEOF
27585 rm -f conftest.$ac_objext conftest$ac_exeext
27586 if { (ac_try="$ac_link"
27587 case "(($ac_try" in
27588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27589 *) ac_try_echo=$ac_try;;
27590 esac
27591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27592 (eval "$ac_link") 2>conftest.er1
27593 ac_status=$?
27594 grep -v '^ *+' conftest.er1 >conftest.err
27595 rm -f conftest.er1
27596 cat conftest.err >&5
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); } && {
27599 test -z "$ac_c_werror_flag" ||
27600 test ! -s conftest.err
27601 } && test -s conftest$ac_exeext &&
27602 $as_test_x conftest$ac_exeext; then
27603 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27604 else
27605 echo "$as_me: failed program was:" >&5
27606 sed 's/^/| /' conftest.$ac_ext >&5
27607
27608
27609 fi
27610
27611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27612 conftest$ac_exeext conftest.$ac_ext
27613 LIBS="$save_LIBS"
27614 if test "x$wx_cv_std_libpath" != "x"; then
27615 break 2
27616 fi
27617 fi
27618 done
27619 done
27620 if test "x$wx_cv_std_libpath" = "x"; then
27621 wx_cv_std_libpath="lib"
27622 fi
27623
27624
27625 fi
27626
27627 ;;
27628
27629 *-*-solaris2* )
27630 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27631 wx_cv_std_libpath="lib/64"
27632 else
27633 wx_cv_std_libpath="lib"
27634 fi
27635 ;;
27636
27637 *-*-linux* )
27638 if test "$ac_cv_sizeof_void_p" = 8 -a \
27639 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27640 wx_cv_std_libpath="lib64"
27641 else
27642 wx_cv_std_libpath="lib"
27643 fi
27644 ;;
27645
27646 *)
27647 wx_cv_std_libpath="lib";
27648 ;;
27649 esac
27650
27651 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27652 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27653
27654 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27655
27656 if test "$build" != "$host" -a "$GCC" = yes; then
27657 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27658 cross_root=`dirname $cross_root`
27659 cross_root=`dirname $cross_root`
27660
27661 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27662 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27663 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27664
27665 if test -z "$PKG_CONFIG_PATH"; then
27666 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27667 export PKG_CONFIG_PATH
27668 fi
27669
27670 if test -z "$x_includes" -o "$x_includes" = NONE; then
27671
27672 ac_find_includes=
27673 for ac_dir in $SEARCH_INCLUDE /usr/include;
27674 do
27675 if test -f "$ac_dir/X11/Intrinsic.h"; then
27676 ac_find_includes=$ac_dir
27677 break
27678 fi
27679 done
27680
27681 x_includes=$ac_find_includes
27682 fi
27683 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27684
27685 ac_find_libraries=
27686 for ac_dir in $SEARCH_LIB;
27687 do
27688 for ac_extension in a so sl dylib dll.a; do
27689 if test -f "$ac_dir/libXt.$ac_extension"; then
27690 ac_find_libraries=$ac_dir
27691 break 2
27692 fi
27693 done
27694 done
27695
27696 x_libraries=$ac_find_libraries
27697 fi
27698 fi
27699 fi
27700
27701
27702 cat >confcache <<\_ACEOF
27703 # This file is a shell script that caches the results of configure
27704 # tests run on this system so they can be shared between configure
27705 # scripts and configure runs, see configure's option --config-cache.
27706 # It is not useful on other systems. If it contains results you don't
27707 # want to keep, you may remove or edit it.
27708 #
27709 # config.status only pays attention to the cache file if you give it
27710 # the --recheck option to rerun configure.
27711 #
27712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27714 # following values.
27715
27716 _ACEOF
27717
27718 # The following way of writing the cache mishandles newlines in values,
27719 # but we know of no workaround that is simple, portable, and efficient.
27720 # So, we kill variables containing newlines.
27721 # Ultrix sh set writes to stderr and can't be redirected directly,
27722 # and sets the high bit in the cache file unless we assign to the vars.
27723 (
27724 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27725 eval ac_val=\$$ac_var
27726 case $ac_val in #(
27727 *${as_nl}*)
27728 case $ac_var in #(
27729 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27730 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27731 esac
27732 case $ac_var in #(
27733 _ | IFS | as_nl) ;; #(
27734 *) $as_unset $ac_var ;;
27735 esac ;;
27736 esac
27737 done
27738
27739 (set) 2>&1 |
27740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27741 *${as_nl}ac_space=\ *)
27742 # `set' does not quote correctly, so add quotes (double-quote
27743 # substitution turns \\\\ into \\, and sed turns \\ into \).
27744 sed -n \
27745 "s/'/'\\\\''/g;
27746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27747 ;; #(
27748 *)
27749 # `set' quotes correctly as required by POSIX, so do not add quotes.
27750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27751 ;;
27752 esac |
27753 sort
27754 ) |
27755 sed '
27756 /^ac_cv_env_/b end
27757 t clear
27758 :clear
27759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27760 t end
27761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27762 :end' >>confcache
27763 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27764 if test -w "$cache_file"; then
27765 test "x$cache_file" != "x/dev/null" &&
27766 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27767 echo "$as_me: updating cache $cache_file" >&6;}
27768 cat confcache >$cache_file
27769 else
27770 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27771 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27772 fi
27773 fi
27774 rm -f confcache
27775
27776 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27777 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27778 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27779 if test "${wx_cv_lib_glibc21+set}" = set; then
27780 echo $ECHO_N "(cached) $ECHO_C" >&6
27781 else
27782
27783 cat >conftest.$ac_ext <<_ACEOF
27784 /* confdefs.h. */
27785 _ACEOF
27786 cat confdefs.h >>conftest.$ac_ext
27787 cat >>conftest.$ac_ext <<_ACEOF
27788 /* end confdefs.h. */
27789 #include <features.h>
27790 int
27791 main ()
27792 {
27793
27794 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27795 not glibc 2.1
27796 #endif
27797
27798 ;
27799 return 0;
27800 }
27801 _ACEOF
27802 rm -f conftest.$ac_objext
27803 if { (ac_try="$ac_compile"
27804 case "(($ac_try" in
27805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27806 *) ac_try_echo=$ac_try;;
27807 esac
27808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27809 (eval "$ac_compile") 2>conftest.er1
27810 ac_status=$?
27811 grep -v '^ *+' conftest.er1 >conftest.err
27812 rm -f conftest.er1
27813 cat conftest.err >&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); } && {
27816 test -z "$ac_c_werror_flag" ||
27817 test ! -s conftest.err
27818 } && test -s conftest.$ac_objext; then
27819
27820 wx_cv_lib_glibc21=yes
27821
27822 else
27823 echo "$as_me: failed program was:" >&5
27824 sed 's/^/| /' conftest.$ac_ext >&5
27825
27826
27827 wx_cv_lib_glibc21=no
27828
27829
27830 fi
27831
27832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833
27834 fi
27835 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27836 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27837 if test "$wx_cv_lib_glibc21" = "yes"; then
27838 cat >>confdefs.h <<\_ACEOF
27839 #define wxHAVE_GLIBC2 1
27840 _ACEOF
27841
27842 fi
27843 fi
27844
27845 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27846 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27847 cat >>confdefs.h <<\_ACEOF
27848 #define _GNU_SOURCE 1
27849 _ACEOF
27850
27851 fi
27852 fi
27853
27854 have_cos=0
27855 have_floor=0
27856
27857 for ac_func in cos
27858 do
27859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27860 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 else
27865 cat >conftest.$ac_ext <<_ACEOF
27866 /* confdefs.h. */
27867 _ACEOF
27868 cat confdefs.h >>conftest.$ac_ext
27869 cat >>conftest.$ac_ext <<_ACEOF
27870 /* end confdefs.h. */
27871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27873 #define $ac_func innocuous_$ac_func
27874
27875 /* System header to define __stub macros and hopefully few prototypes,
27876 which can conflict with char $ac_func (); below.
27877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27878 <limits.h> exists even on freestanding compilers. */
27879
27880 #ifdef __STDC__
27881 # include <limits.h>
27882 #else
27883 # include <assert.h>
27884 #endif
27885
27886 #undef $ac_func
27887
27888 /* Override any GCC internal prototype to avoid an error.
27889 Use char because int might match the return type of a GCC
27890 builtin and then its argument prototype would still apply. */
27891 #ifdef __cplusplus
27892 extern "C"
27893 #endif
27894 char $ac_func ();
27895 /* The GNU C library defines this for functions which it implements
27896 to always fail with ENOSYS. Some functions are actually named
27897 something starting with __ and the normal name is an alias. */
27898 #if defined __stub_$ac_func || defined __stub___$ac_func
27899 choke me
27900 #endif
27901
27902 int
27903 main ()
27904 {
27905 return $ac_func ();
27906 ;
27907 return 0;
27908 }
27909 _ACEOF
27910 rm -f conftest.$ac_objext conftest$ac_exeext
27911 if { (ac_try="$ac_link"
27912 case "(($ac_try" in
27913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27914 *) ac_try_echo=$ac_try;;
27915 esac
27916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27917 (eval "$ac_link") 2>conftest.er1
27918 ac_status=$?
27919 grep -v '^ *+' conftest.er1 >conftest.err
27920 rm -f conftest.er1
27921 cat conftest.err >&5
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); } && {
27924 test -z "$ac_c_werror_flag" ||
27925 test ! -s conftest.err
27926 } && test -s conftest$ac_exeext &&
27927 $as_test_x conftest$ac_exeext; then
27928 eval "$as_ac_var=yes"
27929 else
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.$ac_ext >&5
27932
27933 eval "$as_ac_var=no"
27934 fi
27935
27936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27937 conftest$ac_exeext conftest.$ac_ext
27938 fi
27939 ac_res=`eval echo '${'$as_ac_var'}'`
27940 { echo "$as_me:$LINENO: result: $ac_res" >&5
27941 echo "${ECHO_T}$ac_res" >&6; }
27942 if test `eval echo '${'$as_ac_var'}'` = yes; then
27943 cat >>confdefs.h <<_ACEOF
27944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27945 _ACEOF
27946 have_cos=1
27947 fi
27948 done
27949
27950
27951 for ac_func in floor
27952 do
27953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27954 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27956 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959 cat >conftest.$ac_ext <<_ACEOF
27960 /* confdefs.h. */
27961 _ACEOF
27962 cat confdefs.h >>conftest.$ac_ext
27963 cat >>conftest.$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27967 #define $ac_func innocuous_$ac_func
27968
27969 /* System header to define __stub macros and hopefully few prototypes,
27970 which can conflict with char $ac_func (); below.
27971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27972 <limits.h> exists even on freestanding compilers. */
27973
27974 #ifdef __STDC__
27975 # include <limits.h>
27976 #else
27977 # include <assert.h>
27978 #endif
27979
27980 #undef $ac_func
27981
27982 /* Override any GCC internal prototype to avoid an error.
27983 Use char because int might match the return type of a GCC
27984 builtin and then its argument prototype would still apply. */
27985 #ifdef __cplusplus
27986 extern "C"
27987 #endif
27988 char $ac_func ();
27989 /* The GNU C library defines this for functions which it implements
27990 to always fail with ENOSYS. Some functions are actually named
27991 something starting with __ and the normal name is an alias. */
27992 #if defined __stub_$ac_func || defined __stub___$ac_func
27993 choke me
27994 #endif
27995
27996 int
27997 main ()
27998 {
27999 return $ac_func ();
28000 ;
28001 return 0;
28002 }
28003 _ACEOF
28004 rm -f conftest.$ac_objext conftest$ac_exeext
28005 if { (ac_try="$ac_link"
28006 case "(($ac_try" in
28007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28008 *) ac_try_echo=$ac_try;;
28009 esac
28010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28011 (eval "$ac_link") 2>conftest.er1
28012 ac_status=$?
28013 grep -v '^ *+' conftest.er1 >conftest.err
28014 rm -f conftest.er1
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && {
28018 test -z "$ac_c_werror_flag" ||
28019 test ! -s conftest.err
28020 } && test -s conftest$ac_exeext &&
28021 $as_test_x conftest$ac_exeext; then
28022 eval "$as_ac_var=yes"
28023 else
28024 echo "$as_me: failed program was:" >&5
28025 sed 's/^/| /' conftest.$ac_ext >&5
28026
28027 eval "$as_ac_var=no"
28028 fi
28029
28030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28031 conftest$ac_exeext conftest.$ac_ext
28032 fi
28033 ac_res=`eval echo '${'$as_ac_var'}'`
28034 { echo "$as_me:$LINENO: result: $ac_res" >&5
28035 echo "${ECHO_T}$ac_res" >&6; }
28036 if test `eval echo '${'$as_ac_var'}'` = yes; then
28037 cat >>confdefs.h <<_ACEOF
28038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28039 _ACEOF
28040 have_floor=1
28041 fi
28042 done
28043
28044 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28045 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28046 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28047 { echo "$as_me:$LINENO: result: yes" >&5
28048 echo "${ECHO_T}yes" >&6; }
28049 else
28050 { echo "$as_me:$LINENO: result: no" >&5
28051 echo "${ECHO_T}no" >&6; }
28052 LIBS="$LIBS -lm"
28053 # use different functions to avoid configure caching
28054 have_sin=0
28055 have_ceil=0
28056
28057 for ac_func in sin
28058 do
28059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28060 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28062 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28063 echo $ECHO_N "(cached) $ECHO_C" >&6
28064 else
28065 cat >conftest.$ac_ext <<_ACEOF
28066 /* confdefs.h. */
28067 _ACEOF
28068 cat confdefs.h >>conftest.$ac_ext
28069 cat >>conftest.$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28073 #define $ac_func innocuous_$ac_func
28074
28075 /* System header to define __stub macros and hopefully few prototypes,
28076 which can conflict with char $ac_func (); below.
28077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28078 <limits.h> exists even on freestanding compilers. */
28079
28080 #ifdef __STDC__
28081 # include <limits.h>
28082 #else
28083 # include <assert.h>
28084 #endif
28085
28086 #undef $ac_func
28087
28088 /* Override any GCC internal prototype to avoid an error.
28089 Use char because int might match the return type of a GCC
28090 builtin and then its argument prototype would still apply. */
28091 #ifdef __cplusplus
28092 extern "C"
28093 #endif
28094 char $ac_func ();
28095 /* The GNU C library defines this for functions which it implements
28096 to always fail with ENOSYS. Some functions are actually named
28097 something starting with __ and the normal name is an alias. */
28098 #if defined __stub_$ac_func || defined __stub___$ac_func
28099 choke me
28100 #endif
28101
28102 int
28103 main ()
28104 {
28105 return $ac_func ();
28106 ;
28107 return 0;
28108 }
28109 _ACEOF
28110 rm -f conftest.$ac_objext conftest$ac_exeext
28111 if { (ac_try="$ac_link"
28112 case "(($ac_try" in
28113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28114 *) ac_try_echo=$ac_try;;
28115 esac
28116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28117 (eval "$ac_link") 2>conftest.er1
28118 ac_status=$?
28119 grep -v '^ *+' conftest.er1 >conftest.err
28120 rm -f conftest.er1
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } && {
28124 test -z "$ac_c_werror_flag" ||
28125 test ! -s conftest.err
28126 } && test -s conftest$ac_exeext &&
28127 $as_test_x conftest$ac_exeext; then
28128 eval "$as_ac_var=yes"
28129 else
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28132
28133 eval "$as_ac_var=no"
28134 fi
28135
28136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28137 conftest$ac_exeext conftest.$ac_ext
28138 fi
28139 ac_res=`eval echo '${'$as_ac_var'}'`
28140 { echo "$as_me:$LINENO: result: $ac_res" >&5
28141 echo "${ECHO_T}$ac_res" >&6; }
28142 if test `eval echo '${'$as_ac_var'}'` = yes; then
28143 cat >>confdefs.h <<_ACEOF
28144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28145 _ACEOF
28146 have_sin=1
28147 fi
28148 done
28149
28150
28151 for ac_func in ceil
28152 do
28153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 else
28159 cat >conftest.$ac_ext <<_ACEOF
28160 /* confdefs.h. */
28161 _ACEOF
28162 cat confdefs.h >>conftest.$ac_ext
28163 cat >>conftest.$ac_ext <<_ACEOF
28164 /* end confdefs.h. */
28165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28167 #define $ac_func innocuous_$ac_func
28168
28169 /* System header to define __stub macros and hopefully few prototypes,
28170 which can conflict with char $ac_func (); below.
28171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28172 <limits.h> exists even on freestanding compilers. */
28173
28174 #ifdef __STDC__
28175 # include <limits.h>
28176 #else
28177 # include <assert.h>
28178 #endif
28179
28180 #undef $ac_func
28181
28182 /* Override any GCC internal prototype to avoid an error.
28183 Use char because int might match the return type of a GCC
28184 builtin and then its argument prototype would still apply. */
28185 #ifdef __cplusplus
28186 extern "C"
28187 #endif
28188 char $ac_func ();
28189 /* The GNU C library defines this for functions which it implements
28190 to always fail with ENOSYS. Some functions are actually named
28191 something starting with __ and the normal name is an alias. */
28192 #if defined __stub_$ac_func || defined __stub___$ac_func
28193 choke me
28194 #endif
28195
28196 int
28197 main ()
28198 {
28199 return $ac_func ();
28200 ;
28201 return 0;
28202 }
28203 _ACEOF
28204 rm -f conftest.$ac_objext conftest$ac_exeext
28205 if { (ac_try="$ac_link"
28206 case "(($ac_try" in
28207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28208 *) ac_try_echo=$ac_try;;
28209 esac
28210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28211 (eval "$ac_link") 2>conftest.er1
28212 ac_status=$?
28213 grep -v '^ *+' conftest.er1 >conftest.err
28214 rm -f conftest.er1
28215 cat conftest.err >&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); } && {
28218 test -z "$ac_c_werror_flag" ||
28219 test ! -s conftest.err
28220 } && test -s conftest$ac_exeext &&
28221 $as_test_x conftest$ac_exeext; then
28222 eval "$as_ac_var=yes"
28223 else
28224 echo "$as_me: failed program was:" >&5
28225 sed 's/^/| /' conftest.$ac_ext >&5
28226
28227 eval "$as_ac_var=no"
28228 fi
28229
28230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28231 conftest$ac_exeext conftest.$ac_ext
28232 fi
28233 ac_res=`eval echo '${'$as_ac_var'}'`
28234 { echo "$as_me:$LINENO: result: $ac_res" >&5
28235 echo "${ECHO_T}$ac_res" >&6; }
28236 if test `eval echo '${'$as_ac_var'}'` = yes; then
28237 cat >>confdefs.h <<_ACEOF
28238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28239 _ACEOF
28240 have_ceil=1
28241 fi
28242 done
28243
28244 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28245 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28246 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28247 { echo "$as_me:$LINENO: result: yes" >&5
28248 echo "${ECHO_T}yes" >&6; }
28249 else
28250 { echo "$as_me:$LINENO: result: no" >&5
28251 echo "${ECHO_T}no" >&6; }
28252 # not sure we should warn the user, crash, etc.
28253 fi
28254 fi
28255
28256 ac_ext=cpp
28257 ac_cpp='$CXXCPP $CPPFLAGS'
28258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28261
28262 if test "wxUSE_UNICODE" = "yes"; then
28263
28264 for wx_func in wcstoull
28265 do
28266 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28267 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28268 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28269 echo $ECHO_N "(cached) $ECHO_C" >&6
28270 else
28271
28272 cat >conftest.$ac_ext <<_ACEOF
28273
28274 /* confdefs.h. */
28275 _ACEOF
28276 cat confdefs.h >>conftest.$ac_ext
28277 cat >>conftest.$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28279
28280
28281 $ac_includes_default
28282
28283 int
28284 main ()
28285 {
28286
28287 #ifndef $wx_func
28288 &$wx_func;
28289 #endif
28290
28291
28292 ;
28293 return 0;
28294 }
28295
28296 _ACEOF
28297 rm -f conftest.$ac_objext conftest$ac_exeext
28298 if { (ac_try="$ac_link"
28299 case "(($ac_try" in
28300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28301 *) ac_try_echo=$ac_try;;
28302 esac
28303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28304 (eval "$ac_link") 2>conftest.er1
28305 ac_status=$?
28306 grep -v '^ *+' conftest.er1 >conftest.err
28307 rm -f conftest.er1
28308 cat conftest.err >&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); } && {
28311 test -z "$ac_cxx_werror_flag" ||
28312 test ! -s conftest.err
28313 } && test -s conftest$ac_exeext &&
28314 $as_test_x conftest$ac_exeext; then
28315 eval wx_cv_func_$wx_func=yes
28316 else
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.$ac_ext >&5
28319
28320 eval wx_cv_func_$wx_func=no
28321 fi
28322
28323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28324 conftest$ac_exeext conftest.$ac_ext
28325
28326 fi
28327 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28328 { echo "$as_me:$LINENO: result: $ac_res" >&5
28329 echo "${ECHO_T}$ac_res" >&6; }
28330
28331 if eval test \$wx_cv_func_$wx_func = yes
28332 then
28333 cat >>confdefs.h <<_ACEOF
28334 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28335 _ACEOF
28336
28337
28338 else
28339 :
28340
28341 fi
28342 done
28343
28344 else
28345
28346 for wx_func in strtoull
28347 do
28348 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28349 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28350 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28351 echo $ECHO_N "(cached) $ECHO_C" >&6
28352 else
28353
28354 cat >conftest.$ac_ext <<_ACEOF
28355
28356 /* confdefs.h. */
28357 _ACEOF
28358 cat confdefs.h >>conftest.$ac_ext
28359 cat >>conftest.$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28361
28362
28363 $ac_includes_default
28364
28365 int
28366 main ()
28367 {
28368
28369 #ifndef $wx_func
28370 &$wx_func;
28371 #endif
28372
28373
28374 ;
28375 return 0;
28376 }
28377
28378 _ACEOF
28379 rm -f conftest.$ac_objext conftest$ac_exeext
28380 if { (ac_try="$ac_link"
28381 case "(($ac_try" in
28382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28383 *) ac_try_echo=$ac_try;;
28384 esac
28385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386 (eval "$ac_link") 2>conftest.er1
28387 ac_status=$?
28388 grep -v '^ *+' conftest.er1 >conftest.err
28389 rm -f conftest.er1
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && {
28393 test -z "$ac_cxx_werror_flag" ||
28394 test ! -s conftest.err
28395 } && test -s conftest$ac_exeext &&
28396 $as_test_x conftest$ac_exeext; then
28397 eval wx_cv_func_$wx_func=yes
28398 else
28399 echo "$as_me: failed program was:" >&5
28400 sed 's/^/| /' conftest.$ac_ext >&5
28401
28402 eval wx_cv_func_$wx_func=no
28403 fi
28404
28405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28406 conftest$ac_exeext conftest.$ac_ext
28407
28408 fi
28409 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28410 { echo "$as_me:$LINENO: result: $ac_res" >&5
28411 echo "${ECHO_T}$ac_res" >&6; }
28412
28413 if eval test \$wx_cv_func_$wx_func = yes
28414 then
28415 cat >>confdefs.h <<_ACEOF
28416 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28417 _ACEOF
28418
28419
28420 else
28421 :
28422
28423 fi
28424 done
28425
28426 fi
28427 ac_ext=c
28428 ac_cpp='$CPP $CPPFLAGS'
28429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28432
28433
28434
28435
28436 if test "$wxUSE_REGEX" != "no"; then
28437 cat >>confdefs.h <<\_ACEOF
28438 #define wxUSE_REGEX 1
28439 _ACEOF
28440
28441
28442 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28443 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28444 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28445 wxUSE_REGEX=builtin
28446 fi
28447
28448 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28449 { echo "$as_me:$LINENO: checking for regex.h" >&5
28450 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28451 if test "${ac_cv_header_regex_h+set}" = set; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28453 else
28454 cat >conftest.$ac_ext <<_ACEOF
28455 /* confdefs.h. */
28456 _ACEOF
28457 cat confdefs.h >>conftest.$ac_ext
28458 cat >>conftest.$ac_ext <<_ACEOF
28459 /* end confdefs.h. */
28460
28461
28462 #include <regex.h>
28463 _ACEOF
28464 rm -f conftest.$ac_objext
28465 if { (ac_try="$ac_compile"
28466 case "(($ac_try" in
28467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28468 *) ac_try_echo=$ac_try;;
28469 esac
28470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28471 (eval "$ac_compile") 2>conftest.er1
28472 ac_status=$?
28473 grep -v '^ *+' conftest.er1 >conftest.err
28474 rm -f conftest.er1
28475 cat conftest.err >&5
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); } && {
28478 test -z "$ac_c_werror_flag" ||
28479 test ! -s conftest.err
28480 } && test -s conftest.$ac_objext; then
28481 ac_cv_header_regex_h=yes
28482 else
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28485
28486 ac_cv_header_regex_h=no
28487 fi
28488
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28490 fi
28491 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28492 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28493 if test $ac_cv_header_regex_h = yes; then
28494
28495
28496 for ac_func in regcomp re_search
28497 do
28498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 else
28504 cat >conftest.$ac_ext <<_ACEOF
28505 /* confdefs.h. */
28506 _ACEOF
28507 cat confdefs.h >>conftest.$ac_ext
28508 cat >>conftest.$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28512 #define $ac_func innocuous_$ac_func
28513
28514 /* System header to define __stub macros and hopefully few prototypes,
28515 which can conflict with char $ac_func (); below.
28516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28517 <limits.h> exists even on freestanding compilers. */
28518
28519 #ifdef __STDC__
28520 # include <limits.h>
28521 #else
28522 # include <assert.h>
28523 #endif
28524
28525 #undef $ac_func
28526
28527 /* Override any GCC internal prototype to avoid an error.
28528 Use char because int might match the return type of a GCC
28529 builtin and then its argument prototype would still apply. */
28530 #ifdef __cplusplus
28531 extern "C"
28532 #endif
28533 char $ac_func ();
28534 /* The GNU C library defines this for functions which it implements
28535 to always fail with ENOSYS. Some functions are actually named
28536 something starting with __ and the normal name is an alias. */
28537 #if defined __stub_$ac_func || defined __stub___$ac_func
28538 choke me
28539 #endif
28540
28541 int
28542 main ()
28543 {
28544 return $ac_func ();
28545 ;
28546 return 0;
28547 }
28548 _ACEOF
28549 rm -f conftest.$ac_objext conftest$ac_exeext
28550 if { (ac_try="$ac_link"
28551 case "(($ac_try" in
28552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28553 *) ac_try_echo=$ac_try;;
28554 esac
28555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28556 (eval "$ac_link") 2>conftest.er1
28557 ac_status=$?
28558 grep -v '^ *+' conftest.er1 >conftest.err
28559 rm -f conftest.er1
28560 cat conftest.err >&5
28561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28562 (exit $ac_status); } && {
28563 test -z "$ac_c_werror_flag" ||
28564 test ! -s conftest.err
28565 } && test -s conftest$ac_exeext &&
28566 $as_test_x conftest$ac_exeext; then
28567 eval "$as_ac_var=yes"
28568 else
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.$ac_ext >&5
28571
28572 eval "$as_ac_var=no"
28573 fi
28574
28575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28576 conftest$ac_exeext conftest.$ac_ext
28577 fi
28578 ac_res=`eval echo '${'$as_ac_var'}'`
28579 { echo "$as_me:$LINENO: result: $ac_res" >&5
28580 echo "${ECHO_T}$ac_res" >&6; }
28581 if test `eval echo '${'$as_ac_var'}'` = yes; then
28582 cat >>confdefs.h <<_ACEOF
28583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28584 _ACEOF
28585
28586 fi
28587 done
28588
28589 fi
28590
28591
28592
28593 if test "x$ac_cv_func_regcomp" != "xyes"; then
28594 if test "$wxUSE_REGEX" = "sys" ; then
28595 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28596 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28597 { (exit 1); exit 1; }; }
28598 else
28599 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28600 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28601 wxUSE_REGEX=builtin
28602 fi
28603 else
28604 wxUSE_REGEX=sys
28605 cat >>confdefs.h <<\_ACEOF
28606 #define WX_NO_REGEX_ADVANCED 1
28607 _ACEOF
28608
28609 fi
28610 fi
28611 fi
28612
28613
28614 ZLIB_LINK=
28615 if test "$wxUSE_ZLIB" != "no" ; then
28616 cat >>confdefs.h <<\_ACEOF
28617 #define wxUSE_ZLIB 1
28618 _ACEOF
28619
28620
28621 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28622 if test "$USE_DARWIN" = 1; then
28623 system_zlib_h_ok="yes"
28624 else
28625 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28626 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28627 if test "${ac_cv_header_zlib_h+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28629 else
28630 if test "$cross_compiling" = yes; then
28631 unset ac_cv_header_zlib_h
28632
28633 else
28634 cat >conftest.$ac_ext <<_ACEOF
28635 /* confdefs.h. */
28636 _ACEOF
28637 cat confdefs.h >>conftest.$ac_ext
28638 cat >>conftest.$ac_ext <<_ACEOF
28639 /* end confdefs.h. */
28640
28641 #include <zlib.h>
28642 #include <stdio.h>
28643
28644 int main()
28645 {
28646 FILE *f=fopen("conftestval", "w");
28647 if (!f) exit(1);
28648 fprintf(f, "%s",
28649 ZLIB_VERSION[0] == '1' &&
28650 (ZLIB_VERSION[2] > '1' ||
28651 (ZLIB_VERSION[2] == '1' &&
28652 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28653 exit(0);
28654 }
28655
28656 _ACEOF
28657 rm -f conftest$ac_exeext
28658 if { (ac_try="$ac_link"
28659 case "(($ac_try" in
28660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28661 *) ac_try_echo=$ac_try;;
28662 esac
28663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28664 (eval "$ac_link") 2>&5
28665 ac_status=$?
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28668 { (case "(($ac_try" in
28669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28670 *) ac_try_echo=$ac_try;;
28671 esac
28672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28673 (eval "$ac_try") 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; }; then
28677 ac_cv_header_zlib_h=`cat conftestval`
28678 else
28679 echo "$as_me: program exited with status $ac_status" >&5
28680 echo "$as_me: failed program was:" >&5
28681 sed 's/^/| /' conftest.$ac_ext >&5
28682
28683 ( exit $ac_status )
28684 ac_cv_header_zlib_h=no
28685 fi
28686 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28687 fi
28688
28689
28690
28691 fi
28692 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28693 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28694 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28695 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28696 if test "${ac_cv_header_zlib_h+set}" = set; then
28697 echo $ECHO_N "(cached) $ECHO_C" >&6
28698 else
28699 cat >conftest.$ac_ext <<_ACEOF
28700 /* confdefs.h. */
28701 _ACEOF
28702 cat confdefs.h >>conftest.$ac_ext
28703 cat >>conftest.$ac_ext <<_ACEOF
28704 /* end confdefs.h. */
28705
28706
28707 #include <zlib.h>
28708 _ACEOF
28709 rm -f conftest.$ac_objext
28710 if { (ac_try="$ac_compile"
28711 case "(($ac_try" in
28712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28713 *) ac_try_echo=$ac_try;;
28714 esac
28715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28716 (eval "$ac_compile") 2>conftest.er1
28717 ac_status=$?
28718 grep -v '^ *+' conftest.er1 >conftest.err
28719 rm -f conftest.er1
28720 cat conftest.err >&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); } && {
28723 test -z "$ac_c_werror_flag" ||
28724 test ! -s conftest.err
28725 } && test -s conftest.$ac_objext; then
28726 ac_cv_header_zlib_h=yes
28727 else
28728 echo "$as_me: failed program was:" >&5
28729 sed 's/^/| /' conftest.$ac_ext >&5
28730
28731 ac_cv_header_zlib_h=no
28732 fi
28733
28734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28735 fi
28736 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28737 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28738
28739
28740
28741 system_zlib_h_ok=$ac_cv_header_zlib_h
28742 fi
28743
28744 if test "$system_zlib_h_ok" = "yes"; then
28745 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28746 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28747 if test "${ac_cv_lib_z_deflate+set}" = set; then
28748 echo $ECHO_N "(cached) $ECHO_C" >&6
28749 else
28750 ac_check_lib_save_LIBS=$LIBS
28751 LIBS="-lz $LIBS"
28752 cat >conftest.$ac_ext <<_ACEOF
28753 /* confdefs.h. */
28754 _ACEOF
28755 cat confdefs.h >>conftest.$ac_ext
28756 cat >>conftest.$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28758
28759 /* Override any GCC internal prototype to avoid an error.
28760 Use char because int might match the return type of a GCC
28761 builtin and then its argument prototype would still apply. */
28762 #ifdef __cplusplus
28763 extern "C"
28764 #endif
28765 char deflate ();
28766 int
28767 main ()
28768 {
28769 return deflate ();
28770 ;
28771 return 0;
28772 }
28773 _ACEOF
28774 rm -f conftest.$ac_objext 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>conftest.er1
28782 ac_status=$?
28783 grep -v '^ *+' conftest.er1 >conftest.err
28784 rm -f conftest.er1
28785 cat conftest.err >&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); } && {
28788 test -z "$ac_c_werror_flag" ||
28789 test ! -s conftest.err
28790 } && test -s conftest$ac_exeext &&
28791 $as_test_x conftest$ac_exeext; then
28792 ac_cv_lib_z_deflate=yes
28793 else
28794 echo "$as_me: failed program was:" >&5
28795 sed 's/^/| /' conftest.$ac_ext >&5
28796
28797 ac_cv_lib_z_deflate=no
28798 fi
28799
28800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28801 conftest$ac_exeext conftest.$ac_ext
28802 LIBS=$ac_check_lib_save_LIBS
28803 fi
28804 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28805 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28806 if test $ac_cv_lib_z_deflate = yes; then
28807 ZLIB_LINK=" -lz"
28808 fi
28809
28810 fi
28811
28812 if test "x$ZLIB_LINK" = "x" ; then
28813 if test "$wxUSE_ZLIB" = "sys" ; then
28814 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28815 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28816 { (exit 1); exit 1; }; }
28817 else
28818 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28819 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28820 wxUSE_ZLIB=builtin
28821 fi
28822 else
28823 wxUSE_ZLIB=sys
28824 fi
28825 fi
28826 fi
28827
28828
28829 PNG_LINK=
28830 if test "$wxUSE_LIBPNG" != "no" ; then
28831 cat >>confdefs.h <<\_ACEOF
28832 #define wxUSE_LIBPNG 1
28833 _ACEOF
28834
28835
28836 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28837 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28838 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28839 wxUSE_LIBPNG=sys
28840 fi
28841
28842 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28843 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28844 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28845 wxUSE_LIBPNG=builtin
28846 fi
28847
28848 if test "$wxUSE_MGL" != 1 ; then
28849 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28850 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28851 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28852 if test "${ac_cv_header_png_h+set}" = set; then
28853 echo $ECHO_N "(cached) $ECHO_C" >&6
28854 else
28855 if test "$cross_compiling" = yes; then
28856 unset ac_cv_header_png_h
28857
28858 else
28859 cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h. */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28865
28866 #include <png.h>
28867 #include <stdio.h>
28868
28869 int main()
28870 {
28871 FILE *f=fopen("conftestval", "w");
28872 if (!f) exit(1);
28873 fprintf(f, "%s",
28874 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28875 exit(0);
28876 }
28877
28878 _ACEOF
28879 rm -f conftest$ac_exeext
28880 if { (ac_try="$ac_link"
28881 case "(($ac_try" in
28882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28883 *) ac_try_echo=$ac_try;;
28884 esac
28885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28886 (eval "$ac_link") 2>&5
28887 ac_status=$?
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
28896 ac_status=$?
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; }; then
28899 ac_cv_header_png_h=`cat conftestval`
28900 else
28901 echo "$as_me: program exited with status $ac_status" >&5
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.$ac_ext >&5
28904
28905 ( exit $ac_status )
28906 ac_cv_header_png_h=no
28907 fi
28908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28909 fi
28910
28911
28912
28913 fi
28914 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28915 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28916 { echo "$as_me:$LINENO: checking for png.h" >&5
28917 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28918 if test "${ac_cv_header_png_h+set}" = set; then
28919 echo $ECHO_N "(cached) $ECHO_C" >&6
28920 else
28921 cat >conftest.$ac_ext <<_ACEOF
28922 /* confdefs.h. */
28923 _ACEOF
28924 cat confdefs.h >>conftest.$ac_ext
28925 cat >>conftest.$ac_ext <<_ACEOF
28926 /* end confdefs.h. */
28927
28928
28929 #include <png.h>
28930 _ACEOF
28931 rm -f conftest.$ac_objext
28932 if { (ac_try="$ac_compile"
28933 case "(($ac_try" in
28934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28935 *) ac_try_echo=$ac_try;;
28936 esac
28937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28938 (eval "$ac_compile") 2>conftest.er1
28939 ac_status=$?
28940 grep -v '^ *+' conftest.er1 >conftest.err
28941 rm -f conftest.er1
28942 cat conftest.err >&5
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); } && {
28945 test -z "$ac_c_werror_flag" ||
28946 test ! -s conftest.err
28947 } && test -s conftest.$ac_objext; then
28948 ac_cv_header_png_h=yes
28949 else
28950 echo "$as_me: failed program was:" >&5
28951 sed 's/^/| /' conftest.$ac_ext >&5
28952
28953 ac_cv_header_png_h=no
28954 fi
28955
28956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28957 fi
28958 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28959 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28960
28961
28962
28963 if test "$ac_cv_header_png_h" = "yes"; then
28964 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28965 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28966 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28967 echo $ECHO_N "(cached) $ECHO_C" >&6
28968 else
28969 ac_check_lib_save_LIBS=$LIBS
28970 LIBS="-lpng -lz -lm $LIBS"
28971 cat >conftest.$ac_ext <<_ACEOF
28972 /* confdefs.h. */
28973 _ACEOF
28974 cat confdefs.h >>conftest.$ac_ext
28975 cat >>conftest.$ac_ext <<_ACEOF
28976 /* end confdefs.h. */
28977
28978 /* Override any GCC internal prototype to avoid an error.
28979 Use char because int might match the return type of a GCC
28980 builtin and then its argument prototype would still apply. */
28981 #ifdef __cplusplus
28982 extern "C"
28983 #endif
28984 char png_check_sig ();
28985 int
28986 main ()
28987 {
28988 return png_check_sig ();
28989 ;
28990 return 0;
28991 }
28992 _ACEOF
28993 rm -f conftest.$ac_objext conftest$ac_exeext
28994 if { (ac_try="$ac_link"
28995 case "(($ac_try" in
28996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28997 *) ac_try_echo=$ac_try;;
28998 esac
28999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29000 (eval "$ac_link") 2>conftest.er1
29001 ac_status=$?
29002 grep -v '^ *+' conftest.er1 >conftest.err
29003 rm -f conftest.er1
29004 cat conftest.err >&5
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); } && {
29007 test -z "$ac_c_werror_flag" ||
29008 test ! -s conftest.err
29009 } && test -s conftest$ac_exeext &&
29010 $as_test_x conftest$ac_exeext; then
29011 ac_cv_lib_png_png_check_sig=yes
29012 else
29013 echo "$as_me: failed program was:" >&5
29014 sed 's/^/| /' conftest.$ac_ext >&5
29015
29016 ac_cv_lib_png_png_check_sig=no
29017 fi
29018
29019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29020 conftest$ac_exeext conftest.$ac_ext
29021 LIBS=$ac_check_lib_save_LIBS
29022 fi
29023 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29024 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29025 if test $ac_cv_lib_png_png_check_sig = yes; then
29026 PNG_LINK=" -lpng -lz"
29027 fi
29028
29029 fi
29030
29031 if test "x$PNG_LINK" = "x" ; then
29032 if test "$wxUSE_LIBPNG" = "sys" ; then
29033 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29034 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29035 { (exit 1); exit 1; }; }
29036 else
29037 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29038 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29039 wxUSE_LIBPNG=builtin
29040 fi
29041 else
29042 wxUSE_LIBPNG=sys
29043 fi
29044 fi
29045 fi
29046 fi
29047
29048
29049 JPEG_LINK=
29050 if test "$wxUSE_LIBJPEG" != "no" ; then
29051 cat >>confdefs.h <<\_ACEOF
29052 #define wxUSE_LIBJPEG 1
29053 _ACEOF
29054
29055
29056 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29057 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29058 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29059 wxUSE_LIBJPEG=sys
29060 fi
29061
29062 if test "$wxUSE_MGL" != 1 ; then
29063 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29064 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29065 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29066 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29067 echo $ECHO_N "(cached) $ECHO_C" >&6
29068 else
29069 cat >conftest.$ac_ext <<_ACEOF
29070 /* confdefs.h. */
29071 _ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075
29076 #undef HAVE_STDLIB_H
29077 #include <stdio.h>
29078 #include <jpeglib.h>
29079
29080 int
29081 main ()
29082 {
29083
29084
29085 ;
29086 return 0;
29087 }
29088 _ACEOF
29089 rm -f conftest.$ac_objext
29090 if { (ac_try="$ac_compile"
29091 case "(($ac_try" in
29092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29093 *) ac_try_echo=$ac_try;;
29094 esac
29095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29096 (eval "$ac_compile") 2>conftest.er1
29097 ac_status=$?
29098 grep -v '^ *+' conftest.er1 >conftest.err
29099 rm -f conftest.er1
29100 cat conftest.err >&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); } && {
29103 test -z "$ac_c_werror_flag" ||
29104 test ! -s conftest.err
29105 } && test -s conftest.$ac_objext; then
29106 ac_cv_header_jpeglib_h=yes
29107 else
29108 echo "$as_me: failed program was:" >&5
29109 sed 's/^/| /' conftest.$ac_ext >&5
29110
29111 ac_cv_header_jpeglib_h=no
29112
29113 fi
29114
29115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29116
29117 fi
29118
29119 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29120 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29121
29122 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29123 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29124 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29125 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29126 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 else
29128 ac_check_lib_save_LIBS=$LIBS
29129 LIBS="-ljpeg $LIBS"
29130 cat >conftest.$ac_ext <<_ACEOF
29131 /* confdefs.h. */
29132 _ACEOF
29133 cat confdefs.h >>conftest.$ac_ext
29134 cat >>conftest.$ac_ext <<_ACEOF
29135 /* end confdefs.h. */
29136
29137 /* Override any GCC internal prototype to avoid an error.
29138 Use char because int might match the return type of a GCC
29139 builtin and then its argument prototype would still apply. */
29140 #ifdef __cplusplus
29141 extern "C"
29142 #endif
29143 char jpeg_read_header ();
29144 int
29145 main ()
29146 {
29147 return jpeg_read_header ();
29148 ;
29149 return 0;
29150 }
29151 _ACEOF
29152 rm -f conftest.$ac_objext conftest$ac_exeext
29153 if { (ac_try="$ac_link"
29154 case "(($ac_try" in
29155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29156 *) ac_try_echo=$ac_try;;
29157 esac
29158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29159 (eval "$ac_link") 2>conftest.er1
29160 ac_status=$?
29161 grep -v '^ *+' conftest.er1 >conftest.err
29162 rm -f conftest.er1
29163 cat conftest.err >&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); } && {
29166 test -z "$ac_c_werror_flag" ||
29167 test ! -s conftest.err
29168 } && test -s conftest$ac_exeext &&
29169 $as_test_x conftest$ac_exeext; then
29170 ac_cv_lib_jpeg_jpeg_read_header=yes
29171 else
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29174
29175 ac_cv_lib_jpeg_jpeg_read_header=no
29176 fi
29177
29178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29179 conftest$ac_exeext conftest.$ac_ext
29180 LIBS=$ac_check_lib_save_LIBS
29181 fi
29182 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29183 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29184 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29185 JPEG_LINK=" -ljpeg"
29186 fi
29187
29188 fi
29189
29190 if test "x$JPEG_LINK" = "x" ; then
29191 if test "$wxUSE_LIBJPEG" = "sys" ; then
29192 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29193 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29194 { (exit 1); exit 1; }; }
29195 else
29196 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29197 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29198 wxUSE_LIBJPEG=builtin
29199 fi
29200 else
29201 wxUSE_LIBJPEG=sys
29202
29203 if test "$wxUSE_MSW" = 1; then
29204 { echo "$as_me:$LINENO: checking for boolean" >&5
29205 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29206 if test "${ac_cv_type_boolean+set}" = set; then
29207 echo $ECHO_N "(cached) $ECHO_C" >&6
29208 else
29209 cat >conftest.$ac_ext <<_ACEOF
29210 /* confdefs.h. */
29211 _ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29215 #include <windows.h>
29216
29217 typedef boolean ac__type_new_;
29218 int
29219 main ()
29220 {
29221 if ((ac__type_new_ *) 0)
29222 return 0;
29223 if (sizeof (ac__type_new_))
29224 return 0;
29225 ;
29226 return 0;
29227 }
29228 _ACEOF
29229 rm -f conftest.$ac_objext
29230 if { (ac_try="$ac_compile"
29231 case "(($ac_try" in
29232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29233 *) ac_try_echo=$ac_try;;
29234 esac
29235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29236 (eval "$ac_compile") 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } && {
29243 test -z "$ac_c_werror_flag" ||
29244 test ! -s conftest.err
29245 } && test -s conftest.$ac_objext; then
29246 ac_cv_type_boolean=yes
29247 else
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.$ac_ext >&5
29250
29251 ac_cv_type_boolean=no
29252 fi
29253
29254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29255 fi
29256 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29257 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29258 if test $ac_cv_type_boolean = yes; then
29259
29260 cat >>confdefs.h <<_ACEOF
29261 #define HAVE_BOOLEAN 1
29262 _ACEOF
29263
29264
29265 { echo "$as_me:$LINENO: checking for boolean" >&5
29266 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29267 if test "${ac_cv_type_boolean+set}" = set; then
29268 echo $ECHO_N "(cached) $ECHO_C" >&6
29269 else
29270 cat >conftest.$ac_ext <<_ACEOF
29271 /* confdefs.h. */
29272 _ACEOF
29273 cat confdefs.h >>conftest.$ac_ext
29274 cat >>conftest.$ac_ext <<_ACEOF
29275 /* end confdefs.h. */
29276
29277 #undef HAVE_BOOLEAN
29278 #include <stdio.h>
29279 #include <jpeglib.h>
29280
29281
29282 typedef boolean ac__type_new_;
29283 int
29284 main ()
29285 {
29286 if ((ac__type_new_ *) 0)
29287 return 0;
29288 if (sizeof (ac__type_new_))
29289 return 0;
29290 ;
29291 return 0;
29292 }
29293 _ACEOF
29294 rm -f conftest.$ac_objext
29295 if { (ac_try="$ac_compile"
29296 case "(($ac_try" in
29297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29298 *) ac_try_echo=$ac_try;;
29299 esac
29300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29301 (eval "$ac_compile") 2>conftest.er1
29302 ac_status=$?
29303 grep -v '^ *+' conftest.er1 >conftest.err
29304 rm -f conftest.er1
29305 cat conftest.err >&5
29306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29307 (exit $ac_status); } && {
29308 test -z "$ac_c_werror_flag" ||
29309 test ! -s conftest.err
29310 } && test -s conftest.$ac_objext; then
29311 ac_cv_type_boolean=yes
29312 else
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.$ac_ext >&5
29315
29316 ac_cv_type_boolean=no
29317 fi
29318
29319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29320 fi
29321 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29322 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29323
29324 # The cast to long int works around a bug in the HP C Compiler
29325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29327 # This bug is HP SR number 8606223364.
29328 { echo "$as_me:$LINENO: checking size of boolean" >&5
29329 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29330 if test "${ac_cv_sizeof_boolean+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 else
29333 if test "$cross_compiling" = yes; then
29334 # Depending upon the size, compute the lo and hi bounds.
29335 cat >conftest.$ac_ext <<_ACEOF
29336 /* confdefs.h. */
29337 _ACEOF
29338 cat confdefs.h >>conftest.$ac_ext
29339 cat >>conftest.$ac_ext <<_ACEOF
29340 /* end confdefs.h. */
29341
29342 #undef HAVE_BOOLEAN
29343 #include <stdio.h>
29344 #include <jpeglib.h>
29345
29346
29347 typedef boolean ac__type_sizeof_;
29348 int
29349 main ()
29350 {
29351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29352 test_array [0] = 0
29353
29354 ;
29355 return 0;
29356 }
29357 _ACEOF
29358 rm -f conftest.$ac_objext
29359 if { (ac_try="$ac_compile"
29360 case "(($ac_try" in
29361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29362 *) ac_try_echo=$ac_try;;
29363 esac
29364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29365 (eval "$ac_compile") 2>conftest.er1
29366 ac_status=$?
29367 grep -v '^ *+' conftest.er1 >conftest.err
29368 rm -f conftest.er1
29369 cat conftest.err >&5
29370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29371 (exit $ac_status); } && {
29372 test -z "$ac_c_werror_flag" ||
29373 test ! -s conftest.err
29374 } && test -s conftest.$ac_objext; then
29375 ac_lo=0 ac_mid=0
29376 while :; do
29377 cat >conftest.$ac_ext <<_ACEOF
29378 /* confdefs.h. */
29379 _ACEOF
29380 cat confdefs.h >>conftest.$ac_ext
29381 cat >>conftest.$ac_ext <<_ACEOF
29382 /* end confdefs.h. */
29383
29384 #undef HAVE_BOOLEAN
29385 #include <stdio.h>
29386 #include <jpeglib.h>
29387
29388
29389 typedef boolean ac__type_sizeof_;
29390 int
29391 main ()
29392 {
29393 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29394 test_array [0] = 0
29395
29396 ;
29397 return 0;
29398 }
29399 _ACEOF
29400 rm -f conftest.$ac_objext
29401 if { (ac_try="$ac_compile"
29402 case "(($ac_try" in
29403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29404 *) ac_try_echo=$ac_try;;
29405 esac
29406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29407 (eval "$ac_compile") 2>conftest.er1
29408 ac_status=$?
29409 grep -v '^ *+' conftest.er1 >conftest.err
29410 rm -f conftest.er1
29411 cat conftest.err >&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); } && {
29414 test -z "$ac_c_werror_flag" ||
29415 test ! -s conftest.err
29416 } && test -s conftest.$ac_objext; then
29417 ac_hi=$ac_mid; break
29418 else
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29421
29422 ac_lo=`expr $ac_mid + 1`
29423 if test $ac_lo -le $ac_mid; then
29424 ac_lo= ac_hi=
29425 break
29426 fi
29427 ac_mid=`expr 2 '*' $ac_mid + 1`
29428 fi
29429
29430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29431 done
29432 else
29433 echo "$as_me: failed program was:" >&5
29434 sed 's/^/| /' conftest.$ac_ext >&5
29435
29436 cat >conftest.$ac_ext <<_ACEOF
29437 /* confdefs.h. */
29438 _ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442
29443 #undef HAVE_BOOLEAN
29444 #include <stdio.h>
29445 #include <jpeglib.h>
29446
29447
29448 typedef boolean ac__type_sizeof_;
29449 int
29450 main ()
29451 {
29452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29453 test_array [0] = 0
29454
29455 ;
29456 return 0;
29457 }
29458 _ACEOF
29459 rm -f conftest.$ac_objext
29460 if { (ac_try="$ac_compile"
29461 case "(($ac_try" in
29462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29463 *) ac_try_echo=$ac_try;;
29464 esac
29465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29466 (eval "$ac_compile") 2>conftest.er1
29467 ac_status=$?
29468 grep -v '^ *+' conftest.er1 >conftest.err
29469 rm -f conftest.er1
29470 cat conftest.err >&5
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); } && {
29473 test -z "$ac_c_werror_flag" ||
29474 test ! -s conftest.err
29475 } && test -s conftest.$ac_objext; then
29476 ac_hi=-1 ac_mid=-1
29477 while :; do
29478 cat >conftest.$ac_ext <<_ACEOF
29479 /* confdefs.h. */
29480 _ACEOF
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29484
29485 #undef HAVE_BOOLEAN
29486 #include <stdio.h>
29487 #include <jpeglib.h>
29488
29489
29490 typedef boolean ac__type_sizeof_;
29491 int
29492 main ()
29493 {
29494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29495 test_array [0] = 0
29496
29497 ;
29498 return 0;
29499 }
29500 _ACEOF
29501 rm -f conftest.$ac_objext
29502 if { (ac_try="$ac_compile"
29503 case "(($ac_try" in
29504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29505 *) ac_try_echo=$ac_try;;
29506 esac
29507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29508 (eval "$ac_compile") 2>conftest.er1
29509 ac_status=$?
29510 grep -v '^ *+' conftest.er1 >conftest.err
29511 rm -f conftest.er1
29512 cat conftest.err >&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); } && {
29515 test -z "$ac_c_werror_flag" ||
29516 test ! -s conftest.err
29517 } && test -s conftest.$ac_objext; then
29518 ac_lo=$ac_mid; break
29519 else
29520 echo "$as_me: failed program was:" >&5
29521 sed 's/^/| /' conftest.$ac_ext >&5
29522
29523 ac_hi=`expr '(' $ac_mid ')' - 1`
29524 if test $ac_mid -le $ac_hi; then
29525 ac_lo= ac_hi=
29526 break
29527 fi
29528 ac_mid=`expr 2 '*' $ac_mid`
29529 fi
29530
29531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29532 done
29533 else
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 ac_lo= ac_hi=
29538 fi
29539
29540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29541 fi
29542
29543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29544 # Binary search between lo and hi bounds.
29545 while test "x$ac_lo" != "x$ac_hi"; do
29546 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29547 cat >conftest.$ac_ext <<_ACEOF
29548 /* confdefs.h. */
29549 _ACEOF
29550 cat confdefs.h >>conftest.$ac_ext
29551 cat >>conftest.$ac_ext <<_ACEOF
29552 /* end confdefs.h. */
29553
29554 #undef HAVE_BOOLEAN
29555 #include <stdio.h>
29556 #include <jpeglib.h>
29557
29558
29559 typedef boolean ac__type_sizeof_;
29560 int
29561 main ()
29562 {
29563 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29564 test_array [0] = 0
29565
29566 ;
29567 return 0;
29568 }
29569 _ACEOF
29570 rm -f conftest.$ac_objext
29571 if { (ac_try="$ac_compile"
29572 case "(($ac_try" in
29573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29574 *) ac_try_echo=$ac_try;;
29575 esac
29576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29577 (eval "$ac_compile") 2>conftest.er1
29578 ac_status=$?
29579 grep -v '^ *+' conftest.er1 >conftest.err
29580 rm -f conftest.er1
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } && {
29584 test -z "$ac_c_werror_flag" ||
29585 test ! -s conftest.err
29586 } && test -s conftest.$ac_objext; then
29587 ac_hi=$ac_mid
29588 else
29589 echo "$as_me: failed program was:" >&5
29590 sed 's/^/| /' conftest.$ac_ext >&5
29591
29592 ac_lo=`expr '(' $ac_mid ')' + 1`
29593 fi
29594
29595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29596 done
29597 case $ac_lo in
29598 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29599 '') if test "$ac_cv_type_boolean" = yes; then
29600 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29601 See \`config.log' for more details." >&5
29602 echo "$as_me: error: cannot compute sizeof (boolean)
29603 See \`config.log' for more details." >&2;}
29604 { (exit 77); exit 77; }; }
29605 else
29606 ac_cv_sizeof_boolean=0
29607 fi ;;
29608 esac
29609 else
29610 cat >conftest.$ac_ext <<_ACEOF
29611 /* confdefs.h. */
29612 _ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29616
29617 #undef HAVE_BOOLEAN
29618 #include <stdio.h>
29619 #include <jpeglib.h>
29620
29621
29622 typedef boolean ac__type_sizeof_;
29623 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29624 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29625 #include <stdio.h>
29626 #include <stdlib.h>
29627 int
29628 main ()
29629 {
29630
29631 FILE *f = fopen ("conftest.val", "w");
29632 if (! f)
29633 return 1;
29634 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29635 {
29636 long int i = longval ();
29637 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29638 return 1;
29639 fprintf (f, "%ld\n", i);
29640 }
29641 else
29642 {
29643 unsigned long int i = ulongval ();
29644 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29645 return 1;
29646 fprintf (f, "%lu\n", i);
29647 }
29648 return ferror (f) || fclose (f) != 0;
29649
29650 ;
29651 return 0;
29652 }
29653 _ACEOF
29654 rm -f conftest$ac_exeext
29655 if { (ac_try="$ac_link"
29656 case "(($ac_try" in
29657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29658 *) ac_try_echo=$ac_try;;
29659 esac
29660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29661 (eval "$ac_link") 2>&5
29662 ac_status=$?
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29665 { (case "(($ac_try" in
29666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29667 *) ac_try_echo=$ac_try;;
29668 esac
29669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29670 (eval "$ac_try") 2>&5
29671 ac_status=$?
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; }; then
29674 ac_cv_sizeof_boolean=`cat conftest.val`
29675 else
29676 echo "$as_me: program exited with status $ac_status" >&5
29677 echo "$as_me: failed program was:" >&5
29678 sed 's/^/| /' conftest.$ac_ext >&5
29679
29680 ( exit $ac_status )
29681 if test "$ac_cv_type_boolean" = yes; then
29682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29683 See \`config.log' for more details." >&5
29684 echo "$as_me: error: cannot compute sizeof (boolean)
29685 See \`config.log' for more details." >&2;}
29686 { (exit 77); exit 77; }; }
29687 else
29688 ac_cv_sizeof_boolean=0
29689 fi
29690 fi
29691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29692 fi
29693 rm -f conftest.val
29694 fi
29695 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29696 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29697
29698
29699
29700 cat >>confdefs.h <<_ACEOF
29701 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29702 _ACEOF
29703
29704
29705 cat >>confdefs.h <<_ACEOF
29706 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29707 _ACEOF
29708
29709
29710 fi
29711
29712 fi
29713 fi
29714 fi
29715 fi
29716 fi
29717
29718
29719 TIFF_LINK=
29720 TIFF_PREREQ_LINKS=-lm
29721 if test "$wxUSE_LIBTIFF" != "no" ; then
29722 cat >>confdefs.h <<\_ACEOF
29723 #define wxUSE_LIBTIFF 1
29724 _ACEOF
29725
29726
29727 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29728 if test "$wxUSE_LIBJPEG" = "sys"; then
29729 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29730 fi
29731 if test "$wxUSE_ZLIB" = "sys"; then
29732 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29733 fi
29734 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29735 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29736 if test "${ac_cv_header_tiffio_h+set}" = set; then
29737 echo $ECHO_N "(cached) $ECHO_C" >&6
29738 else
29739 cat >conftest.$ac_ext <<_ACEOF
29740 /* confdefs.h. */
29741 _ACEOF
29742 cat confdefs.h >>conftest.$ac_ext
29743 cat >>conftest.$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29745
29746
29747
29748 #include <tiffio.h>
29749 _ACEOF
29750 rm -f conftest.$ac_objext
29751 if { (ac_try="$ac_compile"
29752 case "(($ac_try" in
29753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29754 *) ac_try_echo=$ac_try;;
29755 esac
29756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29757 (eval "$ac_compile") 2>conftest.er1
29758 ac_status=$?
29759 grep -v '^ *+' conftest.er1 >conftest.err
29760 rm -f conftest.er1
29761 cat conftest.err >&5
29762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29763 (exit $ac_status); } && {
29764 test -z "$ac_c_werror_flag" ||
29765 test ! -s conftest.err
29766 } && test -s conftest.$ac_objext; then
29767 ac_cv_header_tiffio_h=yes
29768 else
29769 echo "$as_me: failed program was:" >&5
29770 sed 's/^/| /' conftest.$ac_ext >&5
29771
29772 ac_cv_header_tiffio_h=no
29773 fi
29774
29775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29776 fi
29777 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29778 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29779 if test $ac_cv_header_tiffio_h = yes; then
29780
29781 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29782 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29783 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29784 echo $ECHO_N "(cached) $ECHO_C" >&6
29785 else
29786 ac_check_lib_save_LIBS=$LIBS
29787 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29788 cat >conftest.$ac_ext <<_ACEOF
29789 /* confdefs.h. */
29790 _ACEOF
29791 cat confdefs.h >>conftest.$ac_ext
29792 cat >>conftest.$ac_ext <<_ACEOF
29793 /* end confdefs.h. */
29794
29795 /* Override any GCC internal prototype to avoid an error.
29796 Use char because int might match the return type of a GCC
29797 builtin and then its argument prototype would still apply. */
29798 #ifdef __cplusplus
29799 extern "C"
29800 #endif
29801 char TIFFError ();
29802 int
29803 main ()
29804 {
29805 return TIFFError ();
29806 ;
29807 return 0;
29808 }
29809 _ACEOF
29810 rm -f conftest.$ac_objext conftest$ac_exeext
29811 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
29818 ac_status=$?
29819 grep -v '^ *+' conftest.er1 >conftest.err
29820 rm -f conftest.er1
29821 cat conftest.err >&5
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); } && {
29824 test -z "$ac_c_werror_flag" ||
29825 test ! -s conftest.err
29826 } && test -s conftest$ac_exeext &&
29827 $as_test_x conftest$ac_exeext; then
29828 ac_cv_lib_tiff_TIFFError=yes
29829 else
29830 echo "$as_me: failed program was:" >&5
29831 sed 's/^/| /' conftest.$ac_ext >&5
29832
29833 ac_cv_lib_tiff_TIFFError=no
29834 fi
29835
29836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29837 conftest$ac_exeext conftest.$ac_ext
29838 LIBS=$ac_check_lib_save_LIBS
29839 fi
29840 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29841 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29842 if test $ac_cv_lib_tiff_TIFFError = yes; then
29843 TIFF_LINK=" -ltiff"
29844 fi
29845
29846
29847 fi
29848
29849
29850
29851 if test "x$TIFF_LINK" = "x" ; then
29852 if test "$wxUSE_LIBTIFF" = "sys" ; then
29853 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29854 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29855 { (exit 1); exit 1; }; }
29856 else
29857 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29858 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29859 wxUSE_LIBTIFF=builtin
29860 fi
29861 else
29862 wxUSE_LIBTIFF=sys
29863 fi
29864 fi
29865 fi
29866
29867
29868 if test "$wxUSE_WCHAR_T" != "yes"; then
29869 if test "$wxUSE_EXPAT" != "no"; then
29870 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29871 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29872 wxUSE_EXPAT=no
29873 fi
29874 if test "$wxUSE_XML" != "no"; then
29875 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29876 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29877 wxUSE_XML=no
29878 fi
29879 fi
29880
29881 if test "$wxUSE_EXPAT" != "no"; then
29882 wxUSE_XML=yes
29883 cat >>confdefs.h <<\_ACEOF
29884 #define wxUSE_EXPAT 1
29885 _ACEOF
29886
29887 cat >>confdefs.h <<\_ACEOF
29888 #define wxUSE_XML 1
29889 _ACEOF
29890
29891
29892 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29893 { echo "$as_me:$LINENO: checking for expat.h" >&5
29894 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29895 if test "${ac_cv_header_expat_h+set}" = set; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29897 else
29898 cat >conftest.$ac_ext <<_ACEOF
29899 /* confdefs.h. */
29900 _ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904
29905
29906 #include <expat.h>
29907 _ACEOF
29908 rm -f conftest.$ac_objext
29909 if { (ac_try="$ac_compile"
29910 case "(($ac_try" in
29911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29912 *) ac_try_echo=$ac_try;;
29913 esac
29914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_compile") 2>conftest.er1
29916 ac_status=$?
29917 grep -v '^ *+' conftest.er1 >conftest.err
29918 rm -f conftest.er1
29919 cat conftest.err >&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); } && {
29922 test -z "$ac_c_werror_flag" ||
29923 test ! -s conftest.err
29924 } && test -s conftest.$ac_objext; then
29925 ac_cv_header_expat_h=yes
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29929
29930 ac_cv_header_expat_h=no
29931 fi
29932
29933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934 fi
29935 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29936 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29937 if test $ac_cv_header_expat_h = yes; then
29938 found_expat_h=1
29939 fi
29940
29941
29942 if test "x$found_expat_h" = "x1"; then
29943 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29944 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29945 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29946 echo $ECHO_N "(cached) $ECHO_C" >&6
29947 else
29948
29949 ac_ext=cpp
29950 ac_cpp='$CXXCPP $CPPFLAGS'
29951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29954
29955 cat >conftest.$ac_ext <<_ACEOF
29956 /* confdefs.h. */
29957 _ACEOF
29958 cat confdefs.h >>conftest.$ac_ext
29959 cat >>conftest.$ac_ext <<_ACEOF
29960 /* end confdefs.h. */
29961 #include <expat.h>
29962 int
29963 main ()
29964 {
29965
29966 ;
29967 return 0;
29968 }
29969 _ACEOF
29970 rm -f conftest.$ac_objext
29971 if { (ac_try="$ac_compile"
29972 case "(($ac_try" in
29973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29974 *) ac_try_echo=$ac_try;;
29975 esac
29976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29977 (eval "$ac_compile") 2>conftest.er1
29978 ac_status=$?
29979 grep -v '^ *+' conftest.er1 >conftest.err
29980 rm -f conftest.er1
29981 cat conftest.err >&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } && {
29984 test -z "$ac_cxx_werror_flag" ||
29985 test ! -s conftest.err
29986 } && test -s conftest.$ac_objext; then
29987 wx_cv_expat_is_not_broken=yes
29988 else
29989 echo "$as_me: failed program was:" >&5
29990 sed 's/^/| /' conftest.$ac_ext >&5
29991
29992 wx_cv_expat_is_not_broken=no
29993
29994 fi
29995
29996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29997 ac_ext=c
29998 ac_cpp='$CPP $CPPFLAGS'
29999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30002
30003
30004
30005 fi
30006 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30007 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30008 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30009 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30010 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30011 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30012 echo $ECHO_N "(cached) $ECHO_C" >&6
30013 else
30014 ac_check_lib_save_LIBS=$LIBS
30015 LIBS="-lexpat $LIBS"
30016 cat >conftest.$ac_ext <<_ACEOF
30017 /* confdefs.h. */
30018 _ACEOF
30019 cat confdefs.h >>conftest.$ac_ext
30020 cat >>conftest.$ac_ext <<_ACEOF
30021 /* end confdefs.h. */
30022
30023 /* Override any GCC internal prototype to avoid an error.
30024 Use char because int might match the return type of a GCC
30025 builtin and then its argument prototype would still apply. */
30026 #ifdef __cplusplus
30027 extern "C"
30028 #endif
30029 char XML_ParserCreate ();
30030 int
30031 main ()
30032 {
30033 return XML_ParserCreate ();
30034 ;
30035 return 0;
30036 }
30037 _ACEOF
30038 rm -f conftest.$ac_objext conftest$ac_exeext
30039 if { (ac_try="$ac_link"
30040 case "(($ac_try" in
30041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30042 *) ac_try_echo=$ac_try;;
30043 esac
30044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30045 (eval "$ac_link") 2>conftest.er1
30046 ac_status=$?
30047 grep -v '^ *+' conftest.er1 >conftest.err
30048 rm -f conftest.er1
30049 cat conftest.err >&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); } && {
30052 test -z "$ac_c_werror_flag" ||
30053 test ! -s conftest.err
30054 } && test -s conftest$ac_exeext &&
30055 $as_test_x conftest$ac_exeext; then
30056 ac_cv_lib_expat_XML_ParserCreate=yes
30057 else
30058 echo "$as_me: failed program was:" >&5
30059 sed 's/^/| /' conftest.$ac_ext >&5
30060
30061 ac_cv_lib_expat_XML_ParserCreate=no
30062 fi
30063
30064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30065 conftest$ac_exeext conftest.$ac_ext
30066 LIBS=$ac_check_lib_save_LIBS
30067 fi
30068 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30069 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30070 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30071 EXPAT_LINK=" -lexpat"
30072 fi
30073
30074 fi
30075 fi
30076 if test "x$EXPAT_LINK" = "x" ; then
30077 if test "$wxUSE_EXPAT" = "sys" ; then
30078 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30079 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30080 { (exit 1); exit 1; }; }
30081 else
30082 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30083 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30084 wxUSE_EXPAT=builtin
30085 fi
30086 else
30087 wxUSE_EXPAT=sys
30088 fi
30089 fi
30090 if test "$wxUSE_EXPAT" = "builtin" ; then
30091 subdirs="$subdirs src/expat"
30092
30093 fi
30094 fi
30095
30096
30097
30098 if test "$wxUSE_LIBMSPACK" != "no"; then
30099 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30100 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30101 if test "${ac_cv_header_mspack_h+set}" = set; then
30102 echo $ECHO_N "(cached) $ECHO_C" >&6
30103 else
30104 cat >conftest.$ac_ext <<_ACEOF
30105 /* confdefs.h. */
30106 _ACEOF
30107 cat confdefs.h >>conftest.$ac_ext
30108 cat >>conftest.$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30110
30111
30112 #include <mspack.h>
30113 _ACEOF
30114 rm -f conftest.$ac_objext
30115 if { (ac_try="$ac_compile"
30116 case "(($ac_try" in
30117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30118 *) ac_try_echo=$ac_try;;
30119 esac
30120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30121 (eval "$ac_compile") 2>conftest.er1
30122 ac_status=$?
30123 grep -v '^ *+' conftest.er1 >conftest.err
30124 rm -f conftest.er1
30125 cat conftest.err >&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } && {
30128 test -z "$ac_c_werror_flag" ||
30129 test ! -s conftest.err
30130 } && test -s conftest.$ac_objext; then
30131 ac_cv_header_mspack_h=yes
30132 else
30133 echo "$as_me: failed program was:" >&5
30134 sed 's/^/| /' conftest.$ac_ext >&5
30135
30136 ac_cv_header_mspack_h=no
30137 fi
30138
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140 fi
30141 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30142 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30143 if test $ac_cv_header_mspack_h = yes; then
30144 found_mspack_h=1
30145 fi
30146
30147
30148 if test "x$found_mspack_h" = "x1"; then
30149 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30150 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30151 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30152 echo $ECHO_N "(cached) $ECHO_C" >&6
30153 else
30154 ac_check_lib_save_LIBS=$LIBS
30155 LIBS="-lmspack $LIBS"
30156 cat >conftest.$ac_ext <<_ACEOF
30157 /* confdefs.h. */
30158 _ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30162
30163 /* Override any GCC internal prototype to avoid an error.
30164 Use char because int might match the return type of a GCC
30165 builtin and then its argument prototype would still apply. */
30166 #ifdef __cplusplus
30167 extern "C"
30168 #endif
30169 char mspack_create_chm_decompressor ();
30170 int
30171 main ()
30172 {
30173 return mspack_create_chm_decompressor ();
30174 ;
30175 return 0;
30176 }
30177 _ACEOF
30178 rm -f conftest.$ac_objext conftest$ac_exeext
30179 if { (ac_try="$ac_link"
30180 case "(($ac_try" in
30181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30182 *) ac_try_echo=$ac_try;;
30183 esac
30184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30185 (eval "$ac_link") 2>conftest.er1
30186 ac_status=$?
30187 grep -v '^ *+' conftest.er1 >conftest.err
30188 rm -f conftest.er1
30189 cat conftest.err >&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); } && {
30192 test -z "$ac_c_werror_flag" ||
30193 test ! -s conftest.err
30194 } && test -s conftest$ac_exeext &&
30195 $as_test_x conftest$ac_exeext; then
30196 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30197 else
30198 echo "$as_me: failed program was:" >&5
30199 sed 's/^/| /' conftest.$ac_ext >&5
30200
30201 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30202 fi
30203
30204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30205 conftest$ac_exeext conftest.$ac_ext
30206 LIBS=$ac_check_lib_save_LIBS
30207 fi
30208 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30209 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30210 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30211 MSPACK_LINK=" -lmspack"
30212 fi
30213
30214 fi
30215 if test "x$MSPACK_LINK" = "x" ; then
30216 wxUSE_LIBMSPACK=no
30217 fi
30218 fi
30219
30220 if test "$wxUSE_LIBMSPACK" != "no"; then
30221 cat >>confdefs.h <<\_ACEOF
30222 #define wxUSE_LIBMSPACK 1
30223 _ACEOF
30224
30225 fi
30226
30227
30228
30229 AFMINSTALL=
30230 WIN32INSTALL=
30231
30232 TOOLKIT=
30233 TOOLKIT_INCLUDE=
30234 WIDGET_SET=
30235
30236 if test "$USE_WIN32" = 1 ; then
30237
30238 for ac_header in w32api.h
30239 do
30240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30244 echo $ECHO_N "(cached) $ECHO_C" >&6
30245 else
30246 cat >conftest.$ac_ext <<_ACEOF
30247 /* confdefs.h. */
30248 _ACEOF
30249 cat confdefs.h >>conftest.$ac_ext
30250 cat >>conftest.$ac_ext <<_ACEOF
30251 /* end confdefs.h. */
30252
30253
30254 #include <$ac_header>
30255 _ACEOF
30256 rm -f conftest.$ac_objext
30257 if { (ac_try="$ac_compile"
30258 case "(($ac_try" in
30259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30260 *) ac_try_echo=$ac_try;;
30261 esac
30262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30263 (eval "$ac_compile") 2>conftest.er1
30264 ac_status=$?
30265 grep -v '^ *+' conftest.er1 >conftest.err
30266 rm -f conftest.er1
30267 cat conftest.err >&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); } && {
30270 test -z "$ac_c_werror_flag" ||
30271 test ! -s conftest.err
30272 } && test -s conftest.$ac_objext; then
30273 eval "$as_ac_Header=yes"
30274 else
30275 echo "$as_me: failed program was:" >&5
30276 sed 's/^/| /' conftest.$ac_ext >&5
30277
30278 eval "$as_ac_Header=no"
30279 fi
30280
30281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30282 fi
30283 ac_res=`eval echo '${'$as_ac_Header'}'`
30284 { echo "$as_me:$LINENO: result: $ac_res" >&5
30285 echo "${ECHO_T}$ac_res" >&6; }
30286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30287 cat >>confdefs.h <<_ACEOF
30288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30289 _ACEOF
30290
30291 fi
30292
30293 done
30294
30295 { echo "$as_me:$LINENO: checking for windows.h" >&5
30296 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30297 if test "${ac_cv_header_windows_h+set}" = set; then
30298 echo $ECHO_N "(cached) $ECHO_C" >&6
30299 else
30300 cat >conftest.$ac_ext <<_ACEOF
30301 /* confdefs.h. */
30302 _ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306
30307
30308 #include <windows.h>
30309 _ACEOF
30310 rm -f conftest.$ac_objext
30311 if { (ac_try="$ac_compile"
30312 case "(($ac_try" in
30313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30314 *) ac_try_echo=$ac_try;;
30315 esac
30316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30317 (eval "$ac_compile") 2>conftest.er1
30318 ac_status=$?
30319 grep -v '^ *+' conftest.er1 >conftest.err
30320 rm -f conftest.er1
30321 cat conftest.err >&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); } && {
30324 test -z "$ac_c_werror_flag" ||
30325 test ! -s conftest.err
30326 } && test -s conftest.$ac_objext; then
30327 ac_cv_header_windows_h=yes
30328 else
30329 echo "$as_me: failed program was:" >&5
30330 sed 's/^/| /' conftest.$ac_ext >&5
30331
30332 ac_cv_header_windows_h=no
30333 fi
30334
30335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30336 fi
30337 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30338 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30339 if test $ac_cv_header_windows_h = yes; then
30340 :
30341 else
30342
30343 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30344 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30345 { (exit 1); exit 1; }; }
30346
30347 fi
30348
30349
30350
30351 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30352
30353 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30354 LIBS="$LIBS -loleacc"
30355 fi
30356
30357 case "${host}" in
30358 *-*-cygwin* )
30359 LIBS="$LIBS -lkernel32 -luser32"
30360 esac
30361
30362 if test "$wxUSE_ODBC" = "sys" ; then
30363 wxUSE_ODBC = "yes"
30364 fi
30365 if test "$wxUSE_ODBC" = "yes" ; then
30366 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30367 cat >>confdefs.h <<\_ACEOF
30368 #define wxUSE_ODBC 1
30369 _ACEOF
30370
30371 fi
30372
30373 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30374 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30375
30376 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30377
30378 WIN32INSTALL=win32install
30379
30380 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30381 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30382 if test "${ac_cv_header_pbt_h+set}" = set; then
30383 echo $ECHO_N "(cached) $ECHO_C" >&6
30384 else
30385 cat >conftest.$ac_ext <<_ACEOF
30386 /* confdefs.h. */
30387 _ACEOF
30388 cat confdefs.h >>conftest.$ac_ext
30389 cat >>conftest.$ac_ext <<_ACEOF
30390 /* end confdefs.h. */
30391
30392
30393 #include <pbt.h>
30394 _ACEOF
30395 rm -f conftest.$ac_objext
30396 if { (ac_try="$ac_compile"
30397 case "(($ac_try" in
30398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30399 *) ac_try_echo=$ac_try;;
30400 esac
30401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30402 (eval "$ac_compile") 2>conftest.er1
30403 ac_status=$?
30404 grep -v '^ *+' conftest.er1 >conftest.err
30405 rm -f conftest.er1
30406 cat conftest.err >&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); } && {
30409 test -z "$ac_c_werror_flag" ||
30410 test ! -s conftest.err
30411 } && test -s conftest.$ac_objext; then
30412 ac_cv_header_pbt_h=yes
30413 else
30414 echo "$as_me: failed program was:" >&5
30415 sed 's/^/| /' conftest.$ac_ext >&5
30416
30417 ac_cv_header_pbt_h=no
30418 fi
30419
30420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30421 fi
30422 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30423 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30424 if test $ac_cv_header_pbt_h = yes; then
30425 :
30426 else
30427 cat >>confdefs.h <<\_ACEOF
30428 #define NEED_PBT_H 1
30429 _ACEOF
30430
30431 fi
30432
30433
30434 fi
30435
30436 if test "$wxUSE_GUI" = "yes"; then
30437 USE_GUI=1
30438
30439 GUI_TK_LIBRARY=
30440
30441 WXGTK12=
30442 WXGTK127=
30443 WXGTK20=
30444 WXGPE=
30445
30446 if test "$wxUSE_COCOA" = 1 ; then
30447 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30448 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30449 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30450 wxUSE_PRINTING_ARCHITECTURE=no
30451 fi
30452 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30453 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30454 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30455 wxUSE_DRAG_AND_DROP=no
30456 fi
30457 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30458 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30459 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30460 wxUSE_DRAGIMAGE=no
30461 fi
30462 fi
30463
30464 if test "$wxUSE_MSW" = 1 ; then
30465 TOOLKIT=MSW
30466 GUIDIST=MSW_DIST
30467
30468 case "${host}" in
30469 *-*-mingw32* )
30470 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30471 esac
30472 fi
30473
30474 if test "$wxUSE_GTK" = 1; then
30475 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30476 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30477
30478 gtk_version_cached=1
30479 if test "${wx_cv_lib_gtk+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482
30483 gtk_version_cached=0
30484 { echo "$as_me:$LINENO: result: " >&5
30485 echo "${ECHO_T}" >&6; }
30486
30487 GTK_MODULES=
30488 if test "$wxUSE_THREADS" = "yes"; then
30489 GTK_MODULES=gthread
30490 fi
30491
30492 wx_cv_lib_gtk=
30493 if test "x$wxGTK_VERSION" != "x1"
30494 then
30495 case "${host}" in
30496 *-*-solaris2* )
30497 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30498 enable_gtktest=no
30499 fi
30500 esac
30501
30502 # Check whether --enable-gtktest was given.
30503 if test "${enable_gtktest+set}" = set; then
30504 enableval=$enable_gtktest;
30505 else
30506 enable_gtktest=yes
30507 fi
30508
30509
30510 pkg_config_args=gtk+-2.0
30511 for module in . $GTK_MODULES
30512 do
30513 case "$module" in
30514 gthread)
30515 pkg_config_args="$pkg_config_args gthread-2.0"
30516 ;;
30517 esac
30518 done
30519
30520 no_gtk=""
30521
30522 # Extract the first word of "pkg-config", so it can be a program name with args.
30523 set dummy pkg-config; ac_word=$2
30524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30526 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30528 else
30529 case $PKG_CONFIG in
30530 [\\/]* | ?:[\\/]*)
30531 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30532 ;;
30533 *)
30534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30535 for as_dir in $PATH
30536 do
30537 IFS=$as_save_IFS
30538 test -z "$as_dir" && as_dir=.
30539 for ac_exec_ext in '' $ac_executable_extensions; do
30540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30541 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30543 break 2
30544 fi
30545 done
30546 done
30547 IFS=$as_save_IFS
30548
30549 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30550 ;;
30551 esac
30552 fi
30553 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30554 if test -n "$PKG_CONFIG"; then
30555 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30556 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30557 else
30558 { echo "$as_me:$LINENO: result: no" >&5
30559 echo "${ECHO_T}no" >&6; }
30560 fi
30561
30562
30563
30564 if test x$PKG_CONFIG != xno ; then
30565 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30566 :
30567 else
30568 echo "*** pkg-config too old; version 0.7 or better required."
30569 no_gtk=yes
30570 PKG_CONFIG=no
30571 fi
30572 else
30573 no_gtk=yes
30574 fi
30575
30576 min_gtk_version=2.0.0
30577 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30578 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30579
30580 if test x$PKG_CONFIG != xno ; then
30581 ## don't try to run the test against uninstalled libtool libs
30582 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30583 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30584 enable_gtktest=no
30585 fi
30586
30587 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30588 :
30589 else
30590 no_gtk=yes
30591 fi
30592 fi
30593
30594 if test x"$no_gtk" = x ; then
30595 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30596 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30597 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30599 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30601 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30603 if test "x$enable_gtktest" = "xyes" ; then
30604 ac_save_CFLAGS="$CFLAGS"
30605 ac_save_LIBS="$LIBS"
30606 CFLAGS="$CFLAGS $GTK_CFLAGS"
30607 LIBS="$GTK_LIBS $LIBS"
30608 rm -f conf.gtktest
30609 if test "$cross_compiling" = yes; then
30610 echo $ac_n "cross compiling; assumed OK... $ac_c"
30611 else
30612 cat >conftest.$ac_ext <<_ACEOF
30613 /* confdefs.h. */
30614 _ACEOF
30615 cat confdefs.h >>conftest.$ac_ext
30616 cat >>conftest.$ac_ext <<_ACEOF
30617 /* end confdefs.h. */
30618
30619 #include <gtk/gtk.h>
30620 #include <stdio.h>
30621 #include <stdlib.h>
30622
30623 int
30624 main ()
30625 {
30626 int major, minor, micro;
30627 char *tmp_version;
30628
30629 system ("touch conf.gtktest");
30630
30631 /* HP/UX 9 (%@#!) writes to sscanf strings */
30632 tmp_version = g_strdup("$min_gtk_version");
30633 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30634 printf("%s, bad version string\n", "$min_gtk_version");
30635 exit(1);
30636 }
30637
30638 if ((gtk_major_version != $gtk_config_major_version) ||
30639 (gtk_minor_version != $gtk_config_minor_version) ||
30640 (gtk_micro_version != $gtk_config_micro_version))
30641 {
30642 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30643 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30644 gtk_major_version, gtk_minor_version, gtk_micro_version);
30645 printf ("*** was found! If pkg-config was correct, then it is best\n");
30646 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30647 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30648 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30649 printf("*** required on your system.\n");
30650 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30651 printf("*** to point to the correct configuration files\n");
30652 }
30653 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30654 (gtk_minor_version != GTK_MINOR_VERSION) ||
30655 (gtk_micro_version != GTK_MICRO_VERSION))
30656 {
30657 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30658 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30659 printf("*** library (version %d.%d.%d)\n",
30660 gtk_major_version, gtk_minor_version, gtk_micro_version);
30661 }
30662 else
30663 {
30664 if ((gtk_major_version > major) ||
30665 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30666 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30667 {
30668 return 0;
30669 }
30670 else
30671 {
30672 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30673 gtk_major_version, gtk_minor_version, gtk_micro_version);
30674 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30675 major, minor, micro);
30676 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30677 printf("***\n");
30678 printf("*** If you have already installed a sufficiently new version, this error\n");
30679 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30680 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30681 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30682 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30683 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30684 printf("*** so that the correct libraries are found at run-time))\n");
30685 }
30686 }
30687 return 1;
30688 }
30689
30690 _ACEOF
30691 rm -f conftest$ac_exeext
30692 if { (ac_try="$ac_link"
30693 case "(($ac_try" in
30694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30695 *) ac_try_echo=$ac_try;;
30696 esac
30697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30698 (eval "$ac_link") 2>&5
30699 ac_status=$?
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30702 { (case "(($ac_try" in
30703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30704 *) ac_try_echo=$ac_try;;
30705 esac
30706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30707 (eval "$ac_try") 2>&5
30708 ac_status=$?
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); }; }; then
30711 :
30712 else
30713 echo "$as_me: program exited with status $ac_status" >&5
30714 echo "$as_me: failed program was:" >&5
30715 sed 's/^/| /' conftest.$ac_ext >&5
30716
30717 ( exit $ac_status )
30718 no_gtk=yes
30719 fi
30720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30721 fi
30722
30723
30724 CFLAGS="$ac_save_CFLAGS"
30725 LIBS="$ac_save_LIBS"
30726 fi
30727 fi
30728 if test "x$no_gtk" = x ; then
30729 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30730 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30731 wx_cv_lib_gtk=2.0
30732 else
30733 { echo "$as_me:$LINENO: result: no" >&5
30734 echo "${ECHO_T}no" >&6; }
30735 if test "$PKG_CONFIG" = "no" ; then
30736 echo "*** A new enough version of pkg-config was not found."
30737 echo "*** See http://pkgconfig.sourceforge.net"
30738 else
30739 if test -f conf.gtktest ; then
30740 :
30741 else
30742 echo "*** Could not run GTK+ test program, checking why..."
30743 ac_save_CFLAGS="$CFLAGS"
30744 ac_save_LIBS="$LIBS"
30745 CFLAGS="$CFLAGS $GTK_CFLAGS"
30746 LIBS="$LIBS $GTK_LIBS"
30747 cat >conftest.$ac_ext <<_ACEOF
30748 /* confdefs.h. */
30749 _ACEOF
30750 cat confdefs.h >>conftest.$ac_ext
30751 cat >>conftest.$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30753
30754 #include <gtk/gtk.h>
30755 #include <stdio.h>
30756
30757 int
30758 main ()
30759 {
30760 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30761 ;
30762 return 0;
30763 }
30764 _ACEOF
30765 rm -f conftest.$ac_objext conftest$ac_exeext
30766 if { (ac_try="$ac_link"
30767 case "(($ac_try" in
30768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30769 *) ac_try_echo=$ac_try;;
30770 esac
30771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30772 (eval "$ac_link") 2>conftest.er1
30773 ac_status=$?
30774 grep -v '^ *+' conftest.er1 >conftest.err
30775 rm -f conftest.er1
30776 cat conftest.err >&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } && {
30779 test -z "$ac_c_werror_flag" ||
30780 test ! -s conftest.err
30781 } && test -s conftest$ac_exeext &&
30782 $as_test_x conftest$ac_exeext; then
30783 echo "*** The test program compiled, but did not run. This usually means"
30784 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30785 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30786 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30787 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30788 echo "*** is required on your system"
30789 echo "***"
30790 echo "*** If you have an old version installed, it is best to remove it, although"
30791 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30792 else
30793 echo "$as_me: failed program was:" >&5
30794 sed 's/^/| /' conftest.$ac_ext >&5
30795
30796 echo "*** The test program failed to compile or link. See the file config.log for the"
30797 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30798 fi
30799
30800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30801 conftest$ac_exeext conftest.$ac_ext
30802 CFLAGS="$ac_save_CFLAGS"
30803 LIBS="$ac_save_LIBS"
30804 fi
30805 fi
30806 GTK_CFLAGS=""
30807 GTK_LIBS=""
30808 :
30809 fi
30810
30811
30812 rm -f conf.gtktest
30813
30814
30815 case "${host}" in
30816 *-*-solaris2* )
30817 if test "$wxUSE_SHARED" != "yes"; then
30818 GTK_LIBS="$GTK_LIBS -lX11"
30819 fi
30820 esac
30821 fi
30822
30823 if test -z "$wx_cv_lib_gtk"; then
30824 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30825
30826 # Check whether --with-gtk-prefix was given.
30827 if test "${with_gtk_prefix+set}" = set; then
30828 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30829 else
30830 gtk_config_prefix=""
30831 fi
30832
30833
30834 # Check whether --with-gtk-exec-prefix was given.
30835 if test "${with_gtk_exec_prefix+set}" = set; then
30836 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30837 else
30838 gtk_config_exec_prefix=""
30839 fi
30840
30841 # Check whether --enable-gtktest was given.
30842 if test "${enable_gtktest+set}" = set; then
30843 enableval=$enable_gtktest;
30844 else
30845 enable_gtktest=yes
30846 fi
30847
30848
30849 for module in . $GTK_MODULES
30850 do
30851 case "$module" in
30852 gthread)
30853 gtk_config_args="$gtk_config_args gthread"
30854 ;;
30855 esac
30856 done
30857
30858 if test x$gtk_config_exec_prefix != x ; then
30859 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30860 if test x${GTK_CONFIG+set} != xset ; then
30861 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30862 fi
30863 fi
30864 if test x$gtk_config_prefix != x ; then
30865 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30866 if test x${GTK_CONFIG+set} != xset ; then
30867 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30868 fi
30869 fi
30870
30871 # Extract the first word of "gtk-config", so it can be a program name with args.
30872 set dummy gtk-config; ac_word=$2
30873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30875 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30876 echo $ECHO_N "(cached) $ECHO_C" >&6
30877 else
30878 case $GTK_CONFIG in
30879 [\\/]* | ?:[\\/]*)
30880 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30881 ;;
30882 *)
30883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30884 for as_dir in $PATH
30885 do
30886 IFS=$as_save_IFS
30887 test -z "$as_dir" && as_dir=.
30888 for ac_exec_ext in '' $ac_executable_extensions; do
30889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30890 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30892 break 2
30893 fi
30894 done
30895 done
30896 IFS=$as_save_IFS
30897
30898 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30899 ;;
30900 esac
30901 fi
30902 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30903 if test -n "$GTK_CONFIG"; then
30904 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30905 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30906 else
30907 { echo "$as_me:$LINENO: result: no" >&5
30908 echo "${ECHO_T}no" >&6; }
30909 fi
30910
30911
30912 min_gtk_version=1.2.7
30913 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30914 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30915 no_gtk=""
30916 if test "$GTK_CONFIG" = "no" ; then
30917 no_gtk=yes
30918 else
30919 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30920 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30921 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30923 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30925 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30927 if test "x$enable_gtktest" = "xyes" ; then
30928 ac_save_CFLAGS="$CFLAGS"
30929 ac_save_LIBS="$LIBS"
30930 CFLAGS="$CFLAGS $GTK_CFLAGS"
30931 LIBS="$GTK_LIBS $LIBS"
30932 rm -f conf.gtktest
30933 if test "$cross_compiling" = yes; then
30934 echo $ac_n "cross compiling; assumed OK... $ac_c"
30935 else
30936 cat >conftest.$ac_ext <<_ACEOF
30937 /* confdefs.h. */
30938 _ACEOF
30939 cat confdefs.h >>conftest.$ac_ext
30940 cat >>conftest.$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942
30943 #include <gtk/gtk.h>
30944 #include <stdio.h>
30945 #include <stdlib.h>
30946
30947 int
30948 main ()
30949 {
30950 int major, minor, micro;
30951 char *tmp_version;
30952
30953 system ("touch conf.gtktest");
30954
30955 /* HP/UX 9 (%@#!) writes to sscanf strings */
30956 tmp_version = g_strdup("$min_gtk_version");
30957 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30958 printf("%s, bad version string\n", "$min_gtk_version");
30959 exit(1);
30960 }
30961
30962 if ((gtk_major_version != $gtk_config_major_version) ||
30963 (gtk_minor_version != $gtk_config_minor_version) ||
30964 (gtk_micro_version != $gtk_config_micro_version))
30965 {
30966 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30967 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30968 gtk_major_version, gtk_minor_version, gtk_micro_version);
30969 printf ("*** was found! If gtk-config was correct, then it is best\n");
30970 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30971 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30972 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30973 printf("*** required on your system.\n");
30974 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30975 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30976 printf("*** before re-running configure\n");
30977 }
30978 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30979 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30980 (gtk_minor_version != GTK_MINOR_VERSION) ||
30981 (gtk_micro_version != GTK_MICRO_VERSION))
30982 {
30983 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30984 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30985 printf("*** library (version %d.%d.%d)\n",
30986 gtk_major_version, gtk_minor_version, gtk_micro_version);
30987 }
30988 #endif /* defined (GTK_MAJOR_VERSION) ... */
30989 else
30990 {
30991 if ((gtk_major_version > major) ||
30992 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30993 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30994 {
30995 return 0;
30996 }
30997 else
30998 {
30999 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31000 gtk_major_version, gtk_minor_version, gtk_micro_version);
31001 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31002 major, minor, micro);
31003 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31004 printf("***\n");
31005 printf("*** If you have already installed a sufficiently new version, this error\n");
31006 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31007 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31008 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31009 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31010 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31011 printf("*** so that the correct libraries are found at run-time))\n");
31012 }
31013 }
31014 return 1;
31015 }
31016
31017 _ACEOF
31018 rm -f conftest$ac_exeext
31019 if { (ac_try="$ac_link"
31020 case "(($ac_try" in
31021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31022 *) ac_try_echo=$ac_try;;
31023 esac
31024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31025 (eval "$ac_link") 2>&5
31026 ac_status=$?
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31029 { (case "(($ac_try" in
31030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31031 *) ac_try_echo=$ac_try;;
31032 esac
31033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31034 (eval "$ac_try") 2>&5
31035 ac_status=$?
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; }; then
31038 :
31039 else
31040 echo "$as_me: program exited with status $ac_status" >&5
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.$ac_ext >&5
31043
31044 ( exit $ac_status )
31045 no_gtk=yes
31046 fi
31047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31048 fi
31049
31050
31051 CFLAGS="$ac_save_CFLAGS"
31052 LIBS="$ac_save_LIBS"
31053 fi
31054 fi
31055 if test "x$no_gtk" = x ; then
31056 { echo "$as_me:$LINENO: result: yes" >&5
31057 echo "${ECHO_T}yes" >&6; }
31058 wx_cv_lib_gtk=1.2.7
31059 else
31060 { echo "$as_me:$LINENO: result: no" >&5
31061 echo "${ECHO_T}no" >&6; }
31062 if test "$GTK_CONFIG" = "no" ; then
31063 echo "*** The gtk-config script installed by GTK could not be found"
31064 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31065 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31066 echo "*** full path to gtk-config."
31067 else
31068 if test -f conf.gtktest ; then
31069 :
31070 else
31071 echo "*** Could not run GTK test program, checking why..."
31072 CFLAGS="$CFLAGS $GTK_CFLAGS"
31073 LIBS="$LIBS $GTK_LIBS"
31074 cat >conftest.$ac_ext <<_ACEOF
31075 /* confdefs.h. */
31076 _ACEOF
31077 cat confdefs.h >>conftest.$ac_ext
31078 cat >>conftest.$ac_ext <<_ACEOF
31079 /* end confdefs.h. */
31080
31081 #include <gtk/gtk.h>
31082 #include <stdio.h>
31083
31084 int
31085 main ()
31086 {
31087 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31088 ;
31089 return 0;
31090 }
31091 _ACEOF
31092 rm -f conftest.$ac_objext conftest$ac_exeext
31093 if { (ac_try="$ac_link"
31094 case "(($ac_try" in
31095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31096 *) ac_try_echo=$ac_try;;
31097 esac
31098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31099 (eval "$ac_link") 2>conftest.er1
31100 ac_status=$?
31101 grep -v '^ *+' conftest.er1 >conftest.err
31102 rm -f conftest.er1
31103 cat conftest.err >&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); } && {
31106 test -z "$ac_c_werror_flag" ||
31107 test ! -s conftest.err
31108 } && test -s conftest$ac_exeext &&
31109 $as_test_x conftest$ac_exeext; then
31110 echo "*** The test program compiled, but did not run. This usually means"
31111 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31112 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31113 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31114 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31115 echo "*** is required on your system"
31116 echo "***"
31117 echo "*** If you have an old version installed, it is best to remove it, although"
31118 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31119 echo "***"
31120 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31121 echo "*** came with the system with the command"
31122 echo "***"
31123 echo "*** rpm --erase --nodeps gtk gtk-devel"
31124 else
31125 echo "$as_me: failed program was:" >&5
31126 sed 's/^/| /' conftest.$ac_ext >&5
31127
31128 echo "*** The test program failed to compile or link. See the file config.log for the"
31129 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31130 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31131 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31132 fi
31133
31134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31135 conftest$ac_exeext conftest.$ac_ext
31136 CFLAGS="$ac_save_CFLAGS"
31137 LIBS="$ac_save_LIBS"
31138 fi
31139 fi
31140 GTK_CFLAGS=""
31141 GTK_LIBS=""
31142 :
31143 fi
31144
31145
31146 rm -f conf.gtktest
31147
31148
31149 if test -z "$wx_cv_lib_gtk"; then
31150
31151 # Check whether --with-gtk-prefix was given.
31152 if test "${with_gtk_prefix+set}" = set; then
31153 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31154 else
31155 gtk_config_prefix=""
31156 fi
31157
31158
31159 # Check whether --with-gtk-exec-prefix was given.
31160 if test "${with_gtk_exec_prefix+set}" = set; then
31161 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31162 else
31163 gtk_config_exec_prefix=""
31164 fi
31165
31166 # Check whether --enable-gtktest was given.
31167 if test "${enable_gtktest+set}" = set; then
31168 enableval=$enable_gtktest;
31169 else
31170 enable_gtktest=yes
31171 fi
31172
31173
31174 for module in . $GTK_MODULES
31175 do
31176 case "$module" in
31177 gthread)
31178 gtk_config_args="$gtk_config_args gthread"
31179 ;;
31180 esac
31181 done
31182
31183 if test x$gtk_config_exec_prefix != x ; then
31184 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31185 if test x${GTK_CONFIG+set} != xset ; then
31186 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31187 fi
31188 fi
31189 if test x$gtk_config_prefix != x ; then
31190 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31191 if test x${GTK_CONFIG+set} != xset ; then
31192 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31193 fi
31194 fi
31195
31196 # Extract the first word of "gtk-config", so it can be a program name with args.
31197 set dummy gtk-config; ac_word=$2
31198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31200 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31201 echo $ECHO_N "(cached) $ECHO_C" >&6
31202 else
31203 case $GTK_CONFIG in
31204 [\\/]* | ?:[\\/]*)
31205 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31206 ;;
31207 *)
31208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31209 for as_dir in $PATH
31210 do
31211 IFS=$as_save_IFS
31212 test -z "$as_dir" && as_dir=.
31213 for ac_exec_ext in '' $ac_executable_extensions; do
31214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31215 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31217 break 2
31218 fi
31219 done
31220 done
31221 IFS=$as_save_IFS
31222
31223 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31224 ;;
31225 esac
31226 fi
31227 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31228 if test -n "$GTK_CONFIG"; then
31229 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31230 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31231 else
31232 { echo "$as_me:$LINENO: result: no" >&5
31233 echo "${ECHO_T}no" >&6; }
31234 fi
31235
31236
31237 min_gtk_version=1.2.3
31238 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31239 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31240 no_gtk=""
31241 if test "$GTK_CONFIG" = "no" ; then
31242 no_gtk=yes
31243 else
31244 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31245 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31246 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31248 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31250 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31252 if test "x$enable_gtktest" = "xyes" ; then
31253 ac_save_CFLAGS="$CFLAGS"
31254 ac_save_LIBS="$LIBS"
31255 CFLAGS="$CFLAGS $GTK_CFLAGS"
31256 LIBS="$GTK_LIBS $LIBS"
31257 rm -f conf.gtktest
31258 if test "$cross_compiling" = yes; then
31259 echo $ac_n "cross compiling; assumed OK... $ac_c"
31260 else
31261 cat >conftest.$ac_ext <<_ACEOF
31262 /* confdefs.h. */
31263 _ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267
31268 #include <gtk/gtk.h>
31269 #include <stdio.h>
31270 #include <stdlib.h>
31271
31272 int
31273 main ()
31274 {
31275 int major, minor, micro;
31276 char *tmp_version;
31277
31278 system ("touch conf.gtktest");
31279
31280 /* HP/UX 9 (%@#!) writes to sscanf strings */
31281 tmp_version = g_strdup("$min_gtk_version");
31282 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31283 printf("%s, bad version string\n", "$min_gtk_version");
31284 exit(1);
31285 }
31286
31287 if ((gtk_major_version != $gtk_config_major_version) ||
31288 (gtk_minor_version != $gtk_config_minor_version) ||
31289 (gtk_micro_version != $gtk_config_micro_version))
31290 {
31291 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31292 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31293 gtk_major_version, gtk_minor_version, gtk_micro_version);
31294 printf ("*** was found! If gtk-config was correct, then it is best\n");
31295 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31296 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31297 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31298 printf("*** required on your system.\n");
31299 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31300 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31301 printf("*** before re-running configure\n");
31302 }
31303 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31304 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31305 (gtk_minor_version != GTK_MINOR_VERSION) ||
31306 (gtk_micro_version != GTK_MICRO_VERSION))
31307 {
31308 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31309 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31310 printf("*** library (version %d.%d.%d)\n",
31311 gtk_major_version, gtk_minor_version, gtk_micro_version);
31312 }
31313 #endif /* defined (GTK_MAJOR_VERSION) ... */
31314 else
31315 {
31316 if ((gtk_major_version > major) ||
31317 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31318 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31319 {
31320 return 0;
31321 }
31322 else
31323 {
31324 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31325 gtk_major_version, gtk_minor_version, gtk_micro_version);
31326 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31327 major, minor, micro);
31328 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31329 printf("***\n");
31330 printf("*** If you have already installed a sufficiently new version, this error\n");
31331 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31332 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31333 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31334 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31335 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31336 printf("*** so that the correct libraries are found at run-time))\n");
31337 }
31338 }
31339 return 1;
31340 }
31341
31342 _ACEOF
31343 rm -f conftest$ac_exeext
31344 if { (ac_try="$ac_link"
31345 case "(($ac_try" in
31346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31347 *) ac_try_echo=$ac_try;;
31348 esac
31349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31350 (eval "$ac_link") 2>&5
31351 ac_status=$?
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31354 { (case "(($ac_try" in
31355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31356 *) ac_try_echo=$ac_try;;
31357 esac
31358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31359 (eval "$ac_try") 2>&5
31360 ac_status=$?
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); }; }; then
31363 :
31364 else
31365 echo "$as_me: program exited with status $ac_status" >&5
31366 echo "$as_me: failed program was:" >&5
31367 sed 's/^/| /' conftest.$ac_ext >&5
31368
31369 ( exit $ac_status )
31370 no_gtk=yes
31371 fi
31372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31373 fi
31374
31375
31376 CFLAGS="$ac_save_CFLAGS"
31377 LIBS="$ac_save_LIBS"
31378 fi
31379 fi
31380 if test "x$no_gtk" = x ; then
31381 { echo "$as_me:$LINENO: result: yes" >&5
31382 echo "${ECHO_T}yes" >&6; }
31383 wx_cv_lib_gtk=1.2.3
31384 else
31385 { echo "$as_me:$LINENO: result: no" >&5
31386 echo "${ECHO_T}no" >&6; }
31387 if test "$GTK_CONFIG" = "no" ; then
31388 echo "*** The gtk-config script installed by GTK could not be found"
31389 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31390 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31391 echo "*** full path to gtk-config."
31392 else
31393 if test -f conf.gtktest ; then
31394 :
31395 else
31396 echo "*** Could not run GTK test program, checking why..."
31397 CFLAGS="$CFLAGS $GTK_CFLAGS"
31398 LIBS="$LIBS $GTK_LIBS"
31399 cat >conftest.$ac_ext <<_ACEOF
31400 /* confdefs.h. */
31401 _ACEOF
31402 cat confdefs.h >>conftest.$ac_ext
31403 cat >>conftest.$ac_ext <<_ACEOF
31404 /* end confdefs.h. */
31405
31406 #include <gtk/gtk.h>
31407 #include <stdio.h>
31408
31409 int
31410 main ()
31411 {
31412 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31413 ;
31414 return 0;
31415 }
31416 _ACEOF
31417 rm -f conftest.$ac_objext conftest$ac_exeext
31418 if { (ac_try="$ac_link"
31419 case "(($ac_try" in
31420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31421 *) ac_try_echo=$ac_try;;
31422 esac
31423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31424 (eval "$ac_link") 2>conftest.er1
31425 ac_status=$?
31426 grep -v '^ *+' conftest.er1 >conftest.err
31427 rm -f conftest.er1
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } && {
31431 test -z "$ac_c_werror_flag" ||
31432 test ! -s conftest.err
31433 } && test -s conftest$ac_exeext &&
31434 $as_test_x conftest$ac_exeext; then
31435 echo "*** The test program compiled, but did not run. This usually means"
31436 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31437 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31438 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31439 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31440 echo "*** is required on your system"
31441 echo "***"
31442 echo "*** If you have an old version installed, it is best to remove it, although"
31443 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31444 echo "***"
31445 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31446 echo "*** came with the system with the command"
31447 echo "***"
31448 echo "*** rpm --erase --nodeps gtk gtk-devel"
31449 else
31450 echo "$as_me: failed program was:" >&5
31451 sed 's/^/| /' conftest.$ac_ext >&5
31452
31453 echo "*** The test program failed to compile or link. See the file config.log for the"
31454 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31455 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31456 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31457 fi
31458
31459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31460 conftest$ac_exeext conftest.$ac_ext
31461 CFLAGS="$ac_save_CFLAGS"
31462 LIBS="$ac_save_LIBS"
31463 fi
31464 fi
31465 GTK_CFLAGS=""
31466 GTK_LIBS=""
31467 :
31468 fi
31469
31470
31471 rm -f conf.gtktest
31472
31473 fi
31474 fi
31475 fi
31476
31477 if test -z "$wx_cv_lib_gtk"; then
31478 wx_cv_lib_gtk=none
31479 else
31480 wx_cv_cflags_gtk=$GTK_CFLAGS
31481 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31482 fi
31483
31484
31485 fi
31486
31487
31488 if test "$gtk_version_cached" = 1; then
31489 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31490 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31491 fi
31492
31493 case "$wx_cv_lib_gtk" in
31494 2.0) WXGTK20=1
31495 TOOLKIT_VERSION=2
31496 ;;
31497 1.2.7) WXGTK127=1
31498 WXGTK12=1
31499 ;;
31500 1.2.3) WXGTK12=1
31501 ;;
31502 *) { { echo "$as_me:$LINENO: error:
31503 The development files for GTK+ were not found. For GTK+ 2, please
31504 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31505 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31506 and that the version is 1.2.3 or above. Also check that the
31507 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31508 --libs' are in the LD_LIBRARY_PATH or equivalent.
31509 " >&5
31510 echo "$as_me: error:
31511 The development files for GTK+ were not found. For GTK+ 2, please
31512 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31513 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31514 and that the version is 1.2.3 or above. Also check that the
31515 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31516 --libs' are in the LD_LIBRARY_PATH or equivalent.
31517 " >&2;}
31518 { (exit 1); exit 1; }; }
31519 ;;
31520 esac
31521
31522 if test "$WXGTK20" = 1; then
31523 save_CFLAGS="$CFLAGS"
31524 save_LIBS="$LIBS"
31525 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31526 LIBS="$LIBS $wx_cv_libs_gtk"
31527
31528 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31529 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31530 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31531 echo $ECHO_N "(cached) $ECHO_C" >&6
31532 else
31533 cat >conftest.$ac_ext <<_ACEOF
31534 /* confdefs.h. */
31535 _ACEOF
31536 cat confdefs.h >>conftest.$ac_ext
31537 cat >>conftest.$ac_ext <<_ACEOF
31538 /* end confdefs.h. */
31539 #include <gtk/gtk.h>
31540
31541 int
31542 main ()
31543 {
31544 #ifndef gtk_icon_size_lookup
31545 (void) gtk_icon_size_lookup;
31546 #endif
31547
31548 ;
31549 return 0;
31550 }
31551 _ACEOF
31552 rm -f conftest.$ac_objext
31553 if { (ac_try="$ac_compile"
31554 case "(($ac_try" in
31555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31556 *) ac_try_echo=$ac_try;;
31557 esac
31558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31559 (eval "$ac_compile") 2>conftest.er1
31560 ac_status=$?
31561 grep -v '^ *+' conftest.er1 >conftest.err
31562 rm -f conftest.er1
31563 cat conftest.err >&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } && {
31566 test -z "$ac_c_werror_flag" ||
31567 test ! -s conftest.err
31568 } && test -s conftest.$ac_objext; then
31569 ac_cv_have_decl_gtk_icon_size_lookup=yes
31570 else
31571 echo "$as_me: failed program was:" >&5
31572 sed 's/^/| /' conftest.$ac_ext >&5
31573
31574 ac_cv_have_decl_gtk_icon_size_lookup=no
31575 fi
31576
31577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31578 fi
31579 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31580 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31581 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31582
31583 cat >>confdefs.h <<_ACEOF
31584 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31585 _ACEOF
31586
31587
31588 else
31589 cat >>confdefs.h <<_ACEOF
31590 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31591 _ACEOF
31592
31593 cat >>confdefs.h <<\_ACEOF
31594 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31595 _ACEOF
31596
31597 fi
31598
31599
31600
31601
31602 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31603 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31604 cat >conftest.$ac_ext <<_ACEOF
31605 /* confdefs.h. */
31606 _ACEOF
31607 cat confdefs.h >>conftest.$ac_ext
31608 cat >>conftest.$ac_ext <<_ACEOF
31609 /* end confdefs.h. */
31610
31611 #include <gtk/gtk.h>
31612
31613 int
31614 main ()
31615 {
31616
31617 #if !GTK_CHECK_VERSION(2,10,0)
31618 Not GTK+ 2.10
31619 #endif
31620
31621 ;
31622 return 0;
31623 }
31624 _ACEOF
31625 rm -f conftest.$ac_objext
31626 if { (ac_try="$ac_compile"
31627 case "(($ac_try" in
31628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31629 *) ac_try_echo=$ac_try;;
31630 esac
31631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31632 (eval "$ac_compile") 2>conftest.er1
31633 ac_status=$?
31634 grep -v '^ *+' conftest.er1 >conftest.err
31635 rm -f conftest.er1
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } && {
31639 test -z "$ac_c_werror_flag" ||
31640 test ! -s conftest.err
31641 } && test -s conftest.$ac_objext; then
31642
31643 cat >>confdefs.h <<\_ACEOF
31644 #define __WXGTK210__ 1
31645 _ACEOF
31646
31647 cat >>confdefs.h <<\_ACEOF
31648 #define __WXGTK26__ 1
31649 _ACEOF
31650
31651 cat >>confdefs.h <<\_ACEOF
31652 #define __WXGTK24__ 1
31653 _ACEOF
31654
31655 { echo "$as_me:$LINENO: result: yes" >&5
31656 echo "${ECHO_T}yes" >&6; }
31657 ac_wxgtk210=1
31658
31659 else
31660 echo "$as_me: failed program was:" >&5
31661 sed 's/^/| /' conftest.$ac_ext >&5
31662
31663
31664 { echo "$as_me:$LINENO: result: no" >&5
31665 echo "${ECHO_T}no" >&6; }
31666 ac_wxgtk210=0
31667
31668 fi
31669
31670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31671
31672 if test "$ac_wxgtk210" = 0; then
31673 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31674 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681
31682 #include <gtk/gtk.h>
31683
31684 int
31685 main ()
31686 {
31687
31688 #if !GTK_CHECK_VERSION(2,6,0)
31689 Not GTK+ 2.6
31690 #endif
31691
31692 ;
31693 return 0;
31694 }
31695 _ACEOF
31696 rm -f conftest.$ac_objext
31697 if { (ac_try="$ac_compile"
31698 case "(($ac_try" in
31699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31700 *) ac_try_echo=$ac_try;;
31701 esac
31702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31703 (eval "$ac_compile") 2>conftest.er1
31704 ac_status=$?
31705 grep -v '^ *+' conftest.er1 >conftest.err
31706 rm -f conftest.er1
31707 cat conftest.err >&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } && {
31710 test -z "$ac_c_werror_flag" ||
31711 test ! -s conftest.err
31712 } && test -s conftest.$ac_objext; then
31713
31714 cat >>confdefs.h <<\_ACEOF
31715 #define __WXGTK26__ 1
31716 _ACEOF
31717
31718 cat >>confdefs.h <<\_ACEOF
31719 #define __WXGTK24__ 1
31720 _ACEOF
31721
31722 { echo "$as_me:$LINENO: result: yes" >&5
31723 echo "${ECHO_T}yes" >&6; }
31724 ac_wxgtk26=1
31725
31726 else
31727 echo "$as_me: failed program was:" >&5
31728 sed 's/^/| /' conftest.$ac_ext >&5
31729
31730
31731 { echo "$as_me:$LINENO: result: no" >&5
31732 echo "${ECHO_T}no" >&6; }
31733 ac_wxgtk26=0
31734
31735 fi
31736
31737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31738 fi
31739
31740 if test "$ac_wxgtk26" = 0; then
31741 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31742 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31743 cat >conftest.$ac_ext <<_ACEOF
31744 /* confdefs.h. */
31745 _ACEOF
31746 cat confdefs.h >>conftest.$ac_ext
31747 cat >>conftest.$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31749
31750 #include <gtk/gtk.h>
31751
31752 int
31753 main ()
31754 {
31755
31756 #if !GTK_CHECK_VERSION(2,4,0)
31757 Not GTK+ 2.4
31758 #endif
31759
31760 ;
31761 return 0;
31762 }
31763 _ACEOF
31764 rm -f conftest.$ac_objext
31765 if { (ac_try="$ac_compile"
31766 case "(($ac_try" in
31767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31768 *) ac_try_echo=$ac_try;;
31769 esac
31770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31771 (eval "$ac_compile") 2>conftest.er1
31772 ac_status=$?
31773 grep -v '^ *+' conftest.er1 >conftest.err
31774 rm -f conftest.er1
31775 cat conftest.err >&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } && {
31778 test -z "$ac_c_werror_flag" ||
31779 test ! -s conftest.err
31780 } && test -s conftest.$ac_objext; then
31781
31782 cat >>confdefs.h <<\_ACEOF
31783 #define __WXGTK24__ 1
31784 _ACEOF
31785
31786 { echo "$as_me:$LINENO: result: yes" >&5
31787 echo "${ECHO_T}yes" >&6; }
31788
31789 else
31790 echo "$as_me: failed program was:" >&5
31791 sed 's/^/| /' conftest.$ac_ext >&5
31792
31793
31794 { echo "$as_me:$LINENO: result: no" >&5
31795 echo "${ECHO_T}no" >&6; }
31796
31797 fi
31798
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31800 fi
31801
31802 CFLAGS="$save_CFLAGS"
31803 LIBS="$save_LIBS"
31804 else
31805 if test "$wxUSE_UNICODE" = "yes"; then
31806 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31807 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31808 wxUSE_UNICODE=no
31809 fi
31810
31811 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31812 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31813 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31814 echo $ECHO_N "(cached) $ECHO_C" >&6
31815 else
31816 ac_check_lib_save_LIBS=$LIBS
31817 LIBS="-lgdk $LIBS"
31818 cat >conftest.$ac_ext <<_ACEOF
31819 /* confdefs.h. */
31820 _ACEOF
31821 cat confdefs.h >>conftest.$ac_ext
31822 cat >>conftest.$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31824
31825 /* Override any GCC internal prototype to avoid an error.
31826 Use char because int might match the return type of a GCC
31827 builtin and then its argument prototype would still apply. */
31828 #ifdef __cplusplus
31829 extern "C"
31830 #endif
31831 char gdk_im_open ();
31832 int
31833 main ()
31834 {
31835 return gdk_im_open ();
31836 ;
31837 return 0;
31838 }
31839 _ACEOF
31840 rm -f conftest.$ac_objext conftest$ac_exeext
31841 if { (ac_try="$ac_link"
31842 case "(($ac_try" in
31843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31844 *) ac_try_echo=$ac_try;;
31845 esac
31846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31847 (eval "$ac_link") 2>conftest.er1
31848 ac_status=$?
31849 grep -v '^ *+' conftest.er1 >conftest.err
31850 rm -f conftest.er1
31851 cat conftest.err >&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } && {
31854 test -z "$ac_c_werror_flag" ||
31855 test ! -s conftest.err
31856 } && test -s conftest$ac_exeext &&
31857 $as_test_x conftest$ac_exeext; then
31858 ac_cv_lib_gdk_gdk_im_open=yes
31859 else
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31862
31863 ac_cv_lib_gdk_gdk_im_open=no
31864 fi
31865
31866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31867 conftest$ac_exeext conftest.$ac_ext
31868 LIBS=$ac_check_lib_save_LIBS
31869 fi
31870 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31871 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31872 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31873 cat >>confdefs.h <<\_ACEOF
31874 #define HAVE_XIM 1
31875 _ACEOF
31876
31877 fi
31878
31879
31880 if test "$USE_DARWIN" != 1; then
31881
31882 for ac_func in poll
31883 do
31884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31885 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31887 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31889 else
31890 cat >conftest.$ac_ext <<_ACEOF
31891 /* confdefs.h. */
31892 _ACEOF
31893 cat confdefs.h >>conftest.$ac_ext
31894 cat >>conftest.$ac_ext <<_ACEOF
31895 /* end confdefs.h. */
31896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31898 #define $ac_func innocuous_$ac_func
31899
31900 /* System header to define __stub macros and hopefully few prototypes,
31901 which can conflict with char $ac_func (); below.
31902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31903 <limits.h> exists even on freestanding compilers. */
31904
31905 #ifdef __STDC__
31906 # include <limits.h>
31907 #else
31908 # include <assert.h>
31909 #endif
31910
31911 #undef $ac_func
31912
31913 /* Override any GCC internal prototype to avoid an error.
31914 Use char because int might match the return type of a GCC
31915 builtin and then its argument prototype would still apply. */
31916 #ifdef __cplusplus
31917 extern "C"
31918 #endif
31919 char $ac_func ();
31920 /* The GNU C library defines this for functions which it implements
31921 to always fail with ENOSYS. Some functions are actually named
31922 something starting with __ and the normal name is an alias. */
31923 #if defined __stub_$ac_func || defined __stub___$ac_func
31924 choke me
31925 #endif
31926
31927 int
31928 main ()
31929 {
31930 return $ac_func ();
31931 ;
31932 return 0;
31933 }
31934 _ACEOF
31935 rm -f conftest.$ac_objext conftest$ac_exeext
31936 if { (ac_try="$ac_link"
31937 case "(($ac_try" in
31938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31939 *) ac_try_echo=$ac_try;;
31940 esac
31941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31942 (eval "$ac_link") 2>conftest.er1
31943 ac_status=$?
31944 grep -v '^ *+' conftest.er1 >conftest.err
31945 rm -f conftest.er1
31946 cat conftest.err >&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } && {
31949 test -z "$ac_c_werror_flag" ||
31950 test ! -s conftest.err
31951 } && test -s conftest$ac_exeext &&
31952 $as_test_x conftest$ac_exeext; then
31953 eval "$as_ac_var=yes"
31954 else
31955 echo "$as_me: failed program was:" >&5
31956 sed 's/^/| /' conftest.$ac_ext >&5
31957
31958 eval "$as_ac_var=no"
31959 fi
31960
31961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31962 conftest$ac_exeext conftest.$ac_ext
31963 fi
31964 ac_res=`eval echo '${'$as_ac_var'}'`
31965 { echo "$as_me:$LINENO: result: $ac_res" >&5
31966 echo "${ECHO_T}$ac_res" >&6; }
31967 if test `eval echo '${'$as_ac_var'}'` = yes; then
31968 cat >>confdefs.h <<_ACEOF
31969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31970 _ACEOF
31971
31972 fi
31973 done
31974
31975 fi
31976 fi
31977
31978 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31979 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31980
31981 AFMINSTALL=afminstall
31982 TOOLKIT=GTK
31983 GUIDIST=GTK_DIST
31984
31985 if test "$wxUSE_GPE" = "yes"; then
31986 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31987 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31988
31989 ac_find_libraries=
31990 for ac_dir in $SEARCH_LIB;
31991 do
31992 for ac_extension in a so sl dylib dll.a; do
31993 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31994 ac_find_libraries=$ac_dir
31995 break 2
31996 fi
31997 done
31998 done
31999
32000 if test "$ac_find_libraries" != "" ; then
32001
32002 if test "$ac_find_libraries" = "default location"; then
32003 ac_path_to_link=""
32004 else
32005 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32006 result=$?
32007 if test $result = 0; then
32008 ac_path_to_link=""
32009 else
32010 ac_path_to_link=" -L$ac_find_libraries"
32011 fi
32012 fi
32013
32014 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32015 WXGPE=1
32016 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32017 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32018 else
32019 { echo "$as_me:$LINENO: result: not found" >&5
32020 echo "${ECHO_T}not found" >&6; }
32021 fi
32022
32023 fi
32024 fi
32025
32026 if test "$wxUSE_MGL" = 1; then
32027 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32028 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32029 if test "x$MGL_ROOT" = x ; then
32030 { echo "$as_me:$LINENO: result: not found" >&5
32031 echo "${ECHO_T}not found" >&6; }
32032 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32033 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32034 { (exit 1); exit 1; }; }
32035 else
32036 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32037 echo "${ECHO_T}$MGL_ROOT" >&6; }
32038 fi
32039
32040 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32041 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32042 case "${host}" in
32043 *-*-linux* )
32044 if test "x$wxUSE_SHARED" = xyes ; then
32045 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32046 else
32047 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32048 fi
32049 ;;
32050 *-pc-msdosdjgpp )
32051 mgl_os_candidates="dos32/dj2"
32052 ;;
32053 *)
32054 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32055 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32056 { (exit 1); exit 1; }; }
32057 esac
32058
32059 mgl_lib_type=""
32060 mgl_os=""
32061
32062 for mgl_os_i in $mgl_os_candidates ; do
32063 if test "x$mgl_os" = x ; then
32064 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32065 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32066 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32067 mgl_lib_type=debug
32068 mgl_os=$mgl_os_i
32069 fi
32070 fi
32071 if test "x$mgl_lib_type" = x ; then
32072 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32073 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32074 mgl_lib_type=release
32075 mgl_os=$mgl_os_i
32076 fi
32077 fi
32078 fi
32079 done
32080
32081 if test "x$mgl_os" = x ; then
32082 { echo "$as_me:$LINENO: result: not found" >&5
32083 echo "${ECHO_T}not found" >&6; }
32084 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32085 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32086 { (exit 1); exit 1; }; }
32087 fi
32088 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32089 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32090
32091 wxUSE_UNIVERSAL="yes"
32092
32093 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32094 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32095
32096 AFMINSTALL=afminstall
32097 TOOLKIT=MGL
32098 GUIDIST=MGL_DIST
32099 fi
32100
32101 if test "$wxUSE_DFB" = 1; then
32102
32103
32104 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32105 if test -n "$ac_tool_prefix"; then
32106 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32107 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32110 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32111 echo $ECHO_N "(cached) $ECHO_C" >&6
32112 else
32113 case $PKG_CONFIG in
32114 [\\/]* | ?:[\\/]*)
32115 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32116 ;;
32117 *)
32118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32119 for as_dir in $PATH
32120 do
32121 IFS=$as_save_IFS
32122 test -z "$as_dir" && as_dir=.
32123 for ac_exec_ext in '' $ac_executable_extensions; do
32124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32125 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32127 break 2
32128 fi
32129 done
32130 done
32131 IFS=$as_save_IFS
32132
32133 ;;
32134 esac
32135 fi
32136 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32137 if test -n "$PKG_CONFIG"; then
32138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32140 else
32141 { echo "$as_me:$LINENO: result: no" >&5
32142 echo "${ECHO_T}no" >&6; }
32143 fi
32144
32145
32146 fi
32147 if test -z "$ac_cv_path_PKG_CONFIG"; then
32148 ac_pt_PKG_CONFIG=$PKG_CONFIG
32149 # Extract the first word of "pkg-config", so it can be a program name with args.
32150 set dummy pkg-config; ac_word=$2
32151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32153 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32154 echo $ECHO_N "(cached) $ECHO_C" >&6
32155 else
32156 case $ac_pt_PKG_CONFIG in
32157 [\\/]* | ?:[\\/]*)
32158 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32159 ;;
32160 *)
32161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32162 for as_dir in $PATH
32163 do
32164 IFS=$as_save_IFS
32165 test -z "$as_dir" && as_dir=.
32166 for ac_exec_ext in '' $ac_executable_extensions; do
32167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32168 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32170 break 2
32171 fi
32172 done
32173 done
32174 IFS=$as_save_IFS
32175
32176 ;;
32177 esac
32178 fi
32179 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32180 if test -n "$ac_pt_PKG_CONFIG"; then
32181 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32182 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32183 else
32184 { echo "$as_me:$LINENO: result: no" >&5
32185 echo "${ECHO_T}no" >&6; }
32186 fi
32187
32188 if test "x$ac_pt_PKG_CONFIG" = x; then
32189 PKG_CONFIG=""
32190 else
32191 case $cross_compiling:$ac_tool_warned in
32192 yes:)
32193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32194 whose name does not start with the host triplet. If you think this
32195 configuration is useful to you, please write to autoconf@gnu.org." >&5
32196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32197 whose name does not start with the host triplet. If you think this
32198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32199 ac_tool_warned=yes ;;
32200 esac
32201 PKG_CONFIG=$ac_pt_PKG_CONFIG
32202 fi
32203 else
32204 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32205 fi
32206
32207 fi
32208 if test -n "$PKG_CONFIG"; then
32209 _pkg_min_version=0.9.0
32210 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32211 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32212 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32213 { echo "$as_me:$LINENO: result: yes" >&5
32214 echo "${ECHO_T}yes" >&6; }
32215 else
32216 { echo "$as_me:$LINENO: result: no" >&5
32217 echo "${ECHO_T}no" >&6; }
32218 PKG_CONFIG=""
32219 fi
32220
32221 fi
32222
32223
32224 pkg_failed=no
32225 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32226 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32227
32228 if test -n "$PKG_CONFIG"; then
32229 if test -n "$DIRECTFB_CFLAGS"; then
32230 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32231 else
32232 if test -n "$PKG_CONFIG" && \
32233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32234 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32235 ac_status=$?
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; then
32238 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32239 else
32240 pkg_failed=yes
32241 fi
32242 fi
32243 else
32244 pkg_failed=untried
32245 fi
32246 if test -n "$PKG_CONFIG"; then
32247 if test -n "$DIRECTFB_LIBS"; then
32248 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32249 else
32250 if test -n "$PKG_CONFIG" && \
32251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32252 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32253 ac_status=$?
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); }; then
32256 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32257 else
32258 pkg_failed=yes
32259 fi
32260 fi
32261 else
32262 pkg_failed=untried
32263 fi
32264
32265
32266
32267 if test $pkg_failed = yes; then
32268
32269 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32270 _pkg_short_errors_supported=yes
32271 else
32272 _pkg_short_errors_supported=no
32273 fi
32274 if test $_pkg_short_errors_supported = yes; then
32275 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32276 else
32277 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32278 fi
32279 # Put the nasty error message in config.log where it belongs
32280 echo "$DIRECTFB_PKG_ERRORS" >&5
32281
32282
32283 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32284 echo "$as_me: error: DirectFB not found." >&2;}
32285 { (exit 1); exit 1; }; }
32286
32287
32288 elif test $pkg_failed = untried; then
32289
32290 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32291 echo "$as_me: error: DirectFB not found." >&2;}
32292 { (exit 1); exit 1; }; }
32293
32294
32295 else
32296 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32297 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32298 { echo "$as_me:$LINENO: result: yes" >&5
32299 echo "${ECHO_T}yes" >&6; }
32300
32301 wxUSE_UNIVERSAL="yes"
32302 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32303 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32304 TOOLKIT=DFB
32305 GUIDIST=DFB_DIST
32306
32307 fi
32308 fi
32309
32310 if test "$wxUSE_MICROWIN" = 1; then
32311 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32312 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32313 if test "x$MICROWINDOWS" = x ; then
32314 { echo "$as_me:$LINENO: result: not found" >&5
32315 echo "${ECHO_T}not found" >&6; }
32316 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32317 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32318 { (exit 1); exit 1; }; }
32319 else
32320 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32321 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32322 fi
32323
32324 if test -f $MICROWINDOWS/lib/libmwin.a; then
32325 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32326 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32327 else
32328 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32329 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32330 { (exit 1); exit 1; }; }
32331 fi
32332
32333 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32334 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32335
32336 wxUSE_UNIVERSAL="yes"
32337
32338 AFMINSTALL=afminstall
32339 TOOLKIT=MICROWIN
32340 GUIDIST=MICROWIN_DIST
32341
32342 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32343 fi
32344
32345 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32346 { echo "$as_me:$LINENO: checking for X" >&5
32347 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32348
32349
32350 # Check whether --with-x was given.
32351 if test "${with_x+set}" = set; then
32352 withval=$with_x;
32353 fi
32354
32355 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32356 if test "x$with_x" = xno; then
32357 # The user explicitly disabled X.
32358 have_x=disabled
32359 else
32360 case $x_includes,$x_libraries in #(
32361 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32362 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32363 { (exit 1); exit 1; }; };; #(
32364 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32365 echo $ECHO_N "(cached) $ECHO_C" >&6
32366 else
32367 # One or both of the vars are not set, and there is no cached value.
32368 ac_x_includes=no ac_x_libraries=no
32369 rm -f -r conftest.dir
32370 if mkdir conftest.dir; then
32371 cd conftest.dir
32372 cat >Imakefile <<'_ACEOF'
32373 incroot:
32374 @echo incroot='${INCROOT}'
32375 usrlibdir:
32376 @echo usrlibdir='${USRLIBDIR}'
32377 libdir:
32378 @echo libdir='${LIBDIR}'
32379 _ACEOF
32380 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32381 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32382 for ac_var in incroot usrlibdir libdir; do
32383 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32384 done
32385 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32386 for ac_extension in a so sl; do
32387 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32388 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32389 ac_im_usrlibdir=$ac_im_libdir; break
32390 fi
32391 done
32392 # Screen out bogus values from the imake configuration. They are
32393 # bogus both because they are the default anyway, and because
32394 # using them would break gcc on systems where it needs fixed includes.
32395 case $ac_im_incroot in
32396 /usr/include) ac_x_includes= ;;
32397 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32398 esac
32399 case $ac_im_usrlibdir in
32400 /usr/lib | /lib) ;;
32401 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32402 esac
32403 fi
32404 cd ..
32405 rm -f -r conftest.dir
32406 fi
32407
32408 # Standard set of common directories for X headers.
32409 # Check X11 before X11Rn because it is often a symlink to the current release.
32410 ac_x_header_dirs='
32411 /usr/X11/include
32412 /usr/X11R6/include
32413 /usr/X11R5/include
32414 /usr/X11R4/include
32415
32416 /usr/include/X11
32417 /usr/include/X11R6
32418 /usr/include/X11R5
32419 /usr/include/X11R4
32420
32421 /usr/local/X11/include
32422 /usr/local/X11R6/include
32423 /usr/local/X11R5/include
32424 /usr/local/X11R4/include
32425
32426 /usr/local/include/X11
32427 /usr/local/include/X11R6
32428 /usr/local/include/X11R5
32429 /usr/local/include/X11R4
32430
32431 /usr/X386/include
32432 /usr/x386/include
32433 /usr/XFree86/include/X11
32434
32435 /usr/include
32436 /usr/local/include
32437 /usr/unsupported/include
32438 /usr/athena/include
32439 /usr/local/x11r5/include
32440 /usr/lpp/Xamples/include
32441
32442 /usr/openwin/include
32443 /usr/openwin/share/include'
32444
32445 if test "$ac_x_includes" = no; then
32446 # Guess where to find include files, by looking for Xlib.h.
32447 # First, try using that file with no special directory specified.
32448 cat >conftest.$ac_ext <<_ACEOF
32449 /* confdefs.h. */
32450 _ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454 #include <X11/Xlib.h>
32455 _ACEOF
32456 if { (ac_try="$ac_cpp conftest.$ac_ext"
32457 case "(($ac_try" in
32458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32459 *) ac_try_echo=$ac_try;;
32460 esac
32461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32463 ac_status=$?
32464 grep -v '^ *+' conftest.er1 >conftest.err
32465 rm -f conftest.er1
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } >/dev/null && {
32469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32470 test ! -s conftest.err
32471 }; then
32472 # We can compile using X headers with no special include directory.
32473 ac_x_includes=
32474 else
32475 echo "$as_me: failed program was:" >&5
32476 sed 's/^/| /' conftest.$ac_ext >&5
32477
32478 for ac_dir in $ac_x_header_dirs; do
32479 if test -r "$ac_dir/X11/Xlib.h"; then
32480 ac_x_includes=$ac_dir
32481 break
32482 fi
32483 done
32484 fi
32485
32486 rm -f conftest.err conftest.$ac_ext
32487 fi # $ac_x_includes = no
32488
32489 if test "$ac_x_libraries" = no; then
32490 # Check for the libraries.
32491 # See if we find them without any special options.
32492 # Don't add to $LIBS permanently.
32493 ac_save_LIBS=$LIBS
32494 LIBS="-lX11 $LIBS"
32495 cat >conftest.$ac_ext <<_ACEOF
32496 /* confdefs.h. */
32497 _ACEOF
32498 cat confdefs.h >>conftest.$ac_ext
32499 cat >>conftest.$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 #include <X11/Xlib.h>
32502 int
32503 main ()
32504 {
32505 XrmInitialize ()
32506 ;
32507 return 0;
32508 }
32509 _ACEOF
32510 rm -f conftest.$ac_objext conftest$ac_exeext
32511 if { (ac_try="$ac_link"
32512 case "(($ac_try" in
32513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32514 *) ac_try_echo=$ac_try;;
32515 esac
32516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32517 (eval "$ac_link") 2>conftest.er1
32518 ac_status=$?
32519 grep -v '^ *+' conftest.er1 >conftest.err
32520 rm -f conftest.er1
32521 cat conftest.err >&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); } && {
32524 test -z "$ac_c_werror_flag" ||
32525 test ! -s conftest.err
32526 } && test -s conftest$ac_exeext &&
32527 $as_test_x conftest$ac_exeext; then
32528 LIBS=$ac_save_LIBS
32529 # We can link X programs with no special library path.
32530 ac_x_libraries=
32531 else
32532 echo "$as_me: failed program was:" >&5
32533 sed 's/^/| /' conftest.$ac_ext >&5
32534
32535 LIBS=$ac_save_LIBS
32536 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32537 do
32538 # Don't even attempt the hair of trying to link an X program!
32539 for ac_extension in a so sl; do
32540 if test -r "$ac_dir/libX11.$ac_extension"; then
32541 ac_x_libraries=$ac_dir
32542 break 2
32543 fi
32544 done
32545 done
32546 fi
32547
32548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32549 conftest$ac_exeext conftest.$ac_ext
32550 fi # $ac_x_libraries = no
32551
32552 case $ac_x_includes,$ac_x_libraries in #(
32553 no,* | *,no | *\'*)
32554 # Didn't find X, or a directory has "'" in its name.
32555 ac_cv_have_x="have_x=no";; #(
32556 *)
32557 # Record where we found X for the cache.
32558 ac_cv_have_x="have_x=yes\
32559 ac_x_includes='$ac_x_includes'\
32560 ac_x_libraries='$ac_x_libraries'"
32561 esac
32562 fi
32563 ;; #(
32564 *) have_x=yes;;
32565 esac
32566 eval "$ac_cv_have_x"
32567 fi # $with_x != no
32568
32569 if test "$have_x" != yes; then
32570 { echo "$as_me:$LINENO: result: $have_x" >&5
32571 echo "${ECHO_T}$have_x" >&6; }
32572 no_x=yes
32573 else
32574 # If each of the values was on the command line, it overrides each guess.
32575 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32576 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32577 # Update the cache value to reflect the command line values.
32578 ac_cv_have_x="have_x=yes\
32579 ac_x_includes='$x_includes'\
32580 ac_x_libraries='$x_libraries'"
32581 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32582 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32583 fi
32584
32585 if test "$no_x" = yes; then
32586 # Not all programs may use this symbol, but it does not hurt to define it.
32587
32588 cat >>confdefs.h <<\_ACEOF
32589 #define X_DISPLAY_MISSING 1
32590 _ACEOF
32591
32592 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32593 else
32594 if test -n "$x_includes"; then
32595 X_CFLAGS="$X_CFLAGS -I$x_includes"
32596 fi
32597
32598 # It would also be nice to do this for all -L options, not just this one.
32599 if test -n "$x_libraries"; then
32600 X_LIBS="$X_LIBS -L$x_libraries"
32601 # For Solaris; some versions of Sun CC require a space after -R and
32602 # others require no space. Words are not sufficient . . . .
32603 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32604 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32605 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32606 ac_xsave_c_werror_flag=$ac_c_werror_flag
32607 ac_c_werror_flag=yes
32608 cat >conftest.$ac_ext <<_ACEOF
32609 /* confdefs.h. */
32610 _ACEOF
32611 cat confdefs.h >>conftest.$ac_ext
32612 cat >>conftest.$ac_ext <<_ACEOF
32613 /* end confdefs.h. */
32614
32615 int
32616 main ()
32617 {
32618
32619 ;
32620 return 0;
32621 }
32622 _ACEOF
32623 rm -f conftest.$ac_objext conftest$ac_exeext
32624 if { (ac_try="$ac_link"
32625 case "(($ac_try" in
32626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32627 *) ac_try_echo=$ac_try;;
32628 esac
32629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32630 (eval "$ac_link") 2>conftest.er1
32631 ac_status=$?
32632 grep -v '^ *+' conftest.er1 >conftest.err
32633 rm -f conftest.er1
32634 cat conftest.err >&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); } && {
32637 test -z "$ac_c_werror_flag" ||
32638 test ! -s conftest.err
32639 } && test -s conftest$ac_exeext &&
32640 $as_test_x conftest$ac_exeext; then
32641 { echo "$as_me:$LINENO: result: no" >&5
32642 echo "${ECHO_T}no" >&6; }
32643 X_LIBS="$X_LIBS -R$x_libraries"
32644 else
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.$ac_ext >&5
32647
32648 LIBS="$ac_xsave_LIBS -R $x_libraries"
32649 cat >conftest.$ac_ext <<_ACEOF
32650 /* confdefs.h. */
32651 _ACEOF
32652 cat confdefs.h >>conftest.$ac_ext
32653 cat >>conftest.$ac_ext <<_ACEOF
32654 /* end confdefs.h. */
32655
32656 int
32657 main ()
32658 {
32659
32660 ;
32661 return 0;
32662 }
32663 _ACEOF
32664 rm -f conftest.$ac_objext conftest$ac_exeext
32665 if { (ac_try="$ac_link"
32666 case "(($ac_try" in
32667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32668 *) ac_try_echo=$ac_try;;
32669 esac
32670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32671 (eval "$ac_link") 2>conftest.er1
32672 ac_status=$?
32673 grep -v '^ *+' conftest.er1 >conftest.err
32674 rm -f conftest.er1
32675 cat conftest.err >&5
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); } && {
32678 test -z "$ac_c_werror_flag" ||
32679 test ! -s conftest.err
32680 } && test -s conftest$ac_exeext &&
32681 $as_test_x conftest$ac_exeext; then
32682 { echo "$as_me:$LINENO: result: yes" >&5
32683 echo "${ECHO_T}yes" >&6; }
32684 X_LIBS="$X_LIBS -R $x_libraries"
32685 else
32686 echo "$as_me: failed program was:" >&5
32687 sed 's/^/| /' conftest.$ac_ext >&5
32688
32689 { echo "$as_me:$LINENO: result: neither works" >&5
32690 echo "${ECHO_T}neither works" >&6; }
32691 fi
32692
32693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32694 conftest$ac_exeext conftest.$ac_ext
32695 fi
32696
32697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32698 conftest$ac_exeext conftest.$ac_ext
32699 ac_c_werror_flag=$ac_xsave_c_werror_flag
32700 LIBS=$ac_xsave_LIBS
32701 fi
32702
32703 # Check for system-dependent libraries X programs must link with.
32704 # Do this before checking for the system-independent R6 libraries
32705 # (-lICE), since we may need -lsocket or whatever for X linking.
32706
32707 if test "$ISC" = yes; then
32708 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32709 else
32710 # Martyn Johnson says this is needed for Ultrix, if the X
32711 # libraries were built with DECnet support. And Karl Berry says
32712 # the Alpha needs dnet_stub (dnet does not exist).
32713 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32714 cat >conftest.$ac_ext <<_ACEOF
32715 /* confdefs.h. */
32716 _ACEOF
32717 cat confdefs.h >>conftest.$ac_ext
32718 cat >>conftest.$ac_ext <<_ACEOF
32719 /* end confdefs.h. */
32720
32721 /* Override any GCC internal prototype to avoid an error.
32722 Use char because int might match the return type of a GCC
32723 builtin and then its argument prototype would still apply. */
32724 #ifdef __cplusplus
32725 extern "C"
32726 #endif
32727 char XOpenDisplay ();
32728 int
32729 main ()
32730 {
32731 return XOpenDisplay ();
32732 ;
32733 return 0;
32734 }
32735 _ACEOF
32736 rm -f conftest.$ac_objext conftest$ac_exeext
32737 if { (ac_try="$ac_link"
32738 case "(($ac_try" in
32739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32740 *) ac_try_echo=$ac_try;;
32741 esac
32742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32743 (eval "$ac_link") 2>conftest.er1
32744 ac_status=$?
32745 grep -v '^ *+' conftest.er1 >conftest.err
32746 rm -f conftest.er1
32747 cat conftest.err >&5
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 (exit $ac_status); } && {
32750 test -z "$ac_c_werror_flag" ||
32751 test ! -s conftest.err
32752 } && test -s conftest$ac_exeext &&
32753 $as_test_x conftest$ac_exeext; then
32754 :
32755 else
32756 echo "$as_me: failed program was:" >&5
32757 sed 's/^/| /' conftest.$ac_ext >&5
32758
32759 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32760 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32761 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32762 echo $ECHO_N "(cached) $ECHO_C" >&6
32763 else
32764 ac_check_lib_save_LIBS=$LIBS
32765 LIBS="-ldnet $LIBS"
32766 cat >conftest.$ac_ext <<_ACEOF
32767 /* confdefs.h. */
32768 _ACEOF
32769 cat confdefs.h >>conftest.$ac_ext
32770 cat >>conftest.$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772
32773 /* Override any GCC internal prototype to avoid an error.
32774 Use char because int might match the return type of a GCC
32775 builtin and then its argument prototype would still apply. */
32776 #ifdef __cplusplus
32777 extern "C"
32778 #endif
32779 char dnet_ntoa ();
32780 int
32781 main ()
32782 {
32783 return dnet_ntoa ();
32784 ;
32785 return 0;
32786 }
32787 _ACEOF
32788 rm -f conftest.$ac_objext conftest$ac_exeext
32789 if { (ac_try="$ac_link"
32790 case "(($ac_try" in
32791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32792 *) ac_try_echo=$ac_try;;
32793 esac
32794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32795 (eval "$ac_link") 2>conftest.er1
32796 ac_status=$?
32797 grep -v '^ *+' conftest.er1 >conftest.err
32798 rm -f conftest.er1
32799 cat conftest.err >&5
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); } && {
32802 test -z "$ac_c_werror_flag" ||
32803 test ! -s conftest.err
32804 } && test -s conftest$ac_exeext &&
32805 $as_test_x conftest$ac_exeext; then
32806 ac_cv_lib_dnet_dnet_ntoa=yes
32807 else
32808 echo "$as_me: failed program was:" >&5
32809 sed 's/^/| /' conftest.$ac_ext >&5
32810
32811 ac_cv_lib_dnet_dnet_ntoa=no
32812 fi
32813
32814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32815 conftest$ac_exeext conftest.$ac_ext
32816 LIBS=$ac_check_lib_save_LIBS
32817 fi
32818 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32819 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32820 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32821 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32822 fi
32823
32824 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32825 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32826 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32827 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32828 echo $ECHO_N "(cached) $ECHO_C" >&6
32829 else
32830 ac_check_lib_save_LIBS=$LIBS
32831 LIBS="-ldnet_stub $LIBS"
32832 cat >conftest.$ac_ext <<_ACEOF
32833 /* confdefs.h. */
32834 _ACEOF
32835 cat confdefs.h >>conftest.$ac_ext
32836 cat >>conftest.$ac_ext <<_ACEOF
32837 /* end confdefs.h. */
32838
32839 /* Override any GCC internal prototype to avoid an error.
32840 Use char because int might match the return type of a GCC
32841 builtin and then its argument prototype would still apply. */
32842 #ifdef __cplusplus
32843 extern "C"
32844 #endif
32845 char dnet_ntoa ();
32846 int
32847 main ()
32848 {
32849 return dnet_ntoa ();
32850 ;
32851 return 0;
32852 }
32853 _ACEOF
32854 rm -f conftest.$ac_objext conftest$ac_exeext
32855 if { (ac_try="$ac_link"
32856 case "(($ac_try" in
32857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32858 *) ac_try_echo=$ac_try;;
32859 esac
32860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32861 (eval "$ac_link") 2>conftest.er1
32862 ac_status=$?
32863 grep -v '^ *+' conftest.er1 >conftest.err
32864 rm -f conftest.er1
32865 cat conftest.err >&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); } && {
32868 test -z "$ac_c_werror_flag" ||
32869 test ! -s conftest.err
32870 } && test -s conftest$ac_exeext &&
32871 $as_test_x conftest$ac_exeext; then
32872 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32873 else
32874 echo "$as_me: failed program was:" >&5
32875 sed 's/^/| /' conftest.$ac_ext >&5
32876
32877 ac_cv_lib_dnet_stub_dnet_ntoa=no
32878 fi
32879
32880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32881 conftest$ac_exeext conftest.$ac_ext
32882 LIBS=$ac_check_lib_save_LIBS
32883 fi
32884 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32885 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32886 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32887 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32888 fi
32889
32890 fi
32891 fi
32892
32893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32894 conftest$ac_exeext conftest.$ac_ext
32895 LIBS="$ac_xsave_LIBS"
32896
32897 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32898 # to get the SysV transport functions.
32899 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32900 # needs -lnsl.
32901 # The nsl library prevents programs from opening the X display
32902 # on Irix 5.2, according to T.E. Dickey.
32903 # The functions gethostbyname, getservbyname, and inet_addr are
32904 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32905 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32906 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32907 if test "${ac_cv_func_gethostbyname+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32909 else
32910 cat >conftest.$ac_ext <<_ACEOF
32911 /* confdefs.h. */
32912 _ACEOF
32913 cat confdefs.h >>conftest.$ac_ext
32914 cat >>conftest.$ac_ext <<_ACEOF
32915 /* end confdefs.h. */
32916 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32918 #define gethostbyname innocuous_gethostbyname
32919
32920 /* System header to define __stub macros and hopefully few prototypes,
32921 which can conflict with char gethostbyname (); below.
32922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32923 <limits.h> exists even on freestanding compilers. */
32924
32925 #ifdef __STDC__
32926 # include <limits.h>
32927 #else
32928 # include <assert.h>
32929 #endif
32930
32931 #undef gethostbyname
32932
32933 /* Override any GCC internal prototype to avoid an error.
32934 Use char because int might match the return type of a GCC
32935 builtin and then its argument prototype would still apply. */
32936 #ifdef __cplusplus
32937 extern "C"
32938 #endif
32939 char gethostbyname ();
32940 /* The GNU C library defines this for functions which it implements
32941 to always fail with ENOSYS. Some functions are actually named
32942 something starting with __ and the normal name is an alias. */
32943 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32944 choke me
32945 #endif
32946
32947 int
32948 main ()
32949 {
32950 return gethostbyname ();
32951 ;
32952 return 0;
32953 }
32954 _ACEOF
32955 rm -f conftest.$ac_objext conftest$ac_exeext
32956 if { (ac_try="$ac_link"
32957 case "(($ac_try" in
32958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32959 *) ac_try_echo=$ac_try;;
32960 esac
32961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32962 (eval "$ac_link") 2>conftest.er1
32963 ac_status=$?
32964 grep -v '^ *+' conftest.er1 >conftest.err
32965 rm -f conftest.er1
32966 cat conftest.err >&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); } && {
32969 test -z "$ac_c_werror_flag" ||
32970 test ! -s conftest.err
32971 } && test -s conftest$ac_exeext &&
32972 $as_test_x conftest$ac_exeext; then
32973 ac_cv_func_gethostbyname=yes
32974 else
32975 echo "$as_me: failed program was:" >&5
32976 sed 's/^/| /' conftest.$ac_ext >&5
32977
32978 ac_cv_func_gethostbyname=no
32979 fi
32980
32981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32982 conftest$ac_exeext conftest.$ac_ext
32983 fi
32984 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32985 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32986
32987 if test $ac_cv_func_gethostbyname = no; then
32988 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32989 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32990 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32991 echo $ECHO_N "(cached) $ECHO_C" >&6
32992 else
32993 ac_check_lib_save_LIBS=$LIBS
32994 LIBS="-lnsl $LIBS"
32995 cat >conftest.$ac_ext <<_ACEOF
32996 /* confdefs.h. */
32997 _ACEOF
32998 cat confdefs.h >>conftest.$ac_ext
32999 cat >>conftest.$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001
33002 /* Override any GCC internal prototype to avoid an error.
33003 Use char because int might match the return type of a GCC
33004 builtin and then its argument prototype would still apply. */
33005 #ifdef __cplusplus
33006 extern "C"
33007 #endif
33008 char gethostbyname ();
33009 int
33010 main ()
33011 {
33012 return gethostbyname ();
33013 ;
33014 return 0;
33015 }
33016 _ACEOF
33017 rm -f conftest.$ac_objext conftest$ac_exeext
33018 if { (ac_try="$ac_link"
33019 case "(($ac_try" in
33020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33021 *) ac_try_echo=$ac_try;;
33022 esac
33023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33024 (eval "$ac_link") 2>conftest.er1
33025 ac_status=$?
33026 grep -v '^ *+' conftest.er1 >conftest.err
33027 rm -f conftest.er1
33028 cat conftest.err >&5
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); } && {
33031 test -z "$ac_c_werror_flag" ||
33032 test ! -s conftest.err
33033 } && test -s conftest$ac_exeext &&
33034 $as_test_x conftest$ac_exeext; then
33035 ac_cv_lib_nsl_gethostbyname=yes
33036 else
33037 echo "$as_me: failed program was:" >&5
33038 sed 's/^/| /' conftest.$ac_ext >&5
33039
33040 ac_cv_lib_nsl_gethostbyname=no
33041 fi
33042
33043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33044 conftest$ac_exeext conftest.$ac_ext
33045 LIBS=$ac_check_lib_save_LIBS
33046 fi
33047 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33048 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33049 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33051 fi
33052
33053 if test $ac_cv_lib_nsl_gethostbyname = no; then
33054 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33055 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33056 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33057 echo $ECHO_N "(cached) $ECHO_C" >&6
33058 else
33059 ac_check_lib_save_LIBS=$LIBS
33060 LIBS="-lbsd $LIBS"
33061 cat >conftest.$ac_ext <<_ACEOF
33062 /* confdefs.h. */
33063 _ACEOF
33064 cat confdefs.h >>conftest.$ac_ext
33065 cat >>conftest.$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33067
33068 /* Override any GCC internal prototype to avoid an error.
33069 Use char because int might match the return type of a GCC
33070 builtin and then its argument prototype would still apply. */
33071 #ifdef __cplusplus
33072 extern "C"
33073 #endif
33074 char gethostbyname ();
33075 int
33076 main ()
33077 {
33078 return gethostbyname ();
33079 ;
33080 return 0;
33081 }
33082 _ACEOF
33083 rm -f conftest.$ac_objext conftest$ac_exeext
33084 if { (ac_try="$ac_link"
33085 case "(($ac_try" in
33086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33087 *) ac_try_echo=$ac_try;;
33088 esac
33089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33090 (eval "$ac_link") 2>conftest.er1
33091 ac_status=$?
33092 grep -v '^ *+' conftest.er1 >conftest.err
33093 rm -f conftest.er1
33094 cat conftest.err >&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); } && {
33097 test -z "$ac_c_werror_flag" ||
33098 test ! -s conftest.err
33099 } && test -s conftest$ac_exeext &&
33100 $as_test_x conftest$ac_exeext; then
33101 ac_cv_lib_bsd_gethostbyname=yes
33102 else
33103 echo "$as_me: failed program was:" >&5
33104 sed 's/^/| /' conftest.$ac_ext >&5
33105
33106 ac_cv_lib_bsd_gethostbyname=no
33107 fi
33108
33109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33110 conftest$ac_exeext conftest.$ac_ext
33111 LIBS=$ac_check_lib_save_LIBS
33112 fi
33113 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33114 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33115 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33116 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33117 fi
33118
33119 fi
33120 fi
33121
33122 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33123 # socket/setsockopt and other routines are undefined under SCO ODT
33124 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33125 # on later versions), says Simon Leinen: it contains gethostby*
33126 # variants that don't use the name server (or something). -lsocket
33127 # must be given before -lnsl if both are needed. We assume that
33128 # if connect needs -lnsl, so does gethostbyname.
33129 { echo "$as_me:$LINENO: checking for connect" >&5
33130 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33131 if test "${ac_cv_func_connect+set}" = set; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 else
33134 cat >conftest.$ac_ext <<_ACEOF
33135 /* confdefs.h. */
33136 _ACEOF
33137 cat confdefs.h >>conftest.$ac_ext
33138 cat >>conftest.$ac_ext <<_ACEOF
33139 /* end confdefs.h. */
33140 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33142 #define connect innocuous_connect
33143
33144 /* System header to define __stub macros and hopefully few prototypes,
33145 which can conflict with char connect (); below.
33146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33147 <limits.h> exists even on freestanding compilers. */
33148
33149 #ifdef __STDC__
33150 # include <limits.h>
33151 #else
33152 # include <assert.h>
33153 #endif
33154
33155 #undef connect
33156
33157 /* Override any GCC internal prototype to avoid an error.
33158 Use char because int might match the return type of a GCC
33159 builtin and then its argument prototype would still apply. */
33160 #ifdef __cplusplus
33161 extern "C"
33162 #endif
33163 char connect ();
33164 /* The GNU C library defines this for functions which it implements
33165 to always fail with ENOSYS. Some functions are actually named
33166 something starting with __ and the normal name is an alias. */
33167 #if defined __stub_connect || defined __stub___connect
33168 choke me
33169 #endif
33170
33171 int
33172 main ()
33173 {
33174 return connect ();
33175 ;
33176 return 0;
33177 }
33178 _ACEOF
33179 rm -f conftest.$ac_objext conftest$ac_exeext
33180 if { (ac_try="$ac_link"
33181 case "(($ac_try" in
33182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33183 *) ac_try_echo=$ac_try;;
33184 esac
33185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33186 (eval "$ac_link") 2>conftest.er1
33187 ac_status=$?
33188 grep -v '^ *+' conftest.er1 >conftest.err
33189 rm -f conftest.er1
33190 cat conftest.err >&5
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); } && {
33193 test -z "$ac_c_werror_flag" ||
33194 test ! -s conftest.err
33195 } && test -s conftest$ac_exeext &&
33196 $as_test_x conftest$ac_exeext; then
33197 ac_cv_func_connect=yes
33198 else
33199 echo "$as_me: failed program was:" >&5
33200 sed 's/^/| /' conftest.$ac_ext >&5
33201
33202 ac_cv_func_connect=no
33203 fi
33204
33205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33206 conftest$ac_exeext conftest.$ac_ext
33207 fi
33208 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33209 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33210
33211 if test $ac_cv_func_connect = no; then
33212 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33213 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33214 if test "${ac_cv_lib_socket_connect+set}" = set; then
33215 echo $ECHO_N "(cached) $ECHO_C" >&6
33216 else
33217 ac_check_lib_save_LIBS=$LIBS
33218 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33219 cat >conftest.$ac_ext <<_ACEOF
33220 /* confdefs.h. */
33221 _ACEOF
33222 cat confdefs.h >>conftest.$ac_ext
33223 cat >>conftest.$ac_ext <<_ACEOF
33224 /* end confdefs.h. */
33225
33226 /* Override any GCC internal prototype to avoid an error.
33227 Use char because int might match the return type of a GCC
33228 builtin and then its argument prototype would still apply. */
33229 #ifdef __cplusplus
33230 extern "C"
33231 #endif
33232 char connect ();
33233 int
33234 main ()
33235 {
33236 return connect ();
33237 ;
33238 return 0;
33239 }
33240 _ACEOF
33241 rm -f conftest.$ac_objext conftest$ac_exeext
33242 if { (ac_try="$ac_link"
33243 case "(($ac_try" in
33244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33245 *) ac_try_echo=$ac_try;;
33246 esac
33247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33248 (eval "$ac_link") 2>conftest.er1
33249 ac_status=$?
33250 grep -v '^ *+' conftest.er1 >conftest.err
33251 rm -f conftest.er1
33252 cat conftest.err >&5
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); } && {
33255 test -z "$ac_c_werror_flag" ||
33256 test ! -s conftest.err
33257 } && test -s conftest$ac_exeext &&
33258 $as_test_x conftest$ac_exeext; then
33259 ac_cv_lib_socket_connect=yes
33260 else
33261 echo "$as_me: failed program was:" >&5
33262 sed 's/^/| /' conftest.$ac_ext >&5
33263
33264 ac_cv_lib_socket_connect=no
33265 fi
33266
33267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33268 conftest$ac_exeext conftest.$ac_ext
33269 LIBS=$ac_check_lib_save_LIBS
33270 fi
33271 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33272 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33273 if test $ac_cv_lib_socket_connect = yes; then
33274 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33275 fi
33276
33277 fi
33278
33279 # Guillermo Gomez says -lposix is necessary on A/UX.
33280 { echo "$as_me:$LINENO: checking for remove" >&5
33281 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33282 if test "${ac_cv_func_remove+set}" = set; then
33283 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 else
33285 cat >conftest.$ac_ext <<_ACEOF
33286 /* confdefs.h. */
33287 _ACEOF
33288 cat confdefs.h >>conftest.$ac_ext
33289 cat >>conftest.$ac_ext <<_ACEOF
33290 /* end confdefs.h. */
33291 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33293 #define remove innocuous_remove
33294
33295 /* System header to define __stub macros and hopefully few prototypes,
33296 which can conflict with char remove (); below.
33297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33298 <limits.h> exists even on freestanding compilers. */
33299
33300 #ifdef __STDC__
33301 # include <limits.h>
33302 #else
33303 # include <assert.h>
33304 #endif
33305
33306 #undef remove
33307
33308 /* Override any GCC internal prototype to avoid an error.
33309 Use char because int might match the return type of a GCC
33310 builtin and then its argument prototype would still apply. */
33311 #ifdef __cplusplus
33312 extern "C"
33313 #endif
33314 char remove ();
33315 /* The GNU C library defines this for functions which it implements
33316 to always fail with ENOSYS. Some functions are actually named
33317 something starting with __ and the normal name is an alias. */
33318 #if defined __stub_remove || defined __stub___remove
33319 choke me
33320 #endif
33321
33322 int
33323 main ()
33324 {
33325 return remove ();
33326 ;
33327 return 0;
33328 }
33329 _ACEOF
33330 rm -f conftest.$ac_objext conftest$ac_exeext
33331 if { (ac_try="$ac_link"
33332 case "(($ac_try" in
33333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33334 *) ac_try_echo=$ac_try;;
33335 esac
33336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33337 (eval "$ac_link") 2>conftest.er1
33338 ac_status=$?
33339 grep -v '^ *+' conftest.er1 >conftest.err
33340 rm -f conftest.er1
33341 cat conftest.err >&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } && {
33344 test -z "$ac_c_werror_flag" ||
33345 test ! -s conftest.err
33346 } && test -s conftest$ac_exeext &&
33347 $as_test_x conftest$ac_exeext; then
33348 ac_cv_func_remove=yes
33349 else
33350 echo "$as_me: failed program was:" >&5
33351 sed 's/^/| /' conftest.$ac_ext >&5
33352
33353 ac_cv_func_remove=no
33354 fi
33355
33356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33357 conftest$ac_exeext conftest.$ac_ext
33358 fi
33359 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33360 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33361
33362 if test $ac_cv_func_remove = no; then
33363 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33364 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33365 if test "${ac_cv_lib_posix_remove+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 else
33368 ac_check_lib_save_LIBS=$LIBS
33369 LIBS="-lposix $LIBS"
33370 cat >conftest.$ac_ext <<_ACEOF
33371 /* confdefs.h. */
33372 _ACEOF
33373 cat confdefs.h >>conftest.$ac_ext
33374 cat >>conftest.$ac_ext <<_ACEOF
33375 /* end confdefs.h. */
33376
33377 /* Override any GCC internal prototype to avoid an error.
33378 Use char because int might match the return type of a GCC
33379 builtin and then its argument prototype would still apply. */
33380 #ifdef __cplusplus
33381 extern "C"
33382 #endif
33383 char remove ();
33384 int
33385 main ()
33386 {
33387 return remove ();
33388 ;
33389 return 0;
33390 }
33391 _ACEOF
33392 rm -f conftest.$ac_objext conftest$ac_exeext
33393 if { (ac_try="$ac_link"
33394 case "(($ac_try" in
33395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33396 *) ac_try_echo=$ac_try;;
33397 esac
33398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33399 (eval "$ac_link") 2>conftest.er1
33400 ac_status=$?
33401 grep -v '^ *+' conftest.er1 >conftest.err
33402 rm -f conftest.er1
33403 cat conftest.err >&5
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); } && {
33406 test -z "$ac_c_werror_flag" ||
33407 test ! -s conftest.err
33408 } && test -s conftest$ac_exeext &&
33409 $as_test_x conftest$ac_exeext; then
33410 ac_cv_lib_posix_remove=yes
33411 else
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33414
33415 ac_cv_lib_posix_remove=no
33416 fi
33417
33418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33419 conftest$ac_exeext conftest.$ac_ext
33420 LIBS=$ac_check_lib_save_LIBS
33421 fi
33422 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33423 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33424 if test $ac_cv_lib_posix_remove = yes; then
33425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33426 fi
33427
33428 fi
33429
33430 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33431 { echo "$as_me:$LINENO: checking for shmat" >&5
33432 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33433 if test "${ac_cv_func_shmat+set}" = set; then
33434 echo $ECHO_N "(cached) $ECHO_C" >&6
33435 else
33436 cat >conftest.$ac_ext <<_ACEOF
33437 /* confdefs.h. */
33438 _ACEOF
33439 cat confdefs.h >>conftest.$ac_ext
33440 cat >>conftest.$ac_ext <<_ACEOF
33441 /* end confdefs.h. */
33442 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33444 #define shmat innocuous_shmat
33445
33446 /* System header to define __stub macros and hopefully few prototypes,
33447 which can conflict with char shmat (); below.
33448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33449 <limits.h> exists even on freestanding compilers. */
33450
33451 #ifdef __STDC__
33452 # include <limits.h>
33453 #else
33454 # include <assert.h>
33455 #endif
33456
33457 #undef shmat
33458
33459 /* Override any GCC internal prototype to avoid an error.
33460 Use char because int might match the return type of a GCC
33461 builtin and then its argument prototype would still apply. */
33462 #ifdef __cplusplus
33463 extern "C"
33464 #endif
33465 char shmat ();
33466 /* The GNU C library defines this for functions which it implements
33467 to always fail with ENOSYS. Some functions are actually named
33468 something starting with __ and the normal name is an alias. */
33469 #if defined __stub_shmat || defined __stub___shmat
33470 choke me
33471 #endif
33472
33473 int
33474 main ()
33475 {
33476 return shmat ();
33477 ;
33478 return 0;
33479 }
33480 _ACEOF
33481 rm -f conftest.$ac_objext conftest$ac_exeext
33482 if { (ac_try="$ac_link"
33483 case "(($ac_try" in
33484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33485 *) ac_try_echo=$ac_try;;
33486 esac
33487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33488 (eval "$ac_link") 2>conftest.er1
33489 ac_status=$?
33490 grep -v '^ *+' conftest.er1 >conftest.err
33491 rm -f conftest.er1
33492 cat conftest.err >&5
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); } && {
33495 test -z "$ac_c_werror_flag" ||
33496 test ! -s conftest.err
33497 } && test -s conftest$ac_exeext &&
33498 $as_test_x conftest$ac_exeext; then
33499 ac_cv_func_shmat=yes
33500 else
33501 echo "$as_me: failed program was:" >&5
33502 sed 's/^/| /' conftest.$ac_ext >&5
33503
33504 ac_cv_func_shmat=no
33505 fi
33506
33507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33508 conftest$ac_exeext conftest.$ac_ext
33509 fi
33510 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33511 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33512
33513 if test $ac_cv_func_shmat = no; then
33514 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33515 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33516 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33517 echo $ECHO_N "(cached) $ECHO_C" >&6
33518 else
33519 ac_check_lib_save_LIBS=$LIBS
33520 LIBS="-lipc $LIBS"
33521 cat >conftest.$ac_ext <<_ACEOF
33522 /* confdefs.h. */
33523 _ACEOF
33524 cat confdefs.h >>conftest.$ac_ext
33525 cat >>conftest.$ac_ext <<_ACEOF
33526 /* end confdefs.h. */
33527
33528 /* Override any GCC internal prototype to avoid an error.
33529 Use char because int might match the return type of a GCC
33530 builtin and then its argument prototype would still apply. */
33531 #ifdef __cplusplus
33532 extern "C"
33533 #endif
33534 char shmat ();
33535 int
33536 main ()
33537 {
33538 return shmat ();
33539 ;
33540 return 0;
33541 }
33542 _ACEOF
33543 rm -f conftest.$ac_objext conftest$ac_exeext
33544 if { (ac_try="$ac_link"
33545 case "(($ac_try" in
33546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33547 *) ac_try_echo=$ac_try;;
33548 esac
33549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33550 (eval "$ac_link") 2>conftest.er1
33551 ac_status=$?
33552 grep -v '^ *+' conftest.er1 >conftest.err
33553 rm -f conftest.er1
33554 cat conftest.err >&5
33555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33556 (exit $ac_status); } && {
33557 test -z "$ac_c_werror_flag" ||
33558 test ! -s conftest.err
33559 } && test -s conftest$ac_exeext &&
33560 $as_test_x conftest$ac_exeext; then
33561 ac_cv_lib_ipc_shmat=yes
33562 else
33563 echo "$as_me: failed program was:" >&5
33564 sed 's/^/| /' conftest.$ac_ext >&5
33565
33566 ac_cv_lib_ipc_shmat=no
33567 fi
33568
33569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33570 conftest$ac_exeext conftest.$ac_ext
33571 LIBS=$ac_check_lib_save_LIBS
33572 fi
33573 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33574 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33575 if test $ac_cv_lib_ipc_shmat = yes; then
33576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33577 fi
33578
33579 fi
33580 fi
33581
33582 # Check for libraries that X11R6 Xt/Xaw programs need.
33583 ac_save_LDFLAGS=$LDFLAGS
33584 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33585 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33586 # check for ICE first), but we must link in the order -lSM -lICE or
33587 # we get undefined symbols. So assume we have SM if we have ICE.
33588 # These have to be linked with before -lX11, unlike the other
33589 # libraries we check for below, so use a different variable.
33590 # John Interrante, Karl Berry
33591 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33592 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33593 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33594 echo $ECHO_N "(cached) $ECHO_C" >&6
33595 else
33596 ac_check_lib_save_LIBS=$LIBS
33597 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33598 cat >conftest.$ac_ext <<_ACEOF
33599 /* confdefs.h. */
33600 _ACEOF
33601 cat confdefs.h >>conftest.$ac_ext
33602 cat >>conftest.$ac_ext <<_ACEOF
33603 /* end confdefs.h. */
33604
33605 /* Override any GCC internal prototype to avoid an error.
33606 Use char because int might match the return type of a GCC
33607 builtin and then its argument prototype would still apply. */
33608 #ifdef __cplusplus
33609 extern "C"
33610 #endif
33611 char IceConnectionNumber ();
33612 int
33613 main ()
33614 {
33615 return IceConnectionNumber ();
33616 ;
33617 return 0;
33618 }
33619 _ACEOF
33620 rm -f conftest.$ac_objext conftest$ac_exeext
33621 if { (ac_try="$ac_link"
33622 case "(($ac_try" in
33623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33624 *) ac_try_echo=$ac_try;;
33625 esac
33626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33627 (eval "$ac_link") 2>conftest.er1
33628 ac_status=$?
33629 grep -v '^ *+' conftest.er1 >conftest.err
33630 rm -f conftest.er1
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } && {
33634 test -z "$ac_c_werror_flag" ||
33635 test ! -s conftest.err
33636 } && test -s conftest$ac_exeext &&
33637 $as_test_x conftest$ac_exeext; then
33638 ac_cv_lib_ICE_IceConnectionNumber=yes
33639 else
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.$ac_ext >&5
33642
33643 ac_cv_lib_ICE_IceConnectionNumber=no
33644 fi
33645
33646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33647 conftest$ac_exeext conftest.$ac_ext
33648 LIBS=$ac_check_lib_save_LIBS
33649 fi
33650 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33651 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33652 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33653 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33654 fi
33655
33656 LDFLAGS=$ac_save_LDFLAGS
33657
33658 fi
33659
33660
33661 if test "$no_x" = "yes"; then
33662 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33663 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33664 { (exit 1); exit 1; }; }
33665 fi
33666
33667 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33668 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33669 AFMINSTALL=afminstall
33670 COMPILED_X_PROGRAM=0
33671
33672 fi
33673
33674 if test "$wxUSE_X11" = 1; then
33675 if test "$wxUSE_NANOX" = "yes"; then
33676 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33677 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33678 if test "x$MICROWIN" = x ; then
33679 { echo "$as_me:$LINENO: result: not found" >&5
33680 echo "${ECHO_T}not found" >&6; }
33681 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33682 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33683 { (exit 1); exit 1; }; }
33684 else
33685 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33686 echo "${ECHO_T}$MICROWIN" >&6; }
33687 cat >>confdefs.h <<\_ACEOF
33688 #define wxUSE_NANOX 1
33689 _ACEOF
33690
33691 fi
33692 fi
33693
33694 if test "$wxUSE_UNICODE" = "yes"; then
33695
33696
33697 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33698 if test -n "$ac_tool_prefix"; then
33699 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33700 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33703 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33704 echo $ECHO_N "(cached) $ECHO_C" >&6
33705 else
33706 case $PKG_CONFIG in
33707 [\\/]* | ?:[\\/]*)
33708 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33709 ;;
33710 *)
33711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33712 for as_dir in $PATH
33713 do
33714 IFS=$as_save_IFS
33715 test -z "$as_dir" && as_dir=.
33716 for ac_exec_ext in '' $ac_executable_extensions; do
33717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33718 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33720 break 2
33721 fi
33722 done
33723 done
33724 IFS=$as_save_IFS
33725
33726 ;;
33727 esac
33728 fi
33729 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33730 if test -n "$PKG_CONFIG"; then
33731 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33732 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33733 else
33734 { echo "$as_me:$LINENO: result: no" >&5
33735 echo "${ECHO_T}no" >&6; }
33736 fi
33737
33738
33739 fi
33740 if test -z "$ac_cv_path_PKG_CONFIG"; then
33741 ac_pt_PKG_CONFIG=$PKG_CONFIG
33742 # Extract the first word of "pkg-config", so it can be a program name with args.
33743 set dummy pkg-config; ac_word=$2
33744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33746 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33747 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 else
33749 case $ac_pt_PKG_CONFIG in
33750 [\\/]* | ?:[\\/]*)
33751 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33752 ;;
33753 *)
33754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33755 for as_dir in $PATH
33756 do
33757 IFS=$as_save_IFS
33758 test -z "$as_dir" && as_dir=.
33759 for ac_exec_ext in '' $ac_executable_extensions; do
33760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33761 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33763 break 2
33764 fi
33765 done
33766 done
33767 IFS=$as_save_IFS
33768
33769 ;;
33770 esac
33771 fi
33772 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33773 if test -n "$ac_pt_PKG_CONFIG"; then
33774 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33775 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33776 else
33777 { echo "$as_me:$LINENO: result: no" >&5
33778 echo "${ECHO_T}no" >&6; }
33779 fi
33780
33781 if test "x$ac_pt_PKG_CONFIG" = x; then
33782 PKG_CONFIG=""
33783 else
33784 case $cross_compiling:$ac_tool_warned in
33785 yes:)
33786 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33787 whose name does not start with the host triplet. If you think this
33788 configuration is useful to you, please write to autoconf@gnu.org." >&5
33789 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33790 whose name does not start with the host triplet. If you think this
33791 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33792 ac_tool_warned=yes ;;
33793 esac
33794 PKG_CONFIG=$ac_pt_PKG_CONFIG
33795 fi
33796 else
33797 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33798 fi
33799
33800 fi
33801 if test -n "$PKG_CONFIG"; then
33802 _pkg_min_version=0.9.0
33803 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33804 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33805 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33806 { echo "$as_me:$LINENO: result: yes" >&5
33807 echo "${ECHO_T}yes" >&6; }
33808 else
33809 { echo "$as_me:$LINENO: result: no" >&5
33810 echo "${ECHO_T}no" >&6; }
33811 PKG_CONFIG=""
33812 fi
33813
33814 fi
33815
33816
33817 pkg_failed=no
33818 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33819 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33820
33821 if test -n "$PKG_CONFIG"; then
33822 if test -n "$PANGOX_CFLAGS"; then
33823 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33824 else
33825 if test -n "$PKG_CONFIG" && \
33826 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33827 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33828 ac_status=$?
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); }; then
33831 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33832 else
33833 pkg_failed=yes
33834 fi
33835 fi
33836 else
33837 pkg_failed=untried
33838 fi
33839 if test -n "$PKG_CONFIG"; then
33840 if test -n "$PANGOX_LIBS"; then
33841 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33842 else
33843 if test -n "$PKG_CONFIG" && \
33844 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33845 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33846 ac_status=$?
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); }; then
33849 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33850 else
33851 pkg_failed=yes
33852 fi
33853 fi
33854 else
33855 pkg_failed=untried
33856 fi
33857
33858
33859
33860 if test $pkg_failed = yes; then
33861
33862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33863 _pkg_short_errors_supported=yes
33864 else
33865 _pkg_short_errors_supported=no
33866 fi
33867 if test $_pkg_short_errors_supported = yes; then
33868 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33869 else
33870 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33871 fi
33872 # Put the nasty error message in config.log where it belongs
33873 echo "$PANGOX_PKG_ERRORS" >&5
33874
33875
33876 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33877 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33878 { (exit 1); exit 1; }; }
33879
33880
33881 elif test $pkg_failed = untried; then
33882
33883 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33884 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33885 { (exit 1); exit 1; }; }
33886
33887
33888 else
33889 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33890 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33891 { echo "$as_me:$LINENO: result: yes" >&5
33892 echo "${ECHO_T}yes" >&6; }
33893
33894 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33895 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33896 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33897
33898 fi
33899
33900 pkg_failed=no
33901 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33902 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33903
33904 if test -n "$PKG_CONFIG"; then
33905 if test -n "$PANGOFT2_CFLAGS"; then
33906 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33907 else
33908 if test -n "$PKG_CONFIG" && \
33909 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33910 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33911 ac_status=$?
33912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33913 (exit $ac_status); }; then
33914 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33915 else
33916 pkg_failed=yes
33917 fi
33918 fi
33919 else
33920 pkg_failed=untried
33921 fi
33922 if test -n "$PKG_CONFIG"; then
33923 if test -n "$PANGOFT2_LIBS"; then
33924 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33925 else
33926 if test -n "$PKG_CONFIG" && \
33927 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33928 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33929 ac_status=$?
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); }; then
33932 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33933 else
33934 pkg_failed=yes
33935 fi
33936 fi
33937 else
33938 pkg_failed=untried
33939 fi
33940
33941
33942
33943 if test $pkg_failed = yes; then
33944
33945 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33946 _pkg_short_errors_supported=yes
33947 else
33948 _pkg_short_errors_supported=no
33949 fi
33950 if test $_pkg_short_errors_supported = yes; then
33951 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33952 else
33953 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33954 fi
33955 # Put the nasty error message in config.log where it belongs
33956 echo "$PANGOFT2_PKG_ERRORS" >&5
33957
33958
33959 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33960 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33961 wxUSE_PRINTING_ARCHITECTURE="no"
33962
33963
33964 elif test $pkg_failed = untried; then
33965
33966 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33967 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33968 wxUSE_PRINTING_ARCHITECTURE="no"
33969
33970
33971 else
33972 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33973 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33974 { echo "$as_me:$LINENO: result: yes" >&5
33975 echo "${ECHO_T}yes" >&6; }
33976
33977 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33978 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33979 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33980
33981 fi
33982
33983 pkg_failed=no
33984 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33985 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33986
33987 if test -n "$PKG_CONFIG"; then
33988 if test -n "$PANGOXFT_CFLAGS"; then
33989 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33990 else
33991 if test -n "$PKG_CONFIG" && \
33992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33993 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33994 ac_status=$?
33995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33996 (exit $ac_status); }; then
33997 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33998 else
33999 pkg_failed=yes
34000 fi
34001 fi
34002 else
34003 pkg_failed=untried
34004 fi
34005 if test -n "$PKG_CONFIG"; then
34006 if test -n "$PANGOXFT_LIBS"; then
34007 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34008 else
34009 if test -n "$PKG_CONFIG" && \
34010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34011 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34012 ac_status=$?
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); }; then
34015 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34016 else
34017 pkg_failed=yes
34018 fi
34019 fi
34020 else
34021 pkg_failed=untried
34022 fi
34023
34024
34025
34026 if test $pkg_failed = yes; then
34027
34028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34029 _pkg_short_errors_supported=yes
34030 else
34031 _pkg_short_errors_supported=no
34032 fi
34033 if test $_pkg_short_errors_supported = yes; then
34034 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34035 else
34036 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34037 fi
34038 # Put the nasty error message in config.log where it belongs
34039 echo "$PANGOXFT_PKG_ERRORS" >&5
34040
34041
34042 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34043 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34044
34045
34046 elif test $pkg_failed = untried; then
34047
34048 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34049 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34050
34051
34052 else
34053 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34054 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34055 { echo "$as_me:$LINENO: result: yes" >&5
34056 echo "${ECHO_T}yes" >&6; }
34057
34058 cat >>confdefs.h <<\_ACEOF
34059 #define HAVE_PANGO_XFT 1
34060 _ACEOF
34061
34062 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34063 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34064 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34065
34066 fi
34067 save_LIBS="$LIBS"
34068 LIBS="$LIBS $PANGOX_LIBS"
34069
34070 for ac_func in pango_font_family_is_monospace
34071 do
34072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34073 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34075 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34077 else
34078 cat >conftest.$ac_ext <<_ACEOF
34079 /* confdefs.h. */
34080 _ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34086 #define $ac_func innocuous_$ac_func
34087
34088 /* System header to define __stub macros and hopefully few prototypes,
34089 which can conflict with char $ac_func (); below.
34090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34091 <limits.h> exists even on freestanding compilers. */
34092
34093 #ifdef __STDC__
34094 # include <limits.h>
34095 #else
34096 # include <assert.h>
34097 #endif
34098
34099 #undef $ac_func
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 $ac_func ();
34108 /* The GNU C library defines this for functions which it implements
34109 to always fail with ENOSYS. Some functions are actually named
34110 something starting with __ and the normal name is an alias. */
34111 #if defined __stub_$ac_func || defined __stub___$ac_func
34112 choke me
34113 #endif
34114
34115 int
34116 main ()
34117 {
34118 return $ac_func ();
34119 ;
34120 return 0;
34121 }
34122 _ACEOF
34123 rm -f conftest.$ac_objext conftest$ac_exeext
34124 if { (ac_try="$ac_link"
34125 case "(($ac_try" in
34126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34127 *) ac_try_echo=$ac_try;;
34128 esac
34129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34130 (eval "$ac_link") 2>conftest.er1
34131 ac_status=$?
34132 grep -v '^ *+' conftest.er1 >conftest.err
34133 rm -f conftest.er1
34134 cat conftest.err >&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); } && {
34137 test -z "$ac_c_werror_flag" ||
34138 test ! -s conftest.err
34139 } && test -s conftest$ac_exeext &&
34140 $as_test_x conftest$ac_exeext; then
34141 eval "$as_ac_var=yes"
34142 else
34143 echo "$as_me: failed program was:" >&5
34144 sed 's/^/| /' conftest.$ac_ext >&5
34145
34146 eval "$as_ac_var=no"
34147 fi
34148
34149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34150 conftest$ac_exeext conftest.$ac_ext
34151 fi
34152 ac_res=`eval echo '${'$as_ac_var'}'`
34153 { echo "$as_me:$LINENO: result: $ac_res" >&5
34154 echo "${ECHO_T}$ac_res" >&6; }
34155 if test `eval echo '${'$as_ac_var'}'` = yes; then
34156 cat >>confdefs.h <<_ACEOF
34157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34158 _ACEOF
34159
34160 fi
34161 done
34162
34163 LIBS="$save_LIBS"
34164 fi
34165
34166 wxUSE_UNIVERSAL="yes"
34167
34168 if test "$wxUSE_NANOX" = "yes"; then
34169 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34170 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"
34171 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34172 else
34173 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34174 fi
34175
34176 TOOLKIT=X11
34177 GUIDIST=X11_DIST
34178 fi
34179
34180 if test "$wxUSE_MOTIF" = 1; then
34181 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34182 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34183
34184 ac_find_includes=
34185 for ac_dir in $SEARCH_INCLUDE /usr/include;
34186 do
34187 if test -f "$ac_dir/Xm/Xm.h"; then
34188 ac_find_includes=$ac_dir
34189 break
34190 fi
34191 done
34192
34193 if test "$ac_find_includes" != "" ; then
34194 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34195 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34196
34197 if test "x$ac_find_includes" = "x/usr/include"; then
34198 ac_path_to_include=""
34199 else
34200 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34201 result=$?
34202 if test $result = 0; then
34203 ac_path_to_include=""
34204 else
34205 ac_path_to_include=" -I$ac_find_includes"
34206 fi
34207 fi
34208
34209 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34210 else
34211 save_CFLAGS=$CFLAGS
34212 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34213
34214 cat >conftest.$ac_ext <<_ACEOF
34215 /* confdefs.h. */
34216 _ACEOF
34217 cat confdefs.h >>conftest.$ac_ext
34218 cat >>conftest.$ac_ext <<_ACEOF
34219 /* end confdefs.h. */
34220
34221 #include <Xm/Xm.h>
34222
34223 int
34224 main ()
34225 {
34226
34227 int version;
34228 version = xmUseVersion;
34229
34230 ;
34231 return 0;
34232 }
34233 _ACEOF
34234 rm -f conftest.$ac_objext
34235 if { (ac_try="$ac_compile"
34236 case "(($ac_try" in
34237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34238 *) ac_try_echo=$ac_try;;
34239 esac
34240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34241 (eval "$ac_compile") 2>conftest.er1
34242 ac_status=$?
34243 grep -v '^ *+' conftest.er1 >conftest.err
34244 rm -f conftest.er1
34245 cat conftest.err >&5
34246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 (exit $ac_status); } && {
34248 test -z "$ac_c_werror_flag" ||
34249 test ! -s conftest.err
34250 } && test -s conftest.$ac_objext; then
34251
34252 { echo "$as_me:$LINENO: result: found in default search path" >&5
34253 echo "${ECHO_T}found in default search path" >&6; }
34254 COMPILED_X_PROGRAM=1
34255
34256 else
34257 echo "$as_me: failed program was:" >&5
34258 sed 's/^/| /' conftest.$ac_ext >&5
34259
34260
34261 { echo "$as_me:$LINENO: result: no" >&5
34262 echo "${ECHO_T}no" >&6; }
34263 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34264 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34265 { (exit 1); exit 1; }; }
34266
34267
34268 fi
34269
34270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271
34272 CFLAGS=$save_CFLAGS
34273 fi
34274
34275
34276 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34277 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34278
34279 ac_find_libraries=
34280 for ac_dir in $SEARCH_LIB;
34281 do
34282 for ac_extension in a so sl dylib dll.a; do
34283 if test -f "$ac_dir/libXm.$ac_extension"; then
34284 ac_find_libraries=$ac_dir
34285 break 2
34286 fi
34287 done
34288 done
34289
34290
34291 if test "x$ac_find_libraries" != "x" ; then
34292 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34293 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34294
34295
34296 if test "$ac_find_libraries" = "default location"; then
34297 ac_path_to_link=""
34298 else
34299 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34300 result=$?
34301 if test $result = 0; then
34302 ac_path_to_link=""
34303 else
34304 ac_path_to_link=" -L$ac_find_libraries"
34305 fi
34306 fi
34307
34308 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34309 else
34310 save_CFLAGS=$CFLAGS
34311 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34312 save_LIBS="$LIBS"
34313 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34314
34315 cat >conftest.$ac_ext <<_ACEOF
34316 /* confdefs.h. */
34317 _ACEOF
34318 cat confdefs.h >>conftest.$ac_ext
34319 cat >>conftest.$ac_ext <<_ACEOF
34320 /* end confdefs.h. */
34321
34322 #include <Xm/Xm.h>
34323
34324 int
34325 main ()
34326 {
34327
34328 int version;
34329 version = xmUseVersion;
34330
34331 ;
34332 return 0;
34333 }
34334 _ACEOF
34335 rm -f conftest.$ac_objext conftest$ac_exeext
34336 if { (ac_try="$ac_link"
34337 case "(($ac_try" in
34338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34339 *) ac_try_echo=$ac_try;;
34340 esac
34341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34342 (eval "$ac_link") 2>conftest.er1
34343 ac_status=$?
34344 grep -v '^ *+' conftest.er1 >conftest.err
34345 rm -f conftest.er1
34346 cat conftest.err >&5
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); } && {
34349 test -z "$ac_c_werror_flag" ||
34350 test ! -s conftest.err
34351 } && test -s conftest$ac_exeext &&
34352 $as_test_x conftest$ac_exeext; then
34353
34354 { echo "$as_me:$LINENO: result: found in default search path" >&5
34355 echo "${ECHO_T}found in default search path" >&6; }
34356 COMPILED_X_PROGRAM=1
34357
34358 else
34359 echo "$as_me: failed program was:" >&5
34360 sed 's/^/| /' conftest.$ac_ext >&5
34361
34362
34363 { echo "$as_me:$LINENO: result: no" >&5
34364 echo "${ECHO_T}no" >&6; }
34365 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34366 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34367 { (exit 1); exit 1; }; }
34368
34369
34370 fi
34371
34372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34373 conftest$ac_exeext conftest.$ac_ext
34374
34375 CFLAGS=$save_CFLAGS
34376 LIBS="$save_LIBS"
34377 fi
34378
34379 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34380 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34381 libp_link=""
34382 libsm_ice_link=""
34383 libs_found=0
34384 for libp in "" " -lXp"; do
34385 if test "$libs_found" = "0"; then
34386 for libsm_ice in "" " -lSM -lICE"; do
34387 if test "$libs_found" = "0"; then
34388 save_LIBS="$LIBS"
34389 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34390 save_CFLAGS=$CFLAGS
34391 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34392
34393 cat >conftest.$ac_ext <<_ACEOF
34394 /* confdefs.h. */
34395 _ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399
34400 #include <Xm/Xm.h>
34401 #include <Xm/List.h>
34402
34403 int
34404 main ()
34405 {
34406
34407 XmString string = NULL;
34408 Widget w = NULL;
34409 int position = 0;
34410 XmListAddItem(w, string, position);
34411
34412 ;
34413 return 0;
34414 }
34415 _ACEOF
34416 rm -f conftest.$ac_objext conftest$ac_exeext
34417 if { (ac_try="$ac_link"
34418 case "(($ac_try" in
34419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34420 *) ac_try_echo=$ac_try;;
34421 esac
34422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34423 (eval "$ac_link") 2>conftest.er1
34424 ac_status=$?
34425 grep -v '^ *+' conftest.er1 >conftest.err
34426 rm -f conftest.er1
34427 cat conftest.err >&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } && {
34430 test -z "$ac_c_werror_flag" ||
34431 test ! -s conftest.err
34432 } && test -s conftest$ac_exeext &&
34433 $as_test_x conftest$ac_exeext; then
34434
34435 libp_link="$libp"
34436 libsm_ice_link="$libsm_ice"
34437 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34438 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34439 libs_found=1
34440
34441 else
34442 echo "$as_me: failed program was:" >&5
34443 sed 's/^/| /' conftest.$ac_ext >&5
34444
34445
34446
34447 fi
34448
34449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34450 conftest$ac_exeext conftest.$ac_ext
34451
34452 LIBS="$save_LIBS"
34453 CFLAGS=$save_CFLAGS
34454 fi
34455 done
34456 fi
34457 done
34458
34459 if test "$libs_found" = "0"; then
34460 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34461 echo "${ECHO_T}can't find the right libraries" >&6; }
34462 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34463 echo "$as_me: error: can't link a simple motif program" >&2;}
34464 { (exit 1); exit 1; }; }
34465 fi
34466
34467 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34468 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34469 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34470 echo $ECHO_N "(cached) $ECHO_C" >&6
34471 else
34472 ac_check_lib_save_LIBS=$LIBS
34473 LIBS="-lSgm $LIBS"
34474 cat >conftest.$ac_ext <<_ACEOF
34475 /* confdefs.h. */
34476 _ACEOF
34477 cat confdefs.h >>conftest.$ac_ext
34478 cat >>conftest.$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34480
34481 /* Override any GCC internal prototype to avoid an error.
34482 Use char because int might match the return type of a GCC
34483 builtin and then its argument prototype would still apply. */
34484 #ifdef __cplusplus
34485 extern "C"
34486 #endif
34487 char SgCreateList ();
34488 int
34489 main ()
34490 {
34491 return SgCreateList ();
34492 ;
34493 return 0;
34494 }
34495 _ACEOF
34496 rm -f conftest.$ac_objext conftest$ac_exeext
34497 if { (ac_try="$ac_link"
34498 case "(($ac_try" in
34499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34500 *) ac_try_echo=$ac_try;;
34501 esac
34502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34503 (eval "$ac_link") 2>conftest.er1
34504 ac_status=$?
34505 grep -v '^ *+' conftest.er1 >conftest.err
34506 rm -f conftest.er1
34507 cat conftest.err >&5
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); } && {
34510 test -z "$ac_c_werror_flag" ||
34511 test ! -s conftest.err
34512 } && test -s conftest$ac_exeext &&
34513 $as_test_x conftest$ac_exeext; then
34514 ac_cv_lib_Sgm_SgCreateList=yes
34515 else
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34518
34519 ac_cv_lib_Sgm_SgCreateList=no
34520 fi
34521
34522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34523 conftest$ac_exeext conftest.$ac_ext
34524 LIBS=$ac_check_lib_save_LIBS
34525 fi
34526 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34527 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34528 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34529 libsgm_link=" -lSgm"
34530 fi
34531
34532
34533 save_CFLAGS=$CFLAGS
34534 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34535
34536 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34537 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34538 if test "${wx_cv_lib_motif2+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541 cat >conftest.$ac_ext <<_ACEOF
34542 /* confdefs.h. */
34543 _ACEOF
34544 cat confdefs.h >>conftest.$ac_ext
34545 cat >>conftest.$ac_ext <<_ACEOF
34546 /* end confdefs.h. */
34547
34548 #include <Xm/Xm.h>
34549
34550 int
34551 main ()
34552 {
34553
34554 #if XmVersion < 2000
34555 Not Motif 2
34556 #endif
34557
34558 ;
34559 return 0;
34560 }
34561 _ACEOF
34562 rm -f conftest.$ac_objext
34563 if { (ac_try="$ac_compile"
34564 case "(($ac_try" in
34565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34566 *) ac_try_echo=$ac_try;;
34567 esac
34568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34569 (eval "$ac_compile") 2>conftest.er1
34570 ac_status=$?
34571 grep -v '^ *+' conftest.er1 >conftest.err
34572 rm -f conftest.er1
34573 cat conftest.err >&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } && {
34576 test -z "$ac_c_werror_flag" ||
34577 test ! -s conftest.err
34578 } && test -s conftest.$ac_objext; then
34579 wx_cv_lib_motif2="yes"
34580 else
34581 echo "$as_me: failed program was:" >&5
34582 sed 's/^/| /' conftest.$ac_ext >&5
34583
34584 wx_cv_lib_motif2="no"
34585 fi
34586
34587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34588 fi
34589 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34590 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34591 if test "$wx_cv_lib_motif2" = "yes"; then
34592 cat >>confdefs.h <<\_ACEOF
34593 #define __WXMOTIF20__ 1
34594 _ACEOF
34595
34596 else
34597 cat >>confdefs.h <<\_ACEOF
34598 #define __WXMOTIF20__ 0
34599 _ACEOF
34600
34601 fi
34602
34603 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34604 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34605 if test "${wx_cv_lib_lesstif+set}" = set; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34607 else
34608 cat >conftest.$ac_ext <<_ACEOF
34609 /* confdefs.h. */
34610 _ACEOF
34611 cat confdefs.h >>conftest.$ac_ext
34612 cat >>conftest.$ac_ext <<_ACEOF
34613 /* end confdefs.h. */
34614
34615 #include <Xm/Xm.h>
34616
34617 int
34618 main ()
34619 {
34620
34621 #if !defined(LesstifVersion) || LesstifVersion <= 0
34622 Not Lesstif
34623 #endif
34624
34625 ;
34626 return 0;
34627 }
34628 _ACEOF
34629 rm -f conftest.$ac_objext
34630 if { (ac_try="$ac_compile"
34631 case "(($ac_try" in
34632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34633 *) ac_try_echo=$ac_try;;
34634 esac
34635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34636 (eval "$ac_compile") 2>conftest.er1
34637 ac_status=$?
34638 grep -v '^ *+' conftest.er1 >conftest.err
34639 rm -f conftest.er1
34640 cat conftest.err >&5
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); } && {
34643 test -z "$ac_c_werror_flag" ||
34644 test ! -s conftest.err
34645 } && test -s conftest.$ac_objext; then
34646 wx_cv_lib_lesstif="yes"
34647 else
34648 echo "$as_me: failed program was:" >&5
34649 sed 's/^/| /' conftest.$ac_ext >&5
34650
34651 wx_cv_lib_lesstif="no"
34652 fi
34653
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34655
34656 fi
34657 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34658 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34659 if test "$wx_cv_lib_lesstif" = "yes"; then
34660 cat >>confdefs.h <<\_ACEOF
34661 #define __WXLESSTIF__ 1
34662 _ACEOF
34663
34664 else
34665 cat >>confdefs.h <<\_ACEOF
34666 #define __WXLESSTIF__ 0
34667 _ACEOF
34668
34669 fi
34670
34671 CFLAGS=$save_CFLAGS
34672
34673 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34674 TOOLKIT=MOTIF
34675 GUIDIST=MOTIF_DIST
34676 fi
34677
34678 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34679 if test "$wxUSE_LIBXPM" = "sys"; then
34680 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34681 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34682
34683 ac_find_libraries=
34684 for ac_dir in $SEARCH_LIB;
34685 do
34686 for ac_extension in a so sl dylib dll.a; do
34687 if test -f "$ac_dir/libXpm.$ac_extension"; then
34688 ac_find_libraries=$ac_dir
34689 break 2
34690 fi
34691 done
34692 done
34693
34694 if test "$ac_find_libraries" != "" ; then
34695
34696 if test "$ac_find_libraries" = "default location"; then
34697 ac_path_to_link=""
34698 else
34699 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34700 result=$?
34701 if test $result = 0; then
34702 ac_path_to_link=""
34703 else
34704 ac_path_to_link=" -L$ac_find_libraries"
34705 fi
34706 fi
34707
34708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34709 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34710 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34711
34712 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34713 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34714 if test "${wx_cv_x11_xpm_h+set}" = set; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34716 else
34717
34718 save_CFLAGS=$CFLAGS
34719 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34720
34721 cat >conftest.$ac_ext <<_ACEOF
34722 /* confdefs.h. */
34723 _ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34727
34728 #include <X11/xpm.h>
34729
34730 int
34731 main ()
34732 {
34733
34734 int version;
34735 version = XpmLibraryVersion();
34736
34737 ;
34738 return 0;
34739 }
34740 _ACEOF
34741 rm -f conftest.$ac_objext
34742 if { (ac_try="$ac_compile"
34743 case "(($ac_try" in
34744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34745 *) ac_try_echo=$ac_try;;
34746 esac
34747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34748 (eval "$ac_compile") 2>conftest.er1
34749 ac_status=$?
34750 grep -v '^ *+' conftest.er1 >conftest.err
34751 rm -f conftest.er1
34752 cat conftest.err >&5
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); } && {
34755 test -z "$ac_c_werror_flag" ||
34756 test ! -s conftest.err
34757 } && test -s conftest.$ac_objext; then
34758 wx_cv_x11_xpm_h=yes
34759 else
34760 echo "$as_me: failed program was:" >&5
34761 sed 's/^/| /' conftest.$ac_ext >&5
34762
34763 wx_cv_x11_xpm_h=no
34764
34765 fi
34766
34767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34768
34769 CFLAGS=$save_CFLAGS
34770
34771
34772 fi
34773 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34774 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34775
34776 if test $wx_cv_x11_xpm_h = "yes"; then
34777 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34778 cat >>confdefs.h <<\_ACEOF
34779 #define wxHAVE_LIB_XPM 1
34780 _ACEOF
34781
34782 else
34783 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34784 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34785 fi
34786 fi
34787
34788 fi
34789
34790 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34791 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34792 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34793 echo $ECHO_N "(cached) $ECHO_C" >&6
34794 else
34795 ac_check_lib_save_LIBS=$LIBS
34796 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34797 cat >conftest.$ac_ext <<_ACEOF
34798 /* confdefs.h. */
34799 _ACEOF
34800 cat confdefs.h >>conftest.$ac_ext
34801 cat >>conftest.$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34803
34804 /* Override any GCC internal prototype to avoid an error.
34805 Use char because int might match the return type of a GCC
34806 builtin and then its argument prototype would still apply. */
34807 #ifdef __cplusplus
34808 extern "C"
34809 #endif
34810 char XShapeQueryExtension ();
34811 int
34812 main ()
34813 {
34814 return XShapeQueryExtension ();
34815 ;
34816 return 0;
34817 }
34818 _ACEOF
34819 rm -f conftest.$ac_objext conftest$ac_exeext
34820 if { (ac_try="$ac_link"
34821 case "(($ac_try" in
34822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34823 *) ac_try_echo=$ac_try;;
34824 esac
34825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34826 (eval "$ac_link") 2>conftest.er1
34827 ac_status=$?
34828 grep -v '^ *+' conftest.er1 >conftest.err
34829 rm -f conftest.er1
34830 cat conftest.err >&5
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); } && {
34833 test -z "$ac_c_werror_flag" ||
34834 test ! -s conftest.err
34835 } && test -s conftest$ac_exeext &&
34836 $as_test_x conftest$ac_exeext; then
34837 ac_cv_lib_Xext_XShapeQueryExtension=yes
34838 else
34839 echo "$as_me: failed program was:" >&5
34840 sed 's/^/| /' conftest.$ac_ext >&5
34841
34842 ac_cv_lib_Xext_XShapeQueryExtension=no
34843 fi
34844
34845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34846 conftest$ac_exeext conftest.$ac_ext
34847 LIBS=$ac_check_lib_save_LIBS
34848 fi
34849 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34850 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34851 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34852
34853 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34854 wxHAVE_XEXT_LIB=1
34855
34856 fi
34857
34858
34859 if test "$wxHAVE_XEXT_LIB" = 1; then
34860 save_CFLAGS="$CFLAGS"
34861 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34862
34863 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34864 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34865 cat >conftest.$ac_ext <<_ACEOF
34866 /* confdefs.h. */
34867 _ACEOF
34868 cat confdefs.h >>conftest.$ac_ext
34869 cat >>conftest.$ac_ext <<_ACEOF
34870 /* end confdefs.h. */
34871
34872 #include <X11/Xlib.h>
34873 #include <X11/extensions/shape.h>
34874
34875 int
34876 main ()
34877 {
34878
34879 int dummy1, dummy2;
34880 XShapeQueryExtension((Display*)NULL,
34881 (int*)NULL, (int*)NULL);
34882
34883 ;
34884 return 0;
34885 }
34886 _ACEOF
34887 rm -f conftest.$ac_objext
34888 if { (ac_try="$ac_compile"
34889 case "(($ac_try" in
34890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34891 *) ac_try_echo=$ac_try;;
34892 esac
34893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34894 (eval "$ac_compile") 2>conftest.er1
34895 ac_status=$?
34896 grep -v '^ *+' conftest.er1 >conftest.err
34897 rm -f conftest.er1
34898 cat conftest.err >&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } && {
34901 test -z "$ac_c_werror_flag" ||
34902 test ! -s conftest.err
34903 } && test -s conftest.$ac_objext; then
34904
34905 cat >>confdefs.h <<\_ACEOF
34906 #define HAVE_XSHAPE 1
34907 _ACEOF
34908
34909 { echo "$as_me:$LINENO: result: found" >&5
34910 echo "${ECHO_T}found" >&6; }
34911
34912 else
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34915
34916
34917 { echo "$as_me:$LINENO: result: not found" >&5
34918 echo "${ECHO_T}not found" >&6; }
34919
34920 fi
34921
34922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34923 CFLAGS="$save_CFLAGS"
34924
34925 fi
34926 fi
34927
34928 if test "$wxUSE_MAC" = 1; then
34929 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34930 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34931 if test "$GCC" = yes; then
34932 { echo "$as_me:$LINENO: result: gcc" >&5
34933 echo "${ECHO_T}gcc" >&6; }
34934 CPPFLAGS_PASCAL="-fpascal-strings"
34935 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34936 { echo "$as_me:$LINENO: result: xlc" >&5
34937 echo "${ECHO_T}xlc" >&6; }
34938 CPPFLAGS_PASCAL="-qmacpstr"
34939 else
34940 { echo "$as_me:$LINENO: result: none" >&5
34941 echo "${ECHO_T}none" >&6; }
34942 fi
34943
34944 if test "x$wxUSE_UNIX" = "xyes"; then
34945 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34946 else
34947 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34948 fi
34949
34950 TOOLKIT=MAC
34951 GUIDIST=MACX_DIST
34952 WXBASEPORT="_carbon"
34953 fi
34954
34955 if test "$wxUSE_COCOA" = 1; then
34956 TOOLKIT=COCOA
34957 GUIDIST=COCOA_DIST
34958 fi
34959
34960 if test "$wxUSE_PM" = 1; then
34961 TOOLKIT=PM
34962 GUIDIST=PM_DIST
34963 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34964 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34965 if test "${wx_cv_spbcdata+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 else
34968
34969 cat >conftest.$ac_ext <<_ACEOF
34970 /* confdefs.h. */
34971 _ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34975
34976 #define INCL_PM
34977 #include <os2.h>
34978
34979 int
34980 main ()
34981 {
34982
34983 SPBCDATA test;
34984
34985 ;
34986 return 0;
34987 }
34988 _ACEOF
34989 rm -f conftest.$ac_objext
34990 if { (ac_try="$ac_compile"
34991 case "(($ac_try" in
34992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34993 *) ac_try_echo=$ac_try;;
34994 esac
34995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34996 (eval "$ac_compile") 2>conftest.er1
34997 ac_status=$?
34998 grep -v '^ *+' conftest.er1 >conftest.err
34999 rm -f conftest.er1
35000 cat conftest.err >&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } && {
35003 test -z "$ac_c_werror_flag" ||
35004 test ! -s conftest.err
35005 } && test -s conftest.$ac_objext; then
35006 wx_cv_spbcdata=yes
35007 else
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35010
35011 wx_cv_spbcdata=no
35012
35013 fi
35014
35015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35016
35017
35018 fi
35019 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35020 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35021
35022 if test $wx_cv_spbcdata = "yes"; then
35023 cat >>confdefs.h <<\_ACEOF
35024 #define HAVE_SPBCDATA 1
35025 _ACEOF
35026
35027 fi
35028 fi
35029
35030 if test "$TOOLKIT" = "PM" ; then
35031 TOOLKIT_DIR="os2"
35032 else
35033 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35034 fi
35035
35036 if test "$wxUSE_UNIVERSAL" = "yes"; then
35037 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35038 WIDGET_SET=univ
35039 fi
35040
35041 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35042 DISTDIR="wx\$(TOOLKIT)"
35043 else
35044 USE_GUI=0
35045
35046 TOOLKIT_DIR="base"
35047
35048 if test "$USE_WIN32" = 1 ; then
35049 TOOLKIT="MSW"
35050 fi
35051
35052 GUIDIST="BASE_DIST"
35053 DISTDIR="wxBase"
35054 fi
35055
35056
35057
35058 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35059 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35060 wxUSE_UNICODE_UTF8=yes
35061 elif test "$USE_OS2" = "1" ; then
35062 wxUSE_UNICODE_UTF8=yes
35063 else
35064 wxUSE_UNICODE_UTF8=no
35065 fi
35066 fi
35067
35068
35069 if test "$wxUSE_GUI" = "yes"; then
35070 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35071
35072 for ac_header in X11/Xlib.h
35073 do
35074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35075 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35079 else
35080 cat >conftest.$ac_ext <<_ACEOF
35081 /* confdefs.h. */
35082 _ACEOF
35083 cat confdefs.h >>conftest.$ac_ext
35084 cat >>conftest.$ac_ext <<_ACEOF
35085 /* end confdefs.h. */
35086
35087
35088 #include <$ac_header>
35089 _ACEOF
35090 rm -f conftest.$ac_objext
35091 if { (ac_try="$ac_compile"
35092 case "(($ac_try" in
35093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35094 *) ac_try_echo=$ac_try;;
35095 esac
35096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35097 (eval "$ac_compile") 2>conftest.er1
35098 ac_status=$?
35099 grep -v '^ *+' conftest.er1 >conftest.err
35100 rm -f conftest.er1
35101 cat conftest.err >&5
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); } && {
35104 test -z "$ac_c_werror_flag" ||
35105 test ! -s conftest.err
35106 } && test -s conftest.$ac_objext; then
35107 eval "$as_ac_Header=yes"
35108 else
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35111
35112 eval "$as_ac_Header=no"
35113 fi
35114
35115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35116 fi
35117 ac_res=`eval echo '${'$as_ac_Header'}'`
35118 { echo "$as_me:$LINENO: result: $ac_res" >&5
35119 echo "${ECHO_T}$ac_res" >&6; }
35120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35121 cat >>confdefs.h <<_ACEOF
35122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35123 _ACEOF
35124
35125 fi
35126
35127 done
35128
35129
35130 for ac_header in X11/XKBlib.h
35131 do
35132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35136 echo $ECHO_N "(cached) $ECHO_C" >&6
35137 else
35138 cat >conftest.$ac_ext <<_ACEOF
35139 /* confdefs.h. */
35140 _ACEOF
35141 cat confdefs.h >>conftest.$ac_ext
35142 cat >>conftest.$ac_ext <<_ACEOF
35143 /* end confdefs.h. */
35144
35145 #if HAVE_X11_XLIB_H
35146 #include <X11/Xlib.h>
35147 #endif
35148
35149
35150 #include <$ac_header>
35151 _ACEOF
35152 rm -f conftest.$ac_objext
35153 if { (ac_try="$ac_compile"
35154 case "(($ac_try" in
35155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35156 *) ac_try_echo=$ac_try;;
35157 esac
35158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35159 (eval "$ac_compile") 2>conftest.er1
35160 ac_status=$?
35161 grep -v '^ *+' conftest.er1 >conftest.err
35162 rm -f conftest.er1
35163 cat conftest.err >&5
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); } && {
35166 test -z "$ac_c_werror_flag" ||
35167 test ! -s conftest.err
35168 } && test -s conftest.$ac_objext; then
35169 eval "$as_ac_Header=yes"
35170 else
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.$ac_ext >&5
35173
35174 eval "$as_ac_Header=no"
35175 fi
35176
35177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35178 fi
35179 ac_res=`eval echo '${'$as_ac_Header'}'`
35180 { echo "$as_me:$LINENO: result: $ac_res" >&5
35181 echo "${ECHO_T}$ac_res" >&6; }
35182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35183 cat >>confdefs.h <<_ACEOF
35184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35185 _ACEOF
35186
35187 fi
35188
35189 done
35190
35191 fi
35192 fi
35193
35194
35195
35196 IODBC_C_SRC=""
35197
35198
35199 if test "$TOOLKIT" != "MSW" ; then
35200
35201 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35202
35203 { echo "$as_me:$LINENO: checking for sql.h" >&5
35204 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35205 if test "${ac_cv_header_sql_h+set}" = set; then
35206 echo $ECHO_N "(cached) $ECHO_C" >&6
35207 else
35208 cat >conftest.$ac_ext <<_ACEOF
35209 /* confdefs.h. */
35210 _ACEOF
35211 cat confdefs.h >>conftest.$ac_ext
35212 cat >>conftest.$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35214
35215
35216 #include <sql.h>
35217 _ACEOF
35218 rm -f conftest.$ac_objext
35219 if { (ac_try="$ac_compile"
35220 case "(($ac_try" in
35221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35222 *) ac_try_echo=$ac_try;;
35223 esac
35224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35225 (eval "$ac_compile") 2>conftest.er1
35226 ac_status=$?
35227 grep -v '^ *+' conftest.er1 >conftest.err
35228 rm -f conftest.er1
35229 cat conftest.err >&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } && {
35232 test -z "$ac_c_werror_flag" ||
35233 test ! -s conftest.err
35234 } && test -s conftest.$ac_objext; then
35235 ac_cv_header_sql_h=yes
35236 else
35237 echo "$as_me: failed program was:" >&5
35238 sed 's/^/| /' conftest.$ac_ext >&5
35239
35240 ac_cv_header_sql_h=no
35241 fi
35242
35243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35244 fi
35245 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35246 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35247 if test $ac_cv_header_sql_h = yes; then
35248 found_sql_h=1
35249 fi
35250
35251
35252 if test "x$found_sql_h" = "x1" ; then
35253 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35254 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35255 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 else
35258 ac_check_lib_save_LIBS=$LIBS
35259 LIBS="-liodbc $LIBS"
35260 cat >conftest.$ac_ext <<_ACEOF
35261 /* confdefs.h. */
35262 _ACEOF
35263 cat confdefs.h >>conftest.$ac_ext
35264 cat >>conftest.$ac_ext <<_ACEOF
35265 /* end confdefs.h. */
35266
35267 /* Override any GCC internal prototype to avoid an error.
35268 Use char because int might match the return type of a GCC
35269 builtin and then its argument prototype would still apply. */
35270 #ifdef __cplusplus
35271 extern "C"
35272 #endif
35273 char SQLAllocEnv ();
35274 int
35275 main ()
35276 {
35277 return SQLAllocEnv ();
35278 ;
35279 return 0;
35280 }
35281 _ACEOF
35282 rm -f conftest.$ac_objext conftest$ac_exeext
35283 if { (ac_try="$ac_link"
35284 case "(($ac_try" in
35285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35286 *) ac_try_echo=$ac_try;;
35287 esac
35288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35289 (eval "$ac_link") 2>conftest.er1
35290 ac_status=$?
35291 grep -v '^ *+' conftest.er1 >conftest.err
35292 rm -f conftest.er1
35293 cat conftest.err >&5
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); } && {
35296 test -z "$ac_c_werror_flag" ||
35297 test ! -s conftest.err
35298 } && test -s conftest$ac_exeext &&
35299 $as_test_x conftest$ac_exeext; then
35300 ac_cv_lib_iodbc_SQLAllocEnv=yes
35301 else
35302 echo "$as_me: failed program was:" >&5
35303 sed 's/^/| /' conftest.$ac_ext >&5
35304
35305 ac_cv_lib_iodbc_SQLAllocEnv=no
35306 fi
35307
35308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35309 conftest$ac_exeext conftest.$ac_ext
35310 LIBS=$ac_check_lib_save_LIBS
35311 fi
35312 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35313 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35314 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35315 ODBC_LINK=" -liodbc"
35316 else
35317
35318 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35319 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35320 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35321 echo $ECHO_N "(cached) $ECHO_C" >&6
35322 else
35323 ac_check_lib_save_LIBS=$LIBS
35324 LIBS="-lunixodbc $LIBS"
35325 cat >conftest.$ac_ext <<_ACEOF
35326 /* confdefs.h. */
35327 _ACEOF
35328 cat confdefs.h >>conftest.$ac_ext
35329 cat >>conftest.$ac_ext <<_ACEOF
35330 /* end confdefs.h. */
35331
35332 /* Override any GCC internal prototype to avoid an error.
35333 Use char because int might match the return type of a GCC
35334 builtin and then its argument prototype would still apply. */
35335 #ifdef __cplusplus
35336 extern "C"
35337 #endif
35338 char SQLAllocEnv ();
35339 int
35340 main ()
35341 {
35342 return SQLAllocEnv ();
35343 ;
35344 return 0;
35345 }
35346 _ACEOF
35347 rm -f conftest.$ac_objext conftest$ac_exeext
35348 if { (ac_try="$ac_link"
35349 case "(($ac_try" in
35350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35351 *) ac_try_echo=$ac_try;;
35352 esac
35353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35354 (eval "$ac_link") 2>conftest.er1
35355 ac_status=$?
35356 grep -v '^ *+' conftest.er1 >conftest.err
35357 rm -f conftest.er1
35358 cat conftest.err >&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } && {
35361 test -z "$ac_c_werror_flag" ||
35362 test ! -s conftest.err
35363 } && test -s conftest$ac_exeext &&
35364 $as_test_x conftest$ac_exeext; then
35365 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35366 else
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.$ac_ext >&5
35369
35370 ac_cv_lib_unixodbc_SQLAllocEnv=no
35371 fi
35372
35373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35374 conftest$ac_exeext conftest.$ac_ext
35375 LIBS=$ac_check_lib_save_LIBS
35376 fi
35377 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35378 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35379 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35380 ODBC_LINK=" -lunixodbc"
35381 else
35382
35383 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35384 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35385 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35386 echo $ECHO_N "(cached) $ECHO_C" >&6
35387 else
35388 ac_check_lib_save_LIBS=$LIBS
35389 LIBS="-lodbc $LIBS"
35390 cat >conftest.$ac_ext <<_ACEOF
35391 /* confdefs.h. */
35392 _ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396
35397 /* Override any GCC internal prototype to avoid an error.
35398 Use char because int might match the return type of a GCC
35399 builtin and then its argument prototype would still apply. */
35400 #ifdef __cplusplus
35401 extern "C"
35402 #endif
35403 char SQLAllocEnv ();
35404 int
35405 main ()
35406 {
35407 return SQLAllocEnv ();
35408 ;
35409 return 0;
35410 }
35411 _ACEOF
35412 rm -f conftest.$ac_objext conftest$ac_exeext
35413 if { (ac_try="$ac_link"
35414 case "(($ac_try" in
35415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35416 *) ac_try_echo=$ac_try;;
35417 esac
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_link") 2>conftest.er1
35420 ac_status=$?
35421 grep -v '^ *+' conftest.er1 >conftest.err
35422 rm -f conftest.er1
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_c_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest$ac_exeext &&
35429 $as_test_x conftest$ac_exeext; then
35430 ac_cv_lib_odbc_SQLAllocEnv=yes
35431 else
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.$ac_ext >&5
35434
35435 ac_cv_lib_odbc_SQLAllocEnv=no
35436 fi
35437
35438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35439 conftest$ac_exeext conftest.$ac_ext
35440 LIBS=$ac_check_lib_save_LIBS
35441 fi
35442 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35443 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35444 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35445 ODBC_LINK=" -lodbc"
35446 fi
35447
35448
35449 fi
35450
35451
35452 fi
35453
35454 fi
35455 if test "x$ODBC_LINK" = "x" ; then
35456 if test "$wxUSE_ODBC" = "sys" ; then
35457 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35458 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35459 { (exit 1); exit 1; }; }
35460 else
35461 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35462 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35463 wxUSE_ODBC=builtin
35464 fi
35465 else
35466 wxUSE_ODBC=sys
35467 fi
35468 fi
35469
35470 if test "$wxUSE_ODBC" = "builtin" ; then
35471 cat >>confdefs.h <<\_ACEOF
35472 #define wxUSE_BUILTIN_IODBC 1
35473 _ACEOF
35474
35475 fi
35476 fi
35477
35478 if test "$wxUSE_ODBC" != "no" ; then
35479 cat >>confdefs.h <<\_ACEOF
35480 #define wxUSE_ODBC 1
35481 _ACEOF
35482
35483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35484
35485 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35486 fi
35487
35488
35489 if test "$wxUSE_DISPLAY" = "yes"; then
35490 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35491 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35492 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35493
35494 ac_find_libraries=
35495 for ac_dir in $SEARCH_LIB;
35496 do
35497 for ac_extension in a so sl dylib dll.a; do
35498 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35499 ac_find_libraries=$ac_dir
35500 break 2
35501 fi
35502 done
35503 done
35504
35505 if test "$ac_find_libraries" != "" ; then
35506
35507 if test "$ac_find_libraries" = "default location"; then
35508 ac_path_to_link=""
35509 else
35510 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35511 result=$?
35512 if test $result = 0; then
35513 ac_path_to_link=""
35514 else
35515 ac_path_to_link=" -L$ac_find_libraries"
35516 fi
35517 fi
35518
35519 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35520 LDFLAGS="$LDFLAGS $ac_path_to_link"
35521 fi
35522 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35523 { echo "$as_me:$LINENO: result: yes" >&5
35524 echo "${ECHO_T}yes" >&6; }
35525
35526 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35527 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35528
35529 ac_find_libraries=
35530 for ac_dir in $SEARCH_LIB;
35531 do
35532 for ac_extension in a so sl dylib dll.a; do
35533 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35534 ac_find_libraries=$ac_dir
35535 break 2
35536 fi
35537 done
35538 done
35539
35540 if test "$ac_find_libraries" != "" ; then
35541 { echo "$as_me:$LINENO: result: yes" >&5
35542 echo "${ECHO_T}yes" >&6; }
35543
35544 for ac_header in X11/extensions/xf86vmode.h
35545 do
35546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35551 else
35552 cat >conftest.$ac_ext <<_ACEOF
35553 /* confdefs.h. */
35554 _ACEOF
35555 cat confdefs.h >>conftest.$ac_ext
35556 cat >>conftest.$ac_ext <<_ACEOF
35557 /* end confdefs.h. */
35558
35559 #if HAVE_X11_XLIB_H
35560 #include <X11/Xlib.h>
35561 #endif
35562
35563
35564 #include <$ac_header>
35565 _ACEOF
35566 rm -f conftest.$ac_objext
35567 if { (ac_try="$ac_compile"
35568 case "(($ac_try" in
35569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35570 *) ac_try_echo=$ac_try;;
35571 esac
35572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35573 (eval "$ac_compile") 2>conftest.er1
35574 ac_status=$?
35575 grep -v '^ *+' conftest.er1 >conftest.err
35576 rm -f conftest.er1
35577 cat conftest.err >&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } && {
35580 test -z "$ac_c_werror_flag" ||
35581 test ! -s conftest.err
35582 } && test -s conftest.$ac_objext; then
35583 eval "$as_ac_Header=yes"
35584 else
35585 echo "$as_me: failed program was:" >&5
35586 sed 's/^/| /' conftest.$ac_ext >&5
35587
35588 eval "$as_ac_Header=no"
35589 fi
35590
35591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35592 fi
35593 ac_res=`eval echo '${'$as_ac_Header'}'`
35594 { echo "$as_me:$LINENO: result: $ac_res" >&5
35595 echo "${ECHO_T}$ac_res" >&6; }
35596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35597 cat >>confdefs.h <<_ACEOF
35598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35599 _ACEOF
35600
35601 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35602
35603 fi
35604
35605 done
35606
35607 else
35608 { echo "$as_me:$LINENO: result: no" >&5
35609 echo "${ECHO_T}no" >&6; }
35610 fi
35611
35612 else
35613 { echo "$as_me:$LINENO: result: no" >&5
35614 echo "${ECHO_T}no" >&6; }
35615 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35616 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35617 wxUSE_DISPLAY="no"
35618 fi
35619 elif test "$wxUSE_MSW" = 1; then
35620 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35621 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35622 if test "${ac_cv_header_ddraw_h+set}" = set; then
35623 echo $ECHO_N "(cached) $ECHO_C" >&6
35624 else
35625 cat >conftest.$ac_ext <<_ACEOF
35626 /* confdefs.h. */
35627 _ACEOF
35628 cat confdefs.h >>conftest.$ac_ext
35629 cat >>conftest.$ac_ext <<_ACEOF
35630 /* end confdefs.h. */
35631 #include <windows.h>
35632
35633 #include <ddraw.h>
35634 _ACEOF
35635 rm -f conftest.$ac_objext
35636 if { (ac_try="$ac_compile"
35637 case "(($ac_try" in
35638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35639 *) ac_try_echo=$ac_try;;
35640 esac
35641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35642 (eval "$ac_compile") 2>conftest.er1
35643 ac_status=$?
35644 grep -v '^ *+' conftest.er1 >conftest.err
35645 rm -f conftest.er1
35646 cat conftest.err >&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } && {
35649 test -z "$ac_c_werror_flag" ||
35650 test ! -s conftest.err
35651 } && test -s conftest.$ac_objext; then
35652 ac_cv_header_ddraw_h=yes
35653 else
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.$ac_ext >&5
35656
35657 ac_cv_header_ddraw_h=no
35658 fi
35659
35660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35661 fi
35662 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35663 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35664
35665
35666 fi
35667 fi
35668
35669 if test "$wxUSE_DETECT_SM" = "yes"; then
35670 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35671 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35672 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35673
35674 ac_find_libraries=
35675 for ac_dir in $SEARCH_LIB;
35676 do
35677 for ac_extension in a so sl dylib dll.a; do
35678 if test -f "$ac_dir/libSM.$ac_extension"; then
35679 ac_find_libraries=$ac_dir
35680 break 2
35681 fi
35682 done
35683 done
35684
35685 if test "$ac_find_libraries" != "" ; then
35686
35687 if test "$ac_find_libraries" = "default location"; then
35688 ac_path_to_link=""
35689 else
35690 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35691 result=$?
35692 if test $result = 0; then
35693 ac_path_to_link=""
35694 else
35695 ac_path_to_link=" -L$ac_find_libraries"
35696 fi
35697 fi
35698
35699 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35700 LDFLAGS="$LDFLAGS $ac_path_to_link"
35701 fi
35702 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35703 { echo "$as_me:$LINENO: result: yes" >&5
35704 echo "${ECHO_T}yes" >&6; }
35705 else
35706 { echo "$as_me:$LINENO: result: no" >&5
35707 echo "${ECHO_T}no" >&6; }
35708 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35709 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35710 wxUSE_DETECT_SM="no"
35711 fi
35712 else
35713 wxUSE_DETECT_SM="no"
35714 fi
35715 fi
35716
35717
35718
35719 USE_OPENGL=0
35720 if test "$wxUSE_OPENGL" = "yes"; then
35721 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35722 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35723 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35724 wxUSE_OPENGL="no"
35725 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35726 OPENGL_LIBS="-framework OpenGL -framework AGL"
35727 elif test "$wxUSE_MSW" = 1; then
35728 OPENGL_LIBS="-lopengl32 -lglu32"
35729 else
35730 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35731 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35732
35733 ac_find_includes=
35734 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35735 do
35736 if test -f "$ac_dir/GL/gl.h"; then
35737 ac_find_includes=$ac_dir
35738 break
35739 fi
35740 done
35741
35742 if test "$ac_find_includes" != "" ; then
35743 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35744 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35745
35746 if test "x$ac_find_includes" = "x/usr/include"; then
35747 ac_path_to_include=""
35748 else
35749 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35750 result=$?
35751 if test $result = 0; then
35752 ac_path_to_include=""
35753 else
35754 ac_path_to_include=" -I$ac_find_includes"
35755 fi
35756 fi
35757
35758 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35759 else
35760 { echo "$as_me:$LINENO: result: not found" >&5
35761 echo "${ECHO_T}not found" >&6; }
35762 fi
35763
35764 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35765 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35766 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35767 echo $ECHO_N "(cached) $ECHO_C" >&6
35768 else
35769 cat >conftest.$ac_ext <<_ACEOF
35770 /* confdefs.h. */
35771 _ACEOF
35772 cat confdefs.h >>conftest.$ac_ext
35773 cat >>conftest.$ac_ext <<_ACEOF
35774 /* end confdefs.h. */
35775
35776
35777 #include <GL/gl.h>
35778 _ACEOF
35779 rm -f conftest.$ac_objext
35780 if { (ac_try="$ac_compile"
35781 case "(($ac_try" in
35782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35783 *) ac_try_echo=$ac_try;;
35784 esac
35785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35786 (eval "$ac_compile") 2>conftest.er1
35787 ac_status=$?
35788 grep -v '^ *+' conftest.er1 >conftest.err
35789 rm -f conftest.er1
35790 cat conftest.err >&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } && {
35793 test -z "$ac_c_werror_flag" ||
35794 test ! -s conftest.err
35795 } && test -s conftest.$ac_objext; then
35796 ac_cv_header_GL_gl_h=yes
35797 else
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.$ac_ext >&5
35800
35801 ac_cv_header_GL_gl_h=no
35802 fi
35803
35804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35805 fi
35806 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35807 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35808 if test $ac_cv_header_GL_gl_h = yes; then
35809
35810 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35811 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35812 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35813 echo $ECHO_N "(cached) $ECHO_C" >&6
35814 else
35815 cat >conftest.$ac_ext <<_ACEOF
35816 /* confdefs.h. */
35817 _ACEOF
35818 cat confdefs.h >>conftest.$ac_ext
35819 cat >>conftest.$ac_ext <<_ACEOF
35820 /* end confdefs.h. */
35821
35822
35823 #include <GL/glu.h>
35824 _ACEOF
35825 rm -f conftest.$ac_objext
35826 if { (ac_try="$ac_compile"
35827 case "(($ac_try" in
35828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35829 *) ac_try_echo=$ac_try;;
35830 esac
35831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35832 (eval "$ac_compile") 2>conftest.er1
35833 ac_status=$?
35834 grep -v '^ *+' conftest.er1 >conftest.err
35835 rm -f conftest.er1
35836 cat conftest.err >&5
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); } && {
35839 test -z "$ac_c_werror_flag" ||
35840 test ! -s conftest.err
35841 } && test -s conftest.$ac_objext; then
35842 ac_cv_header_GL_glu_h=yes
35843 else
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35846
35847 ac_cv_header_GL_glu_h=no
35848 fi
35849
35850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35851 fi
35852 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35853 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35854 if test $ac_cv_header_GL_glu_h = yes; then
35855
35856 found_gl=0
35857
35858 { echo "$as_me:$LINENO: checking for -lGL" >&5
35859 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35860
35861 ac_find_libraries=
35862 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35863 do
35864 for ac_extension in a so sl dylib dll.a; do
35865 if test -f "$ac_dir/libGL.$ac_extension"; then
35866 ac_find_libraries=$ac_dir
35867 break 2
35868 fi
35869 done
35870 done
35871
35872 if test "$ac_find_libraries" != "" ; then
35873 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35874 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35875
35876
35877 if test "$ac_find_libraries" = "default location"; then
35878 ac_path_to_link=""
35879 else
35880 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35881 result=$?
35882 if test $result = 0; then
35883 ac_path_to_link=""
35884 else
35885 ac_path_to_link=" -L$ac_find_libraries"
35886 fi
35887 fi
35888
35889 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35890 LDFLAGS_GL="$ac_path_to_link"
35891 fi
35892
35893 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35894 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35895
35896 ac_find_libraries=
35897 for ac_dir in $SEARCH_LIB;
35898 do
35899 for ac_extension in a so sl dylib dll.a; do
35900 if test -f "$ac_dir/libGLU.$ac_extension"; then
35901 ac_find_libraries=$ac_dir
35902 break 2
35903 fi
35904 done
35905 done
35906
35907 if test "$ac_find_libraries" != "" ; then
35908
35909 if test "$ac_find_libraries" = "default location"; then
35910 ac_path_to_link=""
35911 else
35912 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35913 result=$?
35914 if test $result = 0; then
35915 ac_path_to_link=""
35916 else
35917 ac_path_to_link=" -L$ac_find_libraries"
35918 fi
35919 fi
35920
35921 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35922 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35923 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35924 fi
35925
35926 found_gl=1
35927 OPENGL_LIBS="-lGL -lGLU"
35928 { echo "$as_me:$LINENO: result: yes" >&5
35929 echo "${ECHO_T}yes" >&6; }
35930 else
35931 { echo "$as_me:$LINENO: result: no" >&5
35932 echo "${ECHO_T}no" >&6; }
35933 fi
35934 else
35935 { echo "$as_me:$LINENO: result: no" >&5
35936 echo "${ECHO_T}no" >&6; }
35937 fi
35938
35939 if test "$found_gl" != 1; then
35940 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35941 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35942
35943 ac_find_libraries=
35944 for ac_dir in $SEARCH_LIB;
35945 do
35946 for ac_extension in a so sl dylib dll.a; do
35947 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35948 ac_find_libraries=$ac_dir
35949 break 2
35950 fi
35951 done
35952 done
35953
35954 if test "$ac_find_libraries" != "" ; then
35955
35956 if test "$ac_find_libraries" = "default location"; then
35957 ac_path_to_link=""
35958 else
35959 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35960 result=$?
35961 if test $result = 0; then
35962 ac_path_to_link=""
35963 else
35964 ac_path_to_link=" -L$ac_find_libraries"
35965 fi
35966 fi
35967
35968 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35969 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35970 { echo "$as_me:$LINENO: result: yes" >&5
35971 echo "${ECHO_T}yes" >&6; }
35972 else
35973 { echo "$as_me:$LINENO: result: no" >&5
35974 echo "${ECHO_T}no" >&6; }
35975 fi
35976 fi
35977
35978 fi
35979
35980
35981
35982 fi
35983
35984
35985
35986 if test "x$OPENGL_LIBS" = "x"; then
35987 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35988 echo "$as_me: error: OpenGL libraries not available" >&2;}
35989 { (exit 1); exit 1; }; }
35990 fi
35991 fi
35992
35993 if test "$wxUSE_OPENGL" = "yes"; then
35994 USE_OPENGL=1
35995 cat >>confdefs.h <<\_ACEOF
35996 #define wxUSE_OPENGL 1
35997 _ACEOF
35998
35999 cat >>confdefs.h <<\_ACEOF
36000 #define wxUSE_GLCANVAS 1
36001 _ACEOF
36002
36003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
36004 fi
36005 fi
36006
36007
36008 if test -n "$TOOLKIT" ; then
36009 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
36010 fi
36011
36012
36013
36014 if test "$wxUSE_SHARED" = "yes"; then
36015 case "${host}" in
36016 *-pc-msdosdjgpp )
36017 wxUSE_SHARED=no
36018 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
36019 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
36020 ;;
36021 esac
36022 fi
36023
36024 if test "$wxUSE_SHARED" = "yes"; then
36025
36026
36027 case "${host}" in
36028 *-*-cygwin* | *-*-mingw* )
36029 wx_cv_version_script=no
36030 ;;
36031
36032 *)
36033 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36034 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36035 if test "${wx_cv_version_script+set}" = set; then
36036 echo $ECHO_N "(cached) $ECHO_C" >&6
36037 else
36038
36039 echo "VER_1 { *; };" >conftest.sym
36040 echo "int main() { return 0; }" >conftest.cpp
36041
36042 if { ac_try='
36043 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36044 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36046 (eval $ac_try) 2>&5
36047 ac_status=$?
36048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36049 (exit $ac_status); }; } ; then
36050 if test -s conftest.stderr ; then
36051 wx_cv_version_script=no
36052 else
36053 wx_cv_version_script=yes
36054 fi
36055 else
36056 wx_cv_version_script=no
36057 fi
36058
36059 if test $wx_cv_version_script = yes
36060 then
36061 echo "struct B { virtual ~B() { } }; \
36062 struct D : public B { }; \
36063 void F() { D d; }" > conftest.cpp
36064
36065 if { ac_try='
36066 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36067 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36070 ac_status=$?
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; } &&
36073 { ac_try='
36074 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36075 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36077 (eval $ac_try) 2>&5
36078 ac_status=$?
36079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36080 (exit $ac_status); }; }
36081 then
36082 if { ac_try='
36083 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36084 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36087 ac_status=$?
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; }
36090 then
36091 wx_cv_version_script=yes
36092 else
36093 wx_cv_version_script=no
36094 fi
36095 fi
36096 fi
36097
36098 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36099 rm -f conftest1.output conftest2.output conftest3.output
36100
36101 fi
36102 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36103 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36104
36105 if test $wx_cv_version_script = yes ; then
36106 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36107 fi
36108 ;;
36109 esac
36110
36111
36112 if test "$wxUSE_VISIBILITY" != "no"; then
36113
36114
36115 if test -n "$GCC"; then
36116 CFLAGS_VISIBILITY="-fvisibility=hidden"
36117 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36118 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36119 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36120 if test "${wx_cv_cc_visibility+set}" = set; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36122 else
36123
36124 wx_save_CXXFLAGS="$CXXFLAGS"
36125 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36126 ac_ext=cpp
36127 ac_cpp='$CXXCPP $CPPFLAGS'
36128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36131
36132 cat >conftest.$ac_ext <<_ACEOF
36133 /* confdefs.h. */
36134 _ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138
36139 /* we need gcc >= 4.0, older versions with visibility support
36140 didn't have class visibility: */
36141 #if defined(__GNUC__) && __GNUC__ < 4
36142 error this gcc is too old;
36143 #endif
36144
36145 /* visibility only makes sense for ELF shared libs: */
36146 #if !defined(__ELF__) && !defined(__APPLE__)
36147 error this platform has no visibility;
36148 #endif
36149
36150 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36151 extern __attribute__((__visibility__("default"))) int exportedvar;
36152 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36153 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36154 class __attribute__((__visibility__("default"))) Foo {
36155 Foo() {}
36156 };
36157
36158 int
36159 main ()
36160 {
36161
36162 ;
36163 return 0;
36164 }
36165 _ACEOF
36166 rm -f conftest.$ac_objext
36167 if { (ac_try="$ac_compile"
36168 case "(($ac_try" in
36169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36170 *) ac_try_echo=$ac_try;;
36171 esac
36172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36173 (eval "$ac_compile") 2>conftest.er1
36174 ac_status=$?
36175 grep -v '^ *+' conftest.er1 >conftest.err
36176 rm -f conftest.er1
36177 cat conftest.err >&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } && {
36180 test -z "$ac_cxx_werror_flag" ||
36181 test ! -s conftest.err
36182 } && test -s conftest.$ac_objext; then
36183 wx_cv_cc_visibility=yes
36184 else
36185 echo "$as_me: failed program was:" >&5
36186 sed 's/^/| /' conftest.$ac_ext >&5
36187
36188 wx_cv_cc_visibility=no
36189 fi
36190
36191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36192 ac_ext=c
36193 ac_cpp='$CPP $CPPFLAGS'
36194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36197
36198 CXXFLAGS="$wx_save_CXXFLAGS"
36199 fi
36200
36201 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36202 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36203 if test $wx_cv_cc_visibility = yes; then
36204 cat >>confdefs.h <<\_ACEOF
36205 #define HAVE_VISIBILITY 1
36206 _ACEOF
36207
36208
36209 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36210 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36211 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36212 echo $ECHO_N "(cached) $ECHO_C" >&6
36213 else
36214
36215 wx_save_CXXFLAGS="$CXXFLAGS"
36216 wx_save_LDFLAGS="$LDFLAGS"
36217 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36218 LDFLAGS="$LDFLAGS -shared -fPIC"
36219 ac_ext=cpp
36220 ac_cpp='$CXXCPP $CPPFLAGS'
36221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36224
36225 cat >conftest.$ac_ext <<_ACEOF
36226 /* confdefs.h. */
36227 _ACEOF
36228 cat confdefs.h >>conftest.$ac_ext
36229 cat >>conftest.$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36231
36232 #include <string>
36233
36234 int
36235 main ()
36236 {
36237
36238 std::string s("hello");
36239 return s.length();
36240
36241 ;
36242 return 0;
36243 }
36244 _ACEOF
36245 rm -f conftest.$ac_objext conftest$ac_exeext
36246 if { (ac_try="$ac_link"
36247 case "(($ac_try" in
36248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36249 *) ac_try_echo=$ac_try;;
36250 esac
36251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36252 (eval "$ac_link") 2>conftest.er1
36253 ac_status=$?
36254 grep -v '^ *+' conftest.er1 >conftest.err
36255 rm -f conftest.er1
36256 cat conftest.err >&5
36257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258 (exit $ac_status); } && {
36259 test -z "$ac_cxx_werror_flag" ||
36260 test ! -s conftest.err
36261 } && test -s conftest$ac_exeext &&
36262 $as_test_x conftest$ac_exeext; then
36263 wx_cv_cc_broken_libstdcxx_visibility=no
36264 else
36265 echo "$as_me: failed program was:" >&5
36266 sed 's/^/| /' conftest.$ac_ext >&5
36267
36268 wx_cv_cc_broken_libstdcxx_visibility=yes
36269 fi
36270
36271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36272 conftest$ac_exeext conftest.$ac_ext
36273 ac_ext=c
36274 ac_cpp='$CPP $CPPFLAGS'
36275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36278
36279 CXXFLAGS="$wx_save_CXXFLAGS"
36280 LDFLAGS="$wx_save_LDFLAGS"
36281 fi
36282
36283 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36284 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36285 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36286 cat >>confdefs.h <<\_ACEOF
36287 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36288 _ACEOF
36289
36290 fi
36291
36292 else
36293 CFLAGS_VISIBILITY=""
36294 CXXFLAGS_VISIBILITY=""
36295 fi
36296
36297
36298 fi
36299
36300 fi
36301
36302 if test "x$SUNCXX" = xyes; then
36303 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36304 WXCONFIG_RPATH="-R\$libdir"
36305 else
36306 case "${host}" in
36307 *-*-linux* | *-*-gnu* )
36308 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36309 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36310 ;;
36311
36312 *-*-solaris2* )
36313
36314 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36315
36316 saveLdflags="$LDFLAGS"
36317 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36318 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36319 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36320 cat >conftest.$ac_ext <<_ACEOF
36321 /* confdefs.h. */
36322 _ACEOF
36323 cat confdefs.h >>conftest.$ac_ext
36324 cat >>conftest.$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36326
36327 int
36328 main ()
36329 {
36330
36331 ;
36332 return 0;
36333 }
36334 _ACEOF
36335 rm -f conftest.$ac_objext conftest$ac_exeext
36336 if { (ac_try="$ac_link"
36337 case "(($ac_try" in
36338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36339 *) ac_try_echo=$ac_try;;
36340 esac
36341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36342 (eval "$ac_link") 2>conftest.er1
36343 ac_status=$?
36344 grep -v '^ *+' conftest.er1 >conftest.err
36345 rm -f conftest.er1
36346 cat conftest.err >&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } && {
36349 test -z "$ac_c_werror_flag" ||
36350 test ! -s conftest.err
36351 } && test -s conftest$ac_exeext &&
36352 $as_test_x conftest$ac_exeext; then
36353
36354 { echo "$as_me:$LINENO: result: yes" >&5
36355 echo "${ECHO_T}yes" >&6; }
36356 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36357 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36358
36359 else
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.$ac_ext >&5
36362
36363
36364 { echo "$as_me:$LINENO: result: no" >&5
36365 echo "${ECHO_T}no" >&6; }
36366 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36367 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36368 LDFLAGS="$saveLdflags -Wl,-R,/"
36369 cat >conftest.$ac_ext <<_ACEOF
36370 /* confdefs.h. */
36371 _ACEOF
36372 cat confdefs.h >>conftest.$ac_ext
36373 cat >>conftest.$ac_ext <<_ACEOF
36374 /* end confdefs.h. */
36375
36376 int
36377 main ()
36378 {
36379
36380 ;
36381 return 0;
36382 }
36383 _ACEOF
36384 rm -f conftest.$ac_objext conftest$ac_exeext
36385 if { (ac_try="$ac_link"
36386 case "(($ac_try" in
36387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36388 *) ac_try_echo=$ac_try;;
36389 esac
36390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36391 (eval "$ac_link") 2>conftest.er1
36392 ac_status=$?
36393 grep -v '^ *+' conftest.er1 >conftest.err
36394 rm -f conftest.er1
36395 cat conftest.err >&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } && {
36398 test -z "$ac_c_werror_flag" ||
36399 test ! -s conftest.err
36400 } && test -s conftest$ac_exeext &&
36401 $as_test_x conftest$ac_exeext; then
36402
36403 { echo "$as_me:$LINENO: result: yes" >&5
36404 echo "${ECHO_T}yes" >&6; }
36405 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36406 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36407
36408 else
36409 echo "$as_me: failed program was:" >&5
36410 sed 's/^/| /' conftest.$ac_ext >&5
36411
36412
36413 { echo "$as_me:$LINENO: result: no" >&5
36414 echo "${ECHO_T}no" >&6; }
36415
36416 fi
36417
36418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36419 conftest$ac_exeext conftest.$ac_ext
36420
36421 fi
36422
36423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36424 conftest$ac_exeext conftest.$ac_ext
36425 LDFLAGS="$saveLdflags"
36426 ;;
36427
36428 *-*-darwin* )
36429 install_name_tool=`which install_name_tool`
36430 if test "$install_name_tool" -a -x "$install_name_tool"; then
36431 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36432 cat <<EOF >change-install-names
36433 #!/bin/sh
36434 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36435 inst_cmd="install_name_tool "
36436 for i in \${libnames} ; do
36437 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36438 done
36439 \${inst_cmd} \${3}
36440 EOF
36441 chmod +x change-install-names
36442 fi
36443 ;;
36444
36445 *-*-cygwin* | *-*-mingw32* )
36446 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36447 ;;
36448
36449 *-*-hpux* )
36450 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36451 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36452 ;;
36453
36454 esac
36455 fi
36456
36457 if test $wxUSE_RPATH = "no"; then
36458 SAMPLES_RPATH_FLAG=''
36459 SAMPLES_RPATH_POSTLINK=''
36460 WXCONFIG_RPATH=''
36461 fi
36462
36463 SHARED=1
36464
36465 else
36466
36467 config_linkage_component="-static"
36468 SHARED=0
36469
36470 fi
36471
36472
36473 UNICODE=0
36474 lib_unicode_suffix=
36475 WX_CHARTYPE="ansi"
36476 if test "$wxUSE_UNICODE" = "yes"; then
36477 lib_unicode_suffix=u
36478 WX_CHARTYPE="unicode"
36479 UNICODE=1
36480 fi
36481
36482 lib_debug_suffix=
36483 WX_DEBUGTYPE="release"
36484 DEBUG_FLAG=0
36485 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36486 lib_debug_suffix=d
36487 WX_DEBUGTYPE="debug"
36488 DEBUG_FLAG=1
36489 fi
36490
36491 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36492 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36493
36494 DEBUG_INFO=0
36495 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36496 DEBUG_INFO=1
36497 fi
36498
36499 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36500
36501 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36502
36503 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36504
36505 if test "$cross_compiling" = "yes"; then
36506 HOST_SUFFIX="-$host_alias"
36507 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36508 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36509 fi
36510
36511 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36512 if test "${TOOLKIT_DIR}" = "os2"; then
36513 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36514 else
36515 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36516 fi
36517
36518
36519
36520 if test "$wxUSE_COCOA" = 1; then
36521
36522 ac_ext=c
36523 ac_cpp='$CPP $CPPFLAGS'
36524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36527
36528 ac_ext=m
36529
36530 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36531 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36532 cat >conftest.$ac_ext <<_ACEOF
36533 /* confdefs.h. */
36534 _ACEOF
36535 cat confdefs.h >>conftest.$ac_ext
36536 cat >>conftest.$ac_ext <<_ACEOF
36537 /* end confdefs.h. */
36538 #include <AppKit/NSEvent.h>
36539 #include <CoreFoundation/CoreFoundation.h>
36540
36541 int
36542 main ()
36543 {
36544
36545 ;
36546 return 0;
36547 }
36548 _ACEOF
36549 rm -f conftest.$ac_objext
36550 if { (ac_try="$ac_compile"
36551 case "(($ac_try" in
36552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36553 *) ac_try_echo=$ac_try;;
36554 esac
36555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36556 (eval "$ac_compile") 2>conftest.er1
36557 ac_status=$?
36558 grep -v '^ *+' conftest.er1 >conftest.err
36559 rm -f conftest.er1
36560 cat conftest.err >&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); } && {
36563 test -z "$ac_c_werror_flag" ||
36564 test ! -s conftest.err
36565 } && test -s conftest.$ac_objext; then
36566 { echo "$as_me:$LINENO: result: no" >&5
36567 echo "${ECHO_T}no" >&6; }
36568 else
36569 echo "$as_me: failed program was:" >&5
36570 sed 's/^/| /' conftest.$ac_ext >&5
36571
36572 { echo "$as_me:$LINENO: result: yes" >&5
36573 echo "${ECHO_T}yes" >&6; }
36574 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36575 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36576 cat >conftest.$ac_ext <<_ACEOF
36577 /* confdefs.h. */
36578 _ACEOF
36579 cat confdefs.h >>conftest.$ac_ext
36580 cat >>conftest.$ac_ext <<_ACEOF
36581 /* end confdefs.h. */
36582 #define __Point__ 1
36583 #include <AppKit/NSEvent.h>
36584 #include <CoreFoundation/CoreFoundation.h>
36585
36586 int
36587 main ()
36588 {
36589
36590 ;
36591 return 0;
36592 }
36593 _ACEOF
36594 rm -f conftest.$ac_objext
36595 if { (ac_try="$ac_compile"
36596 case "(($ac_try" in
36597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36598 *) ac_try_echo=$ac_try;;
36599 esac
36600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36601 (eval "$ac_compile") 2>conftest.er1
36602 ac_status=$?
36603 grep -v '^ *+' conftest.er1 >conftest.err
36604 rm -f conftest.er1
36605 cat conftest.err >&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); } && {
36608 test -z "$ac_c_werror_flag" ||
36609 test ! -s conftest.err
36610 } && test -s conftest.$ac_objext; then
36611 { echo "$as_me:$LINENO: result: yes" >&5
36612 echo "${ECHO_T}yes" >&6; }
36613 cat >>confdefs.h <<\_ACEOF
36614 #define __Point__ 1
36615 _ACEOF
36616
36617
36618 else
36619 echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.$ac_ext >&5
36621
36622 { { echo "$as_me:$LINENO: error: no
36623 See \`config.log' for more details." >&5
36624 echo "$as_me: error: no
36625 See \`config.log' for more details." >&2;}
36626 { (exit 1); exit 1; }; }
36627
36628 fi
36629
36630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36631
36632 fi
36633
36634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36635 ac_ext=c
36636 ac_cpp='$CPP $CPPFLAGS'
36637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36640
36641 fi
36642
36643
36644 { echo "$as_me:$LINENO: checking for mode_t" >&5
36645 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36646 if test "${ac_cv_type_mode_t+set}" = set; then
36647 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 else
36649 cat >conftest.$ac_ext <<_ACEOF
36650 /* confdefs.h. */
36651 _ACEOF
36652 cat confdefs.h >>conftest.$ac_ext
36653 cat >>conftest.$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655 $ac_includes_default
36656 typedef mode_t ac__type_new_;
36657 int
36658 main ()
36659 {
36660 if ((ac__type_new_ *) 0)
36661 return 0;
36662 if (sizeof (ac__type_new_))
36663 return 0;
36664 ;
36665 return 0;
36666 }
36667 _ACEOF
36668 rm -f conftest.$ac_objext
36669 if { (ac_try="$ac_compile"
36670 case "(($ac_try" in
36671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36672 *) ac_try_echo=$ac_try;;
36673 esac
36674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36675 (eval "$ac_compile") 2>conftest.er1
36676 ac_status=$?
36677 grep -v '^ *+' conftest.er1 >conftest.err
36678 rm -f conftest.er1
36679 cat conftest.err >&5
36680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681 (exit $ac_status); } && {
36682 test -z "$ac_c_werror_flag" ||
36683 test ! -s conftest.err
36684 } && test -s conftest.$ac_objext; then
36685 ac_cv_type_mode_t=yes
36686 else
36687 echo "$as_me: failed program was:" >&5
36688 sed 's/^/| /' conftest.$ac_ext >&5
36689
36690 ac_cv_type_mode_t=no
36691 fi
36692
36693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36694 fi
36695 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36696 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36697 if test $ac_cv_type_mode_t = yes; then
36698 :
36699 else
36700
36701 cat >>confdefs.h <<_ACEOF
36702 #define mode_t int
36703 _ACEOF
36704
36705 fi
36706
36707 { echo "$as_me:$LINENO: checking for off_t" >&5
36708 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36709 if test "${ac_cv_type_off_t+set}" = set; then
36710 echo $ECHO_N "(cached) $ECHO_C" >&6
36711 else
36712 cat >conftest.$ac_ext <<_ACEOF
36713 /* confdefs.h. */
36714 _ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718 $ac_includes_default
36719 typedef off_t ac__type_new_;
36720 int
36721 main ()
36722 {
36723 if ((ac__type_new_ *) 0)
36724 return 0;
36725 if (sizeof (ac__type_new_))
36726 return 0;
36727 ;
36728 return 0;
36729 }
36730 _ACEOF
36731 rm -f conftest.$ac_objext
36732 if { (ac_try="$ac_compile"
36733 case "(($ac_try" in
36734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36736 esac
36737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_compile") 2>conftest.er1
36739 ac_status=$?
36740 grep -v '^ *+' conftest.er1 >conftest.err
36741 rm -f conftest.er1
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } && {
36745 test -z "$ac_c_werror_flag" ||
36746 test ! -s conftest.err
36747 } && test -s conftest.$ac_objext; then
36748 ac_cv_type_off_t=yes
36749 else
36750 echo "$as_me: failed program was:" >&5
36751 sed 's/^/| /' conftest.$ac_ext >&5
36752
36753 ac_cv_type_off_t=no
36754 fi
36755
36756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36757 fi
36758 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36759 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36760 if test $ac_cv_type_off_t = yes; then
36761 :
36762 else
36763
36764 cat >>confdefs.h <<_ACEOF
36765 #define off_t long int
36766 _ACEOF
36767
36768 fi
36769
36770 { echo "$as_me:$LINENO: checking for pid_t" >&5
36771 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36772 if test "${ac_cv_type_pid_t+set}" = set; then
36773 echo $ECHO_N "(cached) $ECHO_C" >&6
36774 else
36775 cat >conftest.$ac_ext <<_ACEOF
36776 /* confdefs.h. */
36777 _ACEOF
36778 cat confdefs.h >>conftest.$ac_ext
36779 cat >>conftest.$ac_ext <<_ACEOF
36780 /* end confdefs.h. */
36781 $ac_includes_default
36782 typedef pid_t ac__type_new_;
36783 int
36784 main ()
36785 {
36786 if ((ac__type_new_ *) 0)
36787 return 0;
36788 if (sizeof (ac__type_new_))
36789 return 0;
36790 ;
36791 return 0;
36792 }
36793 _ACEOF
36794 rm -f conftest.$ac_objext
36795 if { (ac_try="$ac_compile"
36796 case "(($ac_try" in
36797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36798 *) ac_try_echo=$ac_try;;
36799 esac
36800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36801 (eval "$ac_compile") 2>conftest.er1
36802 ac_status=$?
36803 grep -v '^ *+' conftest.er1 >conftest.err
36804 rm -f conftest.er1
36805 cat conftest.err >&5
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); } && {
36808 test -z "$ac_c_werror_flag" ||
36809 test ! -s conftest.err
36810 } && test -s conftest.$ac_objext; then
36811 ac_cv_type_pid_t=yes
36812 else
36813 echo "$as_me: failed program was:" >&5
36814 sed 's/^/| /' conftest.$ac_ext >&5
36815
36816 ac_cv_type_pid_t=no
36817 fi
36818
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 fi
36821 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36822 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36823 if test $ac_cv_type_pid_t = yes; then
36824 :
36825 else
36826
36827 cat >>confdefs.h <<_ACEOF
36828 #define pid_t int
36829 _ACEOF
36830
36831 fi
36832
36833 { echo "$as_me:$LINENO: checking for size_t" >&5
36834 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36835 if test "${ac_cv_type_size_t+set}" = set; then
36836 echo $ECHO_N "(cached) $ECHO_C" >&6
36837 else
36838 cat >conftest.$ac_ext <<_ACEOF
36839 /* confdefs.h. */
36840 _ACEOF
36841 cat confdefs.h >>conftest.$ac_ext
36842 cat >>conftest.$ac_ext <<_ACEOF
36843 /* end confdefs.h. */
36844 $ac_includes_default
36845 typedef size_t ac__type_new_;
36846 int
36847 main ()
36848 {
36849 if ((ac__type_new_ *) 0)
36850 return 0;
36851 if (sizeof (ac__type_new_))
36852 return 0;
36853 ;
36854 return 0;
36855 }
36856 _ACEOF
36857 rm -f conftest.$ac_objext
36858 if { (ac_try="$ac_compile"
36859 case "(($ac_try" in
36860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36861 *) ac_try_echo=$ac_try;;
36862 esac
36863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36864 (eval "$ac_compile") 2>conftest.er1
36865 ac_status=$?
36866 grep -v '^ *+' conftest.er1 >conftest.err
36867 rm -f conftest.er1
36868 cat conftest.err >&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); } && {
36871 test -z "$ac_c_werror_flag" ||
36872 test ! -s conftest.err
36873 } && test -s conftest.$ac_objext; then
36874 ac_cv_type_size_t=yes
36875 else
36876 echo "$as_me: failed program was:" >&5
36877 sed 's/^/| /' conftest.$ac_ext >&5
36878
36879 ac_cv_type_size_t=no
36880 fi
36881
36882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36883 fi
36884 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36885 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36886 if test $ac_cv_type_size_t = yes; then
36887 :
36888 else
36889
36890 cat >>confdefs.h <<_ACEOF
36891 #define size_t unsigned int
36892 _ACEOF
36893
36894 fi
36895
36896 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36897 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36898 if test "${ac_cv_type_uid_t+set}" = set; then
36899 echo $ECHO_N "(cached) $ECHO_C" >&6
36900 else
36901 cat >conftest.$ac_ext <<_ACEOF
36902 /* confdefs.h. */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907 #include <sys/types.h>
36908
36909 _ACEOF
36910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36911 $EGREP "uid_t" >/dev/null 2>&1; then
36912 ac_cv_type_uid_t=yes
36913 else
36914 ac_cv_type_uid_t=no
36915 fi
36916 rm -f conftest*
36917
36918 fi
36919 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36920 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36921 if test $ac_cv_type_uid_t = no; then
36922
36923 cat >>confdefs.h <<\_ACEOF
36924 #define uid_t int
36925 _ACEOF
36926
36927
36928 cat >>confdefs.h <<\_ACEOF
36929 #define gid_t int
36930 _ACEOF
36931
36932 fi
36933
36934
36935 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36936 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36937 if test "${ac_cv_type_ssize_t+set}" = set; then
36938 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 else
36940 cat >conftest.$ac_ext <<_ACEOF
36941 /* confdefs.h. */
36942 _ACEOF
36943 cat confdefs.h >>conftest.$ac_ext
36944 cat >>conftest.$ac_ext <<_ACEOF
36945 /* end confdefs.h. */
36946 $ac_includes_default
36947 typedef ssize_t ac__type_new_;
36948 int
36949 main ()
36950 {
36951 if ((ac__type_new_ *) 0)
36952 return 0;
36953 if (sizeof (ac__type_new_))
36954 return 0;
36955 ;
36956 return 0;
36957 }
36958 _ACEOF
36959 rm -f conftest.$ac_objext
36960 if { (ac_try="$ac_compile"
36961 case "(($ac_try" in
36962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36964 esac
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_compile") 2>conftest.er1
36967 ac_status=$?
36968 grep -v '^ *+' conftest.er1 >conftest.err
36969 rm -f conftest.er1
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest.$ac_objext; then
36976 ac_cv_type_ssize_t=yes
36977 else
36978 echo "$as_me: failed program was:" >&5
36979 sed 's/^/| /' conftest.$ac_ext >&5
36980
36981 ac_cv_type_ssize_t=no
36982 fi
36983
36984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36985 fi
36986 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36987 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36988 if test $ac_cv_type_ssize_t = yes; then
36989
36990 cat >>confdefs.h <<_ACEOF
36991 #define HAVE_SSIZE_T 1
36992 _ACEOF
36993
36994
36995 fi
36996
36997
36998 ac_ext=cpp
36999 ac_cpp='$CXXCPP $CPPFLAGS'
37000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37003 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37004 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37005 if test "${wx_cv_size_t_is_uint+set}" = set; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37007 else
37008
37009 cat >conftest.$ac_ext <<_ACEOF
37010 /* confdefs.h. */
37011 _ACEOF
37012 cat confdefs.h >>conftest.$ac_ext
37013 cat >>conftest.$ac_ext <<_ACEOF
37014 /* end confdefs.h. */
37015 #include <stddef.h>
37016 int
37017 main ()
37018 {
37019
37020 return 0; }
37021
37022 struct Foo { void foo(size_t); void foo(unsigned int); };
37023
37024 int bar() {
37025
37026 ;
37027 return 0;
37028 }
37029 _ACEOF
37030 rm -f conftest.$ac_objext
37031 if { (ac_try="$ac_compile"
37032 case "(($ac_try" in
37033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37034 *) ac_try_echo=$ac_try;;
37035 esac
37036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37037 (eval "$ac_compile") 2>conftest.er1
37038 ac_status=$?
37039 grep -v '^ *+' conftest.er1 >conftest.err
37040 rm -f conftest.er1
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } && {
37044 test -z "$ac_cxx_werror_flag" ||
37045 test ! -s conftest.err
37046 } && test -s conftest.$ac_objext; then
37047 wx_cv_size_t_is_uint=no
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37051
37052 wx_cv_size_t_is_uint=yes
37053
37054 fi
37055
37056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37057
37058
37059 fi
37060 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37061 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37062
37063 if test "$wx_cv_size_t_is_uint" = "yes"; then
37064 cat >>confdefs.h <<\_ACEOF
37065 #define wxSIZE_T_IS_UINT 1
37066 _ACEOF
37067
37068 else
37069 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37070 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37071 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37072 echo $ECHO_N "(cached) $ECHO_C" >&6
37073 else
37074 cat >conftest.$ac_ext <<_ACEOF
37075 /* confdefs.h. */
37076 _ACEOF
37077 cat confdefs.h >>conftest.$ac_ext
37078 cat >>conftest.$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37080 #include <stddef.h>
37081 int
37082 main ()
37083 {
37084
37085 return 0; }
37086
37087 struct Foo { void foo(size_t); void foo(unsigned long); };
37088
37089 int bar() {
37090
37091 ;
37092 return 0;
37093 }
37094 _ACEOF
37095 rm -f conftest.$ac_objext
37096 if { (ac_try="$ac_compile"
37097 case "(($ac_try" in
37098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37099 *) ac_try_echo=$ac_try;;
37100 esac
37101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37102 (eval "$ac_compile") 2>conftest.er1
37103 ac_status=$?
37104 grep -v '^ *+' conftest.er1 >conftest.err
37105 rm -f conftest.er1
37106 cat conftest.err >&5
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); } && {
37109 test -z "$ac_cxx_werror_flag" ||
37110 test ! -s conftest.err
37111 } && test -s conftest.$ac_objext; then
37112 wx_cv_size_t_is_ulong=no
37113 else
37114 echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.$ac_ext >&5
37116
37117 wx_cv_size_t_is_ulong=yes
37118
37119 fi
37120
37121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37122
37123 fi
37124 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37125 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37126
37127 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37128 cat >>confdefs.h <<\_ACEOF
37129 #define wxSIZE_T_IS_ULONG 1
37130 _ACEOF
37131
37132 fi
37133 fi
37134
37135 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37136 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37137 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37138 echo $ECHO_N "(cached) $ECHO_C" >&6
37139 else
37140 cat >conftest.$ac_ext <<_ACEOF
37141 /* confdefs.h. */
37142 _ACEOF
37143 cat confdefs.h >>conftest.$ac_ext
37144 cat >>conftest.$ac_ext <<_ACEOF
37145 /* end confdefs.h. */
37146 #include <wchar.h>
37147 int
37148 main ()
37149 {
37150
37151 return 0; }
37152
37153 struct Foo { void foo(wchar_t);
37154 void foo(unsigned short);
37155 void foo(unsigned int);
37156 void foo(unsigned long); };
37157
37158 int bar() {
37159
37160 ;
37161 return 0;
37162 }
37163 _ACEOF
37164 rm -f conftest.$ac_objext
37165 if { (ac_try="$ac_compile"
37166 case "(($ac_try" in
37167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37168 *) ac_try_echo=$ac_try;;
37169 esac
37170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37171 (eval "$ac_compile") 2>conftest.er1
37172 ac_status=$?
37173 grep -v '^ *+' conftest.er1 >conftest.err
37174 rm -f conftest.er1
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } && {
37178 test -z "$ac_cxx_werror_flag" ||
37179 test ! -s conftest.err
37180 } && test -s conftest.$ac_objext; then
37181 wx_cv_wchar_t_is_separate_type=yes
37182 else
37183 echo "$as_me: failed program was:" >&5
37184 sed 's/^/| /' conftest.$ac_ext >&5
37185
37186 wx_cv_wchar_t_is_separate_type=no
37187
37188 fi
37189
37190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37191
37192 fi
37193 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37194 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37195
37196 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37197 cat >>confdefs.h <<\_ACEOF
37198 #define wxWCHAR_T_IS_REAL_TYPE 1
37199 _ACEOF
37200
37201 else
37202 cat >>confdefs.h <<\_ACEOF
37203 #define wxWCHAR_T_IS_REAL_TYPE 0
37204 _ACEOF
37205
37206 fi
37207
37208 ac_ext=c
37209 ac_cpp='$CPP $CPPFLAGS'
37210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37213
37214
37215 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37216 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37217 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 else
37220
37221 cat >conftest.$ac_ext <<_ACEOF
37222 /* confdefs.h. */
37223 _ACEOF
37224 cat confdefs.h >>conftest.$ac_ext
37225 cat >>conftest.$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37227 #include <pwd.h>
37228 int
37229 main ()
37230 {
37231
37232 char *p;
37233 struct passwd *pw;
37234 p = pw->pw_gecos;
37235
37236 ;
37237 return 0;
37238 }
37239 _ACEOF
37240 rm -f conftest.$ac_objext
37241 if { (ac_try="$ac_compile"
37242 case "(($ac_try" in
37243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37244 *) ac_try_echo=$ac_try;;
37245 esac
37246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37247 (eval "$ac_compile") 2>conftest.er1
37248 ac_status=$?
37249 grep -v '^ *+' conftest.er1 >conftest.err
37250 rm -f conftest.er1
37251 cat conftest.err >&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); } && {
37254 test -z "$ac_c_werror_flag" ||
37255 test ! -s conftest.err
37256 } && test -s conftest.$ac_objext; then
37257
37258 wx_cv_struct_pw_gecos=yes
37259
37260 else
37261 echo "$as_me: failed program was:" >&5
37262 sed 's/^/| /' conftest.$ac_ext >&5
37263
37264
37265 wx_cv_struct_pw_gecos=no
37266
37267
37268 fi
37269
37270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37271
37272
37273 fi
37274 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37275 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37276
37277 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37278 cat >>confdefs.h <<\_ACEOF
37279 #define HAVE_PW_GECOS 1
37280 _ACEOF
37281
37282 fi
37283
37284
37285 if test "$wxUSE_WCHAR_T" = "yes"; then
37286 cat >>confdefs.h <<\_ACEOF
37287 #define wxUSE_WCHAR_T 1
37288 _ACEOF
37289
37290
37291 WCSLEN_FOUND=0
37292 WCHAR_LINK=
37293
37294 for ac_func in wcslen
37295 do
37296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37300 echo $ECHO_N "(cached) $ECHO_C" >&6
37301 else
37302 cat >conftest.$ac_ext <<_ACEOF
37303 /* confdefs.h. */
37304 _ACEOF
37305 cat confdefs.h >>conftest.$ac_ext
37306 cat >>conftest.$ac_ext <<_ACEOF
37307 /* end confdefs.h. */
37308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37310 #define $ac_func innocuous_$ac_func
37311
37312 /* System header to define __stub macros and hopefully few prototypes,
37313 which can conflict with char $ac_func (); below.
37314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37315 <limits.h> exists even on freestanding compilers. */
37316
37317 #ifdef __STDC__
37318 # include <limits.h>
37319 #else
37320 # include <assert.h>
37321 #endif
37322
37323 #undef $ac_func
37324
37325 /* Override any GCC internal prototype to avoid an error.
37326 Use char because int might match the return type of a GCC
37327 builtin and then its argument prototype would still apply. */
37328 #ifdef __cplusplus
37329 extern "C"
37330 #endif
37331 char $ac_func ();
37332 /* The GNU C library defines this for functions which it implements
37333 to always fail with ENOSYS. Some functions are actually named
37334 something starting with __ and the normal name is an alias. */
37335 #if defined __stub_$ac_func || defined __stub___$ac_func
37336 choke me
37337 #endif
37338
37339 int
37340 main ()
37341 {
37342 return $ac_func ();
37343 ;
37344 return 0;
37345 }
37346 _ACEOF
37347 rm -f conftest.$ac_objext conftest$ac_exeext
37348 if { (ac_try="$ac_link"
37349 case "(($ac_try" in
37350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37351 *) ac_try_echo=$ac_try;;
37352 esac
37353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37354 (eval "$ac_link") 2>conftest.er1
37355 ac_status=$?
37356 grep -v '^ *+' conftest.er1 >conftest.err
37357 rm -f conftest.er1
37358 cat conftest.err >&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); } && {
37361 test -z "$ac_c_werror_flag" ||
37362 test ! -s conftest.err
37363 } && test -s conftest$ac_exeext &&
37364 $as_test_x conftest$ac_exeext; then
37365 eval "$as_ac_var=yes"
37366 else
37367 echo "$as_me: failed program was:" >&5
37368 sed 's/^/| /' conftest.$ac_ext >&5
37369
37370 eval "$as_ac_var=no"
37371 fi
37372
37373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37374 conftest$ac_exeext conftest.$ac_ext
37375 fi
37376 ac_res=`eval echo '${'$as_ac_var'}'`
37377 { echo "$as_me:$LINENO: result: $ac_res" >&5
37378 echo "${ECHO_T}$ac_res" >&6; }
37379 if test `eval echo '${'$as_ac_var'}'` = yes; then
37380 cat >>confdefs.h <<_ACEOF
37381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37382 _ACEOF
37383 WCSLEN_FOUND=1
37384 fi
37385 done
37386
37387
37388 if test "$WCSLEN_FOUND" = 0; then
37389 if test "$TOOLKIT" = "MSW"; then
37390 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37391 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37392 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37393 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 else
37395 ac_check_lib_save_LIBS=$LIBS
37396 LIBS="-lmsvcrt $LIBS"
37397 cat >conftest.$ac_ext <<_ACEOF
37398 /* confdefs.h. */
37399 _ACEOF
37400 cat confdefs.h >>conftest.$ac_ext
37401 cat >>conftest.$ac_ext <<_ACEOF
37402 /* end confdefs.h. */
37403
37404 /* Override any GCC internal prototype to avoid an error.
37405 Use char because int might match the return type of a GCC
37406 builtin and then its argument prototype would still apply. */
37407 #ifdef __cplusplus
37408 extern "C"
37409 #endif
37410 char wcslen ();
37411 int
37412 main ()
37413 {
37414 return wcslen ();
37415 ;
37416 return 0;
37417 }
37418 _ACEOF
37419 rm -f conftest.$ac_objext conftest$ac_exeext
37420 if { (ac_try="$ac_link"
37421 case "(($ac_try" in
37422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37423 *) ac_try_echo=$ac_try;;
37424 esac
37425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37426 (eval "$ac_link") 2>conftest.er1
37427 ac_status=$?
37428 grep -v '^ *+' conftest.er1 >conftest.err
37429 rm -f conftest.er1
37430 cat conftest.err >&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); } && {
37433 test -z "$ac_c_werror_flag" ||
37434 test ! -s conftest.err
37435 } && test -s conftest$ac_exeext &&
37436 $as_test_x conftest$ac_exeext; then
37437 ac_cv_lib_msvcrt_wcslen=yes
37438 else
37439 echo "$as_me: failed program was:" >&5
37440 sed 's/^/| /' conftest.$ac_ext >&5
37441
37442 ac_cv_lib_msvcrt_wcslen=no
37443 fi
37444
37445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37446 conftest$ac_exeext conftest.$ac_ext
37447 LIBS=$ac_check_lib_save_LIBS
37448 fi
37449 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37450 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37451 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37452 WCHAR_OK=1
37453 fi
37454
37455 else
37456 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37457 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37458 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37459 echo $ECHO_N "(cached) $ECHO_C" >&6
37460 else
37461 ac_check_lib_save_LIBS=$LIBS
37462 LIBS="-lw $LIBS"
37463 cat >conftest.$ac_ext <<_ACEOF
37464 /* confdefs.h. */
37465 _ACEOF
37466 cat confdefs.h >>conftest.$ac_ext
37467 cat >>conftest.$ac_ext <<_ACEOF
37468 /* end confdefs.h. */
37469
37470 /* Override any GCC internal prototype to avoid an error.
37471 Use char because int might match the return type of a GCC
37472 builtin and then its argument prototype would still apply. */
37473 #ifdef __cplusplus
37474 extern "C"
37475 #endif
37476 char wcslen ();
37477 int
37478 main ()
37479 {
37480 return wcslen ();
37481 ;
37482 return 0;
37483 }
37484 _ACEOF
37485 rm -f conftest.$ac_objext conftest$ac_exeext
37486 if { (ac_try="$ac_link"
37487 case "(($ac_try" in
37488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37489 *) ac_try_echo=$ac_try;;
37490 esac
37491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37492 (eval "$ac_link") 2>conftest.er1
37493 ac_status=$?
37494 grep -v '^ *+' conftest.er1 >conftest.err
37495 rm -f conftest.er1
37496 cat conftest.err >&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); } && {
37499 test -z "$ac_c_werror_flag" ||
37500 test ! -s conftest.err
37501 } && test -s conftest$ac_exeext &&
37502 $as_test_x conftest$ac_exeext; then
37503 ac_cv_lib_w_wcslen=yes
37504 else
37505 echo "$as_me: failed program was:" >&5
37506 sed 's/^/| /' conftest.$ac_ext >&5
37507
37508 ac_cv_lib_w_wcslen=no
37509 fi
37510
37511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37512 conftest$ac_exeext conftest.$ac_ext
37513 LIBS=$ac_check_lib_save_LIBS
37514 fi
37515 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37516 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37517 if test $ac_cv_lib_w_wcslen = yes; then
37518
37519 WCHAR_LINK=" -lw"
37520 WCSLEN_FOUND=1
37521
37522 fi
37523
37524 fi
37525 fi
37526
37527 if test "$WCSLEN_FOUND" = 1; then
37528 cat >>confdefs.h <<\_ACEOF
37529 #define HAVE_WCSLEN 1
37530 _ACEOF
37531
37532 fi
37533
37534
37535 for ac_func in wcsdup
37536 do
37537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37538 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37540 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37541 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 else
37543 cat >conftest.$ac_ext <<_ACEOF
37544 /* confdefs.h. */
37545 _ACEOF
37546 cat confdefs.h >>conftest.$ac_ext
37547 cat >>conftest.$ac_ext <<_ACEOF
37548 /* end confdefs.h. */
37549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37551 #define $ac_func innocuous_$ac_func
37552
37553 /* System header to define __stub macros and hopefully few prototypes,
37554 which can conflict with char $ac_func (); below.
37555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37556 <limits.h> exists even on freestanding compilers. */
37557
37558 #ifdef __STDC__
37559 # include <limits.h>
37560 #else
37561 # include <assert.h>
37562 #endif
37563
37564 #undef $ac_func
37565
37566 /* Override any GCC internal prototype to avoid an error.
37567 Use char because int might match the return type of a GCC
37568 builtin and then its argument prototype would still apply. */
37569 #ifdef __cplusplus
37570 extern "C"
37571 #endif
37572 char $ac_func ();
37573 /* The GNU C library defines this for functions which it implements
37574 to always fail with ENOSYS. Some functions are actually named
37575 something starting with __ and the normal name is an alias. */
37576 #if defined __stub_$ac_func || defined __stub___$ac_func
37577 choke me
37578 #endif
37579
37580 int
37581 main ()
37582 {
37583 return $ac_func ();
37584 ;
37585 return 0;
37586 }
37587 _ACEOF
37588 rm -f conftest.$ac_objext conftest$ac_exeext
37589 if { (ac_try="$ac_link"
37590 case "(($ac_try" in
37591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37592 *) ac_try_echo=$ac_try;;
37593 esac
37594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37595 (eval "$ac_link") 2>conftest.er1
37596 ac_status=$?
37597 grep -v '^ *+' conftest.er1 >conftest.err
37598 rm -f conftest.er1
37599 cat conftest.err >&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); } && {
37602 test -z "$ac_c_werror_flag" ||
37603 test ! -s conftest.err
37604 } && test -s conftest$ac_exeext &&
37605 $as_test_x conftest$ac_exeext; then
37606 eval "$as_ac_var=yes"
37607 else
37608 echo "$as_me: failed program was:" >&5
37609 sed 's/^/| /' conftest.$ac_ext >&5
37610
37611 eval "$as_ac_var=no"
37612 fi
37613
37614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37615 conftest$ac_exeext conftest.$ac_ext
37616 fi
37617 ac_res=`eval echo '${'$as_ac_var'}'`
37618 { echo "$as_me:$LINENO: result: $ac_res" >&5
37619 echo "${ECHO_T}$ac_res" >&6; }
37620 if test `eval echo '${'$as_ac_var'}'` = yes; then
37621 cat >>confdefs.h <<_ACEOF
37622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37623 _ACEOF
37624
37625 fi
37626 done
37627
37628
37629 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37630 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37631 fi
37632
37633 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37634 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37635 if test "${ac_cv_type_mbstate_t+set}" = set; then
37636 echo $ECHO_N "(cached) $ECHO_C" >&6
37637 else
37638 cat >conftest.$ac_ext <<_ACEOF
37639 /* confdefs.h. */
37640 _ACEOF
37641 cat confdefs.h >>conftest.$ac_ext
37642 cat >>conftest.$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37644 #include <wchar.h>
37645
37646 typedef mbstate_t ac__type_new_;
37647 int
37648 main ()
37649 {
37650 if ((ac__type_new_ *) 0)
37651 return 0;
37652 if (sizeof (ac__type_new_))
37653 return 0;
37654 ;
37655 return 0;
37656 }
37657 _ACEOF
37658 rm -f conftest.$ac_objext
37659 if { (ac_try="$ac_compile"
37660 case "(($ac_try" in
37661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37662 *) ac_try_echo=$ac_try;;
37663 esac
37664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37665 (eval "$ac_compile") 2>conftest.er1
37666 ac_status=$?
37667 grep -v '^ *+' conftest.er1 >conftest.err
37668 rm -f conftest.er1
37669 cat conftest.err >&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); } && {
37672 test -z "$ac_c_werror_flag" ||
37673 test ! -s conftest.err
37674 } && test -s conftest.$ac_objext; then
37675 ac_cv_type_mbstate_t=yes
37676 else
37677 echo "$as_me: failed program was:" >&5
37678 sed 's/^/| /' conftest.$ac_ext >&5
37679
37680 ac_cv_type_mbstate_t=no
37681 fi
37682
37683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37684 fi
37685 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37686 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37687 if test $ac_cv_type_mbstate_t = yes; then
37688
37689 cat >>confdefs.h <<_ACEOF
37690 #define HAVE_MBSTATE_T 1
37691 _ACEOF
37692
37693
37694 for ac_func in wcsrtombs
37695 do
37696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37697 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37700 echo $ECHO_N "(cached) $ECHO_C" >&6
37701 else
37702 cat >conftest.$ac_ext <<_ACEOF
37703 /* confdefs.h. */
37704 _ACEOF
37705 cat confdefs.h >>conftest.$ac_ext
37706 cat >>conftest.$ac_ext <<_ACEOF
37707 /* end confdefs.h. */
37708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37710 #define $ac_func innocuous_$ac_func
37711
37712 /* System header to define __stub macros and hopefully few prototypes,
37713 which can conflict with char $ac_func (); below.
37714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37715 <limits.h> exists even on freestanding compilers. */
37716
37717 #ifdef __STDC__
37718 # include <limits.h>
37719 #else
37720 # include <assert.h>
37721 #endif
37722
37723 #undef $ac_func
37724
37725 /* Override any GCC internal prototype to avoid an error.
37726 Use char because int might match the return type of a GCC
37727 builtin and then its argument prototype would still apply. */
37728 #ifdef __cplusplus
37729 extern "C"
37730 #endif
37731 char $ac_func ();
37732 /* The GNU C library defines this for functions which it implements
37733 to always fail with ENOSYS. Some functions are actually named
37734 something starting with __ and the normal name is an alias. */
37735 #if defined __stub_$ac_func || defined __stub___$ac_func
37736 choke me
37737 #endif
37738
37739 int
37740 main ()
37741 {
37742 return $ac_func ();
37743 ;
37744 return 0;
37745 }
37746 _ACEOF
37747 rm -f conftest.$ac_objext conftest$ac_exeext
37748 if { (ac_try="$ac_link"
37749 case "(($ac_try" in
37750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37751 *) ac_try_echo=$ac_try;;
37752 esac
37753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37754 (eval "$ac_link") 2>conftest.er1
37755 ac_status=$?
37756 grep -v '^ *+' conftest.er1 >conftest.err
37757 rm -f conftest.er1
37758 cat conftest.err >&5
37759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37760 (exit $ac_status); } && {
37761 test -z "$ac_c_werror_flag" ||
37762 test ! -s conftest.err
37763 } && test -s conftest$ac_exeext &&
37764 $as_test_x conftest$ac_exeext; then
37765 eval "$as_ac_var=yes"
37766 else
37767 echo "$as_me: failed program was:" >&5
37768 sed 's/^/| /' conftest.$ac_ext >&5
37769
37770 eval "$as_ac_var=no"
37771 fi
37772
37773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37774 conftest$ac_exeext conftest.$ac_ext
37775 fi
37776 ac_res=`eval echo '${'$as_ac_var'}'`
37777 { echo "$as_me:$LINENO: result: $ac_res" >&5
37778 echo "${ECHO_T}$ac_res" >&6; }
37779 if test `eval echo '${'$as_ac_var'}'` = yes; then
37780 cat >>confdefs.h <<_ACEOF
37781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37782 _ACEOF
37783
37784 fi
37785 done
37786
37787 fi
37788
37789 else
37790 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37791 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37792 fi
37793
37794
37795
37796 for ac_func in snprintf vsnprintf
37797 do
37798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37802 echo $ECHO_N "(cached) $ECHO_C" >&6
37803 else
37804 cat >conftest.$ac_ext <<_ACEOF
37805 /* confdefs.h. */
37806 _ACEOF
37807 cat confdefs.h >>conftest.$ac_ext
37808 cat >>conftest.$ac_ext <<_ACEOF
37809 /* end confdefs.h. */
37810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37812 #define $ac_func innocuous_$ac_func
37813
37814 /* System header to define __stub macros and hopefully few prototypes,
37815 which can conflict with char $ac_func (); below.
37816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37817 <limits.h> exists even on freestanding compilers. */
37818
37819 #ifdef __STDC__
37820 # include <limits.h>
37821 #else
37822 # include <assert.h>
37823 #endif
37824
37825 #undef $ac_func
37826
37827 /* Override any GCC internal prototype to avoid an error.
37828 Use char because int might match the return type of a GCC
37829 builtin and then its argument prototype would still apply. */
37830 #ifdef __cplusplus
37831 extern "C"
37832 #endif
37833 char $ac_func ();
37834 /* The GNU C library defines this for functions which it implements
37835 to always fail with ENOSYS. Some functions are actually named
37836 something starting with __ and the normal name is an alias. */
37837 #if defined __stub_$ac_func || defined __stub___$ac_func
37838 choke me
37839 #endif
37840
37841 int
37842 main ()
37843 {
37844 return $ac_func ();
37845 ;
37846 return 0;
37847 }
37848 _ACEOF
37849 rm -f conftest.$ac_objext conftest$ac_exeext
37850 if { (ac_try="$ac_link"
37851 case "(($ac_try" in
37852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37853 *) ac_try_echo=$ac_try;;
37854 esac
37855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37856 (eval "$ac_link") 2>conftest.er1
37857 ac_status=$?
37858 grep -v '^ *+' conftest.er1 >conftest.err
37859 rm -f conftest.er1
37860 cat conftest.err >&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } && {
37863 test -z "$ac_c_werror_flag" ||
37864 test ! -s conftest.err
37865 } && test -s conftest$ac_exeext &&
37866 $as_test_x conftest$ac_exeext; then
37867 eval "$as_ac_var=yes"
37868 else
37869 echo "$as_me: failed program was:" >&5
37870 sed 's/^/| /' conftest.$ac_ext >&5
37871
37872 eval "$as_ac_var=no"
37873 fi
37874
37875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37876 conftest$ac_exeext conftest.$ac_ext
37877 fi
37878 ac_res=`eval echo '${'$as_ac_var'}'`
37879 { echo "$as_me:$LINENO: result: $ac_res" >&5
37880 echo "${ECHO_T}$ac_res" >&6; }
37881 if test `eval echo '${'$as_ac_var'}'` = yes; then
37882 cat >>confdefs.h <<_ACEOF
37883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37884 _ACEOF
37885
37886 fi
37887 done
37888
37889
37890 if test "$ac_cv_func_vsnprintf" = "yes"; then
37891 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37892 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37893 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37894 echo $ECHO_N "(cached) $ECHO_C" >&6
37895 else
37896
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903
37904 #include <stdio.h>
37905 #include <stdarg.h>
37906 #ifdef __MSL__
37907 #if __MSL__ >= 0x6000
37908 namespace std {}
37909 using namespace std;
37910 #endif
37911 #endif
37912
37913 int
37914 main ()
37915 {
37916
37917 char *buf;
37918 va_list ap;
37919 vsnprintf(buf, 10u, "%s", ap);
37920
37921 ;
37922 return 0;
37923 }
37924 _ACEOF
37925 rm -f conftest.$ac_objext
37926 if { (ac_try="$ac_compile"
37927 case "(($ac_try" in
37928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37929 *) ac_try_echo=$ac_try;;
37930 esac
37931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37932 (eval "$ac_compile") 2>conftest.er1
37933 ac_status=$?
37934 grep -v '^ *+' conftest.er1 >conftest.err
37935 rm -f conftest.er1
37936 cat conftest.err >&5
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); } && {
37939 test -z "$ac_c_werror_flag" ||
37940 test ! -s conftest.err
37941 } && test -s conftest.$ac_objext; then
37942 wx_cv_func_vsnprintf_decl=yes
37943 else
37944 echo "$as_me: failed program was:" >&5
37945 sed 's/^/| /' conftest.$ac_ext >&5
37946
37947 wx_cv_func_vsnprintf_decl=no
37948
37949 fi
37950
37951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37952
37953
37954 fi
37955 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37956 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37957
37958 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37959 cat >>confdefs.h <<\_ACEOF
37960 #define HAVE_VSNPRINTF_DECL 1
37961 _ACEOF
37962
37963
37964 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37965 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37966 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37967 echo $ECHO_N "(cached) $ECHO_C" >&6
37968 else
37969
37970 cat >conftest.$ac_ext <<_ACEOF
37971 /* confdefs.h. */
37972 _ACEOF
37973 cat confdefs.h >>conftest.$ac_ext
37974 cat >>conftest.$ac_ext <<_ACEOF
37975 /* end confdefs.h. */
37976
37977 #include <stdio.h>
37978 #include <stdarg.h>
37979 #ifdef __MSL__
37980 #if __MSL__ >= 0x6000
37981 namespace std {}
37982 using namespace std;
37983 #endif
37984 #endif
37985
37986 int
37987 main ()
37988 {
37989
37990 char *buf;
37991 va_list ap;
37992 const char *fmt = "%s";
37993 vsnprintf(buf, 10u, fmt, ap);
37994
37995 ;
37996 return 0;
37997 }
37998 _ACEOF
37999 rm -f conftest.$ac_objext
38000 if { (ac_try="$ac_compile"
38001 case "(($ac_try" in
38002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38003 *) ac_try_echo=$ac_try;;
38004 esac
38005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38006 (eval "$ac_compile") 2>conftest.er1
38007 ac_status=$?
38008 grep -v '^ *+' conftest.er1 >conftest.err
38009 rm -f conftest.er1
38010 cat conftest.err >&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); } && {
38013 test -z "$ac_c_werror_flag" ||
38014 test ! -s conftest.err
38015 } && test -s conftest.$ac_objext; then
38016 wx_cv_func_broken_vsnprintf_decl=no
38017 else
38018 echo "$as_me: failed program was:" >&5
38019 sed 's/^/| /' conftest.$ac_ext >&5
38020
38021 wx_cv_func_broken_vsnprintf_decl=yes
38022
38023 fi
38024
38025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38026
38027
38028 fi
38029 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38030 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38031
38032 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38033 cat >>confdefs.h <<\_ACEOF
38034 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38035 _ACEOF
38036
38037 fi
38038 fi
38039 fi
38040
38041 if test "$ac_cv_func_snprintf" = "yes"; then
38042 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38043 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38044 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38045 echo $ECHO_N "(cached) $ECHO_C" >&6
38046 else
38047
38048 cat >conftest.$ac_ext <<_ACEOF
38049 /* confdefs.h. */
38050 _ACEOF
38051 cat confdefs.h >>conftest.$ac_ext
38052 cat >>conftest.$ac_ext <<_ACEOF
38053 /* end confdefs.h. */
38054
38055 #include <stdio.h>
38056 #include <stdarg.h>
38057 #ifdef __MSL__
38058 #if __MSL__ >= 0x6000
38059 namespace std {}
38060 using namespace std;
38061 #endif
38062 #endif
38063
38064 int
38065 main ()
38066 {
38067
38068 char *buf;
38069 snprintf(buf, 10u, "%s", "wx");
38070
38071 ;
38072 return 0;
38073 }
38074 _ACEOF
38075 rm -f conftest.$ac_objext
38076 if { (ac_try="$ac_compile"
38077 case "(($ac_try" in
38078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38079 *) ac_try_echo=$ac_try;;
38080 esac
38081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38082 (eval "$ac_compile") 2>conftest.er1
38083 ac_status=$?
38084 grep -v '^ *+' conftest.er1 >conftest.err
38085 rm -f conftest.er1
38086 cat conftest.err >&5
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); } && {
38089 test -z "$ac_c_werror_flag" ||
38090 test ! -s conftest.err
38091 } && test -s conftest.$ac_objext; then
38092 wx_cv_func_snprintf_decl=yes
38093 else
38094 echo "$as_me: failed program was:" >&5
38095 sed 's/^/| /' conftest.$ac_ext >&5
38096
38097 wx_cv_func_snprintf_decl=no
38098
38099 fi
38100
38101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38102
38103
38104 fi
38105 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38106 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38107
38108 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38109 cat >>confdefs.h <<\_ACEOF
38110 #define HAVE_SNPRINTF_DECL 1
38111 _ACEOF
38112
38113
38114 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38115 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38116 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38117 echo $ECHO_N "(cached) $ECHO_C" >&6
38118 else
38119
38120 cat >conftest.$ac_ext <<_ACEOF
38121 /* confdefs.h. */
38122 _ACEOF
38123 cat confdefs.h >>conftest.$ac_ext
38124 cat >>conftest.$ac_ext <<_ACEOF
38125 /* end confdefs.h. */
38126
38127 #include <stdio.h>
38128 #include <stdarg.h>
38129 #ifdef __MSL__
38130 #if __MSL__ >= 0x6000
38131 namespace std {}
38132 using namespace std;
38133 #endif
38134 #endif
38135
38136 int
38137 main ()
38138 {
38139
38140 char *buf;
38141 const char *fmt = "%s";
38142 snprintf(buf, 10u, fmt, "wx");
38143
38144 ;
38145 return 0;
38146 }
38147 _ACEOF
38148 rm -f conftest.$ac_objext
38149 if { (ac_try="$ac_compile"
38150 case "(($ac_try" in
38151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38152 *) ac_try_echo=$ac_try;;
38153 esac
38154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38155 (eval "$ac_compile") 2>conftest.er1
38156 ac_status=$?
38157 grep -v '^ *+' conftest.er1 >conftest.err
38158 rm -f conftest.er1
38159 cat conftest.err >&5
38160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38161 (exit $ac_status); } && {
38162 test -z "$ac_c_werror_flag" ||
38163 test ! -s conftest.err
38164 } && test -s conftest.$ac_objext; then
38165 wx_cv_func_broken_snprintf_decl=no
38166 else
38167 echo "$as_me: failed program was:" >&5
38168 sed 's/^/| /' conftest.$ac_ext >&5
38169
38170 wx_cv_func_broken_snprintf_decl=yes
38171
38172 fi
38173
38174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38175
38176
38177 fi
38178 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38179 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38180
38181 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38182 cat >>confdefs.h <<\_ACEOF
38183 #define HAVE_BROKEN_SNPRINTF_DECL 1
38184 _ACEOF
38185
38186 fi
38187 fi
38188
38189 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38190
38191 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38192 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38193 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38194 echo $ECHO_N "(cached) $ECHO_C" >&6
38195 else
38196
38197 if test "$cross_compiling" = yes; then
38198
38199 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38200 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38201 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38202 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38203 wx_cv_func_snprintf_pos_params=no
38204
38205
38206 else
38207 cat >conftest.$ac_ext <<_ACEOF
38208 /* confdefs.h. */
38209 _ACEOF
38210 cat confdefs.h >>conftest.$ac_ext
38211 cat >>conftest.$ac_ext <<_ACEOF
38212 /* end confdefs.h. */
38213
38214 #include <stdio.h>
38215
38216 int main (void)
38217 {
38218 char buffer[128];
38219 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38220 if (strcmp ("2 3 1", buffer) == 0)
38221 exit (0);
38222 exit (1);
38223 }
38224
38225 _ACEOF
38226 rm -f conftest$ac_exeext
38227 if { (ac_try="$ac_link"
38228 case "(($ac_try" in
38229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38230 *) ac_try_echo=$ac_try;;
38231 esac
38232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38233 (eval "$ac_link") 2>&5
38234 ac_status=$?
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38237 { (case "(($ac_try" in
38238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38239 *) ac_try_echo=$ac_try;;
38240 esac
38241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38242 (eval "$ac_try") 2>&5
38243 ac_status=$?
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); }; }; then
38246 wx_cv_func_snprintf_pos_params=no
38247 else
38248 echo "$as_me: program exited with status $ac_status" >&5
38249 echo "$as_me: failed program was:" >&5
38250 sed 's/^/| /' conftest.$ac_ext >&5
38251
38252 ( exit $ac_status )
38253 wx_cv_func_snprintf_pos_params=yes
38254 fi
38255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38256 fi
38257
38258
38259
38260
38261 fi
38262 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38263 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38264
38265 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38266 cat >>confdefs.h <<\_ACEOF
38267 #define HAVE_UNIX98_PRINTF 1
38268 _ACEOF
38269
38270 fi
38271 fi
38272 fi
38273
38274 if test "$wxUSE_UNICODE" = yes; then
38275
38276
38277 for ac_func in swprintf
38278 do
38279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38283 echo $ECHO_N "(cached) $ECHO_C" >&6
38284 else
38285 cat >conftest.$ac_ext <<_ACEOF
38286 /* confdefs.h. */
38287 _ACEOF
38288 cat confdefs.h >>conftest.$ac_ext
38289 cat >>conftest.$ac_ext <<_ACEOF
38290 /* end confdefs.h. */
38291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38293 #define $ac_func innocuous_$ac_func
38294
38295 /* System header to define __stub macros and hopefully few prototypes,
38296 which can conflict with char $ac_func (); below.
38297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38298 <limits.h> exists even on freestanding compilers. */
38299
38300 #ifdef __STDC__
38301 # include <limits.h>
38302 #else
38303 # include <assert.h>
38304 #endif
38305
38306 #undef $ac_func
38307
38308 /* Override any GCC internal prototype to avoid an error.
38309 Use char because int might match the return type of a GCC
38310 builtin and then its argument prototype would still apply. */
38311 #ifdef __cplusplus
38312 extern "C"
38313 #endif
38314 char $ac_func ();
38315 /* The GNU C library defines this for functions which it implements
38316 to always fail with ENOSYS. Some functions are actually named
38317 something starting with __ and the normal name is an alias. */
38318 #if defined __stub_$ac_func || defined __stub___$ac_func
38319 choke me
38320 #endif
38321
38322 int
38323 main ()
38324 {
38325 return $ac_func ();
38326 ;
38327 return 0;
38328 }
38329 _ACEOF
38330 rm -f conftest.$ac_objext conftest$ac_exeext
38331 if { (ac_try="$ac_link"
38332 case "(($ac_try" in
38333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38334 *) ac_try_echo=$ac_try;;
38335 esac
38336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38337 (eval "$ac_link") 2>conftest.er1
38338 ac_status=$?
38339 grep -v '^ *+' conftest.er1 >conftest.err
38340 rm -f conftest.er1
38341 cat conftest.err >&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } && {
38344 test -z "$ac_c_werror_flag" ||
38345 test ! -s conftest.err
38346 } && test -s conftest$ac_exeext &&
38347 $as_test_x conftest$ac_exeext; then
38348 eval "$as_ac_var=yes"
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38352
38353 eval "$as_ac_var=no"
38354 fi
38355
38356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38357 conftest$ac_exeext conftest.$ac_ext
38358 fi
38359 ac_res=`eval echo '${'$as_ac_var'}'`
38360 { echo "$as_me:$LINENO: result: $ac_res" >&5
38361 echo "${ECHO_T}$ac_res" >&6; }
38362 if test `eval echo '${'$as_ac_var'}'` = yes; then
38363 cat >>confdefs.h <<_ACEOF
38364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38365 _ACEOF
38366
38367 fi
38368 done
38369
38370
38371 if test "$ac_cv_func_swprintf" = "yes"; then
38372 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38373 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38374 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38375 echo $ECHO_N "(cached) $ECHO_C" >&6
38376 else
38377
38378 cat >conftest.$ac_ext <<_ACEOF
38379 /* confdefs.h. */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384
38385 #include <stdio.h>
38386 #include <stdarg.h>
38387 #include <wchar.h>
38388
38389 int
38390 main ()
38391 {
38392
38393 wchar_t *buf;
38394 const wchar_t *fmt = L"test";
38395 swprintf(buf, 10u, fmt);
38396
38397 ;
38398 return 0;
38399 }
38400 _ACEOF
38401 rm -f conftest.$ac_objext
38402 if { (ac_try="$ac_compile"
38403 case "(($ac_try" in
38404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38405 *) ac_try_echo=$ac_try;;
38406 esac
38407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38408 (eval "$ac_compile") 2>conftest.er1
38409 ac_status=$?
38410 grep -v '^ *+' conftest.er1 >conftest.err
38411 rm -f conftest.er1
38412 cat conftest.err >&5
38413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414 (exit $ac_status); } && {
38415 test -z "$ac_c_werror_flag" ||
38416 test ! -s conftest.err
38417 } && test -s conftest.$ac_objext; then
38418 wx_cv_func_broken_swprintf_decl=no
38419 else
38420 echo "$as_me: failed program was:" >&5
38421 sed 's/^/| /' conftest.$ac_ext >&5
38422
38423 wx_cv_func_broken_swprintf_decl=yes
38424
38425 fi
38426
38427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38428
38429
38430 fi
38431 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38432 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38433
38434 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38435 cat >>confdefs.h <<\_ACEOF
38436 #define HAVE_BROKEN_SWPRINTF_DECL 1
38437 _ACEOF
38438
38439 fi
38440 fi
38441
38442 wchar_headers="#include <stdio.h>
38443 #include <wchar.h>"
38444 case "${host}" in
38445 *-*-solaris2* )
38446
38447 for ac_header in widec.h
38448 do
38449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38450 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38453 echo $ECHO_N "(cached) $ECHO_C" >&6
38454 else
38455 cat >conftest.$ac_ext <<_ACEOF
38456 /* confdefs.h. */
38457 _ACEOF
38458 cat confdefs.h >>conftest.$ac_ext
38459 cat >>conftest.$ac_ext <<_ACEOF
38460 /* end confdefs.h. */
38461 $ac_includes_default
38462
38463 #include <$ac_header>
38464 _ACEOF
38465 rm -f conftest.$ac_objext
38466 if { (ac_try="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38470 esac
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38473 ac_status=$?
38474 grep -v '^ *+' conftest.er1 >conftest.err
38475 rm -f conftest.er1
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_c_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38482 eval "$as_ac_Header=yes"
38483 else
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38486
38487 eval "$as_ac_Header=no"
38488 fi
38489
38490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38491 fi
38492 ac_res=`eval echo '${'$as_ac_Header'}'`
38493 { echo "$as_me:$LINENO: result: $ac_res" >&5
38494 echo "${ECHO_T}$ac_res" >&6; }
38495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38496 cat >>confdefs.h <<_ACEOF
38497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38498 _ACEOF
38499
38500 fi
38501
38502 done
38503
38504 if test "$ac_cv_header_widec_h" = "yes"; then
38505 wchar_headers="$wchar_headers
38506 #include <widec.h>"
38507 fi
38508 esac
38509
38510
38511 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38512 do
38513 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38514 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38515 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38516 echo $ECHO_N "(cached) $ECHO_C" >&6
38517 else
38518
38519 cat >conftest.$ac_ext <<_ACEOF
38520
38521 /* confdefs.h. */
38522 _ACEOF
38523 cat confdefs.h >>conftest.$ac_ext
38524 cat >>conftest.$ac_ext <<_ACEOF
38525 /* end confdefs.h. */
38526
38527 $wchar_headers
38528 $ac_includes_default
38529
38530 int
38531 main ()
38532 {
38533
38534 #ifndef $wx_func
38535 &$wx_func;
38536 #endif
38537
38538
38539 ;
38540 return 0;
38541 }
38542
38543 _ACEOF
38544 rm -f conftest.$ac_objext conftest$ac_exeext
38545 if { (ac_try="$ac_link"
38546 case "(($ac_try" in
38547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38548 *) ac_try_echo=$ac_try;;
38549 esac
38550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38551 (eval "$ac_link") 2>conftest.er1
38552 ac_status=$?
38553 grep -v '^ *+' conftest.er1 >conftest.err
38554 rm -f conftest.er1
38555 cat conftest.err >&5
38556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38557 (exit $ac_status); } && {
38558 test -z "$ac_c_werror_flag" ||
38559 test ! -s conftest.err
38560 } && test -s conftest$ac_exeext &&
38561 $as_test_x conftest$ac_exeext; then
38562 eval wx_cv_func_$wx_func=yes
38563 else
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.$ac_ext >&5
38566
38567 eval wx_cv_func_$wx_func=no
38568 fi
38569
38570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38571 conftest$ac_exeext conftest.$ac_ext
38572
38573 fi
38574 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38575 { echo "$as_me:$LINENO: result: $ac_res" >&5
38576 echo "${ECHO_T}$ac_res" >&6; }
38577
38578 if eval test \$wx_cv_func_$wx_func = yes
38579 then
38580 cat >>confdefs.h <<_ACEOF
38581 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38582 _ACEOF
38583
38584
38585 else
38586 :
38587
38588 fi
38589 done
38590
38591
38592 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38593 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38594 cat >conftest.$ac_ext <<_ACEOF
38595 /* confdefs.h. */
38596 _ACEOF
38597 cat confdefs.h >>conftest.$ac_ext
38598 cat >>conftest.$ac_ext <<_ACEOF
38599 /* end confdefs.h. */
38600 #include <wchar.h>
38601 int
38602 main ()
38603 {
38604 &_vsnwprintf;
38605 ;
38606 return 0;
38607 }
38608 _ACEOF
38609 rm -f conftest.$ac_objext
38610 if { (ac_try="$ac_compile"
38611 case "(($ac_try" in
38612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38613 *) ac_try_echo=$ac_try;;
38614 esac
38615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38616 (eval "$ac_compile") 2>conftest.er1
38617 ac_status=$?
38618 grep -v '^ *+' conftest.er1 >conftest.err
38619 rm -f conftest.er1
38620 cat conftest.err >&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); } && {
38623 test -z "$ac_c_werror_flag" ||
38624 test ! -s conftest.err
38625 } && test -s conftest.$ac_objext; then
38626 { echo "$as_me:$LINENO: result: yes" >&5
38627 echo "${ECHO_T}yes" >&6; }
38628 cat >>confdefs.h <<\_ACEOF
38629 #define HAVE__VSNWPRINTF 1
38630 _ACEOF
38631
38632 else
38633 echo "$as_me: failed program was:" >&5
38634 sed 's/^/| /' conftest.$ac_ext >&5
38635
38636 { echo "$as_me:$LINENO: result: no" >&5
38637 echo "${ECHO_T}no" >&6; }
38638 fi
38639
38640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38641 fi
38642
38643 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38644
38645 for wx_func in fnmatch
38646 do
38647 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38648 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38649 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38650 echo $ECHO_N "(cached) $ECHO_C" >&6
38651 else
38652
38653 cat >conftest.$ac_ext <<_ACEOF
38654
38655 /* confdefs.h. */
38656 _ACEOF
38657 cat confdefs.h >>conftest.$ac_ext
38658 cat >>conftest.$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38660
38661 #include <fnmatch.h>
38662 $ac_includes_default
38663
38664 int
38665 main ()
38666 {
38667
38668 #ifndef $wx_func
38669 &$wx_func;
38670 #endif
38671
38672
38673 ;
38674 return 0;
38675 }
38676
38677 _ACEOF
38678 rm -f conftest.$ac_objext conftest$ac_exeext
38679 if { (ac_try="$ac_link"
38680 case "(($ac_try" in
38681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38682 *) ac_try_echo=$ac_try;;
38683 esac
38684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38685 (eval "$ac_link") 2>conftest.er1
38686 ac_status=$?
38687 grep -v '^ *+' conftest.er1 >conftest.err
38688 rm -f conftest.er1
38689 cat conftest.err >&5
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); } && {
38692 test -z "$ac_c_werror_flag" ||
38693 test ! -s conftest.err
38694 } && test -s conftest$ac_exeext &&
38695 $as_test_x conftest$ac_exeext; then
38696 eval wx_cv_func_$wx_func=yes
38697 else
38698 echo "$as_me: failed program was:" >&5
38699 sed 's/^/| /' conftest.$ac_ext >&5
38700
38701 eval wx_cv_func_$wx_func=no
38702 fi
38703
38704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38705 conftest$ac_exeext conftest.$ac_ext
38706
38707 fi
38708 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38709 { echo "$as_me:$LINENO: result: $ac_res" >&5
38710 echo "${ECHO_T}$ac_res" >&6; }
38711
38712 if eval test \$wx_cv_func_$wx_func = yes
38713 then
38714 cat >>confdefs.h <<_ACEOF
38715 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38716 _ACEOF
38717
38718
38719 else
38720 :
38721
38722 fi
38723 done
38724
38725 fi
38726
38727 if test "$wxUSE_FILE" = "yes"; then
38728
38729 for wx_func in fsync
38730 do
38731 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38732 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38733 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38734 echo $ECHO_N "(cached) $ECHO_C" >&6
38735 else
38736
38737 cat >conftest.$ac_ext <<_ACEOF
38738
38739 /* confdefs.h. */
38740 _ACEOF
38741 cat confdefs.h >>conftest.$ac_ext
38742 cat >>conftest.$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38744
38745
38746 $ac_includes_default
38747
38748 int
38749 main ()
38750 {
38751
38752 #ifndef $wx_func
38753 &$wx_func;
38754 #endif
38755
38756
38757 ;
38758 return 0;
38759 }
38760
38761 _ACEOF
38762 rm -f conftest.$ac_objext conftest$ac_exeext
38763 if { (ac_try="$ac_link"
38764 case "(($ac_try" in
38765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38766 *) ac_try_echo=$ac_try;;
38767 esac
38768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38769 (eval "$ac_link") 2>conftest.er1
38770 ac_status=$?
38771 grep -v '^ *+' conftest.er1 >conftest.err
38772 rm -f conftest.er1
38773 cat conftest.err >&5
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); } && {
38776 test -z "$ac_c_werror_flag" ||
38777 test ! -s conftest.err
38778 } && test -s conftest$ac_exeext &&
38779 $as_test_x conftest$ac_exeext; then
38780 eval wx_cv_func_$wx_func=yes
38781 else
38782 echo "$as_me: failed program was:" >&5
38783 sed 's/^/| /' conftest.$ac_ext >&5
38784
38785 eval wx_cv_func_$wx_func=no
38786 fi
38787
38788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38789 conftest$ac_exeext conftest.$ac_ext
38790
38791 fi
38792 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38793 { echo "$as_me:$LINENO: result: $ac_res" >&5
38794 echo "${ECHO_T}$ac_res" >&6; }
38795
38796 if eval test \$wx_cv_func_$wx_func = yes
38797 then
38798 cat >>confdefs.h <<_ACEOF
38799 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38800 _ACEOF
38801
38802
38803 else
38804 :
38805
38806 fi
38807 done
38808
38809 fi
38810
38811 ac_ext=cpp
38812 ac_cpp='$CXXCPP $CPPFLAGS'
38813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38816
38817
38818 for wx_func in round
38819 do
38820 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38821 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38822 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38823 echo $ECHO_N "(cached) $ECHO_C" >&6
38824 else
38825
38826 cat >conftest.$ac_ext <<_ACEOF
38827
38828 /* confdefs.h. */
38829 _ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38833
38834 #include <math.h>
38835 $ac_includes_default
38836
38837 int
38838 main ()
38839 {
38840
38841 #ifndef $wx_func
38842 &$wx_func;
38843 #endif
38844
38845
38846 ;
38847 return 0;
38848 }
38849
38850 _ACEOF
38851 rm -f conftest.$ac_objext conftest$ac_exeext
38852 if { (ac_try="$ac_link"
38853 case "(($ac_try" in
38854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38855 *) ac_try_echo=$ac_try;;
38856 esac
38857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38858 (eval "$ac_link") 2>conftest.er1
38859 ac_status=$?
38860 grep -v '^ *+' conftest.er1 >conftest.err
38861 rm -f conftest.er1
38862 cat conftest.err >&5
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); } && {
38865 test -z "$ac_cxx_werror_flag" ||
38866 test ! -s conftest.err
38867 } && test -s conftest$ac_exeext &&
38868 $as_test_x conftest$ac_exeext; then
38869 eval wx_cv_func_$wx_func=yes
38870 else
38871 echo "$as_me: failed program was:" >&5
38872 sed 's/^/| /' conftest.$ac_ext >&5
38873
38874 eval wx_cv_func_$wx_func=no
38875 fi
38876
38877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38878 conftest$ac_exeext conftest.$ac_ext
38879
38880 fi
38881 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38882 { echo "$as_me:$LINENO: result: $ac_res" >&5
38883 echo "${ECHO_T}$ac_res" >&6; }
38884
38885 if eval test \$wx_cv_func_$wx_func = yes
38886 then
38887 cat >>confdefs.h <<_ACEOF
38888 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38889 _ACEOF
38890
38891
38892 else
38893 :
38894
38895 fi
38896 done
38897
38898 ac_ext=c
38899 ac_cpp='$CPP $CPPFLAGS'
38900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38903
38904
38905 if test "$TOOLKIT" != "MSW"; then
38906
38907
38908
38909
38910
38911 # Check whether --with-libiconv-prefix was given.
38912 if test "${with_libiconv_prefix+set}" = set; then
38913 withval=$with_libiconv_prefix;
38914 for dir in `echo "$withval" | tr : ' '`; do
38915 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38916 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38917 done
38918
38919 fi
38920
38921
38922 { echo "$as_me:$LINENO: checking for iconv" >&5
38923 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38924 if test "${am_cv_func_iconv+set}" = set; then
38925 echo $ECHO_N "(cached) $ECHO_C" >&6
38926 else
38927
38928 am_cv_func_iconv="no, consider installing GNU libiconv"
38929 am_cv_lib_iconv=no
38930 cat >conftest.$ac_ext <<_ACEOF
38931 /* confdefs.h. */
38932 _ACEOF
38933 cat confdefs.h >>conftest.$ac_ext
38934 cat >>conftest.$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38936 #include <stdlib.h>
38937 #include <iconv.h>
38938 int
38939 main ()
38940 {
38941 iconv_t cd = iconv_open("","");
38942 iconv(cd,NULL,NULL,NULL,NULL);
38943 iconv_close(cd);
38944 ;
38945 return 0;
38946 }
38947 _ACEOF
38948 rm -f conftest.$ac_objext conftest$ac_exeext
38949 if { (ac_try="$ac_link"
38950 case "(($ac_try" in
38951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38952 *) ac_try_echo=$ac_try;;
38953 esac
38954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38955 (eval "$ac_link") 2>conftest.er1
38956 ac_status=$?
38957 grep -v '^ *+' conftest.er1 >conftest.err
38958 rm -f conftest.er1
38959 cat conftest.err >&5
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); } && {
38962 test -z "$ac_c_werror_flag" ||
38963 test ! -s conftest.err
38964 } && test -s conftest$ac_exeext &&
38965 $as_test_x conftest$ac_exeext; then
38966 am_cv_func_iconv=yes
38967 else
38968 echo "$as_me: failed program was:" >&5
38969 sed 's/^/| /' conftest.$ac_ext >&5
38970
38971
38972 fi
38973
38974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38975 conftest$ac_exeext conftest.$ac_ext
38976 if test "$am_cv_func_iconv" != yes; then
38977 am_save_LIBS="$LIBS"
38978 LIBS="$LIBS -liconv"
38979 cat >conftest.$ac_ext <<_ACEOF
38980 /* confdefs.h. */
38981 _ACEOF
38982 cat confdefs.h >>conftest.$ac_ext
38983 cat >>conftest.$ac_ext <<_ACEOF
38984 /* end confdefs.h. */
38985 #include <stdlib.h>
38986 #include <iconv.h>
38987 int
38988 main ()
38989 {
38990 iconv_t cd = iconv_open("","");
38991 iconv(cd,NULL,NULL,NULL,NULL);
38992 iconv_close(cd);
38993 ;
38994 return 0;
38995 }
38996 _ACEOF
38997 rm -f conftest.$ac_objext conftest$ac_exeext
38998 if { (ac_try="$ac_link"
38999 case "(($ac_try" in
39000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39001 *) ac_try_echo=$ac_try;;
39002 esac
39003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39004 (eval "$ac_link") 2>conftest.er1
39005 ac_status=$?
39006 grep -v '^ *+' conftest.er1 >conftest.err
39007 rm -f conftest.er1
39008 cat conftest.err >&5
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); } && {
39011 test -z "$ac_c_werror_flag" ||
39012 test ! -s conftest.err
39013 } && test -s conftest$ac_exeext &&
39014 $as_test_x conftest$ac_exeext; then
39015 am_cv_lib_iconv=yes
39016 am_cv_func_iconv=yes
39017 else
39018 echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.$ac_ext >&5
39020
39021
39022 fi
39023
39024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39025 conftest$ac_exeext conftest.$ac_ext
39026 LIBS="$am_save_LIBS"
39027 fi
39028
39029 fi
39030 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39031 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39032 if test "$am_cv_func_iconv" = yes; then
39033
39034 cat >>confdefs.h <<\_ACEOF
39035 #define HAVE_ICONV 1
39036 _ACEOF
39037
39038 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39039 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39040 if test "${wx_cv_func_iconv_const+set}" = set; then
39041 echo $ECHO_N "(cached) $ECHO_C" >&6
39042 else
39043 cat >conftest.$ac_ext <<_ACEOF
39044 /* confdefs.h. */
39045 _ACEOF
39046 cat confdefs.h >>conftest.$ac_ext
39047 cat >>conftest.$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049
39050 #include <stdlib.h>
39051 #include <iconv.h>
39052 extern
39053 #ifdef __cplusplus
39054 "C"
39055 #endif
39056 #if defined(__STDC__) || defined(__cplusplus)
39057 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39058 #else
39059 size_t iconv();
39060 #endif
39061
39062 int
39063 main ()
39064 {
39065
39066 ;
39067 return 0;
39068 }
39069 _ACEOF
39070 rm -f conftest.$ac_objext
39071 if { (ac_try="$ac_compile"
39072 case "(($ac_try" in
39073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39074 *) ac_try_echo=$ac_try;;
39075 esac
39076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39077 (eval "$ac_compile") 2>conftest.er1
39078 ac_status=$?
39079 grep -v '^ *+' conftest.er1 >conftest.err
39080 rm -f conftest.er1
39081 cat conftest.err >&5
39082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39083 (exit $ac_status); } && {
39084 test -z "$ac_c_werror_flag" ||
39085 test ! -s conftest.err
39086 } && test -s conftest.$ac_objext; then
39087 wx_cv_func_iconv_const="no"
39088 else
39089 echo "$as_me: failed program was:" >&5
39090 sed 's/^/| /' conftest.$ac_ext >&5
39091
39092 wx_cv_func_iconv_const="yes"
39093
39094 fi
39095
39096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39097
39098 fi
39099 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39100 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39101
39102 iconv_const=
39103 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39104 iconv_const="const"
39105 fi
39106
39107
39108 cat >>confdefs.h <<_ACEOF
39109 #define ICONV_CONST $iconv_const
39110 _ACEOF
39111
39112 fi
39113 LIBICONV=
39114 if test "$am_cv_lib_iconv" = yes; then
39115 LIBICONV="-liconv"
39116 fi
39117
39118
39119 LIBS="$LIBICONV $LIBS"
39120
39121 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39122
39123 for ac_func in sigaction
39124 do
39125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39126 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39128 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39129 echo $ECHO_N "(cached) $ECHO_C" >&6
39130 else
39131 cat >conftest.$ac_ext <<_ACEOF
39132 /* confdefs.h. */
39133 _ACEOF
39134 cat confdefs.h >>conftest.$ac_ext
39135 cat >>conftest.$ac_ext <<_ACEOF
39136 /* end confdefs.h. */
39137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39139 #define $ac_func innocuous_$ac_func
39140
39141 /* System header to define __stub macros and hopefully few prototypes,
39142 which can conflict with char $ac_func (); below.
39143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39144 <limits.h> exists even on freestanding compilers. */
39145
39146 #ifdef __STDC__
39147 # include <limits.h>
39148 #else
39149 # include <assert.h>
39150 #endif
39151
39152 #undef $ac_func
39153
39154 /* Override any GCC internal prototype to avoid an error.
39155 Use char because int might match the return type of a GCC
39156 builtin and then its argument prototype would still apply. */
39157 #ifdef __cplusplus
39158 extern "C"
39159 #endif
39160 char $ac_func ();
39161 /* The GNU C library defines this for functions which it implements
39162 to always fail with ENOSYS. Some functions are actually named
39163 something starting with __ and the normal name is an alias. */
39164 #if defined __stub_$ac_func || defined __stub___$ac_func
39165 choke me
39166 #endif
39167
39168 int
39169 main ()
39170 {
39171 return $ac_func ();
39172 ;
39173 return 0;
39174 }
39175 _ACEOF
39176 rm -f conftest.$ac_objext conftest$ac_exeext
39177 if { (ac_try="$ac_link"
39178 case "(($ac_try" in
39179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39180 *) ac_try_echo=$ac_try;;
39181 esac
39182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39183 (eval "$ac_link") 2>conftest.er1
39184 ac_status=$?
39185 grep -v '^ *+' conftest.er1 >conftest.err
39186 rm -f conftest.er1
39187 cat conftest.err >&5
39188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39189 (exit $ac_status); } && {
39190 test -z "$ac_c_werror_flag" ||
39191 test ! -s conftest.err
39192 } && test -s conftest$ac_exeext &&
39193 $as_test_x conftest$ac_exeext; then
39194 eval "$as_ac_var=yes"
39195 else
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.$ac_ext >&5
39198
39199 eval "$as_ac_var=no"
39200 fi
39201
39202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39203 conftest$ac_exeext conftest.$ac_ext
39204 fi
39205 ac_res=`eval echo '${'$as_ac_var'}'`
39206 { echo "$as_me:$LINENO: result: $ac_res" >&5
39207 echo "${ECHO_T}$ac_res" >&6; }
39208 if test `eval echo '${'$as_ac_var'}'` = yes; then
39209 cat >>confdefs.h <<_ACEOF
39210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39211 _ACEOF
39212
39213 fi
39214 done
39215
39216
39217 if test "$ac_cv_func_sigaction" = "no"; then
39218 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39219 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39220 wxUSE_ON_FATAL_EXCEPTION=no
39221 fi
39222
39223 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39224 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39225 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39226 if test "${wx_cv_type_sa_handler+set}" = set; then
39227 echo $ECHO_N "(cached) $ECHO_C" >&6
39228 else
39229
39230 ac_ext=cpp
39231 ac_cpp='$CXXCPP $CPPFLAGS'
39232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39235
39236 cat >conftest.$ac_ext <<_ACEOF
39237 /* confdefs.h. */
39238 _ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242 #include <signal.h>
39243 int
39244 main ()
39245 {
39246
39247 extern void testSigHandler(int);
39248
39249 struct sigaction sa;
39250 sa.sa_handler = testSigHandler;
39251
39252 ;
39253 return 0;
39254 }
39255 _ACEOF
39256 rm -f conftest.$ac_objext
39257 if { (ac_try="$ac_compile"
39258 case "(($ac_try" in
39259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39260 *) ac_try_echo=$ac_try;;
39261 esac
39262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39263 (eval "$ac_compile") 2>conftest.er1
39264 ac_status=$?
39265 grep -v '^ *+' conftest.er1 >conftest.err
39266 rm -f conftest.er1
39267 cat conftest.err >&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); } && {
39270 test -z "$ac_cxx_werror_flag" ||
39271 test ! -s conftest.err
39272 } && test -s conftest.$ac_objext; then
39273
39274 wx_cv_type_sa_handler=int
39275
39276 else
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.$ac_ext >&5
39279
39280
39281 wx_cv_type_sa_handler=void
39282
39283 fi
39284
39285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39286 ac_ext=c
39287 ac_cpp='$CPP $CPPFLAGS'
39288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39291
39292
39293 fi
39294 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39295 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39296
39297 cat >>confdefs.h <<_ACEOF
39298 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39299 _ACEOF
39300
39301 fi
39302 fi
39303
39304 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39305 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39306 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39307 if test "${wx_cv_func_backtrace+set}" = set; then
39308 echo $ECHO_N "(cached) $ECHO_C" >&6
39309 else
39310
39311 ac_ext=cpp
39312 ac_cpp='$CXXCPP $CPPFLAGS'
39313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39316
39317 cat >conftest.$ac_ext <<_ACEOF
39318 /* confdefs.h. */
39319 _ACEOF
39320 cat confdefs.h >>conftest.$ac_ext
39321 cat >>conftest.$ac_ext <<_ACEOF
39322 /* end confdefs.h. */
39323 #include <execinfo.h>
39324 int
39325 main ()
39326 {
39327
39328 void *trace[1];
39329 char **messages;
39330
39331 backtrace(trace, 1);
39332 messages = backtrace_symbols(trace, 1);
39333
39334 ;
39335 return 0;
39336 }
39337 _ACEOF
39338 rm -f conftest.$ac_objext
39339 if { (ac_try="$ac_compile"
39340 case "(($ac_try" in
39341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39342 *) ac_try_echo=$ac_try;;
39343 esac
39344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39345 (eval "$ac_compile") 2>conftest.er1
39346 ac_status=$?
39347 grep -v '^ *+' conftest.er1 >conftest.err
39348 rm -f conftest.er1
39349 cat conftest.err >&5
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); } && {
39352 test -z "$ac_cxx_werror_flag" ||
39353 test ! -s conftest.err
39354 } && test -s conftest.$ac_objext; then
39355 wx_cv_func_backtrace=yes
39356 else
39357 echo "$as_me: failed program was:" >&5
39358 sed 's/^/| /' conftest.$ac_ext >&5
39359
39360 wx_cv_func_backtrace=no
39361
39362 fi
39363
39364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39365 ac_ext=c
39366 ac_cpp='$CPP $CPPFLAGS'
39367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39370
39371
39372
39373 fi
39374 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39375 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39376
39377
39378 if test "$wx_cv_func_backtrace" = "no"; then
39379 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39380 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39381 wxUSE_STACKWALKER=no
39382 else
39383 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39384 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39385 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39387 else
39388
39389 ac_ext=cpp
39390 ac_cpp='$CXXCPP $CPPFLAGS'
39391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394
39395 cat >conftest.$ac_ext <<_ACEOF
39396 /* confdefs.h. */
39397 _ACEOF
39398 cat confdefs.h >>conftest.$ac_ext
39399 cat >>conftest.$ac_ext <<_ACEOF
39400 /* end confdefs.h. */
39401 #include <cxxabi.h>
39402 int
39403 main ()
39404 {
39405
39406 int rc;
39407 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39408
39409 ;
39410 return 0;
39411 }
39412 _ACEOF
39413 rm -f conftest.$ac_objext conftest$ac_exeext
39414 if { (ac_try="$ac_link"
39415 case "(($ac_try" in
39416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39417 *) ac_try_echo=$ac_try;;
39418 esac
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_link") 2>conftest.er1
39421 ac_status=$?
39422 grep -v '^ *+' conftest.er1 >conftest.err
39423 rm -f conftest.er1
39424 cat conftest.err >&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_cxx_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest$ac_exeext &&
39430 $as_test_x conftest$ac_exeext; then
39431 wx_cv_func_cxa_demangle=yes
39432 else
39433 echo "$as_me: failed program was:" >&5
39434 sed 's/^/| /' conftest.$ac_ext >&5
39435
39436 wx_cv_func_cxa_demangle=no
39437
39438 fi
39439
39440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39441 conftest$ac_exeext conftest.$ac_ext
39442 ac_ext=c
39443 ac_cpp='$CPP $CPPFLAGS'
39444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39447
39448
39449
39450 fi
39451 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39452 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39453
39454 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39455 cat >>confdefs.h <<\_ACEOF
39456 #define HAVE_CXA_DEMANGLE 1
39457 _ACEOF
39458
39459 fi
39460 fi
39461 fi
39462
39463 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39464 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39465 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39466 wxUSE_STACKWALKER=no
39467 fi
39468
39469
39470
39471
39472 for ac_func in mkstemp mktemp
39473 do
39474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39479 else
39480 cat >conftest.$ac_ext <<_ACEOF
39481 /* confdefs.h. */
39482 _ACEOF
39483 cat confdefs.h >>conftest.$ac_ext
39484 cat >>conftest.$ac_ext <<_ACEOF
39485 /* end confdefs.h. */
39486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39488 #define $ac_func innocuous_$ac_func
39489
39490 /* System header to define __stub macros and hopefully few prototypes,
39491 which can conflict with char $ac_func (); below.
39492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493 <limits.h> exists even on freestanding compilers. */
39494
39495 #ifdef __STDC__
39496 # include <limits.h>
39497 #else
39498 # include <assert.h>
39499 #endif
39500
39501 #undef $ac_func
39502
39503 /* Override any GCC internal prototype to avoid an error.
39504 Use char because int might match the return type of a GCC
39505 builtin and then its argument prototype would still apply. */
39506 #ifdef __cplusplus
39507 extern "C"
39508 #endif
39509 char $ac_func ();
39510 /* The GNU C library defines this for functions which it implements
39511 to always fail with ENOSYS. Some functions are actually named
39512 something starting with __ and the normal name is an alias. */
39513 #if defined __stub_$ac_func || defined __stub___$ac_func
39514 choke me
39515 #endif
39516
39517 int
39518 main ()
39519 {
39520 return $ac_func ();
39521 ;
39522 return 0;
39523 }
39524 _ACEOF
39525 rm -f conftest.$ac_objext conftest$ac_exeext
39526 if { (ac_try="$ac_link"
39527 case "(($ac_try" in
39528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39529 *) ac_try_echo=$ac_try;;
39530 esac
39531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39532 (eval "$ac_link") 2>conftest.er1
39533 ac_status=$?
39534 grep -v '^ *+' conftest.er1 >conftest.err
39535 rm -f conftest.er1
39536 cat conftest.err >&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } && {
39539 test -z "$ac_c_werror_flag" ||
39540 test ! -s conftest.err
39541 } && test -s conftest$ac_exeext &&
39542 $as_test_x conftest$ac_exeext; then
39543 eval "$as_ac_var=yes"
39544 else
39545 echo "$as_me: failed program was:" >&5
39546 sed 's/^/| /' conftest.$ac_ext >&5
39547
39548 eval "$as_ac_var=no"
39549 fi
39550
39551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39552 conftest$ac_exeext conftest.$ac_ext
39553 fi
39554 ac_res=`eval echo '${'$as_ac_var'}'`
39555 { echo "$as_me:$LINENO: result: $ac_res" >&5
39556 echo "${ECHO_T}$ac_res" >&6; }
39557 if test `eval echo '${'$as_ac_var'}'` = yes; then
39558 cat >>confdefs.h <<_ACEOF
39559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39560 _ACEOF
39561 break
39562 fi
39563 done
39564
39565
39566 { echo "$as_me:$LINENO: checking for statfs" >&5
39567 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39568 if test "${wx_cv_func_statfs+set}" = set; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39570 else
39571 cat >conftest.$ac_ext <<_ACEOF
39572 /* confdefs.h. */
39573 _ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577
39578 #if defined(__BSD__)
39579 #include <sys/param.h>
39580 #include <sys/mount.h>
39581 #else
39582 #include <sys/vfs.h>
39583 #endif
39584
39585 int
39586 main ()
39587 {
39588
39589 long l;
39590 struct statfs fs;
39591 statfs("/", &fs);
39592 l = fs.f_bsize;
39593 l += fs.f_blocks;
39594 l += fs.f_bavail;
39595
39596 ;
39597 return 0;
39598 }
39599 _ACEOF
39600 rm -f conftest.$ac_objext
39601 if { (ac_try="$ac_compile"
39602 case "(($ac_try" in
39603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39604 *) ac_try_echo=$ac_try;;
39605 esac
39606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39607 (eval "$ac_compile") 2>conftest.er1
39608 ac_status=$?
39609 grep -v '^ *+' conftest.er1 >conftest.err
39610 rm -f conftest.er1
39611 cat conftest.err >&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); } && {
39614 test -z "$ac_c_werror_flag" ||
39615 test ! -s conftest.err
39616 } && test -s conftest.$ac_objext; then
39617 wx_cv_func_statfs=yes
39618 else
39619 echo "$as_me: failed program was:" >&5
39620 sed 's/^/| /' conftest.$ac_ext >&5
39621
39622 wx_cv_func_statfs=no
39623
39624 fi
39625
39626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39627
39628 fi
39629 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39630 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39631
39632 if test "$wx_cv_func_statfs" = "yes"; then
39633 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39634 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39635 if test "${wx_cv_func_statfs_decl+set}" = set; then
39636 echo $ECHO_N "(cached) $ECHO_C" >&6
39637 else
39638 ac_ext=cpp
39639 ac_cpp='$CXXCPP $CPPFLAGS'
39640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39643
39644 cat >conftest.$ac_ext <<_ACEOF
39645 /* confdefs.h. */
39646 _ACEOF
39647 cat confdefs.h >>conftest.$ac_ext
39648 cat >>conftest.$ac_ext <<_ACEOF
39649 /* end confdefs.h. */
39650
39651 #if defined(__BSD__)
39652 #include <sys/param.h>
39653 #include <sys/mount.h>
39654 #else
39655 #include <sys/vfs.h>
39656 #endif
39657
39658 int
39659 main ()
39660 {
39661
39662 struct statfs fs;
39663 statfs("", &fs);
39664
39665 ;
39666 return 0;
39667 }
39668 _ACEOF
39669 rm -f conftest.$ac_objext
39670 if { (ac_try="$ac_compile"
39671 case "(($ac_try" in
39672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39673 *) ac_try_echo=$ac_try;;
39674 esac
39675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39676 (eval "$ac_compile") 2>conftest.er1
39677 ac_status=$?
39678 grep -v '^ *+' conftest.er1 >conftest.err
39679 rm -f conftest.er1
39680 cat conftest.err >&5
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); } && {
39683 test -z "$ac_cxx_werror_flag" ||
39684 test ! -s conftest.err
39685 } && test -s conftest.$ac_objext; then
39686 wx_cv_func_statfs_decl=yes
39687 else
39688 echo "$as_me: failed program was:" >&5
39689 sed 's/^/| /' conftest.$ac_ext >&5
39690
39691 wx_cv_func_statfs_decl=no
39692
39693 fi
39694
39695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39696 ac_ext=c
39697 ac_cpp='$CPP $CPPFLAGS'
39698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39701
39702
39703 fi
39704 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39705 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39706
39707 if test "$wx_cv_func_statfs_decl" = "yes"; then
39708 cat >>confdefs.h <<\_ACEOF
39709 #define HAVE_STATFS_DECL 1
39710 _ACEOF
39711
39712 fi
39713
39714 wx_cv_type_statvfs_t="struct statfs"
39715 cat >>confdefs.h <<\_ACEOF
39716 #define HAVE_STATFS 1
39717 _ACEOF
39718
39719 else
39720 { echo "$as_me:$LINENO: checking for statvfs" >&5
39721 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39722 if test "${wx_cv_func_statvfs+set}" = set; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39724 else
39725 cat >conftest.$ac_ext <<_ACEOF
39726 /* confdefs.h. */
39727 _ACEOF
39728 cat confdefs.h >>conftest.$ac_ext
39729 cat >>conftest.$ac_ext <<_ACEOF
39730 /* end confdefs.h. */
39731
39732 #include <stddef.h>
39733 #include <sys/statvfs.h>
39734
39735 int
39736 main ()
39737 {
39738
39739 statvfs("/", NULL);
39740
39741 ;
39742 return 0;
39743 }
39744 _ACEOF
39745 rm -f conftest.$ac_objext
39746 if { (ac_try="$ac_compile"
39747 case "(($ac_try" in
39748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39749 *) ac_try_echo=$ac_try;;
39750 esac
39751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39752 (eval "$ac_compile") 2>conftest.er1
39753 ac_status=$?
39754 grep -v '^ *+' conftest.er1 >conftest.err
39755 rm -f conftest.er1
39756 cat conftest.err >&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); } && {
39759 test -z "$ac_c_werror_flag" ||
39760 test ! -s conftest.err
39761 } && test -s conftest.$ac_objext; then
39762 wx_cv_func_statvfs=yes
39763 else
39764 echo "$as_me: failed program was:" >&5
39765 sed 's/^/| /' conftest.$ac_ext >&5
39766
39767 wx_cv_func_statvfs=no
39768
39769 fi
39770
39771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39772
39773 fi
39774 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39775 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39776
39777 if test "$wx_cv_func_statvfs" = "yes"; then
39778 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39779 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39780 if test "${wx_cv_type_statvfs_t+set}" = set; then
39781 echo $ECHO_N "(cached) $ECHO_C" >&6
39782 else
39783 ac_ext=cpp
39784 ac_cpp='$CXXCPP $CPPFLAGS'
39785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39788
39789 cat >conftest.$ac_ext <<_ACEOF
39790 /* confdefs.h. */
39791 _ACEOF
39792 cat confdefs.h >>conftest.$ac_ext
39793 cat >>conftest.$ac_ext <<_ACEOF
39794 /* end confdefs.h. */
39795
39796 #include <sys/statvfs.h>
39797
39798 int
39799 main ()
39800 {
39801
39802 long l;
39803 statvfs_t fs;
39804 statvfs("/", &fs);
39805 l = fs.f_bsize;
39806 l += fs.f_blocks;
39807 l += fs.f_bavail;
39808
39809 ;
39810 return 0;
39811 }
39812 _ACEOF
39813 rm -f conftest.$ac_objext
39814 if { (ac_try="$ac_compile"
39815 case "(($ac_try" in
39816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39817 *) ac_try_echo=$ac_try;;
39818 esac
39819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39820 (eval "$ac_compile") 2>conftest.er1
39821 ac_status=$?
39822 grep -v '^ *+' conftest.er1 >conftest.err
39823 rm -f conftest.er1
39824 cat conftest.err >&5
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); } && {
39827 test -z "$ac_cxx_werror_flag" ||
39828 test ! -s conftest.err
39829 } && test -s conftest.$ac_objext; then
39830 wx_cv_type_statvfs_t=statvfs_t
39831 else
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39834
39835
39836 cat >conftest.$ac_ext <<_ACEOF
39837 /* confdefs.h. */
39838 _ACEOF
39839 cat confdefs.h >>conftest.$ac_ext
39840 cat >>conftest.$ac_ext <<_ACEOF
39841 /* end confdefs.h. */
39842
39843 #include <sys/statvfs.h>
39844
39845 int
39846 main ()
39847 {
39848
39849 long l;
39850 struct statvfs fs;
39851 statvfs("/", &fs);
39852 l = fs.f_bsize;
39853 l += fs.f_blocks;
39854 l += fs.f_bavail;
39855
39856 ;
39857 return 0;
39858 }
39859 _ACEOF
39860 rm -f conftest.$ac_objext
39861 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
39868 ac_status=$?
39869 grep -v '^ *+' conftest.er1 >conftest.err
39870 rm -f conftest.er1
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_cxx_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest.$ac_objext; then
39877 wx_cv_type_statvfs_t="struct statvfs"
39878 else
39879 echo "$as_me: failed program was:" >&5
39880 sed 's/^/| /' conftest.$ac_ext >&5
39881
39882 wx_cv_type_statvfs_t="unknown"
39883
39884 fi
39885
39886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39887
39888
39889 fi
39890
39891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39892 ac_ext=c
39893 ac_cpp='$CPP $CPPFLAGS'
39894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39897
39898
39899 fi
39900 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39901 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39902
39903 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39904 cat >>confdefs.h <<\_ACEOF
39905 #define HAVE_STATVFS 1
39906 _ACEOF
39907
39908 fi
39909 else
39910 wx_cv_type_statvfs_t="unknown"
39911 fi
39912 fi
39913
39914 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39915 cat >>confdefs.h <<_ACEOF
39916 #define WX_STATFS_T $wx_cv_type_statvfs_t
39917 _ACEOF
39918
39919 else
39920 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39921 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39922 fi
39923
39924 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39925
39926
39927 for ac_func in fcntl flock
39928 do
39929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39933 echo $ECHO_N "(cached) $ECHO_C" >&6
39934 else
39935 cat >conftest.$ac_ext <<_ACEOF
39936 /* confdefs.h. */
39937 _ACEOF
39938 cat confdefs.h >>conftest.$ac_ext
39939 cat >>conftest.$ac_ext <<_ACEOF
39940 /* end confdefs.h. */
39941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39943 #define $ac_func innocuous_$ac_func
39944
39945 /* System header to define __stub macros and hopefully few prototypes,
39946 which can conflict with char $ac_func (); below.
39947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39948 <limits.h> exists even on freestanding compilers. */
39949
39950 #ifdef __STDC__
39951 # include <limits.h>
39952 #else
39953 # include <assert.h>
39954 #endif
39955
39956 #undef $ac_func
39957
39958 /* Override any GCC internal prototype to avoid an error.
39959 Use char because int might match the return type of a GCC
39960 builtin and then its argument prototype would still apply. */
39961 #ifdef __cplusplus
39962 extern "C"
39963 #endif
39964 char $ac_func ();
39965 /* The GNU C library defines this for functions which it implements
39966 to always fail with ENOSYS. Some functions are actually named
39967 something starting with __ and the normal name is an alias. */
39968 #if defined __stub_$ac_func || defined __stub___$ac_func
39969 choke me
39970 #endif
39971
39972 int
39973 main ()
39974 {
39975 return $ac_func ();
39976 ;
39977 return 0;
39978 }
39979 _ACEOF
39980 rm -f conftest.$ac_objext conftest$ac_exeext
39981 if { (ac_try="$ac_link"
39982 case "(($ac_try" in
39983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39984 *) ac_try_echo=$ac_try;;
39985 esac
39986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39987 (eval "$ac_link") 2>conftest.er1
39988 ac_status=$?
39989 grep -v '^ *+' conftest.er1 >conftest.err
39990 rm -f conftest.er1
39991 cat conftest.err >&5
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); } && {
39994 test -z "$ac_c_werror_flag" ||
39995 test ! -s conftest.err
39996 } && test -s conftest$ac_exeext &&
39997 $as_test_x conftest$ac_exeext; then
39998 eval "$as_ac_var=yes"
39999 else
40000 echo "$as_me: failed program was:" >&5
40001 sed 's/^/| /' conftest.$ac_ext >&5
40002
40003 eval "$as_ac_var=no"
40004 fi
40005
40006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40007 conftest$ac_exeext conftest.$ac_ext
40008 fi
40009 ac_res=`eval echo '${'$as_ac_var'}'`
40010 { echo "$as_me:$LINENO: result: $ac_res" >&5
40011 echo "${ECHO_T}$ac_res" >&6; }
40012 if test `eval echo '${'$as_ac_var'}'` = yes; then
40013 cat >>confdefs.h <<_ACEOF
40014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40015 _ACEOF
40016 break
40017 fi
40018 done
40019
40020
40021 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40022 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40023 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40024 wxUSE_SNGLINST_CHECKER=no
40025 fi
40026 fi
40027
40028
40029 for ac_func in timegm
40030 do
40031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40035 echo $ECHO_N "(cached) $ECHO_C" >&6
40036 else
40037 cat >conftest.$ac_ext <<_ACEOF
40038 /* confdefs.h. */
40039 _ACEOF
40040 cat confdefs.h >>conftest.$ac_ext
40041 cat >>conftest.$ac_ext <<_ACEOF
40042 /* end confdefs.h. */
40043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40045 #define $ac_func innocuous_$ac_func
40046
40047 /* System header to define __stub macros and hopefully few prototypes,
40048 which can conflict with char $ac_func (); below.
40049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40050 <limits.h> exists even on freestanding compilers. */
40051
40052 #ifdef __STDC__
40053 # include <limits.h>
40054 #else
40055 # include <assert.h>
40056 #endif
40057
40058 #undef $ac_func
40059
40060 /* Override any GCC internal prototype to avoid an error.
40061 Use char because int might match the return type of a GCC
40062 builtin and then its argument prototype would still apply. */
40063 #ifdef __cplusplus
40064 extern "C"
40065 #endif
40066 char $ac_func ();
40067 /* The GNU C library defines this for functions which it implements
40068 to always fail with ENOSYS. Some functions are actually named
40069 something starting with __ and the normal name is an alias. */
40070 #if defined __stub_$ac_func || defined __stub___$ac_func
40071 choke me
40072 #endif
40073
40074 int
40075 main ()
40076 {
40077 return $ac_func ();
40078 ;
40079 return 0;
40080 }
40081 _ACEOF
40082 rm -f conftest.$ac_objext conftest$ac_exeext
40083 if { (ac_try="$ac_link"
40084 case "(($ac_try" in
40085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40086 *) ac_try_echo=$ac_try;;
40087 esac
40088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40089 (eval "$ac_link") 2>conftest.er1
40090 ac_status=$?
40091 grep -v '^ *+' conftest.er1 >conftest.err
40092 rm -f conftest.er1
40093 cat conftest.err >&5
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); } && {
40096 test -z "$ac_c_werror_flag" ||
40097 test ! -s conftest.err
40098 } && test -s conftest$ac_exeext &&
40099 $as_test_x conftest$ac_exeext; then
40100 eval "$as_ac_var=yes"
40101 else
40102 echo "$as_me: failed program was:" >&5
40103 sed 's/^/| /' conftest.$ac_ext >&5
40104
40105 eval "$as_ac_var=no"
40106 fi
40107
40108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40109 conftest$ac_exeext conftest.$ac_ext
40110 fi
40111 ac_res=`eval echo '${'$as_ac_var'}'`
40112 { echo "$as_me:$LINENO: result: $ac_res" >&5
40113 echo "${ECHO_T}$ac_res" >&6; }
40114 if test `eval echo '${'$as_ac_var'}'` = yes; then
40115 cat >>confdefs.h <<_ACEOF
40116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40117 _ACEOF
40118
40119 fi
40120 done
40121
40122
40123
40124
40125 for ac_func in setenv putenv
40126 do
40127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40132 else
40133 cat >conftest.$ac_ext <<_ACEOF
40134 /* confdefs.h. */
40135 _ACEOF
40136 cat confdefs.h >>conftest.$ac_ext
40137 cat >>conftest.$ac_ext <<_ACEOF
40138 /* end confdefs.h. */
40139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40141 #define $ac_func innocuous_$ac_func
40142
40143 /* System header to define __stub macros and hopefully few prototypes,
40144 which can conflict with char $ac_func (); below.
40145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40146 <limits.h> exists even on freestanding compilers. */
40147
40148 #ifdef __STDC__
40149 # include <limits.h>
40150 #else
40151 # include <assert.h>
40152 #endif
40153
40154 #undef $ac_func
40155
40156 /* Override any GCC internal prototype to avoid an error.
40157 Use char because int might match the return type of a GCC
40158 builtin and then its argument prototype would still apply. */
40159 #ifdef __cplusplus
40160 extern "C"
40161 #endif
40162 char $ac_func ();
40163 /* The GNU C library defines this for functions which it implements
40164 to always fail with ENOSYS. Some functions are actually named
40165 something starting with __ and the normal name is an alias. */
40166 #if defined __stub_$ac_func || defined __stub___$ac_func
40167 choke me
40168 #endif
40169
40170 int
40171 main ()
40172 {
40173 return $ac_func ();
40174 ;
40175 return 0;
40176 }
40177 _ACEOF
40178 rm -f conftest.$ac_objext conftest$ac_exeext
40179 if { (ac_try="$ac_link"
40180 case "(($ac_try" in
40181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40182 *) ac_try_echo=$ac_try;;
40183 esac
40184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40185 (eval "$ac_link") 2>conftest.er1
40186 ac_status=$?
40187 grep -v '^ *+' conftest.er1 >conftest.err
40188 rm -f conftest.er1
40189 cat conftest.err >&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); } && {
40192 test -z "$ac_c_werror_flag" ||
40193 test ! -s conftest.err
40194 } && test -s conftest$ac_exeext &&
40195 $as_test_x conftest$ac_exeext; then
40196 eval "$as_ac_var=yes"
40197 else
40198 echo "$as_me: failed program was:" >&5
40199 sed 's/^/| /' conftest.$ac_ext >&5
40200
40201 eval "$as_ac_var=no"
40202 fi
40203
40204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40205 conftest$ac_exeext conftest.$ac_ext
40206 fi
40207 ac_res=`eval echo '${'$as_ac_var'}'`
40208 { echo "$as_me:$LINENO: result: $ac_res" >&5
40209 echo "${ECHO_T}$ac_res" >&6; }
40210 if test `eval echo '${'$as_ac_var'}'` = yes; then
40211 cat >>confdefs.h <<_ACEOF
40212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40213 _ACEOF
40214 break
40215 fi
40216 done
40217
40218 if test "$ac_cv_func_setenv" = "yes"; then
40219
40220 for ac_func in unsetenv
40221 do
40222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40225 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40226 echo $ECHO_N "(cached) $ECHO_C" >&6
40227 else
40228 cat >conftest.$ac_ext <<_ACEOF
40229 /* confdefs.h. */
40230 _ACEOF
40231 cat confdefs.h >>conftest.$ac_ext
40232 cat >>conftest.$ac_ext <<_ACEOF
40233 /* end confdefs.h. */
40234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40236 #define $ac_func innocuous_$ac_func
40237
40238 /* System header to define __stub macros and hopefully few prototypes,
40239 which can conflict with char $ac_func (); below.
40240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40241 <limits.h> exists even on freestanding compilers. */
40242
40243 #ifdef __STDC__
40244 # include <limits.h>
40245 #else
40246 # include <assert.h>
40247 #endif
40248
40249 #undef $ac_func
40250
40251 /* Override any GCC internal prototype to avoid an error.
40252 Use char because int might match the return type of a GCC
40253 builtin and then its argument prototype would still apply. */
40254 #ifdef __cplusplus
40255 extern "C"
40256 #endif
40257 char $ac_func ();
40258 /* The GNU C library defines this for functions which it implements
40259 to always fail with ENOSYS. Some functions are actually named
40260 something starting with __ and the normal name is an alias. */
40261 #if defined __stub_$ac_func || defined __stub___$ac_func
40262 choke me
40263 #endif
40264
40265 int
40266 main ()
40267 {
40268 return $ac_func ();
40269 ;
40270 return 0;
40271 }
40272 _ACEOF
40273 rm -f conftest.$ac_objext conftest$ac_exeext
40274 if { (ac_try="$ac_link"
40275 case "(($ac_try" in
40276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40277 *) ac_try_echo=$ac_try;;
40278 esac
40279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40280 (eval "$ac_link") 2>conftest.er1
40281 ac_status=$?
40282 grep -v '^ *+' conftest.er1 >conftest.err
40283 rm -f conftest.er1
40284 cat conftest.err >&5
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); } && {
40287 test -z "$ac_c_werror_flag" ||
40288 test ! -s conftest.err
40289 } && test -s conftest$ac_exeext &&
40290 $as_test_x conftest$ac_exeext; then
40291 eval "$as_ac_var=yes"
40292 else
40293 echo "$as_me: failed program was:" >&5
40294 sed 's/^/| /' conftest.$ac_ext >&5
40295
40296 eval "$as_ac_var=no"
40297 fi
40298
40299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40300 conftest$ac_exeext conftest.$ac_ext
40301 fi
40302 ac_res=`eval echo '${'$as_ac_var'}'`
40303 { echo "$as_me:$LINENO: result: $ac_res" >&5
40304 echo "${ECHO_T}$ac_res" >&6; }
40305 if test `eval echo '${'$as_ac_var'}'` = yes; then
40306 cat >>confdefs.h <<_ACEOF
40307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40308 _ACEOF
40309
40310 fi
40311 done
40312
40313 fi
40314
40315 HAVE_SOME_SLEEP_FUNC=0
40316 if test "$USE_BEOS" = 1; then
40317 cat >>confdefs.h <<\_ACEOF
40318 #define HAVE_SLEEP 1
40319 _ACEOF
40320
40321 HAVE_SOME_SLEEP_FUNC=1
40322 fi
40323
40324 if test "$USE_DARWIN" = 1; then
40325 cat >>confdefs.h <<\_ACEOF
40326 #define HAVE_USLEEP 1
40327 _ACEOF
40328
40329 HAVE_SOME_SLEEP_FUNC=1
40330 fi
40331
40332 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40333 POSIX4_LINK=
40334
40335 for ac_func in nanosleep
40336 do
40337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40341 echo $ECHO_N "(cached) $ECHO_C" >&6
40342 else
40343 cat >conftest.$ac_ext <<_ACEOF
40344 /* confdefs.h. */
40345 _ACEOF
40346 cat confdefs.h >>conftest.$ac_ext
40347 cat >>conftest.$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40351 #define $ac_func innocuous_$ac_func
40352
40353 /* System header to define __stub macros and hopefully few prototypes,
40354 which can conflict with char $ac_func (); below.
40355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40356 <limits.h> exists even on freestanding compilers. */
40357
40358 #ifdef __STDC__
40359 # include <limits.h>
40360 #else
40361 # include <assert.h>
40362 #endif
40363
40364 #undef $ac_func
40365
40366 /* Override any GCC internal prototype to avoid an error.
40367 Use char because int might match the return type of a GCC
40368 builtin and then its argument prototype would still apply. */
40369 #ifdef __cplusplus
40370 extern "C"
40371 #endif
40372 char $ac_func ();
40373 /* The GNU C library defines this for functions which it implements
40374 to always fail with ENOSYS. Some functions are actually named
40375 something starting with __ and the normal name is an alias. */
40376 #if defined __stub_$ac_func || defined __stub___$ac_func
40377 choke me
40378 #endif
40379
40380 int
40381 main ()
40382 {
40383 return $ac_func ();
40384 ;
40385 return 0;
40386 }
40387 _ACEOF
40388 rm -f conftest.$ac_objext conftest$ac_exeext
40389 if { (ac_try="$ac_link"
40390 case "(($ac_try" in
40391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40392 *) ac_try_echo=$ac_try;;
40393 esac
40394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40395 (eval "$ac_link") 2>conftest.er1
40396 ac_status=$?
40397 grep -v '^ *+' conftest.er1 >conftest.err
40398 rm -f conftest.er1
40399 cat conftest.err >&5
40400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40401 (exit $ac_status); } && {
40402 test -z "$ac_c_werror_flag" ||
40403 test ! -s conftest.err
40404 } && test -s conftest$ac_exeext &&
40405 $as_test_x conftest$ac_exeext; then
40406 eval "$as_ac_var=yes"
40407 else
40408 echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.$ac_ext >&5
40410
40411 eval "$as_ac_var=no"
40412 fi
40413
40414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40415 conftest$ac_exeext conftest.$ac_ext
40416 fi
40417 ac_res=`eval echo '${'$as_ac_var'}'`
40418 { echo "$as_me:$LINENO: result: $ac_res" >&5
40419 echo "${ECHO_T}$ac_res" >&6; }
40420 if test `eval echo '${'$as_ac_var'}'` = yes; then
40421 cat >>confdefs.h <<_ACEOF
40422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40423 _ACEOF
40424 cat >>confdefs.h <<\_ACEOF
40425 #define HAVE_NANOSLEEP 1
40426 _ACEOF
40427
40428 else
40429
40430 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40431 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40432 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 else
40435 ac_check_lib_save_LIBS=$LIBS
40436 LIBS="-lposix4 $LIBS"
40437 cat >conftest.$ac_ext <<_ACEOF
40438 /* confdefs.h. */
40439 _ACEOF
40440 cat confdefs.h >>conftest.$ac_ext
40441 cat >>conftest.$ac_ext <<_ACEOF
40442 /* end confdefs.h. */
40443
40444 /* Override any GCC internal prototype to avoid an error.
40445 Use char because int might match the return type of a GCC
40446 builtin and then its argument prototype would still apply. */
40447 #ifdef __cplusplus
40448 extern "C"
40449 #endif
40450 char nanosleep ();
40451 int
40452 main ()
40453 {
40454 return nanosleep ();
40455 ;
40456 return 0;
40457 }
40458 _ACEOF
40459 rm -f conftest.$ac_objext conftest$ac_exeext
40460 if { (ac_try="$ac_link"
40461 case "(($ac_try" in
40462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40463 *) ac_try_echo=$ac_try;;
40464 esac
40465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40466 (eval "$ac_link") 2>conftest.er1
40467 ac_status=$?
40468 grep -v '^ *+' conftest.er1 >conftest.err
40469 rm -f conftest.er1
40470 cat conftest.err >&5
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); } && {
40473 test -z "$ac_c_werror_flag" ||
40474 test ! -s conftest.err
40475 } && test -s conftest$ac_exeext &&
40476 $as_test_x conftest$ac_exeext; then
40477 ac_cv_lib_posix4_nanosleep=yes
40478 else
40479 echo "$as_me: failed program was:" >&5
40480 sed 's/^/| /' conftest.$ac_ext >&5
40481
40482 ac_cv_lib_posix4_nanosleep=no
40483 fi
40484
40485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40486 conftest$ac_exeext conftest.$ac_ext
40487 LIBS=$ac_check_lib_save_LIBS
40488 fi
40489 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40490 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40491 if test $ac_cv_lib_posix4_nanosleep = yes; then
40492
40493 cat >>confdefs.h <<\_ACEOF
40494 #define HAVE_NANOSLEEP 1
40495 _ACEOF
40496
40497 POSIX4_LINK=" -lposix4"
40498
40499 else
40500
40501
40502 for wx_func in usleep
40503 do
40504 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40505 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40506 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40507 echo $ECHO_N "(cached) $ECHO_C" >&6
40508 else
40509
40510 cat >conftest.$ac_ext <<_ACEOF
40511
40512 /* confdefs.h. */
40513 _ACEOF
40514 cat confdefs.h >>conftest.$ac_ext
40515 cat >>conftest.$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40517
40518
40519 $ac_includes_default
40520
40521 int
40522 main ()
40523 {
40524
40525 #ifndef $wx_func
40526 &$wx_func;
40527 #endif
40528
40529
40530 ;
40531 return 0;
40532 }
40533
40534 _ACEOF
40535 rm -f conftest.$ac_objext conftest$ac_exeext
40536 if { (ac_try="$ac_link"
40537 case "(($ac_try" in
40538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40539 *) ac_try_echo=$ac_try;;
40540 esac
40541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40542 (eval "$ac_link") 2>conftest.er1
40543 ac_status=$?
40544 grep -v '^ *+' conftest.er1 >conftest.err
40545 rm -f conftest.er1
40546 cat conftest.err >&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } && {
40549 test -z "$ac_c_werror_flag" ||
40550 test ! -s conftest.err
40551 } && test -s conftest$ac_exeext &&
40552 $as_test_x conftest$ac_exeext; then
40553 eval wx_cv_func_$wx_func=yes
40554 else
40555 echo "$as_me: failed program was:" >&5
40556 sed 's/^/| /' conftest.$ac_ext >&5
40557
40558 eval wx_cv_func_$wx_func=no
40559 fi
40560
40561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40562 conftest$ac_exeext conftest.$ac_ext
40563
40564 fi
40565 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40566 { echo "$as_me:$LINENO: result: $ac_res" >&5
40567 echo "${ECHO_T}$ac_res" >&6; }
40568
40569 if eval test \$wx_cv_func_$wx_func = yes
40570 then
40571 cat >>confdefs.h <<_ACEOF
40572 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40573 _ACEOF
40574
40575
40576 else
40577 :
40578 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40579 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40580
40581 fi
40582 done
40583
40584
40585
40586 fi
40587
40588
40589
40590 fi
40591 done
40592
40593 fi
40594
40595
40596 for wx_func in uname
40597 do
40598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40601 echo $ECHO_N "(cached) $ECHO_C" >&6
40602 else
40603
40604 cat >conftest.$ac_ext <<_ACEOF
40605
40606 /* confdefs.h. */
40607 _ACEOF
40608 cat confdefs.h >>conftest.$ac_ext
40609 cat >>conftest.$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611
40612 #include <sys/utsname.h>
40613 $ac_includes_default
40614
40615 int
40616 main ()
40617 {
40618
40619 #ifndef $wx_func
40620 &$wx_func;
40621 #endif
40622
40623
40624 ;
40625 return 0;
40626 }
40627
40628 _ACEOF
40629 rm -f conftest.$ac_objext conftest$ac_exeext
40630 if { (ac_try="$ac_link"
40631 case "(($ac_try" in
40632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40633 *) ac_try_echo=$ac_try;;
40634 esac
40635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40636 (eval "$ac_link") 2>conftest.er1
40637 ac_status=$?
40638 grep -v '^ *+' conftest.er1 >conftest.err
40639 rm -f conftest.er1
40640 cat conftest.err >&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); } && {
40643 test -z "$ac_c_werror_flag" ||
40644 test ! -s conftest.err
40645 } && test -s conftest$ac_exeext &&
40646 $as_test_x conftest$ac_exeext; then
40647 eval wx_cv_func_$wx_func=yes
40648 else
40649 echo "$as_me: failed program was:" >&5
40650 sed 's/^/| /' conftest.$ac_ext >&5
40651
40652 eval wx_cv_func_$wx_func=no
40653 fi
40654
40655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40656 conftest$ac_exeext conftest.$ac_ext
40657
40658 fi
40659 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40660 { echo "$as_me:$LINENO: result: $ac_res" >&5
40661 echo "${ECHO_T}$ac_res" >&6; }
40662
40663 if eval test \$wx_cv_func_$wx_func = yes
40664 then
40665 cat >>confdefs.h <<_ACEOF
40666 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40667 _ACEOF
40668
40669
40670 else
40671 :
40672
40673 fi
40674 done
40675
40676 if test "$wx_cv_func_uname" != yes; then
40677
40678 for wx_func in gethostname
40679 do
40680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40682 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40683 echo $ECHO_N "(cached) $ECHO_C" >&6
40684 else
40685
40686 cat >conftest.$ac_ext <<_ACEOF
40687
40688 /* confdefs.h. */
40689 _ACEOF
40690 cat confdefs.h >>conftest.$ac_ext
40691 cat >>conftest.$ac_ext <<_ACEOF
40692 /* end confdefs.h. */
40693
40694
40695 $ac_includes_default
40696
40697 int
40698 main ()
40699 {
40700
40701 #ifndef $wx_func
40702 &$wx_func;
40703 #endif
40704
40705
40706 ;
40707 return 0;
40708 }
40709
40710 _ACEOF
40711 rm -f conftest.$ac_objext conftest$ac_exeext
40712 if { (ac_try="$ac_link"
40713 case "(($ac_try" in
40714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40715 *) ac_try_echo=$ac_try;;
40716 esac
40717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40718 (eval "$ac_link") 2>conftest.er1
40719 ac_status=$?
40720 grep -v '^ *+' conftest.er1 >conftest.err
40721 rm -f conftest.er1
40722 cat conftest.err >&5
40723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40724 (exit $ac_status); } && {
40725 test -z "$ac_c_werror_flag" ||
40726 test ! -s conftest.err
40727 } && test -s conftest$ac_exeext &&
40728 $as_test_x conftest$ac_exeext; then
40729 eval wx_cv_func_$wx_func=yes
40730 else
40731 echo "$as_me: failed program was:" >&5
40732 sed 's/^/| /' conftest.$ac_ext >&5
40733
40734 eval wx_cv_func_$wx_func=no
40735 fi
40736
40737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40738 conftest$ac_exeext conftest.$ac_ext
40739
40740 fi
40741 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40742 { echo "$as_me:$LINENO: result: $ac_res" >&5
40743 echo "${ECHO_T}$ac_res" >&6; }
40744
40745 if eval test \$wx_cv_func_$wx_func = yes
40746 then
40747 cat >>confdefs.h <<_ACEOF
40748 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40749 _ACEOF
40750
40751
40752 else
40753 :
40754
40755 fi
40756 done
40757
40758 fi
40759
40760
40761 for wx_func in strtok_r
40762 do
40763 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40764 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40765 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40766 echo $ECHO_N "(cached) $ECHO_C" >&6
40767 else
40768
40769 cat >conftest.$ac_ext <<_ACEOF
40770
40771 /* confdefs.h. */
40772 _ACEOF
40773 cat confdefs.h >>conftest.$ac_ext
40774 cat >>conftest.$ac_ext <<_ACEOF
40775 /* end confdefs.h. */
40776
40777 #define _REENTRANT
40778 $ac_includes_default
40779
40780 int
40781 main ()
40782 {
40783
40784 #ifndef $wx_func
40785 &$wx_func;
40786 #endif
40787
40788
40789 ;
40790 return 0;
40791 }
40792
40793 _ACEOF
40794 rm -f conftest.$ac_objext conftest$ac_exeext
40795 if { (ac_try="$ac_link"
40796 case "(($ac_try" in
40797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40798 *) ac_try_echo=$ac_try;;
40799 esac
40800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40801 (eval "$ac_link") 2>conftest.er1
40802 ac_status=$?
40803 grep -v '^ *+' conftest.er1 >conftest.err
40804 rm -f conftest.er1
40805 cat conftest.err >&5
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); } && {
40808 test -z "$ac_c_werror_flag" ||
40809 test ! -s conftest.err
40810 } && test -s conftest$ac_exeext &&
40811 $as_test_x conftest$ac_exeext; then
40812 eval wx_cv_func_$wx_func=yes
40813 else
40814 echo "$as_me: failed program was:" >&5
40815 sed 's/^/| /' conftest.$ac_ext >&5
40816
40817 eval wx_cv_func_$wx_func=no
40818 fi
40819
40820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40821 conftest$ac_exeext conftest.$ac_ext
40822
40823 fi
40824 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40825 { echo "$as_me:$LINENO: result: $ac_res" >&5
40826 echo "${ECHO_T}$ac_res" >&6; }
40827
40828 if eval test \$wx_cv_func_$wx_func = yes
40829 then
40830 cat >>confdefs.h <<_ACEOF
40831 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40832 _ACEOF
40833
40834
40835 else
40836 :
40837
40838 fi
40839 done
40840
40841
40842 INET_LINK=
40843
40844 for ac_func in inet_addr
40845 do
40846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40850 echo $ECHO_N "(cached) $ECHO_C" >&6
40851 else
40852 cat >conftest.$ac_ext <<_ACEOF
40853 /* confdefs.h. */
40854 _ACEOF
40855 cat confdefs.h >>conftest.$ac_ext
40856 cat >>conftest.$ac_ext <<_ACEOF
40857 /* end confdefs.h. */
40858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40860 #define $ac_func innocuous_$ac_func
40861
40862 /* System header to define __stub macros and hopefully few prototypes,
40863 which can conflict with char $ac_func (); below.
40864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40865 <limits.h> exists even on freestanding compilers. */
40866
40867 #ifdef __STDC__
40868 # include <limits.h>
40869 #else
40870 # include <assert.h>
40871 #endif
40872
40873 #undef $ac_func
40874
40875 /* Override any GCC internal prototype to avoid an error.
40876 Use char because int might match the return type of a GCC
40877 builtin and then its argument prototype would still apply. */
40878 #ifdef __cplusplus
40879 extern "C"
40880 #endif
40881 char $ac_func ();
40882 /* The GNU C library defines this for functions which it implements
40883 to always fail with ENOSYS. Some functions are actually named
40884 something starting with __ and the normal name is an alias. */
40885 #if defined __stub_$ac_func || defined __stub___$ac_func
40886 choke me
40887 #endif
40888
40889 int
40890 main ()
40891 {
40892 return $ac_func ();
40893 ;
40894 return 0;
40895 }
40896 _ACEOF
40897 rm -f conftest.$ac_objext conftest$ac_exeext
40898 if { (ac_try="$ac_link"
40899 case "(($ac_try" in
40900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40901 *) ac_try_echo=$ac_try;;
40902 esac
40903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40904 (eval "$ac_link") 2>conftest.er1
40905 ac_status=$?
40906 grep -v '^ *+' conftest.er1 >conftest.err
40907 rm -f conftest.er1
40908 cat conftest.err >&5
40909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40910 (exit $ac_status); } && {
40911 test -z "$ac_c_werror_flag" ||
40912 test ! -s conftest.err
40913 } && test -s conftest$ac_exeext &&
40914 $as_test_x conftest$ac_exeext; then
40915 eval "$as_ac_var=yes"
40916 else
40917 echo "$as_me: failed program was:" >&5
40918 sed 's/^/| /' conftest.$ac_ext >&5
40919
40920 eval "$as_ac_var=no"
40921 fi
40922
40923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40924 conftest$ac_exeext conftest.$ac_ext
40925 fi
40926 ac_res=`eval echo '${'$as_ac_var'}'`
40927 { echo "$as_me:$LINENO: result: $ac_res" >&5
40928 echo "${ECHO_T}$ac_res" >&6; }
40929 if test `eval echo '${'$as_ac_var'}'` = yes; then
40930 cat >>confdefs.h <<_ACEOF
40931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40932 _ACEOF
40933 cat >>confdefs.h <<\_ACEOF
40934 #define HAVE_INET_ADDR 1
40935 _ACEOF
40936
40937 else
40938
40939 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40940 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40941 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40942 echo $ECHO_N "(cached) $ECHO_C" >&6
40943 else
40944 ac_check_lib_save_LIBS=$LIBS
40945 LIBS="-lnsl $LIBS"
40946 cat >conftest.$ac_ext <<_ACEOF
40947 /* confdefs.h. */
40948 _ACEOF
40949 cat confdefs.h >>conftest.$ac_ext
40950 cat >>conftest.$ac_ext <<_ACEOF
40951 /* end confdefs.h. */
40952
40953 /* Override any GCC internal prototype to avoid an error.
40954 Use char because int might match the return type of a GCC
40955 builtin and then its argument prototype would still apply. */
40956 #ifdef __cplusplus
40957 extern "C"
40958 #endif
40959 char inet_addr ();
40960 int
40961 main ()
40962 {
40963 return inet_addr ();
40964 ;
40965 return 0;
40966 }
40967 _ACEOF
40968 rm -f conftest.$ac_objext conftest$ac_exeext
40969 if { (ac_try="$ac_link"
40970 case "(($ac_try" in
40971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40972 *) ac_try_echo=$ac_try;;
40973 esac
40974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40975 (eval "$ac_link") 2>conftest.er1
40976 ac_status=$?
40977 grep -v '^ *+' conftest.er1 >conftest.err
40978 rm -f conftest.er1
40979 cat conftest.err >&5
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); } && {
40982 test -z "$ac_c_werror_flag" ||
40983 test ! -s conftest.err
40984 } && test -s conftest$ac_exeext &&
40985 $as_test_x conftest$ac_exeext; then
40986 ac_cv_lib_nsl_inet_addr=yes
40987 else
40988 echo "$as_me: failed program was:" >&5
40989 sed 's/^/| /' conftest.$ac_ext >&5
40990
40991 ac_cv_lib_nsl_inet_addr=no
40992 fi
40993
40994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40995 conftest$ac_exeext conftest.$ac_ext
40996 LIBS=$ac_check_lib_save_LIBS
40997 fi
40998 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40999 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41000 if test $ac_cv_lib_nsl_inet_addr = yes; then
41001 INET_LINK="nsl"
41002 else
41003
41004 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41005 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41006 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41007 echo $ECHO_N "(cached) $ECHO_C" >&6
41008 else
41009 ac_check_lib_save_LIBS=$LIBS
41010 LIBS="-lresolv $LIBS"
41011 cat >conftest.$ac_ext <<_ACEOF
41012 /* confdefs.h. */
41013 _ACEOF
41014 cat confdefs.h >>conftest.$ac_ext
41015 cat >>conftest.$ac_ext <<_ACEOF
41016 /* end confdefs.h. */
41017
41018 /* Override any GCC internal prototype to avoid an error.
41019 Use char because int might match the return type of a GCC
41020 builtin and then its argument prototype would still apply. */
41021 #ifdef __cplusplus
41022 extern "C"
41023 #endif
41024 char inet_addr ();
41025 int
41026 main ()
41027 {
41028 return inet_addr ();
41029 ;
41030 return 0;
41031 }
41032 _ACEOF
41033 rm -f conftest.$ac_objext conftest$ac_exeext
41034 if { (ac_try="$ac_link"
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_link") 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); } && {
41047 test -z "$ac_c_werror_flag" ||
41048 test ! -s conftest.err
41049 } && test -s conftest$ac_exeext &&
41050 $as_test_x conftest$ac_exeext; then
41051 ac_cv_lib_resolv_inet_addr=yes
41052 else
41053 echo "$as_me: failed program was:" >&5
41054 sed 's/^/| /' conftest.$ac_ext >&5
41055
41056 ac_cv_lib_resolv_inet_addr=no
41057 fi
41058
41059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41060 conftest$ac_exeext conftest.$ac_ext
41061 LIBS=$ac_check_lib_save_LIBS
41062 fi
41063 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41064 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41065 if test $ac_cv_lib_resolv_inet_addr = yes; then
41066 INET_LINK="resolv"
41067 else
41068
41069 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41070 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41071 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41072 echo $ECHO_N "(cached) $ECHO_C" >&6
41073 else
41074 ac_check_lib_save_LIBS=$LIBS
41075 LIBS="-lsocket $LIBS"
41076 cat >conftest.$ac_ext <<_ACEOF
41077 /* confdefs.h. */
41078 _ACEOF
41079 cat confdefs.h >>conftest.$ac_ext
41080 cat >>conftest.$ac_ext <<_ACEOF
41081 /* end confdefs.h. */
41082
41083 /* Override any GCC internal prototype to avoid an error.
41084 Use char because int might match the return type of a GCC
41085 builtin and then its argument prototype would still apply. */
41086 #ifdef __cplusplus
41087 extern "C"
41088 #endif
41089 char inet_addr ();
41090 int
41091 main ()
41092 {
41093 return inet_addr ();
41094 ;
41095 return 0;
41096 }
41097 _ACEOF
41098 rm -f conftest.$ac_objext conftest$ac_exeext
41099 if { (ac_try="$ac_link"
41100 case "(($ac_try" in
41101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41102 *) ac_try_echo=$ac_try;;
41103 esac
41104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41105 (eval "$ac_link") 2>conftest.er1
41106 ac_status=$?
41107 grep -v '^ *+' conftest.er1 >conftest.err
41108 rm -f conftest.er1
41109 cat conftest.err >&5
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); } && {
41112 test -z "$ac_c_werror_flag" ||
41113 test ! -s conftest.err
41114 } && test -s conftest$ac_exeext &&
41115 $as_test_x conftest$ac_exeext; then
41116 ac_cv_lib_socket_inet_addr=yes
41117 else
41118 echo "$as_me: failed program was:" >&5
41119 sed 's/^/| /' conftest.$ac_ext >&5
41120
41121 ac_cv_lib_socket_inet_addr=no
41122 fi
41123
41124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41125 conftest$ac_exeext conftest.$ac_ext
41126 LIBS=$ac_check_lib_save_LIBS
41127 fi
41128 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41129 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41130 if test $ac_cv_lib_socket_inet_addr = yes; then
41131 INET_LINK="socket"
41132
41133 fi
41134
41135
41136
41137 fi
41138
41139
41140
41141 fi
41142
41143
41144
41145 fi
41146 done
41147
41148
41149
41150 for ac_func in inet_aton
41151 do
41152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41156 echo $ECHO_N "(cached) $ECHO_C" >&6
41157 else
41158 cat >conftest.$ac_ext <<_ACEOF
41159 /* confdefs.h. */
41160 _ACEOF
41161 cat confdefs.h >>conftest.$ac_ext
41162 cat >>conftest.$ac_ext <<_ACEOF
41163 /* end confdefs.h. */
41164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41166 #define $ac_func innocuous_$ac_func
41167
41168 /* System header to define __stub macros and hopefully few prototypes,
41169 which can conflict with char $ac_func (); below.
41170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41171 <limits.h> exists even on freestanding compilers. */
41172
41173 #ifdef __STDC__
41174 # include <limits.h>
41175 #else
41176 # include <assert.h>
41177 #endif
41178
41179 #undef $ac_func
41180
41181 /* Override any GCC internal prototype to avoid an error.
41182 Use char because int might match the return type of a GCC
41183 builtin and then its argument prototype would still apply. */
41184 #ifdef __cplusplus
41185 extern "C"
41186 #endif
41187 char $ac_func ();
41188 /* The GNU C library defines this for functions which it implements
41189 to always fail with ENOSYS. Some functions are actually named
41190 something starting with __ and the normal name is an alias. */
41191 #if defined __stub_$ac_func || defined __stub___$ac_func
41192 choke me
41193 #endif
41194
41195 int
41196 main ()
41197 {
41198 return $ac_func ();
41199 ;
41200 return 0;
41201 }
41202 _ACEOF
41203 rm -f conftest.$ac_objext conftest$ac_exeext
41204 if { (ac_try="$ac_link"
41205 case "(($ac_try" in
41206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41207 *) ac_try_echo=$ac_try;;
41208 esac
41209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41210 (eval "$ac_link") 2>conftest.er1
41211 ac_status=$?
41212 grep -v '^ *+' conftest.er1 >conftest.err
41213 rm -f conftest.er1
41214 cat conftest.err >&5
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); } && {
41217 test -z "$ac_c_werror_flag" ||
41218 test ! -s conftest.err
41219 } && test -s conftest$ac_exeext &&
41220 $as_test_x conftest$ac_exeext; then
41221 eval "$as_ac_var=yes"
41222 else
41223 echo "$as_me: failed program was:" >&5
41224 sed 's/^/| /' conftest.$ac_ext >&5
41225
41226 eval "$as_ac_var=no"
41227 fi
41228
41229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41230 conftest$ac_exeext conftest.$ac_ext
41231 fi
41232 ac_res=`eval echo '${'$as_ac_var'}'`
41233 { echo "$as_me:$LINENO: result: $ac_res" >&5
41234 echo "${ECHO_T}$ac_res" >&6; }
41235 if test `eval echo '${'$as_ac_var'}'` = yes; then
41236 cat >>confdefs.h <<_ACEOF
41237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41238 _ACEOF
41239 cat >>confdefs.h <<\_ACEOF
41240 #define HAVE_INET_ATON 1
41241 _ACEOF
41242
41243 else
41244
41245 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41246 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41247 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41248 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41249 echo $ECHO_N "(cached) $ECHO_C" >&6
41250 else
41251 ac_check_lib_save_LIBS=$LIBS
41252 LIBS="-l$INET_LINK $LIBS"
41253 cat >conftest.$ac_ext <<_ACEOF
41254 /* confdefs.h. */
41255 _ACEOF
41256 cat confdefs.h >>conftest.$ac_ext
41257 cat >>conftest.$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41259
41260 /* Override any GCC internal prototype to avoid an error.
41261 Use char because int might match the return type of a GCC
41262 builtin and then its argument prototype would still apply. */
41263 #ifdef __cplusplus
41264 extern "C"
41265 #endif
41266 char inet_aton ();
41267 int
41268 main ()
41269 {
41270 return inet_aton ();
41271 ;
41272 return 0;
41273 }
41274 _ACEOF
41275 rm -f conftest.$ac_objext conftest$ac_exeext
41276 if { (ac_try="$ac_link"
41277 case "(($ac_try" in
41278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41279 *) ac_try_echo=$ac_try;;
41280 esac
41281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41282 (eval "$ac_link") 2>conftest.er1
41283 ac_status=$?
41284 grep -v '^ *+' conftest.er1 >conftest.err
41285 rm -f conftest.er1
41286 cat conftest.err >&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); } && {
41289 test -z "$ac_c_werror_flag" ||
41290 test ! -s conftest.err
41291 } && test -s conftest$ac_exeext &&
41292 $as_test_x conftest$ac_exeext; then
41293 eval "$as_ac_Lib=yes"
41294 else
41295 echo "$as_me: failed program was:" >&5
41296 sed 's/^/| /' conftest.$ac_ext >&5
41297
41298 eval "$as_ac_Lib=no"
41299 fi
41300
41301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41302 conftest$ac_exeext conftest.$ac_ext
41303 LIBS=$ac_check_lib_save_LIBS
41304 fi
41305 ac_res=`eval echo '${'$as_ac_Lib'}'`
41306 { echo "$as_me:$LINENO: result: $ac_res" >&5
41307 echo "${ECHO_T}$ac_res" >&6; }
41308 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41309 cat >>confdefs.h <<\_ACEOF
41310 #define HAVE_INET_ATON 1
41311 _ACEOF
41312
41313 fi
41314
41315
41316 fi
41317 done
41318
41319
41320 if test "x$INET_LINK" != "x"; then
41321 cat >>confdefs.h <<\_ACEOF
41322 #define HAVE_INET_ADDR 1
41323 _ACEOF
41324
41325 INET_LINK=" -l$INET_LINK"
41326 fi
41327
41328
41329 for wx_func in fdopen
41330 do
41331 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41332 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41333 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41334 echo $ECHO_N "(cached) $ECHO_C" >&6
41335 else
41336
41337 cat >conftest.$ac_ext <<_ACEOF
41338
41339 /* confdefs.h. */
41340 _ACEOF
41341 cat confdefs.h >>conftest.$ac_ext
41342 cat >>conftest.$ac_ext <<_ACEOF
41343 /* end confdefs.h. */
41344
41345
41346 $ac_includes_default
41347
41348 int
41349 main ()
41350 {
41351
41352 #ifndef $wx_func
41353 &$wx_func;
41354 #endif
41355
41356
41357 ;
41358 return 0;
41359 }
41360
41361 _ACEOF
41362 rm -f conftest.$ac_objext conftest$ac_exeext
41363 if { (ac_try="$ac_link"
41364 case "(($ac_try" in
41365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41366 *) ac_try_echo=$ac_try;;
41367 esac
41368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41369 (eval "$ac_link") 2>conftest.er1
41370 ac_status=$?
41371 grep -v '^ *+' conftest.er1 >conftest.err
41372 rm -f conftest.er1
41373 cat conftest.err >&5
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); } && {
41376 test -z "$ac_c_werror_flag" ||
41377 test ! -s conftest.err
41378 } && test -s conftest$ac_exeext &&
41379 $as_test_x conftest$ac_exeext; then
41380 eval wx_cv_func_$wx_func=yes
41381 else
41382 echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.$ac_ext >&5
41384
41385 eval wx_cv_func_$wx_func=no
41386 fi
41387
41388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41389 conftest$ac_exeext conftest.$ac_ext
41390
41391 fi
41392 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41393 { echo "$as_me:$LINENO: result: $ac_res" >&5
41394 echo "${ECHO_T}$ac_res" >&6; }
41395
41396 if eval test \$wx_cv_func_$wx_func = yes
41397 then
41398 cat >>confdefs.h <<_ACEOF
41399 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41400 _ACEOF
41401
41402
41403 else
41404 :
41405
41406 fi
41407 done
41408
41409
41410 fi
41411
41412
41413
41414 cat >confcache <<\_ACEOF
41415 # This file is a shell script that caches the results of configure
41416 # tests run on this system so they can be shared between configure
41417 # scripts and configure runs, see configure's option --config-cache.
41418 # It is not useful on other systems. If it contains results you don't
41419 # want to keep, you may remove or edit it.
41420 #
41421 # config.status only pays attention to the cache file if you give it
41422 # the --recheck option to rerun configure.
41423 #
41424 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41425 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41426 # following values.
41427
41428 _ACEOF
41429
41430 # The following way of writing the cache mishandles newlines in values,
41431 # but we know of no workaround that is simple, portable, and efficient.
41432 # So, we kill variables containing newlines.
41433 # Ultrix sh set writes to stderr and can't be redirected directly,
41434 # and sets the high bit in the cache file unless we assign to the vars.
41435 (
41436 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41437 eval ac_val=\$$ac_var
41438 case $ac_val in #(
41439 *${as_nl}*)
41440 case $ac_var in #(
41441 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41442 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41443 esac
41444 case $ac_var in #(
41445 _ | IFS | as_nl) ;; #(
41446 *) $as_unset $ac_var ;;
41447 esac ;;
41448 esac
41449 done
41450
41451 (set) 2>&1 |
41452 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41453 *${as_nl}ac_space=\ *)
41454 # `set' does not quote correctly, so add quotes (double-quote
41455 # substitution turns \\\\ into \\, and sed turns \\ into \).
41456 sed -n \
41457 "s/'/'\\\\''/g;
41458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41459 ;; #(
41460 *)
41461 # `set' quotes correctly as required by POSIX, so do not add quotes.
41462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41463 ;;
41464 esac |
41465 sort
41466 ) |
41467 sed '
41468 /^ac_cv_env_/b end
41469 t clear
41470 :clear
41471 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41472 t end
41473 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41474 :end' >>confcache
41475 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41476 if test -w "$cache_file"; then
41477 test "x$cache_file" != "x/dev/null" &&
41478 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41479 echo "$as_me: updating cache $cache_file" >&6;}
41480 cat confcache >$cache_file
41481 else
41482 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41483 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41484 fi
41485 fi
41486 rm -f confcache
41487
41488
41489 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41490
41491
41492 THREADS_LINK=
41493 THREADS_CFLAGS=
41494
41495 if test "$wxUSE_THREADS" = "yes" ; then
41496 if test "$USE_BEOS" = 1; then
41497 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41498 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41499 wxUSE_THREADS="no"
41500 fi
41501 fi
41502
41503 if test "$wxUSE_THREADS" = "yes" ; then
41504
41505
41506 THREAD_OPTS="-pthread"
41507 if test "x$SUNCXX" = xyes; then
41508 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41509 fi
41510
41511 case "${host}" in
41512 *-*-solaris2* | *-*-sunos4* )
41513 if test "x$GCC" = "xyes"; then
41514 THREAD_OPTS="-pthreads $THREAD_OPTS"
41515 fi
41516 ;;
41517 *-*-freebsd*)
41518 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41519 ;;
41520 *-*-darwin* | *-*-cygwin* )
41521 THREAD_OPTS=""
41522 ;;
41523 *-*-aix*)
41524 THREAD_OPTS="pthreads"
41525 ;;
41526 *-hp-hpux* )
41527 if test "x$GCC" = "xyes"; then
41528 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41529 THREAD_OPTS=""
41530 else
41531 THREAD_OPTS="-mt"
41532 fi
41533 ;;
41534
41535 *-*-irix* )
41536 if test "x$GCC" = "xyes"; then
41537 THREAD_OPTS=""
41538 fi
41539 ;;
41540
41541 *-*-*UnixWare*)
41542 if test "x$GCC" != "xyes"; then
41543 THREAD_OPTS="-Ethread"
41544 fi
41545 ;;
41546 esac
41547
41548 THREAD_OPTS="$THREAD_OPTS pthread none"
41549
41550 THREADS_OK=no
41551 for flag in $THREAD_OPTS; do
41552 case $flag in
41553 none)
41554 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41555 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41556 ;;
41557
41558 -*)
41559 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41560 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41561 THREADS_CFLAGS="$flag"
41562 ;;
41563
41564 *)
41565 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41566 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41567 THREADS_LINK="-l$flag"
41568 ;;
41569 esac
41570
41571 save_LIBS="$LIBS"
41572 save_CFLAGS="$CFLAGS"
41573 LIBS="$THREADS_LINK $LIBS"
41574 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41575
41576 cat >conftest.$ac_ext <<_ACEOF
41577 /* confdefs.h. */
41578 _ACEOF
41579 cat confdefs.h >>conftest.$ac_ext
41580 cat >>conftest.$ac_ext <<_ACEOF
41581 /* end confdefs.h. */
41582 #include <pthread.h>
41583 int
41584 main ()
41585 {
41586 pthread_create(0,0,0,0);
41587 ;
41588 return 0;
41589 }
41590 _ACEOF
41591 rm -f conftest.$ac_objext conftest$ac_exeext
41592 if { (ac_try="$ac_link"
41593 case "(($ac_try" in
41594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41595 *) ac_try_echo=$ac_try;;
41596 esac
41597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41598 (eval "$ac_link") 2>conftest.er1
41599 ac_status=$?
41600 grep -v '^ *+' conftest.er1 >conftest.err
41601 rm -f conftest.er1
41602 cat conftest.err >&5
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); } && {
41605 test -z "$ac_c_werror_flag" ||
41606 test ! -s conftest.err
41607 } && test -s conftest$ac_exeext &&
41608 $as_test_x conftest$ac_exeext; then
41609 THREADS_OK=yes
41610 else
41611 echo "$as_me: failed program was:" >&5
41612 sed 's/^/| /' conftest.$ac_ext >&5
41613
41614
41615 fi
41616
41617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41618 conftest$ac_exeext conftest.$ac_ext
41619
41620 LIBS="$save_LIBS"
41621 CFLAGS="$save_CFLAGS"
41622
41623 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41624 echo "${ECHO_T}$THREADS_OK" >&6; }
41625 if test "x$THREADS_OK" = "xyes"; then
41626 break;
41627 fi
41628
41629 THREADS_LINK=""
41630 THREADS_CFLAGS=""
41631 done
41632
41633 if test "x$THREADS_OK" != "xyes"; then
41634 wxUSE_THREADS=no
41635 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41636 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41637 else
41638 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41639 LIBS="$THREADS_LINK $LIBS"
41640
41641 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41642 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41643 flag=no
41644 case "${host}" in
41645 *-aix*)
41646 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41647 flag="-D_THREAD_SAFE"
41648 ;;
41649 *-freebsd*)
41650 flag="-D_THREAD_SAFE"
41651 ;;
41652 *-hp-hpux* )
41653 flag="-D_REENTRANT"
41654 if test "x$GCC" != "xyes"; then
41655 flag="$flag -D_RWSTD_MULTI_THREAD"
41656 fi
41657 ;;
41658 *solaris* | alpha*-osf*)
41659 flag="-D_REENTRANT"
41660 ;;
41661 esac
41662 { echo "$as_me:$LINENO: result: ${flag}" >&5
41663 echo "${ECHO_T}${flag}" >&6; }
41664 if test "x$flag" != xno; then
41665 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41666 fi
41667
41668 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41669 fi
41670 fi
41671
41672 if test "$wxUSE_THREADS" = "yes" ; then
41673
41674 for ac_func in thr_setconcurrency
41675 do
41676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41680 echo $ECHO_N "(cached) $ECHO_C" >&6
41681 else
41682 cat >conftest.$ac_ext <<_ACEOF
41683 /* confdefs.h. */
41684 _ACEOF
41685 cat confdefs.h >>conftest.$ac_ext
41686 cat >>conftest.$ac_ext <<_ACEOF
41687 /* end confdefs.h. */
41688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41690 #define $ac_func innocuous_$ac_func
41691
41692 /* System header to define __stub macros and hopefully few prototypes,
41693 which can conflict with char $ac_func (); below.
41694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41695 <limits.h> exists even on freestanding compilers. */
41696
41697 #ifdef __STDC__
41698 # include <limits.h>
41699 #else
41700 # include <assert.h>
41701 #endif
41702
41703 #undef $ac_func
41704
41705 /* Override any GCC internal prototype to avoid an error.
41706 Use char because int might match the return type of a GCC
41707 builtin and then its argument prototype would still apply. */
41708 #ifdef __cplusplus
41709 extern "C"
41710 #endif
41711 char $ac_func ();
41712 /* The GNU C library defines this for functions which it implements
41713 to always fail with ENOSYS. Some functions are actually named
41714 something starting with __ and the normal name is an alias. */
41715 #if defined __stub_$ac_func || defined __stub___$ac_func
41716 choke me
41717 #endif
41718
41719 int
41720 main ()
41721 {
41722 return $ac_func ();
41723 ;
41724 return 0;
41725 }
41726 _ACEOF
41727 rm -f conftest.$ac_objext conftest$ac_exeext
41728 if { (ac_try="$ac_link"
41729 case "(($ac_try" in
41730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41731 *) ac_try_echo=$ac_try;;
41732 esac
41733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41734 (eval "$ac_link") 2>conftest.er1
41735 ac_status=$?
41736 grep -v '^ *+' conftest.er1 >conftest.err
41737 rm -f conftest.er1
41738 cat conftest.err >&5
41739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41740 (exit $ac_status); } && {
41741 test -z "$ac_c_werror_flag" ||
41742 test ! -s conftest.err
41743 } && test -s conftest$ac_exeext &&
41744 $as_test_x conftest$ac_exeext; then
41745 eval "$as_ac_var=yes"
41746 else
41747 echo "$as_me: failed program was:" >&5
41748 sed 's/^/| /' conftest.$ac_ext >&5
41749
41750 eval "$as_ac_var=no"
41751 fi
41752
41753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41754 conftest$ac_exeext conftest.$ac_ext
41755 fi
41756 ac_res=`eval echo '${'$as_ac_var'}'`
41757 { echo "$as_me:$LINENO: result: $ac_res" >&5
41758 echo "${ECHO_T}$ac_res" >&6; }
41759 if test `eval echo '${'$as_ac_var'}'` = yes; then
41760 cat >>confdefs.h <<_ACEOF
41761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41762 _ACEOF
41763
41764 fi
41765 done
41766
41767
41768 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41769 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41770 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41771 echo $ECHO_N "(cached) $ECHO_C" >&6
41772 else
41773
41774 ac_ext=cpp
41775 ac_cpp='$CXXCPP $CPPFLAGS'
41776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41779
41780 cat >conftest.$ac_ext <<_ACEOF
41781 /* confdefs.h. */
41782 _ACEOF
41783 cat confdefs.h >>conftest.$ac_ext
41784 cat >>conftest.$ac_ext <<_ACEOF
41785 /* end confdefs.h. */
41786 #include <pthread.h>
41787 void ThreadCleanupFunc(void *p);
41788
41789 int
41790 main ()
41791 {
41792
41793 void *p;
41794 pthread_cleanup_push(ThreadCleanupFunc, p);
41795 pthread_cleanup_pop(0);
41796
41797 ;
41798 return 0;
41799 }
41800 _ACEOF
41801 rm -f conftest.$ac_objext
41802 if { (ac_try="$ac_compile"
41803 case "(($ac_try" in
41804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41805 *) ac_try_echo=$ac_try;;
41806 esac
41807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41808 (eval "$ac_compile") 2>conftest.er1
41809 ac_status=$?
41810 grep -v '^ *+' conftest.er1 >conftest.err
41811 rm -f conftest.er1
41812 cat conftest.err >&5
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); } && {
41815 test -z "$ac_cxx_werror_flag" ||
41816 test ! -s conftest.err
41817 } && test -s conftest.$ac_objext; then
41818
41819 wx_cv_func_pthread_cleanup=yes
41820
41821 else
41822 echo "$as_me: failed program was:" >&5
41823 sed 's/^/| /' conftest.$ac_ext >&5
41824
41825
41826 wx_cv_func_pthread_cleanup=no
41827
41828
41829 fi
41830
41831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41832 ac_ext=c
41833 ac_cpp='$CPP $CPPFLAGS'
41834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41837
41838
41839 fi
41840 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41841 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41842 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41843 cat >>confdefs.h <<\_ACEOF
41844 #define wxHAVE_PTHREAD_CLEANUP 1
41845 _ACEOF
41846
41847 fi
41848
41849
41850 for ac_header in sched.h
41851 do
41852 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41853 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41855 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41856 echo $ECHO_N "(cached) $ECHO_C" >&6
41857 else
41858 cat >conftest.$ac_ext <<_ACEOF
41859 /* confdefs.h. */
41860 _ACEOF
41861 cat confdefs.h >>conftest.$ac_ext
41862 cat >>conftest.$ac_ext <<_ACEOF
41863 /* end confdefs.h. */
41864 $ac_includes_default
41865
41866 #include <$ac_header>
41867 _ACEOF
41868 rm -f conftest.$ac_objext
41869 if { (ac_try="$ac_compile"
41870 case "(($ac_try" in
41871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41872 *) ac_try_echo=$ac_try;;
41873 esac
41874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41875 (eval "$ac_compile") 2>conftest.er1
41876 ac_status=$?
41877 grep -v '^ *+' conftest.er1 >conftest.err
41878 rm -f conftest.er1
41879 cat conftest.err >&5
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); } && {
41882 test -z "$ac_c_werror_flag" ||
41883 test ! -s conftest.err
41884 } && test -s conftest.$ac_objext; then
41885 eval "$as_ac_Header=yes"
41886 else
41887 echo "$as_me: failed program was:" >&5
41888 sed 's/^/| /' conftest.$ac_ext >&5
41889
41890 eval "$as_ac_Header=no"
41891 fi
41892
41893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41894 fi
41895 ac_res=`eval echo '${'$as_ac_Header'}'`
41896 { echo "$as_me:$LINENO: result: $ac_res" >&5
41897 echo "${ECHO_T}$ac_res" >&6; }
41898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41899 cat >>confdefs.h <<_ACEOF
41900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41901 _ACEOF
41902
41903 fi
41904
41905 done
41906
41907 if test "$ac_cv_header_sched_h" = "yes"; then
41908 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41909 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41910 if test "${ac_cv_func_sched_yield+set}" = set; then
41911 echo $ECHO_N "(cached) $ECHO_C" >&6
41912 else
41913 cat >conftest.$ac_ext <<_ACEOF
41914 /* confdefs.h. */
41915 _ACEOF
41916 cat confdefs.h >>conftest.$ac_ext
41917 cat >>conftest.$ac_ext <<_ACEOF
41918 /* end confdefs.h. */
41919 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41921 #define sched_yield innocuous_sched_yield
41922
41923 /* System header to define __stub macros and hopefully few prototypes,
41924 which can conflict with char sched_yield (); below.
41925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41926 <limits.h> exists even on freestanding compilers. */
41927
41928 #ifdef __STDC__
41929 # include <limits.h>
41930 #else
41931 # include <assert.h>
41932 #endif
41933
41934 #undef sched_yield
41935
41936 /* Override any GCC internal prototype to avoid an error.
41937 Use char because int might match the return type of a GCC
41938 builtin and then its argument prototype would still apply. */
41939 #ifdef __cplusplus
41940 extern "C"
41941 #endif
41942 char sched_yield ();
41943 /* The GNU C library defines this for functions which it implements
41944 to always fail with ENOSYS. Some functions are actually named
41945 something starting with __ and the normal name is an alias. */
41946 #if defined __stub_sched_yield || defined __stub___sched_yield
41947 choke me
41948 #endif
41949
41950 int
41951 main ()
41952 {
41953 return sched_yield ();
41954 ;
41955 return 0;
41956 }
41957 _ACEOF
41958 rm -f conftest.$ac_objext conftest$ac_exeext
41959 if { (ac_try="$ac_link"
41960 case "(($ac_try" in
41961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41962 *) ac_try_echo=$ac_try;;
41963 esac
41964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41965 (eval "$ac_link") 2>conftest.er1
41966 ac_status=$?
41967 grep -v '^ *+' conftest.er1 >conftest.err
41968 rm -f conftest.er1
41969 cat conftest.err >&5
41970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41971 (exit $ac_status); } && {
41972 test -z "$ac_c_werror_flag" ||
41973 test ! -s conftest.err
41974 } && test -s conftest$ac_exeext &&
41975 $as_test_x conftest$ac_exeext; then
41976 ac_cv_func_sched_yield=yes
41977 else
41978 echo "$as_me: failed program was:" >&5
41979 sed 's/^/| /' conftest.$ac_ext >&5
41980
41981 ac_cv_func_sched_yield=no
41982 fi
41983
41984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41985 conftest$ac_exeext conftest.$ac_ext
41986 fi
41987 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41988 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41989 if test $ac_cv_func_sched_yield = yes; then
41990 cat >>confdefs.h <<\_ACEOF
41991 #define HAVE_SCHED_YIELD 1
41992 _ACEOF
41993
41994 else
41995
41996 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41997 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41998 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41999 echo $ECHO_N "(cached) $ECHO_C" >&6
42000 else
42001 ac_check_lib_save_LIBS=$LIBS
42002 LIBS="-lposix4 $LIBS"
42003 cat >conftest.$ac_ext <<_ACEOF
42004 /* confdefs.h. */
42005 _ACEOF
42006 cat confdefs.h >>conftest.$ac_ext
42007 cat >>conftest.$ac_ext <<_ACEOF
42008 /* end confdefs.h. */
42009
42010 /* Override any GCC internal prototype to avoid an error.
42011 Use char because int might match the return type of a GCC
42012 builtin and then its argument prototype would still apply. */
42013 #ifdef __cplusplus
42014 extern "C"
42015 #endif
42016 char sched_yield ();
42017 int
42018 main ()
42019 {
42020 return sched_yield ();
42021 ;
42022 return 0;
42023 }
42024 _ACEOF
42025 rm -f conftest.$ac_objext conftest$ac_exeext
42026 if { (ac_try="$ac_link"
42027 case "(($ac_try" in
42028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42029 *) ac_try_echo=$ac_try;;
42030 esac
42031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42032 (eval "$ac_link") 2>conftest.er1
42033 ac_status=$?
42034 grep -v '^ *+' conftest.er1 >conftest.err
42035 rm -f conftest.er1
42036 cat conftest.err >&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); } && {
42039 test -z "$ac_c_werror_flag" ||
42040 test ! -s conftest.err
42041 } && test -s conftest$ac_exeext &&
42042 $as_test_x conftest$ac_exeext; then
42043 ac_cv_lib_posix4_sched_yield=yes
42044 else
42045 echo "$as_me: failed program was:" >&5
42046 sed 's/^/| /' conftest.$ac_ext >&5
42047
42048 ac_cv_lib_posix4_sched_yield=no
42049 fi
42050
42051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42052 conftest$ac_exeext conftest.$ac_ext
42053 LIBS=$ac_check_lib_save_LIBS
42054 fi
42055 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42056 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42057 if test $ac_cv_lib_posix4_sched_yield = yes; then
42058 cat >>confdefs.h <<\_ACEOF
42059 #define HAVE_SCHED_YIELD 1
42060 _ACEOF
42061 POSIX4_LINK=" -lposix4"
42062 else
42063 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42064 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42065
42066 fi
42067
42068
42069
42070 fi
42071
42072 fi
42073
42074 HAVE_PRIOR_FUNCS=0
42075 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42076 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42077 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42078 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 else
42080 cat >conftest.$ac_ext <<_ACEOF
42081 /* confdefs.h. */
42082 _ACEOF
42083 cat confdefs.h >>conftest.$ac_ext
42084 cat >>conftest.$ac_ext <<_ACEOF
42085 /* end confdefs.h. */
42086 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42088 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42089
42090 /* System header to define __stub macros and hopefully few prototypes,
42091 which can conflict with char pthread_attr_getschedpolicy (); below.
42092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42093 <limits.h> exists even on freestanding compilers. */
42094
42095 #ifdef __STDC__
42096 # include <limits.h>
42097 #else
42098 # include <assert.h>
42099 #endif
42100
42101 #undef pthread_attr_getschedpolicy
42102
42103 /* Override any GCC internal prototype to avoid an error.
42104 Use char because int might match the return type of a GCC
42105 builtin and then its argument prototype would still apply. */
42106 #ifdef __cplusplus
42107 extern "C"
42108 #endif
42109 char pthread_attr_getschedpolicy ();
42110 /* The GNU C library defines this for functions which it implements
42111 to always fail with ENOSYS. Some functions are actually named
42112 something starting with __ and the normal name is an alias. */
42113 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42114 choke me
42115 #endif
42116
42117 int
42118 main ()
42119 {
42120 return pthread_attr_getschedpolicy ();
42121 ;
42122 return 0;
42123 }
42124 _ACEOF
42125 rm -f conftest.$ac_objext conftest$ac_exeext
42126 if { (ac_try="$ac_link"
42127 case "(($ac_try" in
42128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42129 *) ac_try_echo=$ac_try;;
42130 esac
42131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42132 (eval "$ac_link") 2>conftest.er1
42133 ac_status=$?
42134 grep -v '^ *+' conftest.er1 >conftest.err
42135 rm -f conftest.er1
42136 cat conftest.err >&5
42137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42138 (exit $ac_status); } && {
42139 test -z "$ac_c_werror_flag" ||
42140 test ! -s conftest.err
42141 } && test -s conftest$ac_exeext &&
42142 $as_test_x conftest$ac_exeext; then
42143 ac_cv_func_pthread_attr_getschedpolicy=yes
42144 else
42145 echo "$as_me: failed program was:" >&5
42146 sed 's/^/| /' conftest.$ac_ext >&5
42147
42148 ac_cv_func_pthread_attr_getschedpolicy=no
42149 fi
42150
42151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42152 conftest$ac_exeext conftest.$ac_ext
42153 fi
42154 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42155 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42156 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42157 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42158 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42159 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42160 echo $ECHO_N "(cached) $ECHO_C" >&6
42161 else
42162 cat >conftest.$ac_ext <<_ACEOF
42163 /* confdefs.h. */
42164 _ACEOF
42165 cat confdefs.h >>conftest.$ac_ext
42166 cat >>conftest.$ac_ext <<_ACEOF
42167 /* end confdefs.h. */
42168 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42170 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42171
42172 /* System header to define __stub macros and hopefully few prototypes,
42173 which can conflict with char pthread_attr_setschedparam (); below.
42174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42175 <limits.h> exists even on freestanding compilers. */
42176
42177 #ifdef __STDC__
42178 # include <limits.h>
42179 #else
42180 # include <assert.h>
42181 #endif
42182
42183 #undef pthread_attr_setschedparam
42184
42185 /* Override any GCC internal prototype to avoid an error.
42186 Use char because int might match the return type of a GCC
42187 builtin and then its argument prototype would still apply. */
42188 #ifdef __cplusplus
42189 extern "C"
42190 #endif
42191 char pthread_attr_setschedparam ();
42192 /* The GNU C library defines this for functions which it implements
42193 to always fail with ENOSYS. Some functions are actually named
42194 something starting with __ and the normal name is an alias. */
42195 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42196 choke me
42197 #endif
42198
42199 int
42200 main ()
42201 {
42202 return pthread_attr_setschedparam ();
42203 ;
42204 return 0;
42205 }
42206 _ACEOF
42207 rm -f conftest.$ac_objext conftest$ac_exeext
42208 if { (ac_try="$ac_link"
42209 case "(($ac_try" in
42210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42211 *) ac_try_echo=$ac_try;;
42212 esac
42213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42214 (eval "$ac_link") 2>conftest.er1
42215 ac_status=$?
42216 grep -v '^ *+' conftest.er1 >conftest.err
42217 rm -f conftest.er1
42218 cat conftest.err >&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); } && {
42221 test -z "$ac_c_werror_flag" ||
42222 test ! -s conftest.err
42223 } && test -s conftest$ac_exeext &&
42224 $as_test_x conftest$ac_exeext; then
42225 ac_cv_func_pthread_attr_setschedparam=yes
42226 else
42227 echo "$as_me: failed program was:" >&5
42228 sed 's/^/| /' conftest.$ac_ext >&5
42229
42230 ac_cv_func_pthread_attr_setschedparam=no
42231 fi
42232
42233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42234 conftest$ac_exeext conftest.$ac_ext
42235 fi
42236 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42237 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42238 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42239 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42240 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42241 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42242 echo $ECHO_N "(cached) $ECHO_C" >&6
42243 else
42244 cat >conftest.$ac_ext <<_ACEOF
42245 /* confdefs.h. */
42246 _ACEOF
42247 cat confdefs.h >>conftest.$ac_ext
42248 cat >>conftest.$ac_ext <<_ACEOF
42249 /* end confdefs.h. */
42250 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42252 #define sched_get_priority_max innocuous_sched_get_priority_max
42253
42254 /* System header to define __stub macros and hopefully few prototypes,
42255 which can conflict with char sched_get_priority_max (); below.
42256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42257 <limits.h> exists even on freestanding compilers. */
42258
42259 #ifdef __STDC__
42260 # include <limits.h>
42261 #else
42262 # include <assert.h>
42263 #endif
42264
42265 #undef sched_get_priority_max
42266
42267 /* Override any GCC internal prototype to avoid an error.
42268 Use char because int might match the return type of a GCC
42269 builtin and then its argument prototype would still apply. */
42270 #ifdef __cplusplus
42271 extern "C"
42272 #endif
42273 char sched_get_priority_max ();
42274 /* The GNU C library defines this for functions which it implements
42275 to always fail with ENOSYS. Some functions are actually named
42276 something starting with __ and the normal name is an alias. */
42277 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42278 choke me
42279 #endif
42280
42281 int
42282 main ()
42283 {
42284 return sched_get_priority_max ();
42285 ;
42286 return 0;
42287 }
42288 _ACEOF
42289 rm -f conftest.$ac_objext conftest$ac_exeext
42290 if { (ac_try="$ac_link"
42291 case "(($ac_try" in
42292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42293 *) ac_try_echo=$ac_try;;
42294 esac
42295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42296 (eval "$ac_link") 2>conftest.er1
42297 ac_status=$?
42298 grep -v '^ *+' conftest.er1 >conftest.err
42299 rm -f conftest.er1
42300 cat conftest.err >&5
42301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42302 (exit $ac_status); } && {
42303 test -z "$ac_c_werror_flag" ||
42304 test ! -s conftest.err
42305 } && test -s conftest$ac_exeext &&
42306 $as_test_x conftest$ac_exeext; then
42307 ac_cv_func_sched_get_priority_max=yes
42308 else
42309 echo "$as_me: failed program was:" >&5
42310 sed 's/^/| /' conftest.$ac_ext >&5
42311
42312 ac_cv_func_sched_get_priority_max=no
42313 fi
42314
42315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42316 conftest$ac_exeext conftest.$ac_ext
42317 fi
42318 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42319 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42320 if test $ac_cv_func_sched_get_priority_max = yes; then
42321 HAVE_PRIOR_FUNCS=1
42322 else
42323 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42324 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42325 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42326 echo $ECHO_N "(cached) $ECHO_C" >&6
42327 else
42328 ac_check_lib_save_LIBS=$LIBS
42329 LIBS="-lposix4 $LIBS"
42330 cat >conftest.$ac_ext <<_ACEOF
42331 /* confdefs.h. */
42332 _ACEOF
42333 cat confdefs.h >>conftest.$ac_ext
42334 cat >>conftest.$ac_ext <<_ACEOF
42335 /* end confdefs.h. */
42336
42337 /* Override any GCC internal prototype to avoid an error.
42338 Use char because int might match the return type of a GCC
42339 builtin and then its argument prototype would still apply. */
42340 #ifdef __cplusplus
42341 extern "C"
42342 #endif
42343 char sched_get_priority_max ();
42344 int
42345 main ()
42346 {
42347 return sched_get_priority_max ();
42348 ;
42349 return 0;
42350 }
42351 _ACEOF
42352 rm -f conftest.$ac_objext conftest$ac_exeext
42353 if { (ac_try="$ac_link"
42354 case "(($ac_try" in
42355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42356 *) ac_try_echo=$ac_try;;
42357 esac
42358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42359 (eval "$ac_link") 2>conftest.er1
42360 ac_status=$?
42361 grep -v '^ *+' conftest.er1 >conftest.err
42362 rm -f conftest.er1
42363 cat conftest.err >&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); } && {
42366 test -z "$ac_c_werror_flag" ||
42367 test ! -s conftest.err
42368 } && test -s conftest$ac_exeext &&
42369 $as_test_x conftest$ac_exeext; then
42370 ac_cv_lib_posix4_sched_get_priority_max=yes
42371 else
42372 echo "$as_me: failed program was:" >&5
42373 sed 's/^/| /' conftest.$ac_ext >&5
42374
42375 ac_cv_lib_posix4_sched_get_priority_max=no
42376 fi
42377
42378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42379 conftest$ac_exeext conftest.$ac_ext
42380 LIBS=$ac_check_lib_save_LIBS
42381 fi
42382 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42383 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42384 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42385
42386 HAVE_PRIOR_FUNCS=1
42387 POSIX4_LINK=" -lposix4"
42388
42389 fi
42390
42391
42392 fi
42393
42394
42395 fi
42396
42397
42398 fi
42399
42400
42401 if test "$HAVE_PRIOR_FUNCS" = 1; then
42402 cat >>confdefs.h <<\_ACEOF
42403 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42404 _ACEOF
42405
42406 else
42407 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42408 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42409 fi
42410
42411 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42412 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42413 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42414 echo $ECHO_N "(cached) $ECHO_C" >&6
42415 else
42416 cat >conftest.$ac_ext <<_ACEOF
42417 /* confdefs.h. */
42418 _ACEOF
42419 cat confdefs.h >>conftest.$ac_ext
42420 cat >>conftest.$ac_ext <<_ACEOF
42421 /* end confdefs.h. */
42422 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42424 #define pthread_cancel innocuous_pthread_cancel
42425
42426 /* System header to define __stub macros and hopefully few prototypes,
42427 which can conflict with char pthread_cancel (); below.
42428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42429 <limits.h> exists even on freestanding compilers. */
42430
42431 #ifdef __STDC__
42432 # include <limits.h>
42433 #else
42434 # include <assert.h>
42435 #endif
42436
42437 #undef pthread_cancel
42438
42439 /* Override any GCC internal prototype to avoid an error.
42440 Use char because int might match the return type of a GCC
42441 builtin and then its argument prototype would still apply. */
42442 #ifdef __cplusplus
42443 extern "C"
42444 #endif
42445 char pthread_cancel ();
42446 /* The GNU C library defines this for functions which it implements
42447 to always fail with ENOSYS. Some functions are actually named
42448 something starting with __ and the normal name is an alias. */
42449 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42450 choke me
42451 #endif
42452
42453 int
42454 main ()
42455 {
42456 return pthread_cancel ();
42457 ;
42458 return 0;
42459 }
42460 _ACEOF
42461 rm -f conftest.$ac_objext conftest$ac_exeext
42462 if { (ac_try="$ac_link"
42463 case "(($ac_try" in
42464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42465 *) ac_try_echo=$ac_try;;
42466 esac
42467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42468 (eval "$ac_link") 2>conftest.er1
42469 ac_status=$?
42470 grep -v '^ *+' conftest.er1 >conftest.err
42471 rm -f conftest.er1
42472 cat conftest.err >&5
42473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42474 (exit $ac_status); } && {
42475 test -z "$ac_c_werror_flag" ||
42476 test ! -s conftest.err
42477 } && test -s conftest$ac_exeext &&
42478 $as_test_x conftest$ac_exeext; then
42479 ac_cv_func_pthread_cancel=yes
42480 else
42481 echo "$as_me: failed program was:" >&5
42482 sed 's/^/| /' conftest.$ac_ext >&5
42483
42484 ac_cv_func_pthread_cancel=no
42485 fi
42486
42487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42488 conftest$ac_exeext conftest.$ac_ext
42489 fi
42490 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42491 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42492 if test $ac_cv_func_pthread_cancel = yes; then
42493 cat >>confdefs.h <<\_ACEOF
42494 #define HAVE_PTHREAD_CANCEL 1
42495 _ACEOF
42496
42497 else
42498 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42499 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42500 fi
42501
42502
42503 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42504 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42505 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42506 echo $ECHO_N "(cached) $ECHO_C" >&6
42507 else
42508 cat >conftest.$ac_ext <<_ACEOF
42509 /* confdefs.h. */
42510 _ACEOF
42511 cat confdefs.h >>conftest.$ac_ext
42512 cat >>conftest.$ac_ext <<_ACEOF
42513 /* end confdefs.h. */
42514 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42516 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42517
42518 /* System header to define __stub macros and hopefully few prototypes,
42519 which can conflict with char pthread_mutex_timedlock (); below.
42520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42521 <limits.h> exists even on freestanding compilers. */
42522
42523 #ifdef __STDC__
42524 # include <limits.h>
42525 #else
42526 # include <assert.h>
42527 #endif
42528
42529 #undef pthread_mutex_timedlock
42530
42531 /* Override any GCC internal prototype to avoid an error.
42532 Use char because int might match the return type of a GCC
42533 builtin and then its argument prototype would still apply. */
42534 #ifdef __cplusplus
42535 extern "C"
42536 #endif
42537 char pthread_mutex_timedlock ();
42538 /* The GNU C library defines this for functions which it implements
42539 to always fail with ENOSYS. Some functions are actually named
42540 something starting with __ and the normal name is an alias. */
42541 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42542 choke me
42543 #endif
42544
42545 int
42546 main ()
42547 {
42548 return pthread_mutex_timedlock ();
42549 ;
42550 return 0;
42551 }
42552 _ACEOF
42553 rm -f conftest.$ac_objext conftest$ac_exeext
42554 if { (ac_try="$ac_link"
42555 case "(($ac_try" in
42556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42557 *) ac_try_echo=$ac_try;;
42558 esac
42559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42560 (eval "$ac_link") 2>conftest.er1
42561 ac_status=$?
42562 grep -v '^ *+' conftest.er1 >conftest.err
42563 rm -f conftest.er1
42564 cat conftest.err >&5
42565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566 (exit $ac_status); } && {
42567 test -z "$ac_c_werror_flag" ||
42568 test ! -s conftest.err
42569 } && test -s conftest$ac_exeext &&
42570 $as_test_x conftest$ac_exeext; then
42571 ac_cv_func_pthread_mutex_timedlock=yes
42572 else
42573 echo "$as_me: failed program was:" >&5
42574 sed 's/^/| /' conftest.$ac_ext >&5
42575
42576 ac_cv_func_pthread_mutex_timedlock=no
42577 fi
42578
42579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42580 conftest$ac_exeext conftest.$ac_ext
42581 fi
42582 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42583 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42584 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42587 _ACEOF
42588
42589 else
42590 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42591 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42592 fi
42593
42594
42595 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42596 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42597 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42598 echo $ECHO_N "(cached) $ECHO_C" >&6
42599 else
42600 cat >conftest.$ac_ext <<_ACEOF
42601 /* confdefs.h. */
42602 _ACEOF
42603 cat confdefs.h >>conftest.$ac_ext
42604 cat >>conftest.$ac_ext <<_ACEOF
42605 /* end confdefs.h. */
42606 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42608 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42609
42610 /* System header to define __stub macros and hopefully few prototypes,
42611 which can conflict with char pthread_attr_setstacksize (); below.
42612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42613 <limits.h> exists even on freestanding compilers. */
42614
42615 #ifdef __STDC__
42616 # include <limits.h>
42617 #else
42618 # include <assert.h>
42619 #endif
42620
42621 #undef pthread_attr_setstacksize
42622
42623 /* Override any GCC internal prototype to avoid an error.
42624 Use char because int might match the return type of a GCC
42625 builtin and then its argument prototype would still apply. */
42626 #ifdef __cplusplus
42627 extern "C"
42628 #endif
42629 char pthread_attr_setstacksize ();
42630 /* The GNU C library defines this for functions which it implements
42631 to always fail with ENOSYS. Some functions are actually named
42632 something starting with __ and the normal name is an alias. */
42633 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42634 choke me
42635 #endif
42636
42637 int
42638 main ()
42639 {
42640 return pthread_attr_setstacksize ();
42641 ;
42642 return 0;
42643 }
42644 _ACEOF
42645 rm -f conftest.$ac_objext conftest$ac_exeext
42646 if { (ac_try="$ac_link"
42647 case "(($ac_try" in
42648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42649 *) ac_try_echo=$ac_try;;
42650 esac
42651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42652 (eval "$ac_link") 2>conftest.er1
42653 ac_status=$?
42654 grep -v '^ *+' conftest.er1 >conftest.err
42655 rm -f conftest.er1
42656 cat conftest.err >&5
42657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42658 (exit $ac_status); } && {
42659 test -z "$ac_c_werror_flag" ||
42660 test ! -s conftest.err
42661 } && test -s conftest$ac_exeext &&
42662 $as_test_x conftest$ac_exeext; then
42663 ac_cv_func_pthread_attr_setstacksize=yes
42664 else
42665 echo "$as_me: failed program was:" >&5
42666 sed 's/^/| /' conftest.$ac_ext >&5
42667
42668 ac_cv_func_pthread_attr_setstacksize=no
42669 fi
42670
42671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42672 conftest$ac_exeext conftest.$ac_ext
42673 fi
42674 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42675 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42676 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42677 cat >>confdefs.h <<\_ACEOF
42678 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42679 _ACEOF
42680
42681 fi
42682
42683
42684
42685 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42686 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42687 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42688 echo $ECHO_N "(cached) $ECHO_C" >&6
42689 else
42690
42691 cat >conftest.$ac_ext <<_ACEOF
42692 /* confdefs.h. */
42693 _ACEOF
42694 cat confdefs.h >>conftest.$ac_ext
42695 cat >>conftest.$ac_ext <<_ACEOF
42696 /* end confdefs.h. */
42697 #include <pthread.h>
42698 int
42699 main ()
42700 {
42701
42702 pthread_mutexattr_t attr;
42703 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42704
42705 ;
42706 return 0;
42707 }
42708 _ACEOF
42709 rm -f conftest.$ac_objext
42710 if { (ac_try="$ac_compile"
42711 case "(($ac_try" in
42712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42713 *) ac_try_echo=$ac_try;;
42714 esac
42715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42716 (eval "$ac_compile") 2>conftest.er1
42717 ac_status=$?
42718 grep -v '^ *+' conftest.er1 >conftest.err
42719 rm -f conftest.er1
42720 cat conftest.err >&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); } && {
42723 test -z "$ac_c_werror_flag" ||
42724 test ! -s conftest.err
42725 } && test -s conftest.$ac_objext; then
42726 wx_cv_type_pthread_mutexattr_t=yes
42727 else
42728 echo "$as_me: failed program was:" >&5
42729 sed 's/^/| /' conftest.$ac_ext >&5
42730
42731 wx_cv_type_pthread_mutexattr_t=no
42732
42733 fi
42734
42735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42736
42737 fi
42738 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42739 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42740
42741 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42742 cat >>confdefs.h <<\_ACEOF
42743 #define HAVE_PTHREAD_MUTEXATTR_T 1
42744 _ACEOF
42745
42746
42747 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42748 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42749 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42750 echo $ECHO_N "(cached) $ECHO_C" >&6
42751 else
42752
42753 cat >conftest.$ac_ext <<_ACEOF
42754 /* confdefs.h. */
42755 _ACEOF
42756 cat confdefs.h >>conftest.$ac_ext
42757 cat >>conftest.$ac_ext <<_ACEOF
42758 /* end confdefs.h. */
42759 #include <pthread.h>
42760 int
42761 main ()
42762 {
42763
42764 pthread_mutexattr_t attr;
42765 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42766
42767 ;
42768 return 0;
42769 }
42770 _ACEOF
42771 rm -f conftest.$ac_objext
42772 if { (ac_try="$ac_compile"
42773 case "(($ac_try" in
42774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42775 *) ac_try_echo=$ac_try;;
42776 esac
42777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42778 (eval "$ac_compile") 2>conftest.er1
42779 ac_status=$?
42780 grep -v '^ *+' conftest.er1 >conftest.err
42781 rm -f conftest.er1
42782 cat conftest.err >&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } && {
42785 test -z "$ac_c_werror_flag" ||
42786 test ! -s conftest.err
42787 } && test -s conftest.$ac_objext; then
42788 wx_cv_func_pthread_mutexattr_settype_decl=yes
42789 else
42790 echo "$as_me: failed program was:" >&5
42791 sed 's/^/| /' conftest.$ac_ext >&5
42792
42793 wx_cv_func_pthread_mutexattr_settype_decl=no
42794
42795 fi
42796
42797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42798
42799 fi
42800 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42801 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42802 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42803 cat >>confdefs.h <<\_ACEOF
42804 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42805 _ACEOF
42806
42807 fi
42808 else
42809 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42810 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42811 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42812 echo $ECHO_N "(cached) $ECHO_C" >&6
42813 else
42814
42815 cat >conftest.$ac_ext <<_ACEOF
42816 /* confdefs.h. */
42817 _ACEOF
42818 cat confdefs.h >>conftest.$ac_ext
42819 cat >>conftest.$ac_ext <<_ACEOF
42820 /* end confdefs.h. */
42821 #include <pthread.h>
42822 int
42823 main ()
42824 {
42825
42826 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42827
42828 ;
42829 return 0;
42830 }
42831 _ACEOF
42832 rm -f conftest.$ac_objext
42833 if { (ac_try="$ac_compile"
42834 case "(($ac_try" in
42835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42836 *) ac_try_echo=$ac_try;;
42837 esac
42838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42839 (eval "$ac_compile") 2>conftest.er1
42840 ac_status=$?
42841 grep -v '^ *+' conftest.er1 >conftest.err
42842 rm -f conftest.er1
42843 cat conftest.err >&5
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); } && {
42846 test -z "$ac_c_werror_flag" ||
42847 test ! -s conftest.err
42848 } && test -s conftest.$ac_objext; then
42849
42850 wx_cv_type_pthread_rec_mutex_init=yes
42851
42852 else
42853 echo "$as_me: failed program was:" >&5
42854 sed 's/^/| /' conftest.$ac_ext >&5
42855
42856
42857 wx_cv_type_pthread_rec_mutex_init=no
42858
42859
42860 fi
42861
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863
42864 fi
42865 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42866 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42867 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42868 cat >>confdefs.h <<\_ACEOF
42869 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42870 _ACEOF
42871
42872 else
42873 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42874 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42875 fi
42876 fi
42877 fi
42878
42879 else
42880 if test "$wxUSE_THREADS" = "yes" ; then
42881 case "${host}" in
42882 *-*-mingw32* )
42883 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42884 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42885 if test "${wx_cv_cflags_mthread+set}" = set; then
42886 echo $ECHO_N "(cached) $ECHO_C" >&6
42887 else
42888
42889 CFLAGS_OLD="$CFLAGS"
42890 CFLAGS="-mthreads $CFLAGS"
42891 cat >conftest.$ac_ext <<_ACEOF
42892 /* confdefs.h. */
42893 _ACEOF
42894 cat confdefs.h >>conftest.$ac_ext
42895 cat >>conftest.$ac_ext <<_ACEOF
42896 /* end confdefs.h. */
42897
42898 int
42899 main ()
42900 {
42901
42902 ;
42903 return 0;
42904 }
42905 _ACEOF
42906 rm -f conftest.$ac_objext
42907 if { (ac_try="$ac_compile"
42908 case "(($ac_try" in
42909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42910 *) ac_try_echo=$ac_try;;
42911 esac
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_compile") 2>conftest.er1
42914 ac_status=$?
42915 grep -v '^ *+' conftest.er1 >conftest.err
42916 rm -f conftest.er1
42917 cat conftest.err >&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_c_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest.$ac_objext; then
42923 wx_cv_cflags_mthread=yes
42924 else
42925 echo "$as_me: failed program was:" >&5
42926 sed 's/^/| /' conftest.$ac_ext >&5
42927
42928 wx_cv_cflags_mthread=no
42929
42930 fi
42931
42932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42933
42934
42935 fi
42936 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42937 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42938
42939 if test "$wx_cv_cflags_mthread" = "yes"; then
42940 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42941 LDFLAGS="$LDFLAGS -mthreads"
42942 else
42943 CFLAGS="$CFLAGS_OLD"
42944 fi
42945 ;;
42946 *-pc-os2*emx )
42947 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42948 LDFLAGS="$LDFLAGS -Zmt"
42949 ;;
42950 esac
42951 fi
42952 fi
42953
42954 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42955 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42956 if test "${ac_cv_func_localtime_r+set}" = set; then
42957 echo $ECHO_N "(cached) $ECHO_C" >&6
42958 else
42959 cat >conftest.$ac_ext <<_ACEOF
42960 /* confdefs.h. */
42961 _ACEOF
42962 cat confdefs.h >>conftest.$ac_ext
42963 cat >>conftest.$ac_ext <<_ACEOF
42964 /* end confdefs.h. */
42965 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42967 #define localtime_r innocuous_localtime_r
42968
42969 /* System header to define __stub macros and hopefully few prototypes,
42970 which can conflict with char localtime_r (); below.
42971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42972 <limits.h> exists even on freestanding compilers. */
42973
42974 #ifdef __STDC__
42975 # include <limits.h>
42976 #else
42977 # include <assert.h>
42978 #endif
42979
42980 #undef localtime_r
42981
42982 /* Override any GCC internal prototype to avoid an error.
42983 Use char because int might match the return type of a GCC
42984 builtin and then its argument prototype would still apply. */
42985 #ifdef __cplusplus
42986 extern "C"
42987 #endif
42988 char localtime_r ();
42989 /* The GNU C library defines this for functions which it implements
42990 to always fail with ENOSYS. Some functions are actually named
42991 something starting with __ and the normal name is an alias. */
42992 #if defined __stub_localtime_r || defined __stub___localtime_r
42993 choke me
42994 #endif
42995
42996 int
42997 main ()
42998 {
42999 return localtime_r ();
43000 ;
43001 return 0;
43002 }
43003 _ACEOF
43004 rm -f conftest.$ac_objext conftest$ac_exeext
43005 if { (ac_try="$ac_link"
43006 case "(($ac_try" in
43007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43008 *) ac_try_echo=$ac_try;;
43009 esac
43010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43011 (eval "$ac_link") 2>conftest.er1
43012 ac_status=$?
43013 grep -v '^ *+' conftest.er1 >conftest.err
43014 rm -f conftest.er1
43015 cat conftest.err >&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); } && {
43018 test -z "$ac_c_werror_flag" ||
43019 test ! -s conftest.err
43020 } && test -s conftest$ac_exeext &&
43021 $as_test_x conftest$ac_exeext; then
43022 ac_cv_func_localtime_r=yes
43023 else
43024 echo "$as_me: failed program was:" >&5
43025 sed 's/^/| /' conftest.$ac_ext >&5
43026
43027 ac_cv_func_localtime_r=no
43028 fi
43029
43030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43031 conftest$ac_exeext conftest.$ac_ext
43032 fi
43033 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43034 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43035 if test $ac_cv_func_localtime_r = yes; then
43036 cat >>confdefs.h <<\_ACEOF
43037 #define HAVE_LOCALTIME_R 1
43038 _ACEOF
43039
43040 fi
43041
43042 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43043 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43044 if test "${ac_cv_func_gmtime_r+set}" = set; then
43045 echo $ECHO_N "(cached) $ECHO_C" >&6
43046 else
43047 cat >conftest.$ac_ext <<_ACEOF
43048 /* confdefs.h. */
43049 _ACEOF
43050 cat confdefs.h >>conftest.$ac_ext
43051 cat >>conftest.$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43053 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43055 #define gmtime_r innocuous_gmtime_r
43056
43057 /* System header to define __stub macros and hopefully few prototypes,
43058 which can conflict with char gmtime_r (); below.
43059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43060 <limits.h> exists even on freestanding compilers. */
43061
43062 #ifdef __STDC__
43063 # include <limits.h>
43064 #else
43065 # include <assert.h>
43066 #endif
43067
43068 #undef gmtime_r
43069
43070 /* Override any GCC internal prototype to avoid an error.
43071 Use char because int might match the return type of a GCC
43072 builtin and then its argument prototype would still apply. */
43073 #ifdef __cplusplus
43074 extern "C"
43075 #endif
43076 char gmtime_r ();
43077 /* The GNU C library defines this for functions which it implements
43078 to always fail with ENOSYS. Some functions are actually named
43079 something starting with __ and the normal name is an alias. */
43080 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43081 choke me
43082 #endif
43083
43084 int
43085 main ()
43086 {
43087 return gmtime_r ();
43088 ;
43089 return 0;
43090 }
43091 _ACEOF
43092 rm -f conftest.$ac_objext conftest$ac_exeext
43093 if { (ac_try="$ac_link"
43094 case "(($ac_try" in
43095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43096 *) ac_try_echo=$ac_try;;
43097 esac
43098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43099 (eval "$ac_link") 2>conftest.er1
43100 ac_status=$?
43101 grep -v '^ *+' conftest.er1 >conftest.err
43102 rm -f conftest.er1
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } && {
43106 test -z "$ac_c_werror_flag" ||
43107 test ! -s conftest.err
43108 } && test -s conftest$ac_exeext &&
43109 $as_test_x conftest$ac_exeext; then
43110 ac_cv_func_gmtime_r=yes
43111 else
43112 echo "$as_me: failed program was:" >&5
43113 sed 's/^/| /' conftest.$ac_ext >&5
43114
43115 ac_cv_func_gmtime_r=no
43116 fi
43117
43118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43119 conftest$ac_exeext conftest.$ac_ext
43120 fi
43121 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43122 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43123 if test $ac_cv_func_gmtime_r = yes; then
43124 cat >>confdefs.h <<\_ACEOF
43125 #define HAVE_GMTIME_R 1
43126 _ACEOF
43127
43128 fi
43129
43130 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43131 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43132 if test "${ac_cv_func_readdir_r+set}" = set; then
43133 echo $ECHO_N "(cached) $ECHO_C" >&6
43134 else
43135 cat >conftest.$ac_ext <<_ACEOF
43136 /* confdefs.h. */
43137 _ACEOF
43138 cat confdefs.h >>conftest.$ac_ext
43139 cat >>conftest.$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43141 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43143 #define readdir_r innocuous_readdir_r
43144
43145 /* System header to define __stub macros and hopefully few prototypes,
43146 which can conflict with char readdir_r (); below.
43147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43148 <limits.h> exists even on freestanding compilers. */
43149
43150 #ifdef __STDC__
43151 # include <limits.h>
43152 #else
43153 # include <assert.h>
43154 #endif
43155
43156 #undef readdir_r
43157
43158 /* Override any GCC internal prototype to avoid an error.
43159 Use char because int might match the return type of a GCC
43160 builtin and then its argument prototype would still apply. */
43161 #ifdef __cplusplus
43162 extern "C"
43163 #endif
43164 char readdir_r ();
43165 /* The GNU C library defines this for functions which it implements
43166 to always fail with ENOSYS. Some functions are actually named
43167 something starting with __ and the normal name is an alias. */
43168 #if defined __stub_readdir_r || defined __stub___readdir_r
43169 choke me
43170 #endif
43171
43172 int
43173 main ()
43174 {
43175 return readdir_r ();
43176 ;
43177 return 0;
43178 }
43179 _ACEOF
43180 rm -f conftest.$ac_objext conftest$ac_exeext
43181 if { (ac_try="$ac_link"
43182 case "(($ac_try" in
43183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43184 *) ac_try_echo=$ac_try;;
43185 esac
43186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43187 (eval "$ac_link") 2>conftest.er1
43188 ac_status=$?
43189 grep -v '^ *+' conftest.er1 >conftest.err
43190 rm -f conftest.er1
43191 cat conftest.err >&5
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); } && {
43194 test -z "$ac_c_werror_flag" ||
43195 test ! -s conftest.err
43196 } && test -s conftest$ac_exeext &&
43197 $as_test_x conftest$ac_exeext; then
43198 ac_cv_func_readdir_r=yes
43199 else
43200 echo "$as_me: failed program was:" >&5
43201 sed 's/^/| /' conftest.$ac_ext >&5
43202
43203 ac_cv_func_readdir_r=no
43204 fi
43205
43206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43207 conftest$ac_exeext conftest.$ac_ext
43208 fi
43209 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43210 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43211 if test $ac_cv_func_readdir_r = yes; then
43212 cat >>confdefs.h <<\_ACEOF
43213 #define HAVE_READDIR_R 1
43214 _ACEOF
43215
43216 fi
43217
43218
43219
43220
43221 ac_ext=c
43222 ac_cpp='$CPP $CPPFLAGS'
43223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43226
43227 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43228 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43229
43230 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43231 echo $ECHO_N "(cached) $ECHO_C" >&6
43232 else
43233
43234
43235 ################################################################
43236
43237 ac_cv_func_which_gethostbyname_r=unknown
43238
43239 #
43240 # ONE ARGUMENT (sanity check)
43241 #
43242
43243 # This should fail, as there is no variant of gethostbyname_r() that takes
43244 # a single argument. If it actually compiles, then we can assume that
43245 # netdb.h is not declaring the function, and the compiler is thereby
43246 # assuming an implicit prototype. In which case, we're out of luck.
43247 #
43248 cat >conftest.$ac_ext <<_ACEOF
43249 /* confdefs.h. */
43250 _ACEOF
43251 cat confdefs.h >>conftest.$ac_ext
43252 cat >>conftest.$ac_ext <<_ACEOF
43253 /* end confdefs.h. */
43254 #include <netdb.h>
43255 int
43256 main ()
43257 {
43258
43259 char *name = "www.gnu.org";
43260 (void)gethostbyname_r(name) /* ; */
43261
43262 ;
43263 return 0;
43264 }
43265 _ACEOF
43266 rm -f conftest.$ac_objext
43267 if { (ac_try="$ac_compile"
43268 case "(($ac_try" in
43269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43270 *) ac_try_echo=$ac_try;;
43271 esac
43272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43273 (eval "$ac_compile") 2>conftest.er1
43274 ac_status=$?
43275 grep -v '^ *+' conftest.er1 >conftest.err
43276 rm -f conftest.er1
43277 cat conftest.err >&5
43278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279 (exit $ac_status); } && {
43280 test -z "$ac_c_werror_flag" ||
43281 test ! -s conftest.err
43282 } && test -s conftest.$ac_objext; then
43283 ac_cv_func_which_gethostbyname_r=no
43284 else
43285 echo "$as_me: failed program was:" >&5
43286 sed 's/^/| /' conftest.$ac_ext >&5
43287
43288
43289 fi
43290
43291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43292
43293 #
43294 # SIX ARGUMENTS
43295 # (e.g. Linux)
43296 #
43297
43298 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43299
43300 cat >conftest.$ac_ext <<_ACEOF
43301 /* confdefs.h. */
43302 _ACEOF
43303 cat confdefs.h >>conftest.$ac_ext
43304 cat >>conftest.$ac_ext <<_ACEOF
43305 /* end confdefs.h. */
43306 #include <netdb.h>
43307 int
43308 main ()
43309 {
43310
43311 char *name = "www.gnu.org";
43312 struct hostent ret, *retp;
43313 char buf[1024];
43314 int buflen = 1024;
43315 int my_h_errno;
43316 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43317
43318 ;
43319 return 0;
43320 }
43321 _ACEOF
43322 rm -f conftest.$ac_objext
43323 if { (ac_try="$ac_compile"
43324 case "(($ac_try" in
43325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43326 *) ac_try_echo=$ac_try;;
43327 esac
43328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43329 (eval "$ac_compile") 2>conftest.er1
43330 ac_status=$?
43331 grep -v '^ *+' conftest.er1 >conftest.err
43332 rm -f conftest.er1
43333 cat conftest.err >&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); } && {
43336 test -z "$ac_c_werror_flag" ||
43337 test ! -s conftest.err
43338 } && test -s conftest.$ac_objext; then
43339 ac_cv_func_which_gethostbyname_r=six
43340 else
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.$ac_ext >&5
43343
43344
43345 fi
43346
43347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43348
43349 fi
43350
43351 #
43352 # FIVE ARGUMENTS
43353 # (e.g. Solaris)
43354 #
43355
43356 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43357
43358 cat >conftest.$ac_ext <<_ACEOF
43359 /* confdefs.h. */
43360 _ACEOF
43361 cat confdefs.h >>conftest.$ac_ext
43362 cat >>conftest.$ac_ext <<_ACEOF
43363 /* end confdefs.h. */
43364 #include <netdb.h>
43365 int
43366 main ()
43367 {
43368
43369 char *name = "www.gnu.org";
43370 struct hostent ret;
43371 char buf[1024];
43372 int buflen = 1024;
43373 int my_h_errno;
43374 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43375
43376 ;
43377 return 0;
43378 }
43379 _ACEOF
43380 rm -f conftest.$ac_objext
43381 if { (ac_try="$ac_compile"
43382 case "(($ac_try" in
43383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43384 *) ac_try_echo=$ac_try;;
43385 esac
43386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43387 (eval "$ac_compile") 2>conftest.er1
43388 ac_status=$?
43389 grep -v '^ *+' conftest.er1 >conftest.err
43390 rm -f conftest.er1
43391 cat conftest.err >&5
43392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43393 (exit $ac_status); } && {
43394 test -z "$ac_c_werror_flag" ||
43395 test ! -s conftest.err
43396 } && test -s conftest.$ac_objext; then
43397 ac_cv_func_which_gethostbyname_r=five
43398 else
43399 echo "$as_me: failed program was:" >&5
43400 sed 's/^/| /' conftest.$ac_ext >&5
43401
43402
43403 fi
43404
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406
43407 fi
43408
43409 #
43410 # THREE ARGUMENTS
43411 # (e.g. AIX, HP-UX, Tru64)
43412 #
43413
43414 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43415
43416 cat >conftest.$ac_ext <<_ACEOF
43417 /* confdefs.h. */
43418 _ACEOF
43419 cat confdefs.h >>conftest.$ac_ext
43420 cat >>conftest.$ac_ext <<_ACEOF
43421 /* end confdefs.h. */
43422 #include <netdb.h>
43423 int
43424 main ()
43425 {
43426
43427 char *name = "www.gnu.org";
43428 struct hostent ret;
43429 struct hostent_data data;
43430 (void)gethostbyname_r(name, &ret, &data) /* ; */
43431
43432 ;
43433 return 0;
43434 }
43435 _ACEOF
43436 rm -f conftest.$ac_objext
43437 if { (ac_try="$ac_compile"
43438 case "(($ac_try" in
43439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43440 *) ac_try_echo=$ac_try;;
43441 esac
43442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43443 (eval "$ac_compile") 2>conftest.er1
43444 ac_status=$?
43445 grep -v '^ *+' conftest.er1 >conftest.err
43446 rm -f conftest.er1
43447 cat conftest.err >&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); } && {
43450 test -z "$ac_c_werror_flag" ||
43451 test ! -s conftest.err
43452 } && test -s conftest.$ac_objext; then
43453 ac_cv_func_which_gethostbyname_r=three
43454 else
43455 echo "$as_me: failed program was:" >&5
43456 sed 's/^/| /' conftest.$ac_ext >&5
43457
43458
43459 fi
43460
43461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43462
43463 fi
43464
43465 ################################################################
43466
43467
43468 fi
43469
43470 case "$ac_cv_func_which_gethostbyname_r" in
43471 three)
43472 { echo "$as_me:$LINENO: result: three" >&5
43473 echo "${ECHO_T}three" >&6; }
43474 cat >>confdefs.h <<\_ACEOF
43475 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43476 _ACEOF
43477
43478 ;;
43479
43480 five)
43481 { echo "$as_me:$LINENO: result: five" >&5
43482 echo "${ECHO_T}five" >&6; }
43483 cat >>confdefs.h <<\_ACEOF
43484 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43485 _ACEOF
43486
43487 ;;
43488
43489 six)
43490 { echo "$as_me:$LINENO: result: six" >&5
43491 echo "${ECHO_T}six" >&6; }
43492 cat >>confdefs.h <<\_ACEOF
43493 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43494 _ACEOF
43495
43496 ;;
43497
43498 no)
43499 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43500 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43501 ;;
43502
43503 unknown)
43504 { echo "$as_me:$LINENO: result: can't tell" >&5
43505 echo "${ECHO_T}can't tell" >&6; }
43506 ;;
43507
43508 *)
43509 { { echo "$as_me:$LINENO: error: internal error" >&5
43510 echo "$as_me: error: internal error" >&2;}
43511 { (exit 1); exit 1; }; }
43512 ;;
43513 esac
43514
43515 ac_ext=c
43516 ac_cpp='$CPP $CPPFLAGS'
43517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43520
43521
43522
43523 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43524 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43525 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43526 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43527 if test "${ac_cv_func_gethostbyname+set}" = set; then
43528 echo $ECHO_N "(cached) $ECHO_C" >&6
43529 else
43530 cat >conftest.$ac_ext <<_ACEOF
43531 /* confdefs.h. */
43532 _ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43538 #define gethostbyname innocuous_gethostbyname
43539
43540 /* System header to define __stub macros and hopefully few prototypes,
43541 which can conflict with char gethostbyname (); below.
43542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43543 <limits.h> exists even on freestanding compilers. */
43544
43545 #ifdef __STDC__
43546 # include <limits.h>
43547 #else
43548 # include <assert.h>
43549 #endif
43550
43551 #undef gethostbyname
43552
43553 /* Override any GCC internal prototype to avoid an error.
43554 Use char because int might match the return type of a GCC
43555 builtin and then its argument prototype would still apply. */
43556 #ifdef __cplusplus
43557 extern "C"
43558 #endif
43559 char gethostbyname ();
43560 /* The GNU C library defines this for functions which it implements
43561 to always fail with ENOSYS. Some functions are actually named
43562 something starting with __ and the normal name is an alias. */
43563 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43564 choke me
43565 #endif
43566
43567 int
43568 main ()
43569 {
43570 return gethostbyname ();
43571 ;
43572 return 0;
43573 }
43574 _ACEOF
43575 rm -f conftest.$ac_objext conftest$ac_exeext
43576 if { (ac_try="$ac_link"
43577 case "(($ac_try" in
43578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43579 *) ac_try_echo=$ac_try;;
43580 esac
43581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43582 (eval "$ac_link") 2>conftest.er1
43583 ac_status=$?
43584 grep -v '^ *+' conftest.er1 >conftest.err
43585 rm -f conftest.er1
43586 cat conftest.err >&5
43587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588 (exit $ac_status); } && {
43589 test -z "$ac_c_werror_flag" ||
43590 test ! -s conftest.err
43591 } && test -s conftest$ac_exeext &&
43592 $as_test_x conftest$ac_exeext; then
43593 ac_cv_func_gethostbyname=yes
43594 else
43595 echo "$as_me: failed program was:" >&5
43596 sed 's/^/| /' conftest.$ac_ext >&5
43597
43598 ac_cv_func_gethostbyname=no
43599 fi
43600
43601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43602 conftest$ac_exeext conftest.$ac_ext
43603 fi
43604 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43605 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43606 if test $ac_cv_func_gethostbyname = yes; then
43607 cat >>confdefs.h <<\_ACEOF
43608 #define HAVE_GETHOSTBYNAME 1
43609 _ACEOF
43610
43611 fi
43612
43613 fi
43614
43615 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43616 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43617 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43618 echo $ECHO_N "(cached) $ECHO_C" >&6
43619 else
43620
43621 ac_ext=cpp
43622 ac_cpp='$CXXCPP $CPPFLAGS'
43623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43626
43627
43628 cat >conftest.$ac_ext <<_ACEOF
43629 /* confdefs.h. */
43630 _ACEOF
43631 cat confdefs.h >>conftest.$ac_ext
43632 cat >>conftest.$ac_ext <<_ACEOF
43633 /* end confdefs.h. */
43634 #include <netdb.h>
43635 int
43636 main ()
43637 {
43638
43639 char *name;
43640 char *proto;
43641 struct servent *se, *res;
43642 char buffer[2048];
43643 int buflen = 2048;
43644 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43645
43646 ;
43647 return 0;
43648 }
43649 _ACEOF
43650 rm -f conftest.$ac_objext
43651 if { (ac_try="$ac_compile"
43652 case "(($ac_try" in
43653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43654 *) ac_try_echo=$ac_try;;
43655 esac
43656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43657 (eval "$ac_compile") 2>conftest.er1
43658 ac_status=$?
43659 grep -v '^ *+' conftest.er1 >conftest.err
43660 rm -f conftest.er1
43661 cat conftest.err >&5
43662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43663 (exit $ac_status); } && {
43664 test -z "$ac_cxx_werror_flag" ||
43665 test ! -s conftest.err
43666 } && test -s conftest.$ac_objext; then
43667 ac_cv_func_which_getservbyname_r=six
43668 else
43669 echo "$as_me: failed program was:" >&5
43670 sed 's/^/| /' conftest.$ac_ext >&5
43671
43672
43673 cat >conftest.$ac_ext <<_ACEOF
43674 /* confdefs.h. */
43675 _ACEOF
43676 cat confdefs.h >>conftest.$ac_ext
43677 cat >>conftest.$ac_ext <<_ACEOF
43678 /* end confdefs.h. */
43679 #include <netdb.h>
43680 int
43681 main ()
43682 {
43683
43684 char *name;
43685 char *proto;
43686 struct servent *se;
43687 char buffer[2048];
43688 int buflen = 2048;
43689 (void) getservbyname_r(name, proto, se, buffer, buflen)
43690
43691 ;
43692 return 0;
43693 }
43694 _ACEOF
43695 rm -f conftest.$ac_objext
43696 if { (ac_try="$ac_compile"
43697 case "(($ac_try" in
43698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43699 *) ac_try_echo=$ac_try;;
43700 esac
43701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43702 (eval "$ac_compile") 2>conftest.er1
43703 ac_status=$?
43704 grep -v '^ *+' conftest.er1 >conftest.err
43705 rm -f conftest.er1
43706 cat conftest.err >&5
43707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43708 (exit $ac_status); } && {
43709 test -z "$ac_cxx_werror_flag" ||
43710 test ! -s conftest.err
43711 } && test -s conftest.$ac_objext; then
43712 ac_cv_func_which_getservbyname_r=five
43713 else
43714 echo "$as_me: failed program was:" >&5
43715 sed 's/^/| /' conftest.$ac_ext >&5
43716
43717
43718 cat >conftest.$ac_ext <<_ACEOF
43719 /* confdefs.h. */
43720 _ACEOF
43721 cat confdefs.h >>conftest.$ac_ext
43722 cat >>conftest.$ac_ext <<_ACEOF
43723 /* end confdefs.h. */
43724 #include <netdb.h>
43725 int
43726 main ()
43727 {
43728
43729 char *name;
43730 char *proto;
43731 struct servent *se;
43732 struct servent_data data;
43733 (void) getservbyname_r(name, proto, se, &data);
43734
43735 ;
43736 return 0;
43737 }
43738 _ACEOF
43739 rm -f conftest.$ac_objext
43740 if { (ac_try="$ac_compile"
43741 case "(($ac_try" in
43742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43743 *) ac_try_echo=$ac_try;;
43744 esac
43745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43746 (eval "$ac_compile") 2>conftest.er1
43747 ac_status=$?
43748 grep -v '^ *+' conftest.er1 >conftest.err
43749 rm -f conftest.er1
43750 cat conftest.err >&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); } && {
43753 test -z "$ac_cxx_werror_flag" ||
43754 test ! -s conftest.err
43755 } && test -s conftest.$ac_objext; then
43756 ac_cv_func_which_getservbyname_r=four
43757 else
43758 echo "$as_me: failed program was:" >&5
43759 sed 's/^/| /' conftest.$ac_ext >&5
43760
43761 ac_cv_func_which_getservbyname_r=no
43762
43763 fi
43764
43765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43766
43767
43768 fi
43769
43770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43771
43772
43773 fi
43774
43775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43776 ac_ext=c
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43781
43782
43783
43784 fi
43785 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43786 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43787
43788 if test $ac_cv_func_which_getservbyname_r = six; then
43789 cat >>confdefs.h <<\_ACEOF
43790 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43791 _ACEOF
43792
43793 elif test $ac_cv_func_which_getservbyname_r = five; then
43794 cat >>confdefs.h <<\_ACEOF
43795 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43796 _ACEOF
43797
43798 elif test $ac_cv_func_which_getservbyname_r = four; then
43799 cat >>confdefs.h <<\_ACEOF
43800 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43801 _ACEOF
43802
43803 fi
43804
43805
43806 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43807 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43808
43809 for ac_func in getservbyname
43810 do
43811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43814 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43815 echo $ECHO_N "(cached) $ECHO_C" >&6
43816 else
43817 cat >conftest.$ac_ext <<_ACEOF
43818 /* confdefs.h. */
43819 _ACEOF
43820 cat confdefs.h >>conftest.$ac_ext
43821 cat >>conftest.$ac_ext <<_ACEOF
43822 /* end confdefs.h. */
43823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43825 #define $ac_func innocuous_$ac_func
43826
43827 /* System header to define __stub macros and hopefully few prototypes,
43828 which can conflict with char $ac_func (); below.
43829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43830 <limits.h> exists even on freestanding compilers. */
43831
43832 #ifdef __STDC__
43833 # include <limits.h>
43834 #else
43835 # include <assert.h>
43836 #endif
43837
43838 #undef $ac_func
43839
43840 /* Override any GCC internal prototype to avoid an error.
43841 Use char because int might match the return type of a GCC
43842 builtin and then its argument prototype would still apply. */
43843 #ifdef __cplusplus
43844 extern "C"
43845 #endif
43846 char $ac_func ();
43847 /* The GNU C library defines this for functions which it implements
43848 to always fail with ENOSYS. Some functions are actually named
43849 something starting with __ and the normal name is an alias. */
43850 #if defined __stub_$ac_func || defined __stub___$ac_func
43851 choke me
43852 #endif
43853
43854 int
43855 main ()
43856 {
43857 return $ac_func ();
43858 ;
43859 return 0;
43860 }
43861 _ACEOF
43862 rm -f conftest.$ac_objext conftest$ac_exeext
43863 if { (ac_try="$ac_link"
43864 case "(($ac_try" in
43865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43866 *) ac_try_echo=$ac_try;;
43867 esac
43868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43869 (eval "$ac_link") 2>conftest.er1
43870 ac_status=$?
43871 grep -v '^ *+' conftest.er1 >conftest.err
43872 rm -f conftest.er1
43873 cat conftest.err >&5
43874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43875 (exit $ac_status); } && {
43876 test -z "$ac_c_werror_flag" ||
43877 test ! -s conftest.err
43878 } && test -s conftest$ac_exeext &&
43879 $as_test_x conftest$ac_exeext; 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 conftest_ipa8_conftest.oo \
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_GETSERVBYNAME 1
43900 _ACEOF
43901
43902 fi
43903 done
43904
43905 fi
43906
43907 if test "$wxUSE_THREADS" = "yes"; then
43908 cat >>confdefs.h <<\_ACEOF
43909 #define wxUSE_THREADS 1
43910 _ACEOF
43911
43912
43913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43914 else
43915 if test "$wx_cv_func_strtok_r" = "yes"; then
43916 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43917 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43918 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43919 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43920 { echo "$as_me:$LINENO: result: yes" >&5
43921 echo "${ECHO_T}yes" >&6; }
43922 else
43923 { echo "$as_me:$LINENO: result: no" >&5
43924 echo "${ECHO_T}no" >&6; }
43925 fi
43926 fi
43927 fi
43928
43929 if test "$WXGTK20" = 1 ; then
43930 cat >>confdefs.h <<_ACEOF
43931 #define __WXGTK20__ $WXGTK20
43932 _ACEOF
43933
43934 WXGTK12=1
43935 fi
43936
43937 if test "$WXGTK12" = 1 ; then
43938 cat >>confdefs.h <<_ACEOF
43939 #define __WXGTK12__ $WXGTK12
43940 _ACEOF
43941
43942 fi
43943
43944 if test "$WXGTK127" = 1 ; then
43945 cat >>confdefs.h <<_ACEOF
43946 #define __WXGTK127__ $WXGTK127
43947 _ACEOF
43948
43949 fi
43950
43951 if test "$WXGPE" = 1 ; then
43952 cat >>confdefs.h <<_ACEOF
43953 #define __WXGPE__ $WXGPE
43954 _ACEOF
43955
43956 fi
43957
43958 DEBUG_CFLAGS=
43959 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43960 DEBUG_CFLAGS="-g"
43961 wxUSE_OPTIMISE=no
43962 fi
43963
43964 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43965 wxUSE_DEBUG_INFO=yes
43966 if test "$GCC" = yes; then
43967 DEBUG_CFLAGS="-ggdb"
43968 fi
43969 fi
43970
43971 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define WXDEBUG 1
43974 _ACEOF
43975
43976 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43977 else
43978 if test "$wxUSE_GTK" = 1 ; then
43979 if test "x$wxGTK_VERSION" = "x1" ; then
43980 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43981 fi
43982 fi
43983 fi
43984
43985 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43986 cat >>confdefs.h <<\_ACEOF
43987 #define wxUSE_MEMORY_TRACING 1
43988 _ACEOF
43989
43990 cat >>confdefs.h <<\_ACEOF
43991 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43992 _ACEOF
43993
43994 cat >>confdefs.h <<\_ACEOF
43995 #define wxUSE_DEBUG_NEW_ALWAYS 1
43996 _ACEOF
43997
43998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43999 fi
44000
44001 if test "$wxUSE_DMALLOC" = "yes" ; then
44002 DMALLOC_LIBS="-ldmallocthcxx"
44003 fi
44004
44005 PROFILE_FLAGS=
44006 if test "$wxUSE_PROFILE" = "yes" ; then
44007 PROFILE_FLAGS=" -pg"
44008 fi
44009
44010 if test "$GCC" = "yes" ; then
44011 if test "$wxUSE_NO_RTTI" = "yes" ; then
44012 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44013 fi
44014 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44015 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44016 fi
44017 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44018 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44019 fi
44020
44021 case "${host}" in
44022 powerpc*-*-aix* )
44023 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44024 ;;
44025 *-hppa* )
44026 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44027 ;;
44028 esac
44029 fi
44030
44031 OPTIMISE_CFLAGS=
44032 if test "$wxUSE_OPTIMISE" = "no" ; then
44033 if test "$GCC" = yes ; then
44034 OPTIMISE_CFLAGS="-O0"
44035 fi
44036 else
44037 if test "$GCC" = yes ; then
44038 case "${host}" in
44039 *-pc-os2_emx | *-pc-os2-emx )
44040 OPTIMISE_CFLAGS="-O2"
44041 ;;
44042 *)
44043 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44044 ;;
44045 esac
44046 else
44047 OPTIMISE_CFLAGS="-O"
44048 fi
44049 fi
44050
44051
44052 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44053 cat >>confdefs.h <<\_ACEOF
44054 #define WXWIN_COMPATIBILITY_2_6 1
44055 _ACEOF
44056
44057
44058 WXWIN_COMPATIBILITY_2_8="yes"
44059 fi
44060
44061 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44062 cat >>confdefs.h <<\_ACEOF
44063 #define WXWIN_COMPATIBILITY_2_8 1
44064 _ACEOF
44065
44066 fi
44067
44068
44069 if test "$wxUSE_GUI" = "yes"; then
44070 cat >>confdefs.h <<\_ACEOF
44071 #define wxUSE_GUI 1
44072 _ACEOF
44073
44074
44075 fi
44076
44077
44078 if test "$wxUSE_UNIX" = "yes"; then
44079 cat >>confdefs.h <<\_ACEOF
44080 #define wxUSE_UNIX 1
44081 _ACEOF
44082
44083 fi
44084
44085
44086 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44087
44088 HAVE_DL_FUNCS=0
44089 HAVE_SHL_FUNCS=0
44090 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44091 if test "$USE_DARWIN" = 1; then
44092 HAVE_DL_FUNCS=1
44093 elif test "$USE_DOS" = 1; then
44094 HAVE_DL_FUNCS=0
44095 else
44096
44097 for ac_func in dlopen
44098 do
44099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44102 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44103 echo $ECHO_N "(cached) $ECHO_C" >&6
44104 else
44105 cat >conftest.$ac_ext <<_ACEOF
44106 /* confdefs.h. */
44107 _ACEOF
44108 cat confdefs.h >>conftest.$ac_ext
44109 cat >>conftest.$ac_ext <<_ACEOF
44110 /* end confdefs.h. */
44111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44113 #define $ac_func innocuous_$ac_func
44114
44115 /* System header to define __stub macros and hopefully few prototypes,
44116 which can conflict with char $ac_func (); below.
44117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44118 <limits.h> exists even on freestanding compilers. */
44119
44120 #ifdef __STDC__
44121 # include <limits.h>
44122 #else
44123 # include <assert.h>
44124 #endif
44125
44126 #undef $ac_func
44127
44128 /* Override any GCC internal prototype to avoid an error.
44129 Use char because int might match the return type of a GCC
44130 builtin and then its argument prototype would still apply. */
44131 #ifdef __cplusplus
44132 extern "C"
44133 #endif
44134 char $ac_func ();
44135 /* The GNU C library defines this for functions which it implements
44136 to always fail with ENOSYS. Some functions are actually named
44137 something starting with __ and the normal name is an alias. */
44138 #if defined __stub_$ac_func || defined __stub___$ac_func
44139 choke me
44140 #endif
44141
44142 int
44143 main ()
44144 {
44145 return $ac_func ();
44146 ;
44147 return 0;
44148 }
44149 _ACEOF
44150 rm -f conftest.$ac_objext conftest$ac_exeext
44151 if { (ac_try="$ac_link"
44152 case "(($ac_try" in
44153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44154 *) ac_try_echo=$ac_try;;
44155 esac
44156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44157 (eval "$ac_link") 2>conftest.er1
44158 ac_status=$?
44159 grep -v '^ *+' conftest.er1 >conftest.err
44160 rm -f conftest.er1
44161 cat conftest.err >&5
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); } && {
44164 test -z "$ac_c_werror_flag" ||
44165 test ! -s conftest.err
44166 } && test -s conftest$ac_exeext &&
44167 $as_test_x conftest$ac_exeext; then
44168 eval "$as_ac_var=yes"
44169 else
44170 echo "$as_me: failed program was:" >&5
44171 sed 's/^/| /' conftest.$ac_ext >&5
44172
44173 eval "$as_ac_var=no"
44174 fi
44175
44176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44177 conftest$ac_exeext conftest.$ac_ext
44178 fi
44179 ac_res=`eval echo '${'$as_ac_var'}'`
44180 { echo "$as_me:$LINENO: result: $ac_res" >&5
44181 echo "${ECHO_T}$ac_res" >&6; }
44182 if test `eval echo '${'$as_ac_var'}'` = yes; then
44183 cat >>confdefs.h <<_ACEOF
44184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44185 _ACEOF
44186
44187 cat >>confdefs.h <<\_ACEOF
44188 #define HAVE_DLOPEN 1
44189 _ACEOF
44190
44191 HAVE_DL_FUNCS=1
44192
44193 else
44194
44195 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44196 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44197 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44198 echo $ECHO_N "(cached) $ECHO_C" >&6
44199 else
44200 ac_check_lib_save_LIBS=$LIBS
44201 LIBS="-ldl $LIBS"
44202 cat >conftest.$ac_ext <<_ACEOF
44203 /* confdefs.h. */
44204 _ACEOF
44205 cat confdefs.h >>conftest.$ac_ext
44206 cat >>conftest.$ac_ext <<_ACEOF
44207 /* end confdefs.h. */
44208
44209 /* Override any GCC internal prototype to avoid an error.
44210 Use char because int might match the return type of a GCC
44211 builtin and then its argument prototype would still apply. */
44212 #ifdef __cplusplus
44213 extern "C"
44214 #endif
44215 char dlopen ();
44216 int
44217 main ()
44218 {
44219 return dlopen ();
44220 ;
44221 return 0;
44222 }
44223 _ACEOF
44224 rm -f conftest.$ac_objext conftest$ac_exeext
44225 if { (ac_try="$ac_link"
44226 case "(($ac_try" in
44227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44228 *) ac_try_echo=$ac_try;;
44229 esac
44230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44231 (eval "$ac_link") 2>conftest.er1
44232 ac_status=$?
44233 grep -v '^ *+' conftest.er1 >conftest.err
44234 rm -f conftest.er1
44235 cat conftest.err >&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); } && {
44238 test -z "$ac_c_werror_flag" ||
44239 test ! -s conftest.err
44240 } && test -s conftest$ac_exeext &&
44241 $as_test_x conftest$ac_exeext; then
44242 ac_cv_lib_dl_dlopen=yes
44243 else
44244 echo "$as_me: failed program was:" >&5
44245 sed 's/^/| /' conftest.$ac_ext >&5
44246
44247 ac_cv_lib_dl_dlopen=no
44248 fi
44249
44250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44251 conftest$ac_exeext conftest.$ac_ext
44252 LIBS=$ac_check_lib_save_LIBS
44253 fi
44254 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44255 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44256 if test $ac_cv_lib_dl_dlopen = yes; then
44257
44258 cat >>confdefs.h <<\_ACEOF
44259 #define HAVE_DLOPEN 1
44260 _ACEOF
44261
44262 HAVE_DL_FUNCS=1
44263 DL_LINK=" -ldl$DL_LINK"
44264
44265 else
44266
44267
44268 for ac_func in shl_load
44269 do
44270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44271 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44273 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44274 echo $ECHO_N "(cached) $ECHO_C" >&6
44275 else
44276 cat >conftest.$ac_ext <<_ACEOF
44277 /* confdefs.h. */
44278 _ACEOF
44279 cat confdefs.h >>conftest.$ac_ext
44280 cat >>conftest.$ac_ext <<_ACEOF
44281 /* end confdefs.h. */
44282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44284 #define $ac_func innocuous_$ac_func
44285
44286 /* System header to define __stub macros and hopefully few prototypes,
44287 which can conflict with char $ac_func (); below.
44288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44289 <limits.h> exists even on freestanding compilers. */
44290
44291 #ifdef __STDC__
44292 # include <limits.h>
44293 #else
44294 # include <assert.h>
44295 #endif
44296
44297 #undef $ac_func
44298
44299 /* Override any GCC internal prototype to avoid an error.
44300 Use char because int might match the return type of a GCC
44301 builtin and then its argument prototype would still apply. */
44302 #ifdef __cplusplus
44303 extern "C"
44304 #endif
44305 char $ac_func ();
44306 /* The GNU C library defines this for functions which it implements
44307 to always fail with ENOSYS. Some functions are actually named
44308 something starting with __ and the normal name is an alias. */
44309 #if defined __stub_$ac_func || defined __stub___$ac_func
44310 choke me
44311 #endif
44312
44313 int
44314 main ()
44315 {
44316 return $ac_func ();
44317 ;
44318 return 0;
44319 }
44320 _ACEOF
44321 rm -f conftest.$ac_objext conftest$ac_exeext
44322 if { (ac_try="$ac_link"
44323 case "(($ac_try" in
44324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44325 *) ac_try_echo=$ac_try;;
44326 esac
44327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44328 (eval "$ac_link") 2>conftest.er1
44329 ac_status=$?
44330 grep -v '^ *+' conftest.er1 >conftest.err
44331 rm -f conftest.er1
44332 cat conftest.err >&5
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); } && {
44335 test -z "$ac_c_werror_flag" ||
44336 test ! -s conftest.err
44337 } && test -s conftest$ac_exeext &&
44338 $as_test_x conftest$ac_exeext; then
44339 eval "$as_ac_var=yes"
44340 else
44341 echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.$ac_ext >&5
44343
44344 eval "$as_ac_var=no"
44345 fi
44346
44347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44348 conftest$ac_exeext conftest.$ac_ext
44349 fi
44350 ac_res=`eval echo '${'$as_ac_var'}'`
44351 { echo "$as_me:$LINENO: result: $ac_res" >&5
44352 echo "${ECHO_T}$ac_res" >&6; }
44353 if test `eval echo '${'$as_ac_var'}'` = yes; then
44354 cat >>confdefs.h <<_ACEOF
44355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44356 _ACEOF
44357
44358 cat >>confdefs.h <<\_ACEOF
44359 #define HAVE_SHL_LOAD 1
44360 _ACEOF
44361
44362 HAVE_SHL_FUNCS=1
44363
44364 else
44365
44366 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44367 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44368 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44369 echo $ECHO_N "(cached) $ECHO_C" >&6
44370 else
44371 ac_check_lib_save_LIBS=$LIBS
44372 LIBS="-lshl_load $LIBS"
44373 cat >conftest.$ac_ext <<_ACEOF
44374 /* confdefs.h. */
44375 _ACEOF
44376 cat confdefs.h >>conftest.$ac_ext
44377 cat >>conftest.$ac_ext <<_ACEOF
44378 /* end confdefs.h. */
44379
44380 /* Override any GCC internal prototype to avoid an error.
44381 Use char because int might match the return type of a GCC
44382 builtin and then its argument prototype would still apply. */
44383 #ifdef __cplusplus
44384 extern "C"
44385 #endif
44386 char dld ();
44387 int
44388 main ()
44389 {
44390 return dld ();
44391 ;
44392 return 0;
44393 }
44394 _ACEOF
44395 rm -f conftest.$ac_objext conftest$ac_exeext
44396 if { (ac_try="$ac_link"
44397 case "(($ac_try" in
44398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44399 *) ac_try_echo=$ac_try;;
44400 esac
44401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44402 (eval "$ac_link") 2>conftest.er1
44403 ac_status=$?
44404 grep -v '^ *+' conftest.er1 >conftest.err
44405 rm -f conftest.er1
44406 cat conftest.err >&5
44407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408 (exit $ac_status); } && {
44409 test -z "$ac_c_werror_flag" ||
44410 test ! -s conftest.err
44411 } && test -s conftest$ac_exeext &&
44412 $as_test_x conftest$ac_exeext; then
44413 ac_cv_lib_shl_load_dld=yes
44414 else
44415 echo "$as_me: failed program was:" >&5
44416 sed 's/^/| /' conftest.$ac_ext >&5
44417
44418 ac_cv_lib_shl_load_dld=no
44419 fi
44420
44421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44422 conftest$ac_exeext conftest.$ac_ext
44423 LIBS=$ac_check_lib_save_LIBS
44424 fi
44425 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44426 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44427 if test $ac_cv_lib_shl_load_dld = yes; then
44428
44429 HAVE_SHL_FUNCS=1
44430 DL_LINK=" -ldld$DL_LINK"
44431
44432 fi
44433
44434
44435 fi
44436 done
44437
44438
44439 fi
44440
44441
44442 fi
44443 done
44444
44445
44446 if test "$HAVE_DL_FUNCS" = 1; then
44447
44448 for ac_func in dlerror
44449 do
44450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44454 echo $ECHO_N "(cached) $ECHO_C" >&6
44455 else
44456 cat >conftest.$ac_ext <<_ACEOF
44457 /* confdefs.h. */
44458 _ACEOF
44459 cat confdefs.h >>conftest.$ac_ext
44460 cat >>conftest.$ac_ext <<_ACEOF
44461 /* end confdefs.h. */
44462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44464 #define $ac_func innocuous_$ac_func
44465
44466 /* System header to define __stub macros and hopefully few prototypes,
44467 which can conflict with char $ac_func (); below.
44468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44469 <limits.h> exists even on freestanding compilers. */
44470
44471 #ifdef __STDC__
44472 # include <limits.h>
44473 #else
44474 # include <assert.h>
44475 #endif
44476
44477 #undef $ac_func
44478
44479 /* Override any GCC internal prototype to avoid an error.
44480 Use char because int might match the return type of a GCC
44481 builtin and then its argument prototype would still apply. */
44482 #ifdef __cplusplus
44483 extern "C"
44484 #endif
44485 char $ac_func ();
44486 /* The GNU C library defines this for functions which it implements
44487 to always fail with ENOSYS. Some functions are actually named
44488 something starting with __ and the normal name is an alias. */
44489 #if defined __stub_$ac_func || defined __stub___$ac_func
44490 choke me
44491 #endif
44492
44493 int
44494 main ()
44495 {
44496 return $ac_func ();
44497 ;
44498 return 0;
44499 }
44500 _ACEOF
44501 rm -f conftest.$ac_objext conftest$ac_exeext
44502 if { (ac_try="$ac_link"
44503 case "(($ac_try" in
44504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44505 *) ac_try_echo=$ac_try;;
44506 esac
44507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44508 (eval "$ac_link") 2>conftest.er1
44509 ac_status=$?
44510 grep -v '^ *+' conftest.er1 >conftest.err
44511 rm -f conftest.er1
44512 cat conftest.err >&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } && {
44515 test -z "$ac_c_werror_flag" ||
44516 test ! -s conftest.err
44517 } && test -s conftest$ac_exeext &&
44518 $as_test_x conftest$ac_exeext; then
44519 eval "$as_ac_var=yes"
44520 else
44521 echo "$as_me: failed program was:" >&5
44522 sed 's/^/| /' conftest.$ac_ext >&5
44523
44524 eval "$as_ac_var=no"
44525 fi
44526
44527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44528 conftest$ac_exeext conftest.$ac_ext
44529 fi
44530 ac_res=`eval echo '${'$as_ac_var'}'`
44531 { echo "$as_me:$LINENO: result: $ac_res" >&5
44532 echo "${ECHO_T}$ac_res" >&6; }
44533 if test `eval echo '${'$as_ac_var'}'` = yes; then
44534 cat >>confdefs.h <<_ACEOF
44535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44536 _ACEOF
44537 cat >>confdefs.h <<\_ACEOF
44538 #define HAVE_DLERROR 1
44539 _ACEOF
44540
44541 else
44542
44543 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44544 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44545 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44546 echo $ECHO_N "(cached) $ECHO_C" >&6
44547 else
44548 ac_check_lib_save_LIBS=$LIBS
44549 LIBS="-ldl $LIBS"
44550 cat >conftest.$ac_ext <<_ACEOF
44551 /* confdefs.h. */
44552 _ACEOF
44553 cat confdefs.h >>conftest.$ac_ext
44554 cat >>conftest.$ac_ext <<_ACEOF
44555 /* end confdefs.h. */
44556
44557 /* Override any GCC internal prototype to avoid an error.
44558 Use char because int might match the return type of a GCC
44559 builtin and then its argument prototype would still apply. */
44560 #ifdef __cplusplus
44561 extern "C"
44562 #endif
44563 char dlerror ();
44564 int
44565 main ()
44566 {
44567 return dlerror ();
44568 ;
44569 return 0;
44570 }
44571 _ACEOF
44572 rm -f conftest.$ac_objext conftest$ac_exeext
44573 if { (ac_try="$ac_link"
44574 case "(($ac_try" in
44575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44576 *) ac_try_echo=$ac_try;;
44577 esac
44578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44579 (eval "$ac_link") 2>conftest.er1
44580 ac_status=$?
44581 grep -v '^ *+' conftest.er1 >conftest.err
44582 rm -f conftest.er1
44583 cat conftest.err >&5
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); } && {
44586 test -z "$ac_c_werror_flag" ||
44587 test ! -s conftest.err
44588 } && test -s conftest$ac_exeext &&
44589 $as_test_x conftest$ac_exeext; then
44590 ac_cv_lib_dl_dlerror=yes
44591 else
44592 echo "$as_me: failed program was:" >&5
44593 sed 's/^/| /' conftest.$ac_ext >&5
44594
44595 ac_cv_lib_dl_dlerror=no
44596 fi
44597
44598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44599 conftest$ac_exeext conftest.$ac_ext
44600 LIBS=$ac_check_lib_save_LIBS
44601 fi
44602 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44603 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44604 if test $ac_cv_lib_dl_dlerror = yes; then
44605 cat >>confdefs.h <<\_ACEOF
44606 #define HAVE_DLERROR 1
44607 _ACEOF
44608
44609 fi
44610
44611
44612
44613 fi
44614 done
44615
44616 fi
44617 fi
44618
44619 if test "$HAVE_DL_FUNCS" = 0; then
44620 if test "$HAVE_SHL_FUNCS" = 0; then
44621 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44622 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44623 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44624 wxUSE_DYNAMIC_LOADER=no
44625 wxUSE_DYNLIB_CLASS=no
44626 else
44627 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44628 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44629 fi
44630 fi
44631 fi
44632 fi
44633 fi
44634
44635 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44636 cat >>confdefs.h <<\_ACEOF
44637 #define wxUSE_DYNAMIC_LOADER 1
44638 _ACEOF
44639
44640 fi
44641 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44642 cat >>confdefs.h <<\_ACEOF
44643 #define wxUSE_DYNLIB_CLASS 1
44644 _ACEOF
44645
44646 fi
44647
44648
44649
44650 if test "$wxUSE_PLUGINS" = "yes" ; then
44651 if test "$wxUSE_SHARED" = "no" ; then
44652 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44653 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44654 wxUSE_PLUGINS=no
44655 fi
44656 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44657 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44658 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44659 wxUSE_PLUGINS=no
44660 fi
44661 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44662 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44663 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44664 wxUSE_PLUGINS=no
44665 fi
44666 if test "$wxUSE_PLUGINS" = "yes" ; then
44667 cat >>confdefs.h <<\_ACEOF
44668 #define wxUSE_PLUGINS 1
44669 _ACEOF
44670
44671 fi
44672 fi
44673
44674
44675 if test "$wxUSE_STL" = "yes"; then
44676 cat >>confdefs.h <<\_ACEOF
44677 #define wxUSE_STL 1
44678 _ACEOF
44679
44680 fi
44681
44682 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44683 cat >>confdefs.h <<\_ACEOF
44684 #define wxUSE_EXTENDED_RTTI 1
44685 _ACEOF
44686
44687 fi
44688
44689 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_APPLE_IEEE 1
44692 _ACEOF
44693
44694 fi
44695
44696 if test "$wxUSE_TIMER" = "yes"; then
44697 cat >>confdefs.h <<\_ACEOF
44698 #define wxUSE_TIMER 1
44699 _ACEOF
44700
44701 fi
44702
44703 if test "$USE_UNIX" = "1" ; then
44704 if test "$wxUSE_MGL" != 1; then
44705 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44706 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44707 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44708 echo $ECHO_N "(cached) $ECHO_C" >&6
44709 else
44710
44711 cat >conftest.$ac_ext <<_ACEOF
44712 /* confdefs.h. */
44713 _ACEOF
44714 cat confdefs.h >>conftest.$ac_ext
44715 cat >>conftest.$ac_ext <<_ACEOF
44716 /* end confdefs.h. */
44717
44718 #include <sys/ioctl.h>
44719 #include <sys/soundcard.h>
44720
44721 int
44722 main ()
44723 {
44724
44725 ioctl(0, SNDCTL_DSP_SPEED, 0);
44726
44727 ;
44728 return 0;
44729 }
44730 _ACEOF
44731 rm -f conftest.$ac_objext conftest$ac_exeext
44732 if { (ac_try="$ac_link"
44733 case "(($ac_try" in
44734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44735 *) ac_try_echo=$ac_try;;
44736 esac
44737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44738 (eval "$ac_link") 2>conftest.er1
44739 ac_status=$?
44740 grep -v '^ *+' conftest.er1 >conftest.err
44741 rm -f conftest.er1
44742 cat conftest.err >&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); } && {
44745 test -z "$ac_c_werror_flag" ||
44746 test ! -s conftest.err
44747 } && test -s conftest$ac_exeext &&
44748 $as_test_x conftest$ac_exeext; then
44749 ac_cv_header_sys_soundcard=yes
44750 else
44751 echo "$as_me: failed program was:" >&5
44752 sed 's/^/| /' conftest.$ac_ext >&5
44753
44754
44755 saveLibs="$LIBS"
44756 LIBS="$saveLibs -lossaudio"
44757 cat >conftest.$ac_ext <<_ACEOF
44758 /* confdefs.h. */
44759 _ACEOF
44760 cat confdefs.h >>conftest.$ac_ext
44761 cat >>conftest.$ac_ext <<_ACEOF
44762 /* end confdefs.h. */
44763
44764 #include <sys/ioctl.h>
44765 #include <sys/soundcard.h>
44766
44767 int
44768 main ()
44769 {
44770
44771 ioctl(0, SNDCTL_DSP_SPEED, 0);
44772
44773 ;
44774 return 0;
44775 }
44776 _ACEOF
44777 rm -f conftest.$ac_objext conftest$ac_exeext
44778 if { (ac_try="$ac_link"
44779 case "(($ac_try" in
44780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44781 *) ac_try_echo=$ac_try;;
44782 esac
44783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44784 (eval "$ac_link") 2>conftest.er1
44785 ac_status=$?
44786 grep -v '^ *+' conftest.er1 >conftest.err
44787 rm -f conftest.er1
44788 cat conftest.err >&5
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); } && {
44791 test -z "$ac_c_werror_flag" ||
44792 test ! -s conftest.err
44793 } && test -s conftest$ac_exeext &&
44794 $as_test_x conftest$ac_exeext; then
44795 ac_cv_header_sys_soundcard=yes
44796 else
44797 echo "$as_me: failed program was:" >&5
44798 sed 's/^/| /' conftest.$ac_ext >&5
44799
44800
44801 LIBS="$saveLibs"
44802 ac_cv_header_sys_soundcard=no
44803
44804
44805 fi
44806
44807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44808 conftest$ac_exeext conftest.$ac_ext
44809
44810
44811 fi
44812
44813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44814 conftest$ac_exeext conftest.$ac_ext
44815
44816 fi
44817 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44818 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44819 fi
44820
44821 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44822 cat >>confdefs.h <<\_ACEOF
44823 #define HAVE_SYS_SOUNDCARD_H 1
44824 _ACEOF
44825
44826 fi
44827 fi
44828
44829 WITH_PLUGIN_SDL=0
44830 if test "$wxUSE_SOUND" = "yes"; then
44831 if test "$USE_UNIX" = "1" ; then
44832 if test "$wxUSE_LIBSDL" != "no"; then
44833
44834 # Check whether --with-sdl-prefix was given.
44835 if test "${with_sdl_prefix+set}" = set; then
44836 withval=$with_sdl_prefix; sdl_prefix="$withval"
44837 else
44838 sdl_prefix=""
44839 fi
44840
44841
44842 # Check whether --with-sdl-exec-prefix was given.
44843 if test "${with_sdl_exec_prefix+set}" = set; then
44844 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44845 else
44846 sdl_exec_prefix=""
44847 fi
44848
44849 # Check whether --enable-sdltest was given.
44850 if test "${enable_sdltest+set}" = set; then
44851 enableval=$enable_sdltest;
44852 else
44853 enable_sdltest=yes
44854 fi
44855
44856
44857 if test x$sdl_exec_prefix != x ; then
44858 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44859 if test x${SDL_CONFIG+set} != xset ; then
44860 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44861 fi
44862 fi
44863 if test x$sdl_prefix != x ; then
44864 sdl_args="$sdl_args --prefix=$sdl_prefix"
44865 if test x${SDL_CONFIG+set} != xset ; then
44866 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44867 fi
44868 fi
44869
44870 if test "x$prefix" != xNONE; then
44871 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44872 fi
44873 # Extract the first word of "sdl-config", so it can be a program name with args.
44874 set dummy sdl-config; ac_word=$2
44875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44877 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44878 echo $ECHO_N "(cached) $ECHO_C" >&6
44879 else
44880 case $SDL_CONFIG in
44881 [\\/]* | ?:[\\/]*)
44882 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44883 ;;
44884 *)
44885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44886 for as_dir in $PATH
44887 do
44888 IFS=$as_save_IFS
44889 test -z "$as_dir" && as_dir=.
44890 for ac_exec_ext in '' $ac_executable_extensions; do
44891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44892 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44894 break 2
44895 fi
44896 done
44897 done
44898 IFS=$as_save_IFS
44899
44900 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44901 ;;
44902 esac
44903 fi
44904 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44905 if test -n "$SDL_CONFIG"; then
44906 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44907 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44908 else
44909 { echo "$as_me:$LINENO: result: no" >&5
44910 echo "${ECHO_T}no" >&6; }
44911 fi
44912
44913
44914 min_sdl_version=1.2.0
44915 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44916 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44917 no_sdl=""
44918 if test "$SDL_CONFIG" = "no" ; then
44919 no_sdl=yes
44920 else
44921 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44922 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44923
44924 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44926 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44928 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44930 if test "x$enable_sdltest" = "xyes" ; then
44931 ac_save_CFLAGS="$CFLAGS"
44932 ac_save_CXXFLAGS="$CXXFLAGS"
44933 ac_save_LIBS="$LIBS"
44934 CFLAGS="$CFLAGS $SDL_CFLAGS"
44935 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44936 LIBS="$LIBS $SDL_LIBS"
44937 rm -f conf.sdltest
44938 if test "$cross_compiling" = yes; then
44939 echo $ac_n "cross compiling; assumed OK... $ac_c"
44940 else
44941 cat >conftest.$ac_ext <<_ACEOF
44942 /* confdefs.h. */
44943 _ACEOF
44944 cat confdefs.h >>conftest.$ac_ext
44945 cat >>conftest.$ac_ext <<_ACEOF
44946 /* end confdefs.h. */
44947
44948 #include <stdio.h>
44949 #include <stdlib.h>
44950 #include <string.h>
44951 #include "SDL.h"
44952
44953 char*
44954 my_strdup (char *str)
44955 {
44956 char *new_str;
44957
44958 if (str)
44959 {
44960 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44961 strcpy (new_str, str);
44962 }
44963 else
44964 new_str = NULL;
44965
44966 return new_str;
44967 }
44968
44969 int main (int argc, char *argv[])
44970 {
44971 int major, minor, micro;
44972 char *tmp_version;
44973
44974 /* This hangs on some systems (?)
44975 system ("touch conf.sdltest");
44976 */
44977 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44978
44979 /* HP/UX 9 (%@#!) writes to sscanf strings */
44980 tmp_version = my_strdup("$min_sdl_version");
44981 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44982 printf("%s, bad version string\n", "$min_sdl_version");
44983 exit(1);
44984 }
44985
44986 if (($sdl_major_version > major) ||
44987 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44988 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44989 {
44990 return 0;
44991 }
44992 else
44993 {
44994 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44995 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44996 printf("*** best to upgrade to the required version.\n");
44997 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44998 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44999 printf("*** config.cache before re-running configure\n");
45000 return 1;
45001 }
45002 }
45003
45004
45005 _ACEOF
45006 rm -f conftest$ac_exeext
45007 if { (ac_try="$ac_link"
45008 case "(($ac_try" in
45009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45010 *) ac_try_echo=$ac_try;;
45011 esac
45012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45013 (eval "$ac_link") 2>&5
45014 ac_status=$?
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45017 { (case "(($ac_try" in
45018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45019 *) ac_try_echo=$ac_try;;
45020 esac
45021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45022 (eval "$ac_try") 2>&5
45023 ac_status=$?
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); }; }; then
45026 :
45027 else
45028 echo "$as_me: program exited with status $ac_status" >&5
45029 echo "$as_me: failed program was:" >&5
45030 sed 's/^/| /' conftest.$ac_ext >&5
45031
45032 ( exit $ac_status )
45033 no_sdl=yes
45034 fi
45035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45036 fi
45037
45038
45039 CFLAGS="$ac_save_CFLAGS"
45040 CXXFLAGS="$ac_save_CXXFLAGS"
45041 LIBS="$ac_save_LIBS"
45042 fi
45043 fi
45044 if test "x$no_sdl" = x ; then
45045 { echo "$as_me:$LINENO: result: yes" >&5
45046 echo "${ECHO_T}yes" >&6; }
45047
45048 EXTRALIBS_SDL="$SDL_LIBS"
45049 CFLAGS="$SDL_CFLAGS $CFLAGS"
45050 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_LIBSDL 1
45053 _ACEOF
45054
45055
45056 else
45057 { echo "$as_me:$LINENO: result: no" >&5
45058 echo "${ECHO_T}no" >&6; }
45059 if test "$SDL_CONFIG" = "no" ; then
45060 echo "*** The sdl-config script installed by SDL could not be found"
45061 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45062 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45063 echo "*** full path to sdl-config."
45064 else
45065 if test -f conf.sdltest ; then
45066 :
45067 else
45068 echo "*** Could not run SDL test program, checking why..."
45069 CFLAGS="$CFLAGS $SDL_CFLAGS"
45070 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45071 LIBS="$LIBS $SDL_LIBS"
45072 cat >conftest.$ac_ext <<_ACEOF
45073 /* confdefs.h. */
45074 _ACEOF
45075 cat confdefs.h >>conftest.$ac_ext
45076 cat >>conftest.$ac_ext <<_ACEOF
45077 /* end confdefs.h. */
45078
45079 #include <stdio.h>
45080 #include "SDL.h"
45081
45082 int main(int argc, char *argv[])
45083 { return 0; }
45084 #undef main
45085 #define main K_and_R_C_main
45086
45087 int
45088 main ()
45089 {
45090 return 0;
45091 ;
45092 return 0;
45093 }
45094 _ACEOF
45095 rm -f conftest.$ac_objext conftest$ac_exeext
45096 if { (ac_try="$ac_link"
45097 case "(($ac_try" in
45098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45099 *) ac_try_echo=$ac_try;;
45100 esac
45101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45102 (eval "$ac_link") 2>conftest.er1
45103 ac_status=$?
45104 grep -v '^ *+' conftest.er1 >conftest.err
45105 rm -f conftest.er1
45106 cat conftest.err >&5
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); } && {
45109 test -z "$ac_c_werror_flag" ||
45110 test ! -s conftest.err
45111 } && test -s conftest$ac_exeext &&
45112 $as_test_x conftest$ac_exeext; then
45113 echo "*** The test program compiled, but did not run. This usually means"
45114 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45115 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45118 echo "*** is required on your system"
45119 echo "***"
45120 echo "*** If you have an old version installed, it is best to remove it, although"
45121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45122 else
45123 echo "$as_me: failed program was:" >&5
45124 sed 's/^/| /' conftest.$ac_ext >&5
45125
45126 echo "*** The test program failed to compile or link. See the file config.log for the"
45127 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45128 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45129 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45130 fi
45131
45132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45133 conftest$ac_exeext conftest.$ac_ext
45134 CFLAGS="$ac_save_CFLAGS"
45135 CXXFLAGS="$ac_save_CXXFLAGS"
45136 LIBS="$ac_save_LIBS"
45137 fi
45138 fi
45139 SDL_CFLAGS=""
45140 SDL_LIBS=""
45141 wxUSE_LIBSDL="no"
45142 fi
45143
45144
45145 rm -f conf.sdltest
45146
45147 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45148 WITH_PLUGIN_SDL=1
45149 fi
45150 fi
45151 else
45152 if test "$wxUSE_MGL" = 1; then
45153 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45154 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45155 wxUSE_SOUND="no"
45156 fi
45157 fi
45158 fi
45159
45160 if test "$wxUSE_SOUND" = "yes"; then
45161 cat >>confdefs.h <<\_ACEOF
45162 #define wxUSE_SOUND 1
45163 _ACEOF
45164
45165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45166 fi
45167
45168 if test "$WXGTK20" = 1; then
45169
45170
45171 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45172 if test -n "$ac_tool_prefix"; then
45173 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45174 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45177 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45178 echo $ECHO_N "(cached) $ECHO_C" >&6
45179 else
45180 case $PKG_CONFIG in
45181 [\\/]* | ?:[\\/]*)
45182 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45183 ;;
45184 *)
45185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45186 for as_dir in $PATH
45187 do
45188 IFS=$as_save_IFS
45189 test -z "$as_dir" && as_dir=.
45190 for ac_exec_ext in '' $ac_executable_extensions; do
45191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45192 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45194 break 2
45195 fi
45196 done
45197 done
45198 IFS=$as_save_IFS
45199
45200 ;;
45201 esac
45202 fi
45203 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45204 if test -n "$PKG_CONFIG"; then
45205 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45206 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45207 else
45208 { echo "$as_me:$LINENO: result: no" >&5
45209 echo "${ECHO_T}no" >&6; }
45210 fi
45211
45212
45213 fi
45214 if test -z "$ac_cv_path_PKG_CONFIG"; then
45215 ac_pt_PKG_CONFIG=$PKG_CONFIG
45216 # Extract the first word of "pkg-config", so it can be a program name with args.
45217 set dummy pkg-config; ac_word=$2
45218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45220 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45221 echo $ECHO_N "(cached) $ECHO_C" >&6
45222 else
45223 case $ac_pt_PKG_CONFIG in
45224 [\\/]* | ?:[\\/]*)
45225 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45226 ;;
45227 *)
45228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45229 for as_dir in $PATH
45230 do
45231 IFS=$as_save_IFS
45232 test -z "$as_dir" && as_dir=.
45233 for ac_exec_ext in '' $ac_executable_extensions; do
45234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45235 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45237 break 2
45238 fi
45239 done
45240 done
45241 IFS=$as_save_IFS
45242
45243 ;;
45244 esac
45245 fi
45246 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45247 if test -n "$ac_pt_PKG_CONFIG"; then
45248 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45249 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45250 else
45251 { echo "$as_me:$LINENO: result: no" >&5
45252 echo "${ECHO_T}no" >&6; }
45253 fi
45254
45255 if test "x$ac_pt_PKG_CONFIG" = x; then
45256 PKG_CONFIG=""
45257 else
45258 case $cross_compiling:$ac_tool_warned in
45259 yes:)
45260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45261 whose name does not start with the host triplet. If you think this
45262 configuration is useful to you, please write to autoconf@gnu.org." >&5
45263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45264 whose name does not start with the host triplet. If you think this
45265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45266 ac_tool_warned=yes ;;
45267 esac
45268 PKG_CONFIG=$ac_pt_PKG_CONFIG
45269 fi
45270 else
45271 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45272 fi
45273
45274 fi
45275 if test -n "$PKG_CONFIG"; then
45276 _pkg_min_version=0.9.0
45277 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45278 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45279 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45280 { echo "$as_me:$LINENO: result: yes" >&5
45281 echo "${ECHO_T}yes" >&6; }
45282 else
45283 { echo "$as_me:$LINENO: result: no" >&5
45284 echo "${ECHO_T}no" >&6; }
45285 PKG_CONFIG=""
45286 fi
45287
45288 fi
45289
45290 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45291 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45292
45293
45294 pkg_failed=no
45295 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45296 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45297
45298 if test -n "$PKG_CONFIG"; then
45299 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45300 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45301 else
45302 if test -n "$PKG_CONFIG" && \
45303 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45304 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45305 ac_status=$?
45306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45307 (exit $ac_status); }; then
45308 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45309 else
45310 pkg_failed=yes
45311 fi
45312 fi
45313 else
45314 pkg_failed=untried
45315 fi
45316 if test -n "$PKG_CONFIG"; then
45317 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45318 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45319 else
45320 if test -n "$PKG_CONFIG" && \
45321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45322 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45323 ac_status=$?
45324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45325 (exit $ac_status); }; then
45326 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45327 else
45328 pkg_failed=yes
45329 fi
45330 fi
45331 else
45332 pkg_failed=untried
45333 fi
45334
45335
45336
45337 if test $pkg_failed = yes; then
45338
45339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45340 _pkg_short_errors_supported=yes
45341 else
45342 _pkg_short_errors_supported=no
45343 fi
45344 if test $_pkg_short_errors_supported = yes; then
45345 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45346 else
45347 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45348 fi
45349 # Put the nasty error message in config.log where it belongs
45350 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45351
45352
45353 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45354 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45355 wxUSE_LIBGNOMEPRINT="no"
45356
45357
45358 elif test $pkg_failed = untried; then
45359
45360 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45361 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45362 wxUSE_LIBGNOMEPRINT="no"
45363
45364
45365 else
45366 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45367 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45368 { echo "$as_me:$LINENO: result: yes" >&5
45369 echo "${ECHO_T}yes" >&6; }
45370
45371 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45372 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_LIBGNOMEPRINT 1
45375 _ACEOF
45376
45377
45378 fi
45379 fi
45380 fi
45381
45382 if test "$wxUSE_MIMETYPE" = "yes" ; then
45383 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45384
45385
45386 pkg_failed=no
45387 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45388 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45389
45390 if test -n "$PKG_CONFIG"; then
45391 if test -n "$GNOMEVFS_CFLAGS"; then
45392 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45393 else
45394 if test -n "$PKG_CONFIG" && \
45395 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45396 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45397 ac_status=$?
45398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399 (exit $ac_status); }; then
45400 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45401 else
45402 pkg_failed=yes
45403 fi
45404 fi
45405 else
45406 pkg_failed=untried
45407 fi
45408 if test -n "$PKG_CONFIG"; then
45409 if test -n "$GNOMEVFS_LIBS"; then
45410 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45411 else
45412 if test -n "$PKG_CONFIG" && \
45413 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45414 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45415 ac_status=$?
45416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45417 (exit $ac_status); }; then
45418 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45419 else
45420 pkg_failed=yes
45421 fi
45422 fi
45423 else
45424 pkg_failed=untried
45425 fi
45426
45427
45428
45429 if test $pkg_failed = yes; then
45430
45431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45432 _pkg_short_errors_supported=yes
45433 else
45434 _pkg_short_errors_supported=no
45435 fi
45436 if test $_pkg_short_errors_supported = yes; then
45437 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45438 else
45439 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45440 fi
45441 # Put the nasty error message in config.log where it belongs
45442 echo "$GNOMEVFS_PKG_ERRORS" >&5
45443
45444
45445 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45446 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45447 wxUSE_LIBGNOMEVFS="no"
45448
45449
45450 elif test $pkg_failed = untried; then
45451
45452 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45453 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45454 wxUSE_LIBGNOMEVFS="no"
45455
45456
45457 else
45458 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45459 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45460 { echo "$as_me:$LINENO: result: yes" >&5
45461 echo "${ECHO_T}yes" >&6; }
45462
45463 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45464 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_LIBGNOMEVFS 1
45467 _ACEOF
45468
45469
45470 fi
45471 fi
45472 fi
45473
45474 if test "$wxUSE_LIBHILDON" = "yes" ; then
45475
45476 pkg_failed=no
45477 { echo "$as_me:$LINENO: checking for HILDON" >&5
45478 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45479
45480 if test -n "$PKG_CONFIG"; then
45481 if test -n "$HILDON_CFLAGS"; then
45482 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45483 else
45484 if test -n "$PKG_CONFIG" && \
45485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45486 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45487 ac_status=$?
45488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45489 (exit $ac_status); }; then
45490 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45491 else
45492 pkg_failed=yes
45493 fi
45494 fi
45495 else
45496 pkg_failed=untried
45497 fi
45498 if test -n "$PKG_CONFIG"; then
45499 if test -n "$HILDON_LIBS"; then
45500 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45501 else
45502 if test -n "$PKG_CONFIG" && \
45503 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45504 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45505 ac_status=$?
45506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507 (exit $ac_status); }; then
45508 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45509 else
45510 pkg_failed=yes
45511 fi
45512 fi
45513 else
45514 pkg_failed=untried
45515 fi
45516
45517
45518
45519 if test $pkg_failed = yes; then
45520
45521 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45522 _pkg_short_errors_supported=yes
45523 else
45524 _pkg_short_errors_supported=no
45525 fi
45526 if test $_pkg_short_errors_supported = yes; then
45527 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45528 else
45529 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45530 fi
45531 # Put the nasty error message in config.log where it belongs
45532 echo "$HILDON_PKG_ERRORS" >&5
45533
45534
45535 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45536 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45537 wxUSE_LIBHILDON="no"
45538
45539
45540 elif test $pkg_failed = untried; then
45541
45542 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45543 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45544 wxUSE_LIBHILDON="no"
45545
45546
45547 else
45548 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45549 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45550 { echo "$as_me:$LINENO: result: yes" >&5
45551 echo "${ECHO_T}yes" >&6; }
45552
45553 EXTRALIBS_HILDON="$HILDON_LIBS"
45554 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45555 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_LIBHILDON 1
45558 _ACEOF
45559
45560
45561 fi
45562 fi
45563 fi
45564
45565 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_CMDLINE_PARSER 1
45568 _ACEOF
45569
45570 fi
45571
45572 if test "$wxUSE_STOPWATCH" = "yes"; then
45573 cat >>confdefs.h <<\_ACEOF
45574 #define wxUSE_STOPWATCH 1
45575 _ACEOF
45576
45577 fi
45578
45579 if test "$wxUSE_DATETIME" = "yes"; then
45580 cat >>confdefs.h <<\_ACEOF
45581 #define wxUSE_DATETIME 1
45582 _ACEOF
45583
45584 fi
45585
45586 if test "$wxUSE_FILE" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_FILE 1
45589 _ACEOF
45590
45591 fi
45592
45593 if test "$wxUSE_FFILE" = "yes"; then
45594 cat >>confdefs.h <<\_ACEOF
45595 #define wxUSE_FFILE 1
45596 _ACEOF
45597
45598 fi
45599
45600 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45601 if test "$wxUSE_STREAMS" != yes; then
45602 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45603 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45604 wxUSE_ARCHIVE_STREAMS=no
45605 else
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_ARCHIVE_STREAMS 1
45608 _ACEOF
45609
45610 fi
45611 fi
45612
45613 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45614 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45615 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45616 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45617 elif test "$wxUSE_ZLIB" = "no"; then
45618 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45619 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45620 else
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_ZIPSTREAM 1
45623 _ACEOF
45624
45625 fi
45626 fi
45627
45628 if test "$wxUSE_TARSTREAM" = "yes"; then
45629 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45630 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45631 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45632 else
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_TARSTREAM 1
45635 _ACEOF
45636
45637 fi
45638 fi
45639
45640 if test "$wxUSE_FILESYSTEM" = "yes"; then
45641 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45642 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45643 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45644 wxUSE_FILESYSTEM=no
45645 else
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_FILESYSTEM 1
45648 _ACEOF
45649
45650 fi
45651 fi
45652
45653 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45654 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45655 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45656 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45657 else
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_FS_ARCHIVE 1
45660 _ACEOF
45661
45662 fi
45663 fi
45664
45665 if test "$wxUSE_FS_ZIP" = "yes"; then
45666 if test "$wxUSE_FS_ARCHIVE" != yes; then
45667 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45668 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45669 else
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_FS_ZIP 1
45672 _ACEOF
45673
45674 fi
45675 fi
45676
45677 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45678 if test "$USE_UNIX" != 1; then
45679 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45680 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45681 wxUSE_ON_FATAL_EXCEPTION=no
45682 else
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_ON_FATAL_EXCEPTION 1
45685 _ACEOF
45686
45687 fi
45688 fi
45689
45690 if test "$wxUSE_STACKWALKER" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_STACKWALKER 1
45693 _ACEOF
45694
45695 fi
45696
45697 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45698 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45699 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45700 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45701 wxUSE_DEBUGREPORT=no
45702 else
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_DEBUGREPORT 1
45705 _ACEOF
45706
45707 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45709 fi
45710 fi
45711 fi
45712
45713 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_SNGLINST_CHECKER 1
45716 _ACEOF
45717
45718 fi
45719
45720 if test "$wxUSE_BUSYINFO" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_BUSYINFO 1
45723 _ACEOF
45724
45725 fi
45726
45727 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_STD_IOSTREAM 1
45730 _ACEOF
45731
45732 fi
45733
45734 if test "$wxUSE_STD_STRING" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_STD_STRING 1
45737 _ACEOF
45738
45739 fi
45740
45741 if test "$wxUSE_STDPATHS" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_STDPATHS 1
45744 _ACEOF
45745
45746 fi
45747
45748 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_TEXTBUFFER 1
45751 _ACEOF
45752
45753 fi
45754
45755 if test "$wxUSE_TEXTFILE" = "yes"; then
45756 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45757 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45758 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45759 else
45760 cat >>confdefs.h <<\_ACEOF
45761 #define wxUSE_TEXTFILE 1
45762 _ACEOF
45763
45764 fi
45765 fi
45766
45767 if test "$wxUSE_CONFIG" = "yes" ; then
45768 if test "$wxUSE_TEXTFILE" != "yes"; then
45769 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45770 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45771 else
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_CONFIG 1
45774 _ACEOF
45775
45776 cat >>confdefs.h <<\_ACEOF
45777 #define wxUSE_CONFIG_NATIVE 1
45778 _ACEOF
45779
45780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45781 fi
45782 fi
45783
45784 if test "$wxUSE_INTL" = "yes" ; then
45785 if test "$wxUSE_FILE" != "yes"; then
45786 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45787 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45788 else
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_INTL 1
45791 _ACEOF
45792
45793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45794 GUIDIST="$GUIDIST INTL_DIST"
45795 fi
45796 fi
45797
45798 if test "$wxUSE_LOG" = "yes"; then
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_LOG 1
45801 _ACEOF
45802
45803
45804 if test "$wxUSE_LOGGUI" = "yes"; then
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_LOGGUI 1
45807 _ACEOF
45808
45809 fi
45810
45811 if test "$wxUSE_LOGWINDOW" = "yes"; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_LOGWINDOW 1
45814 _ACEOF
45815
45816 fi
45817
45818 if test "$wxUSE_LOGDIALOG" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_LOG_DIALOG 1
45821 _ACEOF
45822
45823 fi
45824
45825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45826 fi
45827
45828 if test "$wxUSE_LONGLONG" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_LONGLONG 1
45831 _ACEOF
45832
45833 fi
45834
45835 if test "$wxUSE_GEOMETRY" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_GEOMETRY 1
45838 _ACEOF
45839
45840 fi
45841
45842 if test "$wxUSE_BASE64" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_BASE64 1
45845 _ACEOF
45846
45847 fi
45848
45849 if test "$wxUSE_STREAMS" = "yes" ; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_STREAMS 1
45852 _ACEOF
45853
45854 fi
45855
45856 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45857 cat >>confdefs.h <<\_ACEOF
45858 #define wxUSE_PRINTF_POS_PARAMS 1
45859 _ACEOF
45860
45861 fi
45862
45863 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_OBJC_UNIQUIFYING 1
45866 _ACEOF
45867
45868 fi
45869
45870
45871 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45872 cat >>confdefs.h <<\_ACEOF
45873 #define wxUSE_CONSOLE_EVENTLOOP 1
45874 _ACEOF
45875
45876
45877 if test "$wxUSE_UNIX" = "yes"; then
45878 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45879 cat >>confdefs.h <<\_ACEOF
45880 #define wxUSE_SELECT_DISPATCHER 1
45881 _ACEOF
45882
45883 fi
45884
45885 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45886
45887 for ac_header in sys/epoll.h
45888 do
45889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45893 echo $ECHO_N "(cached) $ECHO_C" >&6
45894 else
45895 cat >conftest.$ac_ext <<_ACEOF
45896 /* confdefs.h. */
45897 _ACEOF
45898 cat confdefs.h >>conftest.$ac_ext
45899 cat >>conftest.$ac_ext <<_ACEOF
45900 /* end confdefs.h. */
45901 $ac_includes_default
45902
45903 #include <$ac_header>
45904 _ACEOF
45905 rm -f conftest.$ac_objext
45906 if { (ac_try="$ac_compile"
45907 case "(($ac_try" in
45908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45909 *) ac_try_echo=$ac_try;;
45910 esac
45911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45912 (eval "$ac_compile") 2>conftest.er1
45913 ac_status=$?
45914 grep -v '^ *+' conftest.er1 >conftest.err
45915 rm -f conftest.er1
45916 cat conftest.err >&5
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); } && {
45919 test -z "$ac_c_werror_flag" ||
45920 test ! -s conftest.err
45921 } && test -s conftest.$ac_objext; then
45922 eval "$as_ac_Header=yes"
45923 else
45924 echo "$as_me: failed program was:" >&5
45925 sed 's/^/| /' conftest.$ac_ext >&5
45926
45927 eval "$as_ac_Header=no"
45928 fi
45929
45930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45931 fi
45932 ac_res=`eval echo '${'$as_ac_Header'}'`
45933 { echo "$as_me:$LINENO: result: $ac_res" >&5
45934 echo "${ECHO_T}$ac_res" >&6; }
45935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45936 cat >>confdefs.h <<_ACEOF
45937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45938 _ACEOF
45939
45940 fi
45941
45942 done
45943
45944 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_EPOLL_DISPATCHER 1
45947 _ACEOF
45948
45949 else
45950 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45951 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45952 fi
45953 fi
45954 fi
45955 fi
45956
45957
45958
45959
45960 for ac_func in gettimeofday ftime
45961 do
45962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45965 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45966 echo $ECHO_N "(cached) $ECHO_C" >&6
45967 else
45968 cat >conftest.$ac_ext <<_ACEOF
45969 /* confdefs.h. */
45970 _ACEOF
45971 cat confdefs.h >>conftest.$ac_ext
45972 cat >>conftest.$ac_ext <<_ACEOF
45973 /* end confdefs.h. */
45974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45976 #define $ac_func innocuous_$ac_func
45977
45978 /* System header to define __stub macros and hopefully few prototypes,
45979 which can conflict with char $ac_func (); below.
45980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45981 <limits.h> exists even on freestanding compilers. */
45982
45983 #ifdef __STDC__
45984 # include <limits.h>
45985 #else
45986 # include <assert.h>
45987 #endif
45988
45989 #undef $ac_func
45990
45991 /* Override any GCC internal prototype to avoid an error.
45992 Use char because int might match the return type of a GCC
45993 builtin and then its argument prototype would still apply. */
45994 #ifdef __cplusplus
45995 extern "C"
45996 #endif
45997 char $ac_func ();
45998 /* The GNU C library defines this for functions which it implements
45999 to always fail with ENOSYS. Some functions are actually named
46000 something starting with __ and the normal name is an alias. */
46001 #if defined __stub_$ac_func || defined __stub___$ac_func
46002 choke me
46003 #endif
46004
46005 int
46006 main ()
46007 {
46008 return $ac_func ();
46009 ;
46010 return 0;
46011 }
46012 _ACEOF
46013 rm -f conftest.$ac_objext conftest$ac_exeext
46014 if { (ac_try="$ac_link"
46015 case "(($ac_try" in
46016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46017 *) ac_try_echo=$ac_try;;
46018 esac
46019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46020 (eval "$ac_link") 2>conftest.er1
46021 ac_status=$?
46022 grep -v '^ *+' conftest.er1 >conftest.err
46023 rm -f conftest.er1
46024 cat conftest.err >&5
46025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46026 (exit $ac_status); } && {
46027 test -z "$ac_c_werror_flag" ||
46028 test ! -s conftest.err
46029 } && test -s conftest$ac_exeext &&
46030 $as_test_x conftest$ac_exeext; then
46031 eval "$as_ac_var=yes"
46032 else
46033 echo "$as_me: failed program was:" >&5
46034 sed 's/^/| /' conftest.$ac_ext >&5
46035
46036 eval "$as_ac_var=no"
46037 fi
46038
46039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46040 conftest$ac_exeext conftest.$ac_ext
46041 fi
46042 ac_res=`eval echo '${'$as_ac_var'}'`
46043 { echo "$as_me:$LINENO: result: $ac_res" >&5
46044 echo "${ECHO_T}$ac_res" >&6; }
46045 if test `eval echo '${'$as_ac_var'}'` = yes; then
46046 cat >>confdefs.h <<_ACEOF
46047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46048 _ACEOF
46049 break
46050 fi
46051 done
46052
46053
46054 if test "$ac_cv_func_gettimeofday" = "yes"; then
46055 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46056 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46057 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46058 echo $ECHO_N "(cached) $ECHO_C" >&6
46059 else
46060
46061 cat >conftest.$ac_ext <<_ACEOF
46062 /* confdefs.h. */
46063 _ACEOF
46064 cat confdefs.h >>conftest.$ac_ext
46065 cat >>conftest.$ac_ext <<_ACEOF
46066 /* end confdefs.h. */
46067
46068 #include <sys/time.h>
46069 #include <unistd.h>
46070
46071 int
46072 main ()
46073 {
46074
46075 struct timeval tv;
46076 gettimeofday(&tv, NULL);
46077
46078 ;
46079 return 0;
46080 }
46081 _ACEOF
46082 rm -f conftest.$ac_objext
46083 if { (ac_try="$ac_compile"
46084 case "(($ac_try" in
46085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46086 *) ac_try_echo=$ac_try;;
46087 esac
46088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46089 (eval "$ac_compile") 2>conftest.er1
46090 ac_status=$?
46091 grep -v '^ *+' conftest.er1 >conftest.err
46092 rm -f conftest.er1
46093 cat conftest.err >&5
46094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46095 (exit $ac_status); } && {
46096 test -z "$ac_c_werror_flag" ||
46097 test ! -s conftest.err
46098 } && test -s conftest.$ac_objext; then
46099 wx_cv_func_gettimeofday_has_2_args=yes
46100 else
46101 echo "$as_me: failed program was:" >&5
46102 sed 's/^/| /' conftest.$ac_ext >&5
46103
46104 cat >conftest.$ac_ext <<_ACEOF
46105 /* confdefs.h. */
46106 _ACEOF
46107 cat confdefs.h >>conftest.$ac_ext
46108 cat >>conftest.$ac_ext <<_ACEOF
46109 /* end confdefs.h. */
46110
46111 #include <sys/time.h>
46112 #include <unistd.h>
46113
46114 int
46115 main ()
46116 {
46117
46118 struct timeval tv;
46119 gettimeofday(&tv);
46120
46121 ;
46122 return 0;
46123 }
46124 _ACEOF
46125 rm -f conftest.$ac_objext
46126 if { (ac_try="$ac_compile"
46127 case "(($ac_try" in
46128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46129 *) ac_try_echo=$ac_try;;
46130 esac
46131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46132 (eval "$ac_compile") 2>conftest.er1
46133 ac_status=$?
46134 grep -v '^ *+' conftest.er1 >conftest.err
46135 rm -f conftest.er1
46136 cat conftest.err >&5
46137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46138 (exit $ac_status); } && {
46139 test -z "$ac_c_werror_flag" ||
46140 test ! -s conftest.err
46141 } && test -s conftest.$ac_objext; then
46142 wx_cv_func_gettimeofday_has_2_args=no
46143 else
46144 echo "$as_me: failed program was:" >&5
46145 sed 's/^/| /' conftest.$ac_ext >&5
46146
46147
46148 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46149 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46150 wx_cv_func_gettimeofday_has_2_args=unknown
46151
46152
46153 fi
46154
46155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46156
46157 fi
46158
46159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46160
46161 fi
46162 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46163 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46164
46165 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define WX_GETTIMEOFDAY_NO_TZ 1
46168 _ACEOF
46169
46170 fi
46171 fi
46172
46173 if test "$wxUSE_DATETIME" = "yes"; then
46174 { echo "$as_me:$LINENO: checking for strptime" >&5
46175 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46176 if test "${ac_cv_func_strptime+set}" = set; then
46177 echo $ECHO_N "(cached) $ECHO_C" >&6
46178 else
46179 cat >conftest.$ac_ext <<_ACEOF
46180 /* confdefs.h. */
46181 _ACEOF
46182 cat confdefs.h >>conftest.$ac_ext
46183 cat >>conftest.$ac_ext <<_ACEOF
46184 /* end confdefs.h. */
46185 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46187 #define strptime innocuous_strptime
46188
46189 /* System header to define __stub macros and hopefully few prototypes,
46190 which can conflict with char strptime (); below.
46191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46192 <limits.h> exists even on freestanding compilers. */
46193
46194 #ifdef __STDC__
46195 # include <limits.h>
46196 #else
46197 # include <assert.h>
46198 #endif
46199
46200 #undef strptime
46201
46202 /* Override any GCC internal prototype to avoid an error.
46203 Use char because int might match the return type of a GCC
46204 builtin and then its argument prototype would still apply. */
46205 #ifdef __cplusplus
46206 extern "C"
46207 #endif
46208 char strptime ();
46209 /* The GNU C library defines this for functions which it implements
46210 to always fail with ENOSYS. Some functions are actually named
46211 something starting with __ and the normal name is an alias. */
46212 #if defined __stub_strptime || defined __stub___strptime
46213 choke me
46214 #endif
46215
46216 int
46217 main ()
46218 {
46219 return strptime ();
46220 ;
46221 return 0;
46222 }
46223 _ACEOF
46224 rm -f conftest.$ac_objext conftest$ac_exeext
46225 if { (ac_try="$ac_link"
46226 case "(($ac_try" in
46227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46228 *) ac_try_echo=$ac_try;;
46229 esac
46230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46231 (eval "$ac_link") 2>conftest.er1
46232 ac_status=$?
46233 grep -v '^ *+' conftest.er1 >conftest.err
46234 rm -f conftest.er1
46235 cat conftest.err >&5
46236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46237 (exit $ac_status); } && {
46238 test -z "$ac_c_werror_flag" ||
46239 test ! -s conftest.err
46240 } && test -s conftest$ac_exeext &&
46241 $as_test_x conftest$ac_exeext; then
46242 ac_cv_func_strptime=yes
46243 else
46244 echo "$as_me: failed program was:" >&5
46245 sed 's/^/| /' conftest.$ac_ext >&5
46246
46247 ac_cv_func_strptime=no
46248 fi
46249
46250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46251 conftest$ac_exeext conftest.$ac_ext
46252 fi
46253 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46254 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46255
46256 if test "$ac_cv_func_strptime" = "yes"; then
46257 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46258 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46259 if test "${wx_cv_func_strptime_decl+set}" = set; then
46260 echo $ECHO_N "(cached) $ECHO_C" >&6
46261 else
46262
46263 ac_ext=cpp
46264 ac_cpp='$CXXCPP $CPPFLAGS'
46265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46268
46269 cat >conftest.$ac_ext <<_ACEOF
46270 /* confdefs.h. */
46271 _ACEOF
46272 cat confdefs.h >>conftest.$ac_ext
46273 cat >>conftest.$ac_ext <<_ACEOF
46274 /* end confdefs.h. */
46275
46276 #include <time.h>
46277
46278 int
46279 main ()
46280 {
46281
46282 struct tm t;
46283 strptime("foo", "bar", &t);
46284
46285 ;
46286 return 0;
46287 }
46288 _ACEOF
46289 rm -f conftest.$ac_objext
46290 if { (ac_try="$ac_compile"
46291 case "(($ac_try" in
46292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46293 *) ac_try_echo=$ac_try;;
46294 esac
46295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46296 (eval "$ac_compile") 2>conftest.er1
46297 ac_status=$?
46298 grep -v '^ *+' conftest.er1 >conftest.err
46299 rm -f conftest.er1
46300 cat conftest.err >&5
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); } && {
46303 test -z "$ac_cxx_werror_flag" ||
46304 test ! -s conftest.err
46305 } && test -s conftest.$ac_objext; then
46306 wx_cv_func_strptime_decl=yes
46307 else
46308 echo "$as_me: failed program was:" >&5
46309 sed 's/^/| /' conftest.$ac_ext >&5
46310
46311 wx_cv_func_strptime_decl=no
46312
46313 fi
46314
46315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46316 ac_ext=c
46317 ac_cpp='$CPP $CPPFLAGS'
46318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46321
46322
46323
46324 fi
46325 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46326 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46327 fi
46328 if test "$wx_cv_func_strptime_decl" = "yes"; then
46329 cat >>confdefs.h <<\_ACEOF
46330 #define HAVE_STRPTIME_DECL 1
46331 _ACEOF
46332
46333 else
46334 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46335 fi
46336 if test "$ac_cv_func_strptime" = "yes"; then
46337 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46338 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46339 if test "${wx_cv_func_strptime_ok+set}" = set; then
46340 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 else
46342 if test "$cross_compiling" = yes; then
46343 wx_cv_func_strptime_ok=no
46344
46345 else
46346 cat >conftest.$ac_ext <<_ACEOF
46347
46348 #include <stdlib.h>
46349 #include <time.h>
46350 #include "confdefs.h"
46351
46352 $wx_strptime_decl
46353
46354 int main()
46355 {
46356 struct tm t;
46357 return !!strptime("", "%x", &t);
46358 }
46359
46360 _ACEOF
46361 rm -f conftest$ac_exeext
46362 if { (ac_try="$ac_link"
46363 case "(($ac_try" in
46364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46365 *) ac_try_echo=$ac_try;;
46366 esac
46367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46368 (eval "$ac_link") 2>&5
46369 ac_status=$?
46370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46372 { (case "(($ac_try" in
46373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46374 *) ac_try_echo=$ac_try;;
46375 esac
46376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46377 (eval "$ac_try") 2>&5
46378 ac_status=$?
46379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380 (exit $ac_status); }; }; then
46381 wx_cv_func_strptime_ok=yes
46382 else
46383 echo "$as_me: program exited with status $ac_status" >&5
46384 echo "$as_me: failed program was:" >&5
46385 sed 's/^/| /' conftest.$ac_ext >&5
46386
46387 ( exit $ac_status )
46388 wx_cv_func_strptime_ok=no
46389 fi
46390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46391 fi
46392
46393
46394
46395 fi
46396 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46397 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46398
46399 if test "$wx_cv_func_strptime_ok" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define HAVE_STRPTIME 1
46402 _ACEOF
46403
46404 fi
46405 fi
46406
46407 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46408 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46409 if test "${wx_cv_var_timezone+set}" = set; then
46410 echo $ECHO_N "(cached) $ECHO_C" >&6
46411 else
46412
46413 ac_ext=cpp
46414 ac_cpp='$CXXCPP $CPPFLAGS'
46415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46418
46419 cat >conftest.$ac_ext <<_ACEOF
46420 /* confdefs.h. */
46421 _ACEOF
46422 cat confdefs.h >>conftest.$ac_ext
46423 cat >>conftest.$ac_ext <<_ACEOF
46424 /* end confdefs.h. */
46425
46426 #include <time.h>
46427
46428 int
46429 main ()
46430 {
46431
46432 int tz;
46433 tz = timezone;
46434
46435 ;
46436 return 0;
46437 }
46438 _ACEOF
46439 rm -f conftest.$ac_objext
46440 if { (ac_try="$ac_compile"
46441 case "(($ac_try" in
46442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46443 *) ac_try_echo=$ac_try;;
46444 esac
46445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46446 (eval "$ac_compile") 2>conftest.er1
46447 ac_status=$?
46448 grep -v '^ *+' conftest.er1 >conftest.err
46449 rm -f conftest.er1
46450 cat conftest.err >&5
46451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46452 (exit $ac_status); } && {
46453 test -z "$ac_cxx_werror_flag" ||
46454 test ! -s conftest.err
46455 } && test -s conftest.$ac_objext; then
46456
46457 wx_cv_var_timezone=timezone
46458
46459 else
46460 echo "$as_me: failed program was:" >&5
46461 sed 's/^/| /' conftest.$ac_ext >&5
46462
46463
46464 cat >conftest.$ac_ext <<_ACEOF
46465 /* confdefs.h. */
46466 _ACEOF
46467 cat confdefs.h >>conftest.$ac_ext
46468 cat >>conftest.$ac_ext <<_ACEOF
46469 /* end confdefs.h. */
46470
46471 #include <time.h>
46472
46473 int
46474 main ()
46475 {
46476
46477 int tz;
46478 tz = _timezone;
46479
46480 ;
46481 return 0;
46482 }
46483 _ACEOF
46484 rm -f conftest.$ac_objext
46485 if { (ac_try="$ac_compile"
46486 case "(($ac_try" in
46487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46488 *) ac_try_echo=$ac_try;;
46489 esac
46490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46491 (eval "$ac_compile") 2>conftest.er1
46492 ac_status=$?
46493 grep -v '^ *+' conftest.er1 >conftest.err
46494 rm -f conftest.er1
46495 cat conftest.err >&5
46496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46497 (exit $ac_status); } && {
46498 test -z "$ac_cxx_werror_flag" ||
46499 test ! -s conftest.err
46500 } && test -s conftest.$ac_objext; then
46501
46502 wx_cv_var_timezone=_timezone
46503
46504 else
46505 echo "$as_me: failed program was:" >&5
46506 sed 's/^/| /' conftest.$ac_ext >&5
46507
46508
46509 cat >conftest.$ac_ext <<_ACEOF
46510 /* confdefs.h. */
46511 _ACEOF
46512 cat confdefs.h >>conftest.$ac_ext
46513 cat >>conftest.$ac_ext <<_ACEOF
46514 /* end confdefs.h. */
46515
46516 #include <time.h>
46517
46518 int
46519 main ()
46520 {
46521
46522 int tz;
46523 tz = __timezone;
46524
46525 ;
46526 return 0;
46527 }
46528 _ACEOF
46529 rm -f conftest.$ac_objext
46530 if { (ac_try="$ac_compile"
46531 case "(($ac_try" in
46532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46533 *) ac_try_echo=$ac_try;;
46534 esac
46535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46536 (eval "$ac_compile") 2>conftest.er1
46537 ac_status=$?
46538 grep -v '^ *+' conftest.er1 >conftest.err
46539 rm -f conftest.er1
46540 cat conftest.err >&5
46541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 (exit $ac_status); } && {
46543 test -z "$ac_cxx_werror_flag" ||
46544 test ! -s conftest.err
46545 } && test -s conftest.$ac_objext; then
46546
46547 wx_cv_var_timezone=__timezone
46548
46549 else
46550 echo "$as_me: failed program was:" >&5
46551 sed 's/^/| /' conftest.$ac_ext >&5
46552
46553
46554 if test "$USE_DOS" = 0 ; then
46555 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46556 echo "$as_me: WARNING: no timezone variable" >&2;}
46557 fi
46558
46559
46560 fi
46561
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46563
46564
46565 fi
46566
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568
46569
46570 fi
46571
46572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46573 ac_ext=c
46574 ac_cpp='$CPP $CPPFLAGS'
46575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46578
46579
46580
46581 fi
46582 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46583 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46584
46585 if test "x$wx_cv_var_timezone" != x ; then
46586 cat >>confdefs.h <<_ACEOF
46587 #define WX_TIMEZONE $wx_cv_var_timezone
46588 _ACEOF
46589
46590 fi
46591
46592
46593 for ac_func in localtime
46594 do
46595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46598 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46609 #define $ac_func innocuous_$ac_func
46610
46611 /* System header to define __stub macros and hopefully few prototypes,
46612 which can conflict with char $ac_func (); 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 $ac_func
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 $ac_func ();
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_$ac_func || defined __stub___$ac_func
46635 choke me
46636 #endif
46637
46638 int
46639 main ()
46640 {
46641 return $ac_func ();
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 test -z "$ac_c_werror_flag" ||
46661 test ! -s conftest.err
46662 } && test -s conftest$ac_exeext &&
46663 $as_test_x conftest$ac_exeext; then
46664 eval "$as_ac_var=yes"
46665 else
46666 echo "$as_me: failed program was:" >&5
46667 sed 's/^/| /' conftest.$ac_ext >&5
46668
46669 eval "$as_ac_var=no"
46670 fi
46671
46672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46673 conftest$ac_exeext conftest.$ac_ext
46674 fi
46675 ac_res=`eval echo '${'$as_ac_var'}'`
46676 { echo "$as_me:$LINENO: result: $ac_res" >&5
46677 echo "${ECHO_T}$ac_res" >&6; }
46678 if test `eval echo '${'$as_ac_var'}'` = yes; then
46679 cat >>confdefs.h <<_ACEOF
46680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46681 _ACEOF
46682
46683 fi
46684 done
46685
46686
46687 if test "$ac_cv_func_localtime" = "yes"; then
46688 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46689 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46690 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46691 echo $ECHO_N "(cached) $ECHO_C" >&6
46692 else
46693
46694 cat >conftest.$ac_ext <<_ACEOF
46695 /* confdefs.h. */
46696 _ACEOF
46697 cat confdefs.h >>conftest.$ac_ext
46698 cat >>conftest.$ac_ext <<_ACEOF
46699 /* end confdefs.h. */
46700
46701 #include <time.h>
46702
46703 int
46704 main ()
46705 {
46706
46707 struct tm tm;
46708 tm.tm_gmtoff++;
46709
46710 ;
46711 return 0;
46712 }
46713 _ACEOF
46714 rm -f conftest.$ac_objext
46715 if { (ac_try="$ac_compile"
46716 case "(($ac_try" in
46717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46718 *) ac_try_echo=$ac_try;;
46719 esac
46720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46721 (eval "$ac_compile") 2>conftest.er1
46722 ac_status=$?
46723 grep -v '^ *+' conftest.er1 >conftest.err
46724 rm -f conftest.er1
46725 cat conftest.err >&5
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); } && {
46728 test -z "$ac_c_werror_flag" ||
46729 test ! -s conftest.err
46730 } && test -s conftest.$ac_objext; then
46731
46732 wx_cv_struct_tm_has_gmtoff=yes
46733
46734 else
46735 echo "$as_me: failed program was:" >&5
46736 sed 's/^/| /' conftest.$ac_ext >&5
46737
46738 wx_cv_struct_tm_has_gmtoff=no
46739
46740 fi
46741
46742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46743
46744 fi
46745 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46746 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46747 fi
46748
46749 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46750 cat >>confdefs.h <<\_ACEOF
46751 #define WX_GMTOFF_IN_TM 1
46752 _ACEOF
46753
46754 fi
46755
46756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46757 fi
46758
46759
46760 if test "$wxUSE_SOCKETS" = "yes"; then
46761 if test "$wxUSE_MGL" = "1"; then
46762 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46763 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46764 wxUSE_SOCKETS="no"
46765 fi
46766 fi
46767
46768 if test "$wxUSE_SOCKETS" = "yes"; then
46769 if test "$TOOLKIT" != "MSW"; then
46770 { echo "$as_me:$LINENO: checking for socket" >&5
46771 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46772 if test "${ac_cv_func_socket+set}" = set; then
46773 echo $ECHO_N "(cached) $ECHO_C" >&6
46774 else
46775 cat >conftest.$ac_ext <<_ACEOF
46776 /* confdefs.h. */
46777 _ACEOF
46778 cat confdefs.h >>conftest.$ac_ext
46779 cat >>conftest.$ac_ext <<_ACEOF
46780 /* end confdefs.h. */
46781 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46783 #define socket innocuous_socket
46784
46785 /* System header to define __stub macros and hopefully few prototypes,
46786 which can conflict with char socket (); below.
46787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46788 <limits.h> exists even on freestanding compilers. */
46789
46790 #ifdef __STDC__
46791 # include <limits.h>
46792 #else
46793 # include <assert.h>
46794 #endif
46795
46796 #undef socket
46797
46798 /* Override any GCC internal prototype to avoid an error.
46799 Use char because int might match the return type of a GCC
46800 builtin and then its argument prototype would still apply. */
46801 #ifdef __cplusplus
46802 extern "C"
46803 #endif
46804 char socket ();
46805 /* The GNU C library defines this for functions which it implements
46806 to always fail with ENOSYS. Some functions are actually named
46807 something starting with __ and the normal name is an alias. */
46808 #if defined __stub_socket || defined __stub___socket
46809 choke me
46810 #endif
46811
46812 int
46813 main ()
46814 {
46815 return socket ();
46816 ;
46817 return 0;
46818 }
46819 _ACEOF
46820 rm -f conftest.$ac_objext conftest$ac_exeext
46821 if { (ac_try="$ac_link"
46822 case "(($ac_try" in
46823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46824 *) ac_try_echo=$ac_try;;
46825 esac
46826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46827 (eval "$ac_link") 2>conftest.er1
46828 ac_status=$?
46829 grep -v '^ *+' conftest.er1 >conftest.err
46830 rm -f conftest.er1
46831 cat conftest.err >&5
46832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46833 (exit $ac_status); } && {
46834 test -z "$ac_c_werror_flag" ||
46835 test ! -s conftest.err
46836 } && test -s conftest$ac_exeext &&
46837 $as_test_x conftest$ac_exeext; then
46838 ac_cv_func_socket=yes
46839 else
46840 echo "$as_me: failed program was:" >&5
46841 sed 's/^/| /' conftest.$ac_ext >&5
46842
46843 ac_cv_func_socket=no
46844 fi
46845
46846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46847 conftest$ac_exeext conftest.$ac_ext
46848 fi
46849 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46850 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46851 if test $ac_cv_func_socket = yes; then
46852 :
46853 else
46854
46855 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46856 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46857 if test "${ac_cv_lib_socket_socket+set}" = set; then
46858 echo $ECHO_N "(cached) $ECHO_C" >&6
46859 else
46860 ac_check_lib_save_LIBS=$LIBS
46861 LIBS="-lsocket $LIBS"
46862 cat >conftest.$ac_ext <<_ACEOF
46863 /* confdefs.h. */
46864 _ACEOF
46865 cat confdefs.h >>conftest.$ac_ext
46866 cat >>conftest.$ac_ext <<_ACEOF
46867 /* end confdefs.h. */
46868
46869 /* Override any GCC internal prototype to avoid an error.
46870 Use char because int might match the return type of a GCC
46871 builtin and then its argument prototype would still apply. */
46872 #ifdef __cplusplus
46873 extern "C"
46874 #endif
46875 char socket ();
46876 int
46877 main ()
46878 {
46879 return socket ();
46880 ;
46881 return 0;
46882 }
46883 _ACEOF
46884 rm -f conftest.$ac_objext conftest$ac_exeext
46885 if { (ac_try="$ac_link"
46886 case "(($ac_try" in
46887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46888 *) ac_try_echo=$ac_try;;
46889 esac
46890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46891 (eval "$ac_link") 2>conftest.er1
46892 ac_status=$?
46893 grep -v '^ *+' conftest.er1 >conftest.err
46894 rm -f conftest.er1
46895 cat conftest.err >&5
46896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46897 (exit $ac_status); } && {
46898 test -z "$ac_c_werror_flag" ||
46899 test ! -s conftest.err
46900 } && test -s conftest$ac_exeext &&
46901 $as_test_x conftest$ac_exeext; then
46902 ac_cv_lib_socket_socket=yes
46903 else
46904 echo "$as_me: failed program was:" >&5
46905 sed 's/^/| /' conftest.$ac_ext >&5
46906
46907 ac_cv_lib_socket_socket=no
46908 fi
46909
46910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46911 conftest$ac_exeext conftest.$ac_ext
46912 LIBS=$ac_check_lib_save_LIBS
46913 fi
46914 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46915 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46916 if test $ac_cv_lib_socket_socket = yes; then
46917 if test "$INET_LINK" != " -lsocket"; then
46918 INET_LINK="$INET_LINK -lsocket"
46919 fi
46920 else
46921
46922 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46923 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46924 wxUSE_SOCKETS=no
46925
46926
46927 fi
46928
46929
46930
46931 fi
46932
46933 fi
46934 fi
46935
46936 if test "$wxUSE_SOCKETS" = "yes" ; then
46937 if test "$TOOLKIT" != "MSW"; then
46938 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46939 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46940 if test "${wx_cv_type_getsockname3+set}" = set; then
46941 echo $ECHO_N "(cached) $ECHO_C" >&6
46942 else
46943
46944 ac_ext=cpp
46945 ac_cpp='$CXXCPP $CPPFLAGS'
46946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46949
46950 cat >conftest.$ac_ext <<_ACEOF
46951 /* confdefs.h. */
46952 _ACEOF
46953 cat confdefs.h >>conftest.$ac_ext
46954 cat >>conftest.$ac_ext <<_ACEOF
46955 /* end confdefs.h. */
46956
46957 #include <sys/types.h>
46958 #include <sys/socket.h>
46959
46960 int
46961 main ()
46962 {
46963
46964 socklen_t len;
46965 getsockname(0, 0, &len);
46966
46967 ;
46968 return 0;
46969 }
46970 _ACEOF
46971 rm -f conftest.$ac_objext
46972 if { (ac_try="$ac_compile"
46973 case "(($ac_try" in
46974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46975 *) ac_try_echo=$ac_try;;
46976 esac
46977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46978 (eval "$ac_compile") 2>conftest.er1
46979 ac_status=$?
46980 grep -v '^ *+' conftest.er1 >conftest.err
46981 rm -f conftest.er1
46982 cat conftest.err >&5
46983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46984 (exit $ac_status); } && {
46985 test -z "$ac_cxx_werror_flag" ||
46986 test ! -s conftest.err
46987 } && test -s conftest.$ac_objext; then
46988 wx_cv_type_getsockname3=socklen_t
46989 else
46990 echo "$as_me: failed program was:" >&5
46991 sed 's/^/| /' conftest.$ac_ext >&5
46992
46993
46994 CFLAGS_OLD="$CFLAGS"
46995 if test "$GCC" = yes ; then
46996 CFLAGS="-Werror $CFLAGS"
46997 fi
46998
46999 cat >conftest.$ac_ext <<_ACEOF
47000 /* confdefs.h. */
47001 _ACEOF
47002 cat confdefs.h >>conftest.$ac_ext
47003 cat >>conftest.$ac_ext <<_ACEOF
47004 /* end confdefs.h. */
47005
47006 #include <sys/types.h>
47007 #include <sys/socket.h>
47008
47009 int
47010 main ()
47011 {
47012
47013 size_t len;
47014 getsockname(0, 0, &len);
47015
47016 ;
47017 return 0;
47018 }
47019 _ACEOF
47020 rm -f conftest.$ac_objext
47021 if { (ac_try="$ac_compile"
47022 case "(($ac_try" in
47023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47024 *) ac_try_echo=$ac_try;;
47025 esac
47026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47027 (eval "$ac_compile") 2>conftest.er1
47028 ac_status=$?
47029 grep -v '^ *+' conftest.er1 >conftest.err
47030 rm -f conftest.er1
47031 cat conftest.err >&5
47032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47033 (exit $ac_status); } && {
47034 test -z "$ac_cxx_werror_flag" ||
47035 test ! -s conftest.err
47036 } && test -s conftest.$ac_objext; then
47037 wx_cv_type_getsockname3=size_t
47038 else
47039 echo "$as_me: failed program was:" >&5
47040 sed 's/^/| /' conftest.$ac_ext >&5
47041
47042 cat >conftest.$ac_ext <<_ACEOF
47043 /* confdefs.h. */
47044 _ACEOF
47045 cat confdefs.h >>conftest.$ac_ext
47046 cat >>conftest.$ac_ext <<_ACEOF
47047 /* end confdefs.h. */
47048
47049 #include <sys/types.h>
47050 #include <sys/socket.h>
47051
47052 int
47053 main ()
47054 {
47055
47056 int len;
47057 getsockname(0, 0, &len);
47058
47059 ;
47060 return 0;
47061 }
47062 _ACEOF
47063 rm -f conftest.$ac_objext
47064 if { (ac_try="$ac_compile"
47065 case "(($ac_try" in
47066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47067 *) ac_try_echo=$ac_try;;
47068 esac
47069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47070 (eval "$ac_compile") 2>conftest.er1
47071 ac_status=$?
47072 grep -v '^ *+' conftest.er1 >conftest.err
47073 rm -f conftest.er1
47074 cat conftest.err >&5
47075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47076 (exit $ac_status); } && {
47077 test -z "$ac_cxx_werror_flag" ||
47078 test ! -s conftest.err
47079 } && test -s conftest.$ac_objext; then
47080 wx_cv_type_getsockname3=int
47081 else
47082 echo "$as_me: failed program was:" >&5
47083 sed 's/^/| /' conftest.$ac_ext >&5
47084
47085 wx_cv_type_getsockname3=unknown
47086
47087 fi
47088
47089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47090
47091 fi
47092
47093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47094
47095 CFLAGS="$CFLAGS_OLD"
47096
47097
47098 fi
47099
47100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47101 ac_ext=c
47102 ac_cpp='$CPP $CPPFLAGS'
47103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47106
47107
47108 fi
47109 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47110 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47111
47112 if test "$wx_cv_type_getsockname3" = "unknown"; then
47113 wxUSE_SOCKETS=no
47114 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47115 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47116 else
47117 cat >>confdefs.h <<_ACEOF
47118 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47119 _ACEOF
47120
47121 fi
47122 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47123 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47124 if test "${wx_cv_type_getsockopt5+set}" = set; then
47125 echo $ECHO_N "(cached) $ECHO_C" >&6
47126 else
47127
47128 ac_ext=cpp
47129 ac_cpp='$CXXCPP $CPPFLAGS'
47130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47133
47134 cat >conftest.$ac_ext <<_ACEOF
47135 /* confdefs.h. */
47136 _ACEOF
47137 cat confdefs.h >>conftest.$ac_ext
47138 cat >>conftest.$ac_ext <<_ACEOF
47139 /* end confdefs.h. */
47140
47141 #include <sys/types.h>
47142 #include <sys/socket.h>
47143
47144 int
47145 main ()
47146 {
47147
47148 socklen_t len;
47149 getsockopt(0, 0, 0, 0, &len);
47150
47151 ;
47152 return 0;
47153 }
47154 _ACEOF
47155 rm -f conftest.$ac_objext
47156 if { (ac_try="$ac_compile"
47157 case "(($ac_try" in
47158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47159 *) ac_try_echo=$ac_try;;
47160 esac
47161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47162 (eval "$ac_compile") 2>conftest.er1
47163 ac_status=$?
47164 grep -v '^ *+' conftest.er1 >conftest.err
47165 rm -f conftest.er1
47166 cat conftest.err >&5
47167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47168 (exit $ac_status); } && {
47169 test -z "$ac_cxx_werror_flag" ||
47170 test ! -s conftest.err
47171 } && test -s conftest.$ac_objext; then
47172 wx_cv_type_getsockopt5=socklen_t
47173 else
47174 echo "$as_me: failed program was:" >&5
47175 sed 's/^/| /' conftest.$ac_ext >&5
47176
47177
47178 cat >conftest.$ac_ext <<_ACEOF
47179 /* confdefs.h. */
47180 _ACEOF
47181 cat confdefs.h >>conftest.$ac_ext
47182 cat >>conftest.$ac_ext <<_ACEOF
47183 /* end confdefs.h. */
47184
47185 #include <sys/types.h>
47186 #include <sys/socket.h>
47187
47188 int
47189 main ()
47190 {
47191
47192 size_t len;
47193 getsockopt(0, 0, 0, 0, &len);
47194
47195 ;
47196 return 0;
47197 }
47198 _ACEOF
47199 rm -f conftest.$ac_objext
47200 if { (ac_try="$ac_compile"
47201 case "(($ac_try" in
47202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47203 *) ac_try_echo=$ac_try;;
47204 esac
47205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47206 (eval "$ac_compile") 2>conftest.er1
47207 ac_status=$?
47208 grep -v '^ *+' conftest.er1 >conftest.err
47209 rm -f conftest.er1
47210 cat conftest.err >&5
47211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47212 (exit $ac_status); } && {
47213 test -z "$ac_cxx_werror_flag" ||
47214 test ! -s conftest.err
47215 } && test -s conftest.$ac_objext; then
47216 wx_cv_type_getsockopt5=size_t
47217 else
47218 echo "$as_me: failed program was:" >&5
47219 sed 's/^/| /' conftest.$ac_ext >&5
47220
47221 cat >conftest.$ac_ext <<_ACEOF
47222 /* confdefs.h. */
47223 _ACEOF
47224 cat confdefs.h >>conftest.$ac_ext
47225 cat >>conftest.$ac_ext <<_ACEOF
47226 /* end confdefs.h. */
47227
47228 #include <sys/types.h>
47229 #include <sys/socket.h>
47230
47231 int
47232 main ()
47233 {
47234
47235 int len;
47236 getsockopt(0, 0, 0, 0, &len);
47237
47238 ;
47239 return 0;
47240 }
47241 _ACEOF
47242 rm -f conftest.$ac_objext
47243 if { (ac_try="$ac_compile"
47244 case "(($ac_try" in
47245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47246 *) ac_try_echo=$ac_try;;
47247 esac
47248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47249 (eval "$ac_compile") 2>conftest.er1
47250 ac_status=$?
47251 grep -v '^ *+' conftest.er1 >conftest.err
47252 rm -f conftest.er1
47253 cat conftest.err >&5
47254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47255 (exit $ac_status); } && {
47256 test -z "$ac_cxx_werror_flag" ||
47257 test ! -s conftest.err
47258 } && test -s conftest.$ac_objext; then
47259 wx_cv_type_getsockopt5=int
47260 else
47261 echo "$as_me: failed program was:" >&5
47262 sed 's/^/| /' conftest.$ac_ext >&5
47263
47264 wx_cv_type_getsockopt5=unknown
47265
47266 fi
47267
47268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47269
47270 fi
47271
47272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47273
47274
47275 fi
47276
47277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47278 ac_ext=c
47279 ac_cpp='$CPP $CPPFLAGS'
47280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47283
47284
47285 fi
47286 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47287 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47288
47289 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47290 wxUSE_SOCKETS=no
47291 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47292 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47293 else
47294 cat >>confdefs.h <<_ACEOF
47295 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47296 _ACEOF
47297
47298 fi
47299 fi
47300 fi
47301
47302 if test "$wxUSE_SOCKETS" = "yes" ; then
47303 cat >>confdefs.h <<\_ACEOF
47304 #define wxUSE_SOCKETS 1
47305 _ACEOF
47306
47307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47308 fi
47309
47310 if test "$wxUSE_PROTOCOL" = "yes"; then
47311 if test "$wxUSE_SOCKETS" != "yes"; then
47312 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47313 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47314 wxUSE_PROTOCOL=no
47315 fi
47316 fi
47317
47318 if test "$wxUSE_PROTOCOL" = "yes"; then
47319 cat >>confdefs.h <<\_ACEOF
47320 #define wxUSE_PROTOCOL 1
47321 _ACEOF
47322
47323
47324 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_PROTOCOL_HTTP 1
47327 _ACEOF
47328
47329 fi
47330 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47331 cat >>confdefs.h <<\_ACEOF
47332 #define wxUSE_PROTOCOL_FTP 1
47333 _ACEOF
47334
47335 fi
47336 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_PROTOCOL_FILE 1
47339 _ACEOF
47340
47341 fi
47342 else
47343 if test "$wxUSE_FS_INET" = "yes"; then
47344 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47345 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47346 wxUSE_FS_INET="no"
47347 fi
47348 fi
47349
47350 if test "$wxUSE_URL" = "yes"; then
47351 if test "$wxUSE_PROTOCOL" != "yes"; then
47352 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47353 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47354 wxUSE_URL=no
47355 fi
47356 if test "$wxUSE_URL" = "yes"; then
47357 cat >>confdefs.h <<\_ACEOF
47358 #define wxUSE_URL 1
47359 _ACEOF
47360
47361 fi
47362 fi
47363
47364 if test "$wxUSE_VARIANT" = "yes"; then
47365 cat >>confdefs.h <<\_ACEOF
47366 #define wxUSE_VARIANT 1
47367 _ACEOF
47368
47369 fi
47370
47371 if test "$wxUSE_FS_INET" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_FS_INET 1
47374 _ACEOF
47375
47376 fi
47377
47378
47379 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47380 wxUSE_JOYSTICK=no
47381
47382 if test "$TOOLKIT" = "MSW"; then
47383 wxUSE_JOYSTICK=yes
47384
47385 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47386 if test "$USE_DARWIN" = 1; then
47387 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47388 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47389 ac_ext=cpp
47390 ac_cpp='$CXXCPP $CPPFLAGS'
47391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47394
47395 cat >conftest.$ac_ext <<_ACEOF
47396 /* confdefs.h. */
47397 _ACEOF
47398 cat confdefs.h >>conftest.$ac_ext
47399 cat >>conftest.$ac_ext <<_ACEOF
47400 /* end confdefs.h. */
47401 #include <IOKit/hid/IOHIDLib.h>
47402 int
47403 main ()
47404 {
47405 IOHIDQueueInterface *qi = NULL;
47406 IOHIDCallbackFunction cb = NULL;
47407 qi->setEventCallout(NULL, cb, NULL, NULL);
47408 ;
47409 return 0;
47410 }
47411 _ACEOF
47412 rm -f conftest.$ac_objext
47413 if { (ac_try="$ac_compile"
47414 case "(($ac_try" in
47415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47416 *) ac_try_echo=$ac_try;;
47417 esac
47418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47419 (eval "$ac_compile") 2>conftest.er1
47420 ac_status=$?
47421 grep -v '^ *+' conftest.er1 >conftest.err
47422 rm -f conftest.er1
47423 cat conftest.err >&5
47424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47425 (exit $ac_status); } && {
47426 test -z "$ac_cxx_werror_flag" ||
47427 test ! -s conftest.err
47428 } && test -s conftest.$ac_objext; then
47429 wxUSE_JOYSTICK=yes
47430
47431 else
47432 echo "$as_me: failed program was:" >&5
47433 sed 's/^/| /' conftest.$ac_ext >&5
47434
47435
47436 fi
47437
47438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47439 ac_ext=c
47440 ac_cpp='$CPP $CPPFLAGS'
47441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47444
47445 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47446 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47447 fi
47448
47449 else
47450 if test "$wxUSE_MGL" != "1"; then
47451
47452 for ac_header in linux/joystick.h
47453 do
47454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47458 echo $ECHO_N "(cached) $ECHO_C" >&6
47459 else
47460 cat >conftest.$ac_ext <<_ACEOF
47461 /* confdefs.h. */
47462 _ACEOF
47463 cat confdefs.h >>conftest.$ac_ext
47464 cat >>conftest.$ac_ext <<_ACEOF
47465 /* end confdefs.h. */
47466 $ac_includes_default
47467
47468 #include <$ac_header>
47469 _ACEOF
47470 rm -f conftest.$ac_objext
47471 if { (ac_try="$ac_compile"
47472 case "(($ac_try" in
47473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47474 *) ac_try_echo=$ac_try;;
47475 esac
47476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47477 (eval "$ac_compile") 2>conftest.er1
47478 ac_status=$?
47479 grep -v '^ *+' conftest.er1 >conftest.err
47480 rm -f conftest.er1
47481 cat conftest.err >&5
47482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47483 (exit $ac_status); } && {
47484 test -z "$ac_c_werror_flag" ||
47485 test ! -s conftest.err
47486 } && test -s conftest.$ac_objext; then
47487 eval "$as_ac_Header=yes"
47488 else
47489 echo "$as_me: failed program was:" >&5
47490 sed 's/^/| /' conftest.$ac_ext >&5
47491
47492 eval "$as_ac_Header=no"
47493 fi
47494
47495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47496 fi
47497 ac_res=`eval echo '${'$as_ac_Header'}'`
47498 { echo "$as_me:$LINENO: result: $ac_res" >&5
47499 echo "${ECHO_T}$ac_res" >&6; }
47500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47501 cat >>confdefs.h <<_ACEOF
47502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47503 _ACEOF
47504 wxUSE_JOYSTICK=yes
47505 fi
47506
47507 done
47508
47509 fi
47510 fi
47511
47512 if test "$wxUSE_JOYSTICK" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_JOYSTICK 1
47515 _ACEOF
47516
47517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47518 else
47519 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47520 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47521 fi
47522 fi
47523
47524
47525
47526 if test "$wxUSE_FONTENUM" = "yes" ; then
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_FONTENUM 1
47529 _ACEOF
47530
47531 fi
47532
47533 if test "$wxUSE_FONTMAP" = "yes" ; then
47534 cat >>confdefs.h <<\_ACEOF
47535 #define wxUSE_FONTMAP 1
47536 _ACEOF
47537
47538 fi
47539
47540 if test "$wxUSE_UNICODE" = "yes" ; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_UNICODE 1
47543 _ACEOF
47544
47545
47546 if test "$USE_WIN32" != 1; then
47547 wxUSE_UNICODE_MSLU=no
47548 fi
47549
47550 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47551 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47552 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47553 if test "${ac_cv_lib_unicows_main+set}" = set; then
47554 echo $ECHO_N "(cached) $ECHO_C" >&6
47555 else
47556 ac_check_lib_save_LIBS=$LIBS
47557 LIBS="-lunicows $LIBS"
47558 cat >conftest.$ac_ext <<_ACEOF
47559 /* confdefs.h. */
47560 _ACEOF
47561 cat confdefs.h >>conftest.$ac_ext
47562 cat >>conftest.$ac_ext <<_ACEOF
47563 /* end confdefs.h. */
47564
47565
47566 int
47567 main ()
47568 {
47569 return main ();
47570 ;
47571 return 0;
47572 }
47573 _ACEOF
47574 rm -f conftest.$ac_objext conftest$ac_exeext
47575 if { (ac_try="$ac_link"
47576 case "(($ac_try" in
47577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47578 *) ac_try_echo=$ac_try;;
47579 esac
47580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47581 (eval "$ac_link") 2>conftest.er1
47582 ac_status=$?
47583 grep -v '^ *+' conftest.er1 >conftest.err
47584 rm -f conftest.er1
47585 cat conftest.err >&5
47586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47587 (exit $ac_status); } && {
47588 test -z "$ac_c_werror_flag" ||
47589 test ! -s conftest.err
47590 } && test -s conftest$ac_exeext &&
47591 $as_test_x conftest$ac_exeext; then
47592 ac_cv_lib_unicows_main=yes
47593 else
47594 echo "$as_me: failed program was:" >&5
47595 sed 's/^/| /' conftest.$ac_ext >&5
47596
47597 ac_cv_lib_unicows_main=no
47598 fi
47599
47600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47601 conftest$ac_exeext conftest.$ac_ext
47602 LIBS=$ac_check_lib_save_LIBS
47603 fi
47604 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47605 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47606 if test $ac_cv_lib_unicows_main = yes; then
47607
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_UNICODE_MSLU 1
47610 _ACEOF
47611
47612
47613 else
47614
47615 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47616 Applications will only run on Windows NT/2000/XP!" >&5
47617 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47618 Applications will only run on Windows NT/2000/XP!" >&2;}
47619 wxUSE_UNICODE_MSLU=no
47620
47621 fi
47622
47623 fi
47624 fi
47625
47626 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_UNICODE_UTF8 1
47629 _ACEOF
47630
47631
47632 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47633 cat >>confdefs.h <<\_ACEOF
47634 #define wxUSE_UTF8_LOCALE_ONLY 1
47635 _ACEOF
47636
47637 fi
47638 fi
47639
47640
47641 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_CONSTRAINTS 1
47644 _ACEOF
47645
47646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47647 fi
47648
47649 if test "$wxUSE_MDI" = "yes"; then
47650 cat >>confdefs.h <<\_ACEOF
47651 #define wxUSE_MDI 1
47652 _ACEOF
47653
47654
47655 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47656 cat >>confdefs.h <<\_ACEOF
47657 #define wxUSE_MDI_ARCHITECTURE 1
47658 _ACEOF
47659
47660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47661 fi
47662 fi
47663
47664 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47665 cat >>confdefs.h <<\_ACEOF
47666 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47667 _ACEOF
47668
47669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47670 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47672 fi
47673 fi
47674
47675 if test "$wxUSE_HELP" = "yes"; then
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_HELP 1
47678 _ACEOF
47679
47680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47681
47682 if test "$wxUSE_MSW" = 1; then
47683 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_MS_HTML_HELP 1
47686 _ACEOF
47687
47688 fi
47689 fi
47690
47691 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47692 if test "$wxUSE_HTML" = "yes"; then
47693 cat >>confdefs.h <<\_ACEOF
47694 #define wxUSE_WXHTML_HELP 1
47695 _ACEOF
47696
47697 else
47698 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47699 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47700 wxUSE_WXHTML_HELP=no
47701 fi
47702 fi
47703 fi
47704
47705 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47706 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47707 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47708 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47709 else
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_PRINTING_ARCHITECTURE 1
47712 _ACEOF
47713
47714 fi
47715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47716 fi
47717
47718 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47719 cat >>confdefs.h <<\_ACEOF
47720 #define wxUSE_POSTSCRIPT 1
47721 _ACEOF
47722
47723 fi
47724
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47727 _ACEOF
47728
47729
47730 if test "$wxUSE_SVG" = "yes"; then
47731 cat >>confdefs.h <<\_ACEOF
47732 #define wxUSE_SVG 1
47733 _ACEOF
47734
47735 fi
47736
47737
47738 if test "$wxUSE_METAFILE" = "yes"; then
47739 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47740 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47741 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47742 wxUSE_METAFILE=no
47743 fi
47744 fi
47745
47746
47747 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47748 -o "$wxUSE_CLIPBOARD" = "yes" \
47749 -o "$wxUSE_OLE" = "yes" \
47750 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47751 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47752 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47753 if test "${ac_cv_header_ole2_h+set}" = set; then
47754 echo $ECHO_N "(cached) $ECHO_C" >&6
47755 else
47756 cat >conftest.$ac_ext <<_ACEOF
47757 /* confdefs.h. */
47758 _ACEOF
47759 cat confdefs.h >>conftest.$ac_ext
47760 cat >>conftest.$ac_ext <<_ACEOF
47761 /* end confdefs.h. */
47762
47763
47764 #include <ole2.h>
47765 _ACEOF
47766 rm -f conftest.$ac_objext
47767 if { (ac_try="$ac_compile"
47768 case "(($ac_try" in
47769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47770 *) ac_try_echo=$ac_try;;
47771 esac
47772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47773 (eval "$ac_compile") 2>conftest.er1
47774 ac_status=$?
47775 grep -v '^ *+' conftest.er1 >conftest.err
47776 rm -f conftest.er1
47777 cat conftest.err >&5
47778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47779 (exit $ac_status); } && {
47780 test -z "$ac_c_werror_flag" ||
47781 test ! -s conftest.err
47782 } && test -s conftest.$ac_objext; then
47783 ac_cv_header_ole2_h=yes
47784 else
47785 echo "$as_me: failed program was:" >&5
47786 sed 's/^/| /' conftest.$ac_ext >&5
47787
47788 ac_cv_header_ole2_h=no
47789 fi
47790
47791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47792 fi
47793 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47794 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47795
47796
47797
47798 if test "$ac_cv_header_ole2_h" = "yes" ; then
47799 if test "$GCC" = yes ; then
47800 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47801 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47802 cat >conftest.$ac_ext <<_ACEOF
47803 /* confdefs.h. */
47804 _ACEOF
47805 cat confdefs.h >>conftest.$ac_ext
47806 cat >>conftest.$ac_ext <<_ACEOF
47807 /* end confdefs.h. */
47808 #include <windows.h>
47809 #include <ole2.h>
47810 int
47811 main ()
47812 {
47813
47814 ;
47815 return 0;
47816 }
47817 _ACEOF
47818 rm -f conftest.$ac_objext
47819 if { (ac_try="$ac_compile"
47820 case "(($ac_try" in
47821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47822 *) ac_try_echo=$ac_try;;
47823 esac
47824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47825 (eval "$ac_compile") 2>conftest.er1
47826 ac_status=$?
47827 grep -v '^ *+' conftest.er1 >conftest.err
47828 rm -f conftest.er1
47829 cat conftest.err >&5
47830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47831 (exit $ac_status); } && {
47832 test -z "$ac_c_werror_flag" ||
47833 test ! -s conftest.err
47834 } && test -s conftest.$ac_objext; then
47835 { echo "$as_me:$LINENO: result: no" >&5
47836 echo "${ECHO_T}no" >&6; }
47837 else
47838 echo "$as_me: failed program was:" >&5
47839 sed 's/^/| /' conftest.$ac_ext >&5
47840
47841 { echo "$as_me:$LINENO: result: yes" >&5
47842 echo "${ECHO_T}yes" >&6; }
47843 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47844 fi
47845
47846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47847 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47848 if test "$wxUSE_OLE" = "yes" ; then
47849 cat >>confdefs.h <<\_ACEOF
47850 #define wxUSE_OLE 1
47851 _ACEOF
47852
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_OLE_AUTOMATION 1
47855 _ACEOF
47856
47857 cat >>confdefs.h <<\_ACEOF
47858 #define wxUSE_ACTIVEX 1
47859 _ACEOF
47860
47861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47862 fi
47863 fi
47864
47865 if test "$wxUSE_DATAOBJ" = "yes" ; then
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_DATAOBJ 1
47868 _ACEOF
47869
47870 fi
47871 else
47872 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47873 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47874
47875 wxUSE_CLIPBOARD=no
47876 wxUSE_DRAG_AND_DROP=no
47877 wxUSE_DATAOBJ=no
47878 wxUSE_OLE=no
47879 fi
47880
47881 if test "$wxUSE_METAFILE" = "yes"; then
47882 cat >>confdefs.h <<\_ACEOF
47883 #define wxUSE_METAFILE 1
47884 _ACEOF
47885
47886
47887 cat >>confdefs.h <<\_ACEOF
47888 #define wxUSE_ENH_METAFILE 1
47889 _ACEOF
47890
47891 fi
47892 fi
47893
47894 if test "$wxUSE_IPC" = "yes"; then
47895 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47896 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47897 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47898 wxUSE_IPC=no
47899 fi
47900
47901 if test "$wxUSE_IPC" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_IPC 1
47904 _ACEOF
47905
47906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47907 fi
47908 fi
47909
47910 if test "$wxUSE_DATAOBJ" = "yes"; then
47911 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47912 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47913 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47914 wxUSE_DATAOBJ=no
47915 else
47916 cat >>confdefs.h <<\_ACEOF
47917 #define wxUSE_DATAOBJ 1
47918 _ACEOF
47919
47920 fi
47921 else
47922 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47923 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47924 wxUSE_CLIPBOARD=no
47925 wxUSE_DRAG_AND_DROP=no
47926 fi
47927
47928 if test "$wxUSE_CLIPBOARD" = "yes"; then
47929 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47930 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47931 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47932 wxUSE_CLIPBOARD=no
47933 fi
47934
47935 if test "$wxUSE_CLIPBOARD" = "yes"; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define wxUSE_CLIPBOARD 1
47938 _ACEOF
47939
47940 fi
47941 fi
47942
47943 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47944 if test "$wxUSE_GTK" = 1; then
47945 if test "$WXGTK12" != 1; then
47946 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47947 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47948 wxUSE_DRAG_AND_DROP=no
47949 fi
47950 fi
47951
47952 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47953 "$wxUSE_DFB" = 1; then
47954 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47955 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47956 wxUSE_DRAG_AND_DROP=no
47957 fi
47958
47959 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47960 cat >>confdefs.h <<\_ACEOF
47961 #define wxUSE_DRAG_AND_DROP 1
47962 _ACEOF
47963
47964 fi
47965
47966 fi
47967
47968 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47970 fi
47971
47972 if test "$wxUSE_SPLINES" = "yes" ; then
47973 cat >>confdefs.h <<\_ACEOF
47974 #define wxUSE_SPLINES 1
47975 _ACEOF
47976
47977 fi
47978
47979 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_MOUSEWHEEL 1
47982 _ACEOF
47983
47984 fi
47985
47986
47987 USES_CONTROLS=0
47988 if test "$wxUSE_CONTROLS" = "yes"; then
47989 USES_CONTROLS=1
47990 fi
47991
47992 if test "$wxUSE_ACCEL" = "yes"; then
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_ACCEL 1
47995 _ACEOF
47996
47997 USES_CONTROLS=1
47998 fi
47999
48000 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_ANIMATIONCTRL 1
48003 _ACEOF
48004
48005 USES_CONTROLS=1
48006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48007 fi
48008
48009 if test "$wxUSE_BUTTON" = "yes"; then
48010 cat >>confdefs.h <<\_ACEOF
48011 #define wxUSE_BUTTON 1
48012 _ACEOF
48013
48014 USES_CONTROLS=1
48015 fi
48016
48017 if test "$wxUSE_BMPBUTTON" = "yes"; then
48018 cat >>confdefs.h <<\_ACEOF
48019 #define wxUSE_BMPBUTTON 1
48020 _ACEOF
48021
48022 USES_CONTROLS=1
48023 fi
48024
48025 if test "$wxUSE_CALCTRL" = "yes"; then
48026 cat >>confdefs.h <<\_ACEOF
48027 #define wxUSE_CALENDARCTRL 1
48028 _ACEOF
48029
48030 USES_CONTROLS=1
48031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48032 fi
48033
48034 if test "$wxUSE_CARET" = "yes"; then
48035 cat >>confdefs.h <<\_ACEOF
48036 #define wxUSE_CARET 1
48037 _ACEOF
48038
48039 USES_CONTROLS=1
48040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48041 fi
48042
48043 if test "$wxUSE_COLLPANE" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_COLLPANE 1
48046 _ACEOF
48047
48048 USES_CONTROLS=1
48049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48050 fi
48051
48052 if test "$wxUSE_COMBOBOX" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_COMBOBOX 1
48055 _ACEOF
48056
48057 USES_CONTROLS=1
48058 fi
48059
48060 if test "$wxUSE_COMBOCTRL" = "yes"; then
48061 cat >>confdefs.h <<\_ACEOF
48062 #define wxUSE_COMBOCTRL 1
48063 _ACEOF
48064
48065 USES_CONTROLS=1
48066 fi
48067
48068 if test "$wxUSE_CHOICE" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_CHOICE 1
48071 _ACEOF
48072
48073 USES_CONTROLS=1
48074 fi
48075
48076 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_CHOICEBOOK 1
48079 _ACEOF
48080
48081 USES_CONTROLS=1
48082 fi
48083
48084 if test "$wxUSE_CHECKBOX" = "yes"; then
48085 cat >>confdefs.h <<\_ACEOF
48086 #define wxUSE_CHECKBOX 1
48087 _ACEOF
48088
48089 USES_CONTROLS=1
48090 fi
48091
48092 if test "$wxUSE_CHECKLST" = "yes"; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_CHECKLISTBOX 1
48095 _ACEOF
48096
48097 USES_CONTROLS=1
48098 fi
48099
48100 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_COLOURPICKERCTRL 1
48103 _ACEOF
48104
48105 USES_CONTROLS=1
48106 fi
48107
48108 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_DATEPICKCTRL 1
48111 _ACEOF
48112
48113 USES_CONTROLS=1
48114 fi
48115
48116 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_DIRPICKERCTRL 1
48119 _ACEOF
48120
48121 USES_CONTROLS=1
48122 fi
48123
48124 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_FILEPICKERCTRL 1
48127 _ACEOF
48128
48129 USES_CONTROLS=1
48130 fi
48131
48132 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_FONTPICKERCTRL 1
48135 _ACEOF
48136
48137 USES_CONTROLS=1
48138 fi
48139
48140 if test "$wxUSE_DISPLAY" = "yes"; then
48141 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48142 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48143 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48144 wxUSE_DISPLAY=no
48145 else
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_DISPLAY 1
48148 _ACEOF
48149
48150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48151 fi
48152 fi
48153
48154 if test "$wxUSE_DETECT_SM" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_DETECT_SM 1
48157 _ACEOF
48158
48159 fi
48160
48161 if test "$wxUSE_GAUGE" = "yes"; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_GAUGE 1
48164 _ACEOF
48165
48166 USES_CONTROLS=1
48167 fi
48168
48169 if test "$wxUSE_GRID" = "yes"; then
48170 cat >>confdefs.h <<\_ACEOF
48171 #define wxUSE_GRID 1
48172 _ACEOF
48173
48174 USES_CONTROLS=1
48175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48176 fi
48177
48178 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48179 cat >>confdefs.h <<\_ACEOF
48180 #define wxUSE_HYPERLINKCTRL 1
48181 _ACEOF
48182
48183 USES_CONTROLS=1
48184 fi
48185
48186 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_BITMAPCOMBOBOX 1
48189 _ACEOF
48190
48191 USES_CONTROLS=1
48192 fi
48193
48194 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_DATAVIEWCTRL 1
48197 _ACEOF
48198
48199 USES_CONTROLS=1
48200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48201 fi
48202
48203 if test "$wxUSE_IMAGLIST" = "yes"; then
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_IMAGLIST 1
48206 _ACEOF
48207
48208 fi
48209
48210 if test "$wxUSE_LISTBOOK" = "yes"; then
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_LISTBOOK 1
48213 _ACEOF
48214
48215 USES_CONTROLS=1
48216 fi
48217
48218 if test "$wxUSE_LISTBOX" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_LISTBOX 1
48221 _ACEOF
48222
48223 USES_CONTROLS=1
48224 fi
48225
48226 if test "$wxUSE_LISTCTRL" = "yes"; then
48227 if test "$wxUSE_IMAGLIST" = "yes"; then
48228 cat >>confdefs.h <<\_ACEOF
48229 #define wxUSE_LISTCTRL 1
48230 _ACEOF
48231
48232 USES_CONTROLS=1
48233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48234 else
48235 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48236 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48237 fi
48238 fi
48239
48240 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_EDITABLELISTBOX 1
48243 _ACEOF
48244
48245 USES_CONTROLS=1
48246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48247 fi
48248
48249 if test "$wxUSE_NOTEBOOK" = "yes"; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_NOTEBOOK 1
48252 _ACEOF
48253
48254 USES_CONTROLS=1
48255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48256 fi
48257
48258 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_ODCOMBOBOX 1
48261 _ACEOF
48262
48263 USES_CONTROLS=1
48264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48265 fi
48266
48267 if test "$wxUSE_RADIOBOX" = "yes"; then
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_RADIOBOX 1
48270 _ACEOF
48271
48272 USES_CONTROLS=1
48273 fi
48274
48275 if test "$wxUSE_RADIOBTN" = "yes"; then
48276 cat >>confdefs.h <<\_ACEOF
48277 #define wxUSE_RADIOBTN 1
48278 _ACEOF
48279
48280 USES_CONTROLS=1
48281 fi
48282
48283 if test "$wxUSE_SASH" = "yes"; then
48284 cat >>confdefs.h <<\_ACEOF
48285 #define wxUSE_SASH 1
48286 _ACEOF
48287
48288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48289 fi
48290
48291 if test "$wxUSE_SCROLLBAR" = "yes"; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_SCROLLBAR 1
48294 _ACEOF
48295
48296 USES_CONTROLS=1
48297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48298 fi
48299
48300 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_SEARCHCTRL 1
48303 _ACEOF
48304
48305 USES_CONTROLS=1
48306 fi
48307
48308 if test "$wxUSE_SLIDER" = "yes"; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_SLIDER 1
48311 _ACEOF
48312
48313 USES_CONTROLS=1
48314 fi
48315
48316 if test "$wxUSE_SPINBTN" = "yes"; then
48317 cat >>confdefs.h <<\_ACEOF
48318 #define wxUSE_SPINBTN 1
48319 _ACEOF
48320
48321 USES_CONTROLS=1
48322 fi
48323
48324 if test "$wxUSE_SPINCTRL" = "yes"; then
48325 cat >>confdefs.h <<\_ACEOF
48326 #define wxUSE_SPINCTRL 1
48327 _ACEOF
48328
48329 USES_CONTROLS=1
48330 fi
48331
48332 if test "$wxUSE_SPLITTER" = "yes"; then
48333 cat >>confdefs.h <<\_ACEOF
48334 #define wxUSE_SPLITTER 1
48335 _ACEOF
48336
48337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48338 fi
48339
48340 if test "$wxUSE_STATBMP" = "yes"; then
48341 cat >>confdefs.h <<\_ACEOF
48342 #define wxUSE_STATBMP 1
48343 _ACEOF
48344
48345 USES_CONTROLS=1
48346 fi
48347
48348 if test "$wxUSE_STATBOX" = "yes"; then
48349 cat >>confdefs.h <<\_ACEOF
48350 #define wxUSE_STATBOX 1
48351 _ACEOF
48352
48353 USES_CONTROLS=1
48354 fi
48355
48356 if test "$wxUSE_STATTEXT" = "yes"; then
48357 cat >>confdefs.h <<\_ACEOF
48358 #define wxUSE_STATTEXT 1
48359 _ACEOF
48360
48361 USES_CONTROLS=1
48362 fi
48363
48364 if test "$wxUSE_STATLINE" = "yes"; then
48365 cat >>confdefs.h <<\_ACEOF
48366 #define wxUSE_STATLINE 1
48367 _ACEOF
48368
48369 USES_CONTROLS=1
48370 fi
48371
48372 if test "$wxUSE_STATUSBAR" = "yes"; then
48373 cat >>confdefs.h <<\_ACEOF
48374 #define wxUSE_NATIVE_STATUSBAR 1
48375 _ACEOF
48376
48377 cat >>confdefs.h <<\_ACEOF
48378 #define wxUSE_STATUSBAR 1
48379 _ACEOF
48380
48381 USES_CONTROLS=1
48382
48383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48384 fi
48385
48386 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48387 cat >>confdefs.h <<\_ACEOF
48388 #define wxUSE_TAB_DIALOG 1
48389 _ACEOF
48390
48391 fi
48392
48393 if test "$wxUSE_TEXTCTRL" = "yes"; then
48394 cat >>confdefs.h <<\_ACEOF
48395 #define wxUSE_TEXTCTRL 1
48396 _ACEOF
48397
48398 USES_CONTROLS=1
48399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48400 fi
48401
48402 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48403 if test "$wxUSE_COCOA" = 1 ; then
48404 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48405 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48406 wxUSE_TOGGLEBTN=no
48407 fi
48408
48409 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48410 cat >>confdefs.h <<\_ACEOF
48411 #define wxUSE_TOGGLEBTN 1
48412 _ACEOF
48413
48414 USES_CONTROLS=1
48415 fi
48416 fi
48417
48418 if test "$wxUSE_TOOLBAR" = "yes"; then
48419 cat >>confdefs.h <<\_ACEOF
48420 #define wxUSE_TOOLBAR 1
48421 _ACEOF
48422
48423 USES_CONTROLS=1
48424
48425 if test "$wxUSE_UNIVERSAL" = "yes"; then
48426 wxUSE_TOOLBAR_NATIVE="no"
48427 else
48428 wxUSE_TOOLBAR_NATIVE="yes"
48429 cat >>confdefs.h <<\_ACEOF
48430 #define wxUSE_TOOLBAR_NATIVE 1
48431 _ACEOF
48432
48433 fi
48434
48435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48436 fi
48437
48438 if test "$wxUSE_TOOLTIPS" = "yes"; then
48439 if test "$wxUSE_MOTIF" = 1; then
48440 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48441 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48442 else
48443 if test "$wxUSE_UNIVERSAL" = "yes"; then
48444 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48445 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48446 else
48447 cat >>confdefs.h <<\_ACEOF
48448 #define wxUSE_TOOLTIPS 1
48449 _ACEOF
48450
48451 fi
48452 fi
48453 fi
48454
48455 if test "$wxUSE_TREEBOOK" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_TREEBOOK 1
48458 _ACEOF
48459
48460 USES_CONTROLS=1
48461 fi
48462
48463 if test "$wxUSE_TOOLBOOK" = "yes"; then
48464 cat >>confdefs.h <<\_ACEOF
48465 #define wxUSE_TOOLBOOK 1
48466 _ACEOF
48467
48468 USES_CONTROLS=1
48469 fi
48470
48471 if test "$wxUSE_TREECTRL" = "yes"; then
48472 if test "$wxUSE_IMAGLIST" = "yes"; then
48473 cat >>confdefs.h <<\_ACEOF
48474 #define wxUSE_TREECTRL 1
48475 _ACEOF
48476
48477 USES_CONTROLS=1
48478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48479 else
48480 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48481 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48482 fi
48483 fi
48484
48485 if test "$wxUSE_POPUPWIN" = "yes"; then
48486 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48487 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48488 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48489 else
48490 if test "$wxUSE_PM" = 1; then
48491 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48492 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48493 else
48494 cat >>confdefs.h <<\_ACEOF
48495 #define wxUSE_POPUPWIN 1
48496 _ACEOF
48497
48498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48499
48500 USES_CONTROLS=1
48501 fi
48502 fi
48503 fi
48504
48505 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48506 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48507 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48508 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48509 else
48510 cat >>confdefs.h <<\_ACEOF
48511 #define wxUSE_DIALUP_MANAGER 1
48512 _ACEOF
48513
48514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48515 fi
48516 fi
48517
48518 if test "$wxUSE_TIPWINDOW" = "yes"; then
48519 if test "$wxUSE_PM" = 1; then
48520 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48521 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48522 else
48523 cat >>confdefs.h <<\_ACEOF
48524 #define wxUSE_TIPWINDOW 1
48525 _ACEOF
48526
48527 fi
48528 fi
48529
48530 if test "$USES_CONTROLS" = 1; then
48531 cat >>confdefs.h <<\_ACEOF
48532 #define wxUSE_CONTROLS 1
48533 _ACEOF
48534
48535 fi
48536
48537
48538 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48539 cat >>confdefs.h <<\_ACEOF
48540 #define wxUSE_ACCESSIBILITY 1
48541 _ACEOF
48542
48543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48544 fi
48545
48546 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48547 cat >>confdefs.h <<\_ACEOF
48548 #define wxUSE_DRAGIMAGE 1
48549 _ACEOF
48550
48551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48552 fi
48553
48554 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48555 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48556 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48557 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48558 else
48559 cat >>confdefs.h <<\_ACEOF
48560 #define wxUSE_EXCEPTIONS 1
48561 _ACEOF
48562
48563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48564 fi
48565 fi
48566
48567 USE_HTML=0
48568 if test "$wxUSE_HTML" = "yes"; then
48569 cat >>confdefs.h <<\_ACEOF
48570 #define wxUSE_HTML 1
48571 _ACEOF
48572
48573 USE_HTML=1
48574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48575 if test "$wxUSE_MAC" = 1; then
48576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48577 fi
48578 fi
48579 if test "$wxUSE_WEBKIT" = "yes"; then
48580 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48581 old_CPPFLAGS="$CPPFLAGS"
48582 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48583 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48584 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48585 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48586 echo $ECHO_N "(cached) $ECHO_C" >&6
48587 else
48588 cat >conftest.$ac_ext <<_ACEOF
48589 /* confdefs.h. */
48590 _ACEOF
48591 cat confdefs.h >>conftest.$ac_ext
48592 cat >>conftest.$ac_ext <<_ACEOF
48593 /* end confdefs.h. */
48594
48595 #include <Carbon/Carbon.h>
48596 #include <WebKit/WebKit.h>
48597
48598
48599 #include <WebKit/HIWebView.h>
48600 _ACEOF
48601 rm -f conftest.$ac_objext
48602 if { (ac_try="$ac_compile"
48603 case "(($ac_try" in
48604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48605 *) ac_try_echo=$ac_try;;
48606 esac
48607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48608 (eval "$ac_compile") 2>conftest.er1
48609 ac_status=$?
48610 grep -v '^ *+' conftest.er1 >conftest.err
48611 rm -f conftest.er1
48612 cat conftest.err >&5
48613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48614 (exit $ac_status); } && {
48615 test -z "$ac_c_werror_flag" ||
48616 test ! -s conftest.err
48617 } && test -s conftest.$ac_objext; then
48618 ac_cv_header_WebKit_HIWebView_h=yes
48619 else
48620 echo "$as_me: failed program was:" >&5
48621 sed 's/^/| /' conftest.$ac_ext >&5
48622
48623 ac_cv_header_WebKit_HIWebView_h=no
48624 fi
48625
48626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48627 fi
48628 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48629 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48630 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48631
48632 cat >>confdefs.h <<\_ACEOF
48633 #define wxUSE_WEBKIT 1
48634 _ACEOF
48635
48636 WEBKIT_LINK="-framework WebKit"
48637
48638 else
48639
48640 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48641 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48642 wxUSE_WEBKIT=no
48643
48644 fi
48645
48646
48647 CPPFLAGS="$old_CPPFLAGS"
48648 elif test "$wxUSE_COCOA" = 1; then
48649 cat >>confdefs.h <<\_ACEOF
48650 #define wxUSE_WEBKIT 1
48651 _ACEOF
48652
48653 else
48654 wxUSE_WEBKIT=no
48655 fi
48656 fi
48657
48658 USE_XRC=0
48659 if test "$wxUSE_XRC" = "yes"; then
48660 if test "$wxUSE_XML" != "yes"; then
48661 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48662 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48663 wxUSE_XRC=no
48664 else
48665 cat >>confdefs.h <<\_ACEOF
48666 #define wxUSE_XRC 1
48667 _ACEOF
48668
48669 USE_XRC=1
48670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48671 fi
48672 fi
48673
48674 USE_AUI=0
48675 if test "$wxUSE_AUI" = "yes"; then
48676 cat >>confdefs.h <<\_ACEOF
48677 #define wxUSE_AUI 1
48678 _ACEOF
48679
48680 USE_AUI=1
48681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48682 fi
48683
48684 USE_STC=0
48685 if test "$wxUSE_STC" = "yes"; then
48686 cat >>confdefs.h <<\_ACEOF
48687 #define wxUSE_STC 1
48688 _ACEOF
48689
48690 USE_STC=1
48691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48692 fi
48693
48694 if test "$wxUSE_MENUS" = "yes"; then
48695 cat >>confdefs.h <<\_ACEOF
48696 #define wxUSE_MENUS 1
48697 _ACEOF
48698
48699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48700 fi
48701
48702 if test "$wxUSE_METAFILE" = "yes"; then
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_METAFILE 1
48705 _ACEOF
48706
48707 fi
48708
48709 if test "$wxUSE_MIMETYPE" = "yes"; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_MIMETYPE 1
48712 _ACEOF
48713
48714 fi
48715
48716 if test "$wxUSE_MINIFRAME" = "yes"; then
48717 cat >>confdefs.h <<\_ACEOF
48718 #define wxUSE_MINIFRAME 1
48719 _ACEOF
48720
48721 fi
48722
48723 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48724 cat >>confdefs.h <<\_ACEOF
48725 #define wxUSE_SYSTEM_OPTIONS 1
48726 _ACEOF
48727
48728 fi
48729
48730 if test "$wxUSE_TASKBARICON" = "yes"; then
48731 cat >>confdefs.h <<\_ACEOF
48732 #define wxUSE_TASKBARICON 1
48733 _ACEOF
48734
48735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48736 fi
48737
48738
48739 if test "$wxUSE_VALIDATORS" = "yes"; then
48740 cat >>confdefs.h <<\_ACEOF
48741 #define wxUSE_VALIDATORS 1
48742 _ACEOF
48743
48744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48745 fi
48746
48747 if test "$wxUSE_PALETTE" = "yes" ; then
48748 if test "$wxUSE_DFB" = 1; then
48749 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48750 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48751 wxUSE_PALETTE=no
48752 else
48753 cat >>confdefs.h <<\_ACEOF
48754 #define wxUSE_PALETTE 1
48755 _ACEOF
48756
48757 fi
48758 fi
48759
48760 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48761 LIBS=" -lunicows $LIBS"
48762 fi
48763
48764 USE_RICHTEXT=0
48765 if test "$wxUSE_RICHTEXT" = "yes"; then
48766 cat >>confdefs.h <<\_ACEOF
48767 #define wxUSE_RICHTEXT 1
48768 _ACEOF
48769
48770 USE_RICHTEXT=1
48771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48772 fi
48773
48774
48775 if test "$wxUSE_IMAGE" = "yes" ; then
48776 cat >>confdefs.h <<\_ACEOF
48777 #define wxUSE_IMAGE 1
48778 _ACEOF
48779
48780
48781 if test "$wxUSE_GIF" = "yes" ; then
48782 cat >>confdefs.h <<\_ACEOF
48783 #define wxUSE_GIF 1
48784 _ACEOF
48785
48786 fi
48787
48788 if test "$wxUSE_PCX" = "yes" ; then
48789 cat >>confdefs.h <<\_ACEOF
48790 #define wxUSE_PCX 1
48791 _ACEOF
48792
48793 fi
48794
48795 if test "$wxUSE_TGA" = "yes" ; then
48796 cat >>confdefs.h <<\_ACEOF
48797 #define wxUSE_TGA 1
48798 _ACEOF
48799
48800 fi
48801
48802 if test "$wxUSE_IFF" = "yes" ; then
48803 cat >>confdefs.h <<\_ACEOF
48804 #define wxUSE_IFF 1
48805 _ACEOF
48806
48807 fi
48808
48809 if test "$wxUSE_PNM" = "yes" ; then
48810 cat >>confdefs.h <<\_ACEOF
48811 #define wxUSE_PNM 1
48812 _ACEOF
48813
48814 fi
48815
48816 if test "$wxUSE_XPM" = "yes" ; then
48817 cat >>confdefs.h <<\_ACEOF
48818 #define wxUSE_XPM 1
48819 _ACEOF
48820
48821 fi
48822
48823 if test "$wxUSE_ICO_CUR" = "yes" ; then
48824 cat >>confdefs.h <<\_ACEOF
48825 #define wxUSE_ICO_CUR 1
48826 _ACEOF
48827
48828 fi
48829 fi
48830
48831
48832 if test "$wxUSE_ABOUTDLG" = "yes"; then
48833 cat >>confdefs.h <<\_ACEOF
48834 #define wxUSE_ABOUTDLG 1
48835 _ACEOF
48836
48837 fi
48838
48839 if test "$wxUSE_CHOICEDLG" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_CHOICEDLG 1
48842 _ACEOF
48843
48844 fi
48845
48846 if test "$wxUSE_COLOURDLG" = "yes"; then
48847 cat >>confdefs.h <<\_ACEOF
48848 #define wxUSE_COLOURDLG 1
48849 _ACEOF
48850
48851 fi
48852
48853 if test "$wxUSE_FILEDLG" = "yes"; then
48854 cat >>confdefs.h <<\_ACEOF
48855 #define wxUSE_FILEDLG 1
48856 _ACEOF
48857
48858 fi
48859
48860 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48861 cat >>confdefs.h <<\_ACEOF
48862 #define wxUSE_FINDREPLDLG 1
48863 _ACEOF
48864
48865 fi
48866
48867 if test "$wxUSE_FONTDLG" = "yes"; then
48868 cat >>confdefs.h <<\_ACEOF
48869 #define wxUSE_FONTDLG 1
48870 _ACEOF
48871
48872 fi
48873
48874 if test "$wxUSE_DIRDLG" = "yes"; then
48875 if test "$wxUSE_TREECTRL" != "yes"; then
48876 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48877 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48878 else
48879 cat >>confdefs.h <<\_ACEOF
48880 #define wxUSE_DIRDLG 1
48881 _ACEOF
48882
48883 fi
48884 fi
48885
48886 if test "$wxUSE_MSGDLG" = "yes"; then
48887 cat >>confdefs.h <<\_ACEOF
48888 #define wxUSE_MSGDLG 1
48889 _ACEOF
48890
48891 fi
48892
48893 if test "$wxUSE_NUMBERDLG" = "yes"; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define wxUSE_NUMBERDLG 1
48896 _ACEOF
48897
48898 fi
48899
48900 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48901 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48902 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48903 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48904 else
48905 cat >>confdefs.h <<\_ACEOF
48906 #define wxUSE_PROGRESSDLG 1
48907 _ACEOF
48908
48909 fi
48910 fi
48911
48912 if test "$wxUSE_SPLASH" = "yes"; then
48913 cat >>confdefs.h <<\_ACEOF
48914 #define wxUSE_SPLASH 1
48915 _ACEOF
48916
48917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48918 fi
48919
48920 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48921 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48922 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48923 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48924 else
48925 cat >>confdefs.h <<\_ACEOF
48926 #define wxUSE_STARTUP_TIPS 1
48927 _ACEOF
48928
48929 fi
48930 fi
48931
48932 if test "$wxUSE_TEXTDLG" = "yes"; then
48933 cat >>confdefs.h <<\_ACEOF
48934 #define wxUSE_TEXTDLG 1
48935 _ACEOF
48936
48937 fi
48938
48939 if test "$wxUSE_WIZARDDLG" = "yes"; then
48940 cat >>confdefs.h <<\_ACEOF
48941 #define wxUSE_WIZARDDLG 1
48942 _ACEOF
48943
48944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48945 fi
48946
48947
48948 if test "$wxUSE_MSW" = 1 ; then
48949
48950 if test "$wxUSE_DC_CACHEING" = "yes"; then
48951 cat >>confdefs.h <<\_ACEOF
48952 #define wxUSE_DC_CACHEING 1
48953 _ACEOF
48954
48955 fi
48956
48957 if test "$wxUSE_DIB" = "yes"; then
48958 cat >>confdefs.h <<\_ACEOF
48959 #define wxUSE_WXDIB 1
48960 _ACEOF
48961
48962 fi
48963
48964 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48965 cat >>confdefs.h <<\_ACEOF
48966 #define wxUSE_OWNER_DRAWN 1
48967 _ACEOF
48968
48969 fi
48970
48971 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48974 _ACEOF
48975
48976 fi
48977
48978 if test "$wxUSE_UXTHEME" = "yes"; then
48979 cat >>confdefs.h <<\_ACEOF
48980 #define wxUSE_UXTHEME 1
48981 _ACEOF
48982
48983 fi
48984
48985 fi
48986
48987
48988 if test "$USE_WIN32" = 1 ; then
48989 if test "$wxUSE_INICONF" = "yes"; then
48990 cat >>confdefs.h <<\_ACEOF
48991 #define wxUSE_INICONF 1
48992 _ACEOF
48993
48994 fi
48995
48996 if test "$wxUSE_REGKEY" = "yes"; then
48997 cat >>confdefs.h <<\_ACEOF
48998 #define wxUSE_REGKEY 1
48999 _ACEOF
49000
49001 fi
49002 fi
49003
49004
49005 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49006 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49007 cat >>confdefs.h <<\_ACEOF
49008 #define wxUSE_GRAPHICS_CONTEXT 1
49009 _ACEOF
49010
49011 elif test "$wxUSE_GTK" != 1; then
49012 cat >>confdefs.h <<\_ACEOF
49013 #define wxUSE_GRAPHICS_CONTEXT 1
49014 _ACEOF
49015
49016 else
49017
49018 pkg_failed=no
49019 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49020 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49021
49022 if test -n "$PKG_CONFIG"; then
49023 if test -n "$CAIRO_CFLAGS"; then
49024 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49025 else
49026 if test -n "$PKG_CONFIG" && \
49027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49028 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49029 ac_status=$?
49030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49031 (exit $ac_status); }; then
49032 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49033 else
49034 pkg_failed=yes
49035 fi
49036 fi
49037 else
49038 pkg_failed=untried
49039 fi
49040 if test -n "$PKG_CONFIG"; then
49041 if test -n "$CAIRO_LIBS"; then
49042 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49043 else
49044 if test -n "$PKG_CONFIG" && \
49045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49046 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49047 ac_status=$?
49048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49049 (exit $ac_status); }; then
49050 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49051 else
49052 pkg_failed=yes
49053 fi
49054 fi
49055 else
49056 pkg_failed=untried
49057 fi
49058
49059
49060
49061 if test $pkg_failed = yes; then
49062
49063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49064 _pkg_short_errors_supported=yes
49065 else
49066 _pkg_short_errors_supported=no
49067 fi
49068 if test $_pkg_short_errors_supported = yes; then
49069 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49070 else
49071 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49072 fi
49073 # Put the nasty error message in config.log where it belongs
49074 echo "$CAIRO_PKG_ERRORS" >&5
49075
49076 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49077 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49078
49079 elif test $pkg_failed = untried; then
49080 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49081 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49082
49083 else
49084 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49085 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49086 { echo "$as_me:$LINENO: result: yes" >&5
49087 echo "${ECHO_T}yes" >&6; }
49088 cat >>confdefs.h <<\_ACEOF
49089 #define wxUSE_GRAPHICS_CONTEXT 1
49090 _ACEOF
49091
49092 fi
49093 fi
49094 fi
49095
49096
49097 USE_MEDIA=0
49098
49099 if test "$wxUSE_MEDIACTRL" = "yes"; then
49100 USE_MEDIA=1
49101
49102 if test "$wxUSE_GTK" = 1; then
49103 wxUSE_GSTREAMER="no"
49104
49105 GST_VERSION_MAJOR=0
49106 GST_VERSION_MINOR=10
49107 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49108
49109 if test "$wxUSE_GSTREAMER8" = "no"; then
49110
49111 pkg_failed=no
49112 { echo "$as_me:$LINENO: checking for GST" >&5
49113 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49114
49115 if test -n "$PKG_CONFIG"; then
49116 if test -n "$GST_CFLAGS"; then
49117 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49118 else
49119 if test -n "$PKG_CONFIG" && \
49120 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49121 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49122 ac_status=$?
49123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49124 (exit $ac_status); }; then
49125 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49126 else
49127 pkg_failed=yes
49128 fi
49129 fi
49130 else
49131 pkg_failed=untried
49132 fi
49133 if test -n "$PKG_CONFIG"; then
49134 if test -n "$GST_LIBS"; then
49135 pkg_cv_GST_LIBS="$GST_LIBS"
49136 else
49137 if test -n "$PKG_CONFIG" && \
49138 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49139 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49140 ac_status=$?
49141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49142 (exit $ac_status); }; then
49143 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49144 else
49145 pkg_failed=yes
49146 fi
49147 fi
49148 else
49149 pkg_failed=untried
49150 fi
49151
49152
49153
49154 if test $pkg_failed = yes; then
49155
49156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49157 _pkg_short_errors_supported=yes
49158 else
49159 _pkg_short_errors_supported=no
49160 fi
49161 if test $_pkg_short_errors_supported = yes; then
49162 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49163 else
49164 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49165 fi
49166 # Put the nasty error message in config.log where it belongs
49167 echo "$GST_PKG_ERRORS" >&5
49168
49169
49170 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49171 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49172 GST_VERSION_MINOR=8
49173
49174
49175 elif test $pkg_failed = untried; then
49176
49177 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49178 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49179 GST_VERSION_MINOR=8
49180
49181
49182 else
49183 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49184 GST_LIBS=$pkg_cv_GST_LIBS
49185 { echo "$as_me:$LINENO: result: yes" >&5
49186 echo "${ECHO_T}yes" >&6; }
49187
49188 wxUSE_GSTREAMER="yes"
49189 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49190
49191 fi
49192 else
49193 GST_VERSION_MINOR=8
49194 fi
49195
49196 if test $GST_VERSION_MINOR = "8"; then
49197 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49198
49199 pkg_failed=no
49200 { echo "$as_me:$LINENO: checking for GST" >&5
49201 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49202
49203 if test -n "$PKG_CONFIG"; then
49204 if test -n "$GST_CFLAGS"; then
49205 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49206 else
49207 if test -n "$PKG_CONFIG" && \
49208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49209 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49210 ac_status=$?
49211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49212 (exit $ac_status); }; then
49213 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49214 else
49215 pkg_failed=yes
49216 fi
49217 fi
49218 else
49219 pkg_failed=untried
49220 fi
49221 if test -n "$PKG_CONFIG"; then
49222 if test -n "$GST_LIBS"; then
49223 pkg_cv_GST_LIBS="$GST_LIBS"
49224 else
49225 if test -n "$PKG_CONFIG" && \
49226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49227 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49228 ac_status=$?
49229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49230 (exit $ac_status); }; then
49231 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49232 else
49233 pkg_failed=yes
49234 fi
49235 fi
49236 else
49237 pkg_failed=untried
49238 fi
49239
49240
49241
49242 if test $pkg_failed = yes; then
49243
49244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49245 _pkg_short_errors_supported=yes
49246 else
49247 _pkg_short_errors_supported=no
49248 fi
49249 if test $_pkg_short_errors_supported = yes; then
49250 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49251 else
49252 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49253 fi
49254 # Put the nasty error message in config.log where it belongs
49255 echo "$GST_PKG_ERRORS" >&5
49256
49257
49258 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49259 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49260
49261 elif test $pkg_failed = untried; then
49262
49263 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49264 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49265
49266 else
49267 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49268 GST_LIBS=$pkg_cv_GST_LIBS
49269 { echo "$as_me:$LINENO: result: yes" >&5
49270 echo "${ECHO_T}yes" >&6; }
49271 wxUSE_GSTREAMER="yes"
49272 fi
49273 fi
49274
49275
49276 if test "$wxUSE_GSTREAMER" = "yes"; then
49277 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49278 LIBS="$GST_LIBS $LIBS"
49279
49280 cat >>confdefs.h <<\_ACEOF
49281 #define wxUSE_GSTREAMER 1
49282 _ACEOF
49283
49284 else
49285 USE_MEDIA=0
49286 fi
49287 fi
49288
49289 if test $USE_MEDIA = 1; then
49290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49291 cat >>confdefs.h <<\_ACEOF
49292 #define wxUSE_MEDIACTRL 1
49293 _ACEOF
49294
49295 fi
49296 fi
49297
49298
49299 if test "$cross_compiling" = "yes"; then
49300 OSINFO="\"$host\""
49301 else
49302 OSINFO=`uname -s -r -m`
49303 OSINFO="\"$OSINFO\""
49304 fi
49305
49306 cat >>confdefs.h <<_ACEOF
49307 #define WXWIN_OS_DESCRIPTION $OSINFO
49308 _ACEOF
49309
49310
49311
49312 if test "x$prefix" != "xNONE"; then
49313 wxPREFIX=$prefix
49314 else
49315 wxPREFIX=$ac_default_prefix
49316 fi
49317
49318 cat >>confdefs.h <<_ACEOF
49319 #define wxINSTALL_PREFIX "$wxPREFIX"
49320 _ACEOF
49321
49322
49323
49324
49325 STD_BASE_LIBS="base"
49326 STD_GUI_LIBS=""
49327 BUILT_WX_LIBS="base"
49328 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49329
49330 if test "$wxUSE_SOCKETS" = "yes" ; then
49331 STD_BASE_LIBS="net $STD_BASE_LIBS"
49332 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49333 fi
49334 if test "$wxUSE_ODBC" != "no" ; then
49335 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49336 fi
49337 if test "$wxUSE_XML" = "yes" ; then
49338 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49339 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49340 fi
49341
49342 if test "$wxUSE_GUI" = "yes"; then
49343 STD_GUI_LIBS="adv core"
49344 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49345
49346 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49347 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49348 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49349 fi
49350 if test "$wxUSE_ODBC" != "no" ; then
49351 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49352 fi
49353 if test "$wxUSE_HTML" = "yes" ; then
49354 STD_GUI_LIBS="html $STD_GUI_LIBS"
49355 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49356 fi
49357 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49358 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49359 fi
49360 if test "$wxUSE_OPENGL" = "yes" ; then
49361 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49362 fi
49363 if test "$wxUSE_AUI" = "yes" ; then
49364 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49365 fi
49366 if test "$wxUSE_STC" = "yes" ; then
49367 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49368 fi
49369 if test "$wxUSE_XRC" = "yes" ; then
49370 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49371 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49372 fi
49373 fi
49374
49375
49376
49377
49378
49379
49380
49381
49382 if test "$wxUSE_MAC" = 1 ; then
49383 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49384 if test "$USE_DARWIN" = 1; then
49385 LDFLAGS="$LDFLAGS -framework QuickTime"
49386 else
49387 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49388 fi
49389 fi
49390 if test "$USE_DARWIN" = 1; then
49391 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49392 else
49393 LDFLAGS="$LDFLAGS -lCarbonLib"
49394 fi
49395 fi
49396 if test "$wxUSE_COCOA" = 1 ; then
49397 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49398 if test "$wxUSE_MEDIACTRL" = "yes"; then
49399 LDFLAGS="$LDFLAGS -framework QuickTime"
49400 fi
49401 fi
49402 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49403 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49404 fi
49405
49406 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49407
49408 if test "$wxUSE_GUI" = "yes"; then
49409
49410
49411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49412 erase event exec font image minimal mobile \
49413 mobile/wxedit mobile/styles render \
49414 shaped svg taborder vscroll widgets"
49415
49416 if test "$wxUSE_MONOLITHIC" != "yes"; then
49417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49418 fi
49419 if test "$TOOLKIT" = "MSW"; then
49420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49421 if test "$wxUSE_UNIVERSAL" != "yes"; then
49422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49423 fi
49424 fi
49425 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49427 fi
49428 else
49429 SAMPLES_SUBDIRS="console"
49430 fi
49431
49432
49433 if test "x$INTELCC" = "xyes" ; then
49434 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49435 elif test "$GCC" = yes ; then
49436 CWARNINGS="-Wall -Wundef"
49437 fi
49438
49439 if test "x$INTELCXX" = "xyes" ; then
49440 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49441 elif test "$GXX" = yes ; then
49442 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49443 fi
49444
49445
49446 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49447 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49448
49449
49450 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49451 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49452 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49453 $CPPFLAGS `
49454
49455 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49456 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49457 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49458
49459 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49460
49461
49462 if test "x$MWCC" = "xyes"; then
49463
49464 CC="$CC -cwd source -I-"
49465 CXX="$CXX -cwd source -I-"
49466 fi
49467
49468
49469 LIBS=`echo $LIBS`
49470 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49471 EXTRALIBS_XML="$EXPAT_LINK"
49472 EXTRALIBS_HTML="$MSPACK_LINK"
49473 EXTRALIBS_ODBC="$ODBC_LINK"
49474 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49475 if test "$wxUSE_GUI" = "yes"; then
49476 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49477 fi
49478 if test "$wxUSE_OPENGL" = "yes"; then
49479 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49480 fi
49481
49482 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49483
49484 WXCONFIG_LIBS="$LIBS"
49485
49486 if test "$wxUSE_REGEX" = "builtin" ; then
49487 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49488 fi
49489 if test "$wxUSE_EXPAT" = "builtin" ; then
49490 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49491 fi
49492 if test "$wxUSE_ODBC" = "builtin" ; then
49493 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49494 fi
49495 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49496 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49497 fi
49498 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49499 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49500 fi
49501 if test "$wxUSE_LIBPNG" = "builtin" ; then
49502 wxconfig_3rdparty="png $wxconfig_3rdparty"
49503 fi
49504 if test "$wxUSE_ZLIB" = "builtin" ; then
49505 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49506 fi
49507
49508 for i in $wxconfig_3rdparty ; do
49509 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49510 done
49511
49512
49513 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49514 WXUNIV=1
49515
49516 case "$wxUNIV_THEMES" in
49517 ''|all)
49518 cat >>confdefs.h <<\_ACEOF
49519 #define wxUSE_ALL_THEMES 1
49520 _ACEOF
49521
49522 ;;
49523
49524 *)
49525 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49526 cat >>confdefs.h <<_ACEOF
49527 #define wxUSE_THEME_$t 1
49528 _ACEOF
49529
49530 done
49531 esac
49532 else
49533 WXUNIV=0
49534 fi
49535
49536
49537
49538
49539
49540
49541
49542
49543
49544 if test $wxUSE_MONOLITHIC = "yes" ; then
49545 MONOLITHIC=1
49546 else
49547 MONOLITHIC=0
49548 fi
49549
49550 if test $wxUSE_PLUGINS = "yes" ; then
49551 USE_PLUGINS=1
49552 else
49553 USE_PLUGINS=0
49554 fi
49555
49556 if test $wxUSE_ODBC != "no" ; then
49557 USE_ODBC=1
49558 else
49559 USE_ODBC=0
49560 fi
49561
49562 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49563 USE_QA=1
49564 else
49565 USE_QA=0
49566 fi
49567
49568 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49569 OFFICIAL_BUILD=1
49570 else
49571 OFFICIAL_BUILD=0
49572 fi
49573
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49600
49601
49602
49603
49604
49605
49606
49607
49608 case "$TOOLKIT" in
49609 GTK)
49610 TOOLKIT_DESC="GTK+"
49611 if test "$WXGTK20" = 1; then
49612 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49613 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49614 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49615 fi
49616 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49617 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49618 fi
49619 if test "$wxUSE_LIBHILDON" = "yes"; then
49620 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49621 fi
49622
49623 if test "$TOOLKIT_EXTRA" != ""; then
49624 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49625 fi
49626 fi
49627 ;;
49628
49629 ?*)
49630 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49631 ;;
49632
49633 *)
49634 TOOLKIT_DESC="base only"
49635 ;;
49636 esac
49637
49638 if test "$wxUSE_WINE" = "yes"; then
49639 BAKEFILE_FORCE_PLATFORM=win32
49640 fi
49641
49642 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49643 then
49644 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49645 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49646 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49647 echo $ECHO_N "(cached) $ECHO_C" >&6
49648 else
49649
49650 echo '#include <stdio.h>
49651 const wchar_t test_var[] = L"awidetest";' > conftest.h
49652
49653 echo '#include "conftest.h"
49654 int main()
49655 {
49656 printf("%ls", test_var);
49657 return 0;
49658 }' > conftest.cpp
49659
49660 wx_cv_gcc_pch_bug="pch not supported"
49661
49662 if $CXX conftest.h >/dev/null 2>&1
49663 then
49664 wx_cv_gcc_pch_bug=
49665
49666 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49667 then
49668 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49669 grep awidetest >/dev/null
49670 then
49671 wx_cv_gcc_pch_bug=no
49672 else
49673 wx_cv_gcc_pch_bug=yes
49674 fi
49675 fi
49676 fi
49677
49678 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49679
49680 fi
49681 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49682 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49683
49684 if test "$wx_cv_gcc_pch_bug" = yes; then
49685 bk_use_pch=no
49686 fi
49687 fi
49688
49689
49690
49691
49692 if test "x$BAKEFILE_HOST" = "x"; then
49693 if test "x${host}" = "x" ; then
49694 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49695 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49696 { (exit 1); exit 1; }; }
49697 fi
49698
49699 BAKEFILE_HOST="${host}"
49700 fi
49701
49702 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49703
49704 if test -n "$ac_tool_prefix"; then
49705 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49706 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49709 if test "${ac_cv_prog_RANLIB+set}" = set; then
49710 echo $ECHO_N "(cached) $ECHO_C" >&6
49711 else
49712 if test -n "$RANLIB"; then
49713 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49714 else
49715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49716 for as_dir in $PATH
49717 do
49718 IFS=$as_save_IFS
49719 test -z "$as_dir" && as_dir=.
49720 for ac_exec_ext in '' $ac_executable_extensions; do
49721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49724 break 2
49725 fi
49726 done
49727 done
49728 IFS=$as_save_IFS
49729
49730 fi
49731 fi
49732 RANLIB=$ac_cv_prog_RANLIB
49733 if test -n "$RANLIB"; then
49734 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49735 echo "${ECHO_T}$RANLIB" >&6; }
49736 else
49737 { echo "$as_me:$LINENO: result: no" >&5
49738 echo "${ECHO_T}no" >&6; }
49739 fi
49740
49741
49742 fi
49743 if test -z "$ac_cv_prog_RANLIB"; then
49744 ac_ct_RANLIB=$RANLIB
49745 # Extract the first word of "ranlib", so it can be a program name with args.
49746 set dummy ranlib; ac_word=$2
49747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49749 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49750 echo $ECHO_N "(cached) $ECHO_C" >&6
49751 else
49752 if test -n "$ac_ct_RANLIB"; then
49753 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49754 else
49755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49756 for as_dir in $PATH
49757 do
49758 IFS=$as_save_IFS
49759 test -z "$as_dir" && as_dir=.
49760 for ac_exec_ext in '' $ac_executable_extensions; do
49761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49762 ac_cv_prog_ac_ct_RANLIB="ranlib"
49763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49764 break 2
49765 fi
49766 done
49767 done
49768 IFS=$as_save_IFS
49769
49770 fi
49771 fi
49772 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49773 if test -n "$ac_ct_RANLIB"; then
49774 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49775 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49776 else
49777 { echo "$as_me:$LINENO: result: no" >&5
49778 echo "${ECHO_T}no" >&6; }
49779 fi
49780
49781 if test "x$ac_ct_RANLIB" = x; then
49782 RANLIB=":"
49783 else
49784 case $cross_compiling:$ac_tool_warned in
49785 yes:)
49786 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49787 whose name does not start with the host triplet. If you think this
49788 configuration is useful to you, please write to autoconf@gnu.org." >&5
49789 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49790 whose name does not start with the host triplet. If you think this
49791 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49792 ac_tool_warned=yes ;;
49793 esac
49794 RANLIB=$ac_ct_RANLIB
49795 fi
49796 else
49797 RANLIB="$ac_cv_prog_RANLIB"
49798 fi
49799
49800 # Find a good install program. We prefer a C program (faster),
49801 # so one script is as good as another. But avoid the broken or
49802 # incompatible versions:
49803 # SysV /etc/install, /usr/sbin/install
49804 # SunOS /usr/etc/install
49805 # IRIX /sbin/install
49806 # AIX /bin/install
49807 # AmigaOS /C/install, which installs bootblocks on floppy discs
49808 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49809 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49810 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49811 # OS/2's system install, which has a completely different semantic
49812 # ./install, which can be erroneously created by make from ./install.sh.
49813 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49814 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49815 if test -z "$INSTALL"; then
49816 if test "${ac_cv_path_install+set}" = set; then
49817 echo $ECHO_N "(cached) $ECHO_C" >&6
49818 else
49819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49820 for as_dir in $PATH
49821 do
49822 IFS=$as_save_IFS
49823 test -z "$as_dir" && as_dir=.
49824 # Account for people who put trailing slashes in PATH elements.
49825 case $as_dir/ in
49826 ./ | .// | /cC/* | \
49827 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49828 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49829 /usr/ucb/* ) ;;
49830 *)
49831 # OSF1 and SCO ODT 3.0 have their own names for install.
49832 # Don't use installbsd from OSF since it installs stuff as root
49833 # by default.
49834 for ac_prog in ginstall scoinst install; do
49835 for ac_exec_ext in '' $ac_executable_extensions; do
49836 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49837 if test $ac_prog = install &&
49838 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49839 # AIX install. It has an incompatible calling convention.
49840 :
49841 elif test $ac_prog = install &&
49842 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49843 # program-specific install script used by HP pwplus--don't use.
49844 :
49845 else
49846 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49847 break 3
49848 fi
49849 fi
49850 done
49851 done
49852 ;;
49853 esac
49854 done
49855 IFS=$as_save_IFS
49856
49857
49858 fi
49859 if test "${ac_cv_path_install+set}" = set; then
49860 INSTALL=$ac_cv_path_install
49861 else
49862 # As a last resort, use the slow shell script. Don't cache a
49863 # value for INSTALL within a source directory, because that will
49864 # break other packages using the cache if that directory is
49865 # removed, or if the value is a relative name.
49866 INSTALL=$ac_install_sh
49867 fi
49868 fi
49869 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49870 echo "${ECHO_T}$INSTALL" >&6; }
49871
49872 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49873 # It thinks the first close brace ends the variable substitution.
49874 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49875
49876 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49877
49878 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49879
49880 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49881 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49882 LN_S=$as_ln_s
49883 if test "$LN_S" = "ln -s"; then
49884 { echo "$as_me:$LINENO: result: yes" >&5
49885 echo "${ECHO_T}yes" >&6; }
49886 else
49887 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49888 echo "${ECHO_T}no, using $LN_S" >&6; }
49889 fi
49890
49891
49892 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49893 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49894 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49895 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49896 echo $ECHO_N "(cached) $ECHO_C" >&6
49897 else
49898 cat >conftest.make <<\_ACEOF
49899 SHELL = /bin/sh
49900 all:
49901 @echo '@@@%%%=$(MAKE)=@@@%%%'
49902 _ACEOF
49903 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49904 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49905 *@@@%%%=?*=@@@%%%*)
49906 eval ac_cv_prog_make_${ac_make}_set=yes;;
49907 *)
49908 eval ac_cv_prog_make_${ac_make}_set=no;;
49909 esac
49910 rm -f conftest.make
49911 fi
49912 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49913 { echo "$as_me:$LINENO: result: yes" >&5
49914 echo "${ECHO_T}yes" >&6; }
49915 SET_MAKE=
49916 else
49917 { echo "$as_me:$LINENO: result: no" >&5
49918 echo "${ECHO_T}no" >&6; }
49919 SET_MAKE="MAKE=${MAKE-make}"
49920 fi
49921
49922
49923
49924 if test "x$SUNCXX" = "xyes"; then
49925 AR=$CXX
49926 AROPTIONS="-xar -o"
49927
49928 elif test "x$SGICC" = "xyes"; then
49929 AR=$CXX
49930 AROPTIONS="-ar -o"
49931
49932 else
49933 if test -n "$ac_tool_prefix"; then
49934 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49935 set dummy ${ac_tool_prefix}ar; ac_word=$2
49936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49938 if test "${ac_cv_prog_AR+set}" = set; then
49939 echo $ECHO_N "(cached) $ECHO_C" >&6
49940 else
49941 if test -n "$AR"; then
49942 ac_cv_prog_AR="$AR" # Let the user override the test.
49943 else
49944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49945 for as_dir in $PATH
49946 do
49947 IFS=$as_save_IFS
49948 test -z "$as_dir" && as_dir=.
49949 for ac_exec_ext in '' $ac_executable_extensions; do
49950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49951 ac_cv_prog_AR="${ac_tool_prefix}ar"
49952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49953 break 2
49954 fi
49955 done
49956 done
49957 IFS=$as_save_IFS
49958
49959 fi
49960 fi
49961 AR=$ac_cv_prog_AR
49962 if test -n "$AR"; then
49963 { echo "$as_me:$LINENO: result: $AR" >&5
49964 echo "${ECHO_T}$AR" >&6; }
49965 else
49966 { echo "$as_me:$LINENO: result: no" >&5
49967 echo "${ECHO_T}no" >&6; }
49968 fi
49969
49970
49971 fi
49972 if test -z "$ac_cv_prog_AR"; then
49973 ac_ct_AR=$AR
49974 # Extract the first word of "ar", so it can be a program name with args.
49975 set dummy ar; ac_word=$2
49976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49978 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49979 echo $ECHO_N "(cached) $ECHO_C" >&6
49980 else
49981 if test -n "$ac_ct_AR"; then
49982 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49983 else
49984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49985 for as_dir in $PATH
49986 do
49987 IFS=$as_save_IFS
49988 test -z "$as_dir" && as_dir=.
49989 for ac_exec_ext in '' $ac_executable_extensions; do
49990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49991 ac_cv_prog_ac_ct_AR="ar"
49992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49993 break 2
49994 fi
49995 done
49996 done
49997 IFS=$as_save_IFS
49998
49999 fi
50000 fi
50001 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50002 if test -n "$ac_ct_AR"; then
50003 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50004 echo "${ECHO_T}$ac_ct_AR" >&6; }
50005 else
50006 { echo "$as_me:$LINENO: result: no" >&5
50007 echo "${ECHO_T}no" >&6; }
50008 fi
50009
50010 if test "x$ac_ct_AR" = x; then
50011 AR="ar"
50012 else
50013 case $cross_compiling:$ac_tool_warned in
50014 yes:)
50015 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50016 whose name does not start with the host triplet. If you think this
50017 configuration is useful to you, please write to autoconf@gnu.org." >&5
50018 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50019 whose name does not start with the host triplet. If you think this
50020 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50021 ac_tool_warned=yes ;;
50022 esac
50023 AR=$ac_ct_AR
50024 fi
50025 else
50026 AR="$ac_cv_prog_AR"
50027 fi
50028
50029 AROPTIONS=rcu
50030 fi
50031
50032
50033 if test -n "$ac_tool_prefix"; then
50034 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50035 set dummy ${ac_tool_prefix}strip; ac_word=$2
50036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50038 if test "${ac_cv_prog_STRIP+set}" = set; then
50039 echo $ECHO_N "(cached) $ECHO_C" >&6
50040 else
50041 if test -n "$STRIP"; then
50042 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50043 else
50044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50045 for as_dir in $PATH
50046 do
50047 IFS=$as_save_IFS
50048 test -z "$as_dir" && as_dir=.
50049 for ac_exec_ext in '' $ac_executable_extensions; do
50050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50051 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50053 break 2
50054 fi
50055 done
50056 done
50057 IFS=$as_save_IFS
50058
50059 fi
50060 fi
50061 STRIP=$ac_cv_prog_STRIP
50062 if test -n "$STRIP"; then
50063 { echo "$as_me:$LINENO: result: $STRIP" >&5
50064 echo "${ECHO_T}$STRIP" >&6; }
50065 else
50066 { echo "$as_me:$LINENO: result: no" >&5
50067 echo "${ECHO_T}no" >&6; }
50068 fi
50069
50070
50071 fi
50072 if test -z "$ac_cv_prog_STRIP"; then
50073 ac_ct_STRIP=$STRIP
50074 # Extract the first word of "strip", so it can be a program name with args.
50075 set dummy strip; ac_word=$2
50076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50079 echo $ECHO_N "(cached) $ECHO_C" >&6
50080 else
50081 if test -n "$ac_ct_STRIP"; then
50082 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50083 else
50084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50085 for as_dir in $PATH
50086 do
50087 IFS=$as_save_IFS
50088 test -z "$as_dir" && as_dir=.
50089 for ac_exec_ext in '' $ac_executable_extensions; do
50090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50091 ac_cv_prog_ac_ct_STRIP="strip"
50092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50093 break 2
50094 fi
50095 done
50096 done
50097 IFS=$as_save_IFS
50098
50099 fi
50100 fi
50101 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50102 if test -n "$ac_ct_STRIP"; then
50103 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50104 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50105 else
50106 { echo "$as_me:$LINENO: result: no" >&5
50107 echo "${ECHO_T}no" >&6; }
50108 fi
50109
50110 if test "x$ac_ct_STRIP" = x; then
50111 STRIP=":"
50112 else
50113 case $cross_compiling:$ac_tool_warned in
50114 yes:)
50115 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50116 whose name does not start with the host triplet. If you think this
50117 configuration is useful to you, please write to autoconf@gnu.org." >&5
50118 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50119 whose name does not start with the host triplet. If you think this
50120 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50121 ac_tool_warned=yes ;;
50122 esac
50123 STRIP=$ac_ct_STRIP
50124 fi
50125 else
50126 STRIP="$ac_cv_prog_STRIP"
50127 fi
50128
50129 if test -n "$ac_tool_prefix"; then
50130 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50131 set dummy ${ac_tool_prefix}nm; ac_word=$2
50132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50134 if test "${ac_cv_prog_NM+set}" = set; then
50135 echo $ECHO_N "(cached) $ECHO_C" >&6
50136 else
50137 if test -n "$NM"; then
50138 ac_cv_prog_NM="$NM" # Let the user override the test.
50139 else
50140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50141 for as_dir in $PATH
50142 do
50143 IFS=$as_save_IFS
50144 test -z "$as_dir" && as_dir=.
50145 for ac_exec_ext in '' $ac_executable_extensions; do
50146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50147 ac_cv_prog_NM="${ac_tool_prefix}nm"
50148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50149 break 2
50150 fi
50151 done
50152 done
50153 IFS=$as_save_IFS
50154
50155 fi
50156 fi
50157 NM=$ac_cv_prog_NM
50158 if test -n "$NM"; then
50159 { echo "$as_me:$LINENO: result: $NM" >&5
50160 echo "${ECHO_T}$NM" >&6; }
50161 else
50162 { echo "$as_me:$LINENO: result: no" >&5
50163 echo "${ECHO_T}no" >&6; }
50164 fi
50165
50166
50167 fi
50168 if test -z "$ac_cv_prog_NM"; then
50169 ac_ct_NM=$NM
50170 # Extract the first word of "nm", so it can be a program name with args.
50171 set dummy nm; ac_word=$2
50172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50174 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50175 echo $ECHO_N "(cached) $ECHO_C" >&6
50176 else
50177 if test -n "$ac_ct_NM"; then
50178 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50179 else
50180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50181 for as_dir in $PATH
50182 do
50183 IFS=$as_save_IFS
50184 test -z "$as_dir" && as_dir=.
50185 for ac_exec_ext in '' $ac_executable_extensions; do
50186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50187 ac_cv_prog_ac_ct_NM="nm"
50188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50189 break 2
50190 fi
50191 done
50192 done
50193 IFS=$as_save_IFS
50194
50195 fi
50196 fi
50197 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50198 if test -n "$ac_ct_NM"; then
50199 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50200 echo "${ECHO_T}$ac_ct_NM" >&6; }
50201 else
50202 { echo "$as_me:$LINENO: result: no" >&5
50203 echo "${ECHO_T}no" >&6; }
50204 fi
50205
50206 if test "x$ac_ct_NM" = x; then
50207 NM=":"
50208 else
50209 case $cross_compiling:$ac_tool_warned in
50210 yes:)
50211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50212 whose name does not start with the host triplet. If you think this
50213 configuration is useful to you, please write to autoconf@gnu.org." >&5
50214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50215 whose name does not start with the host triplet. If you think this
50216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50217 ac_tool_warned=yes ;;
50218 esac
50219 NM=$ac_ct_NM
50220 fi
50221 else
50222 NM="$ac_cv_prog_NM"
50223 fi
50224
50225
50226 case ${BAKEFILE_HOST} in
50227 *-hp-hpux* )
50228 INSTALL_DIR="mkdir -p"
50229 ;;
50230 * )
50231 INSTALL_DIR='$(INSTALL) -d'
50232 ;;
50233 esac
50234
50235
50236 LDFLAGS_GUI=
50237 case ${BAKEFILE_HOST} in
50238 *-*-cygwin* | *-*-mingw32* )
50239 LDFLAGS_GUI="-mwindows"
50240 esac
50241
50242
50243 fi
50244
50245 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50246 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50247 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50248 echo $ECHO_N "(cached) $ECHO_C" >&6
50249 else
50250
50251 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50252 egrep -s GNU > /dev/null); then
50253 bakefile_cv_prog_makeisgnu="yes"
50254 else
50255 bakefile_cv_prog_makeisgnu="no"
50256 fi
50257
50258 fi
50259 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50260 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50261
50262 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50263 IF_GNU_MAKE=""
50264 else
50265 IF_GNU_MAKE="#"
50266 fi
50267
50268
50269
50270 PLATFORM_UNIX=0
50271 PLATFORM_WIN32=0
50272 PLATFORM_MSDOS=0
50273 PLATFORM_MAC=0
50274 PLATFORM_MACOS=0
50275 PLATFORM_MACOSX=0
50276 PLATFORM_OS2=0
50277 PLATFORM_BEOS=0
50278
50279 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50280 case "${BAKEFILE_HOST}" in
50281 *-*-mingw32* )
50282 PLATFORM_WIN32=1
50283 ;;
50284 *-pc-msdosdjgpp )
50285 PLATFORM_MSDOS=1
50286 ;;
50287 *-pc-os2_emx | *-pc-os2-emx )
50288 PLATFORM_OS2=1
50289 ;;
50290 *-*-darwin* )
50291 PLATFORM_MAC=1
50292 PLATFORM_MACOSX=1
50293 ;;
50294 *-*-beos* )
50295 PLATFORM_BEOS=1
50296 ;;
50297 powerpc-apple-macos* )
50298 PLATFORM_MAC=1
50299 PLATFORM_MACOS=1
50300 ;;
50301 * )
50302 PLATFORM_UNIX=1
50303 ;;
50304 esac
50305 else
50306 case "$BAKEFILE_FORCE_PLATFORM" in
50307 win32 )
50308 PLATFORM_WIN32=1
50309 ;;
50310 msdos )
50311 PLATFORM_MSDOS=1
50312 ;;
50313 os2 )
50314 PLATFORM_OS2=1
50315 ;;
50316 darwin )
50317 PLATFORM_MAC=1
50318 PLATFORM_MACOSX=1
50319 ;;
50320 unix )
50321 PLATFORM_UNIX=1
50322 ;;
50323 beos )
50324 PLATFORM_BEOS=1
50325 ;;
50326 * )
50327 ;;
50328 esac
50329 fi
50330
50331
50332
50333
50334
50335
50336
50337
50338
50339
50340
50341 # Check whether --enable-omf was given.
50342 if test "${enable_omf+set}" = set; then
50343 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50344 fi
50345
50346
50347 case "${BAKEFILE_HOST}" in
50348 *-*-darwin* )
50349 if test "x$GCC" = "xyes"; then
50350 CFLAGS="$CFLAGS -fno-common"
50351 CXXFLAGS="$CXXFLAGS -fno-common"
50352 fi
50353 if test "x$XLCC" = "xyes"; then
50354 CFLAGS="$CFLAGS -qnocommon"
50355 CXXFLAGS="$CXXFLAGS -qnocommon"
50356 fi
50357 ;;
50358
50359 *-pc-os2_emx | *-pc-os2-emx )
50360 if test "x$bk_os2_use_omf" = "xyes" ; then
50361 AR=emxomfar
50362 RANLIB=:
50363 LDFLAGS="-Zomf $LDFLAGS"
50364 CFLAGS="-Zomf $CFLAGS"
50365 CXXFLAGS="-Zomf $CXXFLAGS"
50366 OS2_LIBEXT="lib"
50367 else
50368 OS2_LIBEXT="a"
50369 fi
50370 ;;
50371
50372 i*86-*-beos* )
50373 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50374 ;;
50375 esac
50376
50377
50378 SO_SUFFIX="so"
50379 SO_SUFFIX_MODULE="so"
50380 EXEEXT=""
50381 LIBPREFIX="lib"
50382 LIBEXT=".a"
50383 DLLPREFIX="lib"
50384 DLLPREFIX_MODULE=""
50385 DLLIMP_SUFFIX=""
50386 dlldir="$libdir"
50387
50388 case "${BAKEFILE_HOST}" in
50389 *-hp-hpux* )
50390 SO_SUFFIX="sl"
50391 SO_SUFFIX_MODULE="sl"
50392 ;;
50393 *-*-aix* )
50394 SO_SUFFIX="a"
50395 SO_SUFFIX_MODULE="a"
50396 ;;
50397 *-*-cygwin* )
50398 SO_SUFFIX="dll"
50399 SO_SUFFIX_MODULE="dll"
50400 DLLIMP_SUFFIX="dll.a"
50401 EXEEXT=".exe"
50402 DLLPREFIX="cyg"
50403 dlldir="$bindir"
50404 ;;
50405 *-*-mingw32* )
50406 SO_SUFFIX="dll"
50407 SO_SUFFIX_MODULE="dll"
50408 DLLIMP_SUFFIX="dll.a"
50409 EXEEXT=".exe"
50410 DLLPREFIX=""
50411 dlldir="$bindir"
50412 ;;
50413 *-pc-msdosdjgpp )
50414 EXEEXT=".exe"
50415 DLLPREFIX=""
50416 dlldir="$bindir"
50417 ;;
50418 *-pc-os2_emx | *-pc-os2-emx )
50419 SO_SUFFIX="dll"
50420 SO_SUFFIX_MODULE="dll"
50421 DLLIMP_SUFFIX=$OS2_LIBEXT
50422 EXEEXT=".exe"
50423 DLLPREFIX=""
50424 LIBPREFIX=""
50425 LIBEXT=".$OS2_LIBEXT"
50426 dlldir="$bindir"
50427 ;;
50428 *-*-darwin* )
50429 SO_SUFFIX="dylib"
50430 SO_SUFFIX_MODULE="bundle"
50431 ;;
50432 esac
50433
50434 if test "x$DLLIMP_SUFFIX" = "x" ; then
50435 DLLIMP_SUFFIX="$SO_SUFFIX"
50436 fi
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449 PIC_FLAG=""
50450 if test "x$GCC" = "xyes"; then
50451 PIC_FLAG="-fPIC"
50452 fi
50453
50454 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50455 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50456 WINDOWS_IMPLIB=0
50457
50458 case "${BAKEFILE_HOST}" in
50459 *-hp-hpux* )
50460 if test "x$GCC" != "xyes"; then
50461 LDFLAGS="$LDFLAGS -L/usr/lib"
50462
50463 SHARED_LD_CC="${CC} -b -o"
50464 SHARED_LD_CXX="${CXX} -b -o"
50465 PIC_FLAG="+Z"
50466 fi
50467 ;;
50468
50469 *-*-linux* )
50470 if test "$INTELCC" = "yes"; then
50471 PIC_FLAG="-KPIC"
50472 elif test "x$SUNCXX" = "xyes"; then
50473 SHARED_LD_CC="${CC} -G -o"
50474 SHARED_LD_CXX="${CXX} -G -o"
50475 PIC_FLAG="-KPIC"
50476 fi
50477 ;;
50478
50479 *-*-solaris2* )
50480 if test "x$SUNCXX" = xyes ; then
50481 SHARED_LD_CC="${CC} -G -o"
50482 SHARED_LD_CXX="${CXX} -G -o"
50483 PIC_FLAG="-KPIC"
50484 fi
50485 ;;
50486
50487 *-*-darwin* )
50488
50489 D='$'
50490 cat <<EOF >shared-ld-sh
50491 #!/bin/sh
50492 #-----------------------------------------------------------------------------
50493 #-- Name: distrib/mac/shared-ld-sh
50494 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50495 #-- Author: Gilles Depeyrot
50496 #-- Copyright: (c) 2002 Gilles Depeyrot
50497 #-- Licence: any use permitted
50498 #-----------------------------------------------------------------------------
50499
50500 verbose=0
50501 args=""
50502 objects=""
50503 linking_flag="-dynamiclib"
50504 ldargs="-r -keep_private_externs -nostdlib"
50505
50506 while test ${D}# -gt 0; do
50507 case ${D}1 in
50508
50509 -v)
50510 verbose=1
50511 ;;
50512
50513 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50514 # collect these options and values
50515 args="${D}{args} ${D}1 ${D}2"
50516 shift
50517 ;;
50518
50519 -s|-Wl,*)
50520 # collect these load args
50521 ldargs="${D}{ldargs} ${D}1"
50522 ;;
50523
50524 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50525 # collect these options
50526 args="${D}{args} ${D}1"
50527 ;;
50528
50529 -dynamiclib|-bundle)
50530 linking_flag="${D}1"
50531 ;;
50532
50533 -*)
50534 echo "shared-ld: unhandled option '${D}1'"
50535 exit 1
50536 ;;
50537
50538 *.o | *.a | *.dylib)
50539 # collect object files
50540 objects="${D}{objects} ${D}1"
50541 ;;
50542
50543 *)
50544 echo "shared-ld: unhandled argument '${D}1'"
50545 exit 1
50546 ;;
50547
50548 esac
50549 shift
50550 done
50551
50552 status=0
50553
50554 #
50555 # Link one module containing all the others
50556 #
50557 if test ${D}{verbose} = 1; then
50558 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50559 fi
50560 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50561 status=${D}?
50562
50563 #
50564 # Link the shared library from the single module created, but only if the
50565 # previous command didn't fail:
50566 #
50567 if test ${D}{status} = 0; then
50568 if test ${D}{verbose} = 1; then
50569 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50570 fi
50571 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50572 status=${D}?
50573 fi
50574
50575 #
50576 # Remove intermediate module
50577 #
50578 rm -f master.${D}${D}.o
50579
50580 exit ${D}status
50581 EOF
50582
50583 chmod +x shared-ld-sh
50584
50585 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50586 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50587
50588
50589 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50590 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50591 if test "${bakefile_cv_gcc31+set}" = set; then
50592 echo $ECHO_N "(cached) $ECHO_C" >&6
50593 else
50594
50595 cat >conftest.$ac_ext <<_ACEOF
50596 /* confdefs.h. */
50597 _ACEOF
50598 cat confdefs.h >>conftest.$ac_ext
50599 cat >>conftest.$ac_ext <<_ACEOF
50600 /* end confdefs.h. */
50601
50602 int
50603 main ()
50604 {
50605
50606 #if (__GNUC__ < 3) || \
50607 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50608 This is old gcc
50609 #endif
50610
50611 ;
50612 return 0;
50613 }
50614 _ACEOF
50615 rm -f conftest.$ac_objext
50616 if { (ac_try="$ac_compile"
50617 case "(($ac_try" in
50618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50619 *) ac_try_echo=$ac_try;;
50620 esac
50621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50622 (eval "$ac_compile") 2>conftest.er1
50623 ac_status=$?
50624 grep -v '^ *+' conftest.er1 >conftest.err
50625 rm -f conftest.er1
50626 cat conftest.err >&5
50627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50628 (exit $ac_status); } && {
50629 test -z "$ac_c_werror_flag" ||
50630 test ! -s conftest.err
50631 } && test -s conftest.$ac_objext; then
50632
50633 bakefile_cv_gcc31=yes
50634
50635 else
50636 echo "$as_me: failed program was:" >&5
50637 sed 's/^/| /' conftest.$ac_ext >&5
50638
50639
50640 bakefile_cv_gcc31=no
50641
50642
50643 fi
50644
50645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50646
50647 fi
50648 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50649 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50650 if test "$bakefile_cv_gcc31" = "no"; then
50651 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50652 SHARED_LD_CXX="$SHARED_LD_CC"
50653 else
50654 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50655 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50656 fi
50657
50658 if test "x$GCC" == "xyes"; then
50659 PIC_FLAG="-dynamic -fPIC"
50660 fi
50661 if test "x$XLCC" = "xyes"; then
50662 PIC_FLAG="-dynamic -DPIC"
50663 fi
50664 ;;
50665
50666 *-*-aix* )
50667 if test "x$GCC" = "xyes"; then
50668 PIC_FLAG=""
50669
50670 case "${BAKEFILE_HOST}" in
50671 *-*-aix5* )
50672 LD_EXPFULL="-Wl,-bexpfull"
50673 ;;
50674 esac
50675
50676 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50677 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50678 else
50679 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50680 set dummy makeC++SharedLib; ac_word=$2
50681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50683 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50684 echo $ECHO_N "(cached) $ECHO_C" >&6
50685 else
50686 if test -n "$AIX_CXX_LD"; then
50687 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50688 else
50689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50690 for as_dir in $PATH
50691 do
50692 IFS=$as_save_IFS
50693 test -z "$as_dir" && as_dir=.
50694 for ac_exec_ext in '' $ac_executable_extensions; do
50695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50696 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50698 break 2
50699 fi
50700 done
50701 done
50702 IFS=$as_save_IFS
50703
50704 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50705 fi
50706 fi
50707 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50708 if test -n "$AIX_CXX_LD"; then
50709 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50710 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50711 else
50712 { echo "$as_me:$LINENO: result: no" >&5
50713 echo "${ECHO_T}no" >&6; }
50714 fi
50715
50716
50717 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50718 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50719 fi
50720 ;;
50721
50722 *-*-beos* )
50723 SHARED_LD_CC="${LD} -nostart -o"
50724 SHARED_LD_CXX="${LD} -nostart -o"
50725 ;;
50726
50727 *-*-irix* )
50728 if test "x$GCC" != "xyes"; then
50729 PIC_FLAG="-KPIC"
50730 fi
50731 ;;
50732
50733 *-*-cygwin* | *-*-mingw32* )
50734 PIC_FLAG=""
50735 SHARED_LD_CC="\$(CC) -shared -o"
50736 SHARED_LD_CXX="\$(CXX) -shared -o"
50737 WINDOWS_IMPLIB=1
50738 ;;
50739
50740 *-pc-os2_emx | *-pc-os2-emx )
50741 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50742 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50743 PIC_FLAG=""
50744
50745 D='$'
50746 cat <<EOF >dllar.sh
50747 #!/bin/sh
50748 #
50749 # dllar - a tool to build both a .dll and an .a file
50750 # from a set of object (.o) files for EMX/OS2.
50751 #
50752 # Written by Andrew Zabolotny, bit@freya.etu.ru
50753 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50754 #
50755 # This script will accept a set of files on the command line.
50756 # All the public symbols from the .o files will be exported into
50757 # a .DEF file, then linker will be run (through gcc) against them to
50758 # build a shared library consisting of all given .o files. All libraries
50759 # (.a) will be first decompressed into component .o files then act as
50760 # described above. You can optionally give a description (-d "description")
50761 # which will be put into .DLL. To see the list of accepted options (as well
50762 # as command-line format) simply run this program without options. The .DLL
50763 # is built to be imported by name (there is no guarantee that new versions
50764 # of the library you build will have same ordinals for same symbols).
50765 #
50766 # dllar is free software; you can redistribute it and/or modify
50767 # it under the terms of the GNU General Public License as published by
50768 # the Free Software Foundation; either version 2, or (at your option)
50769 # any later version.
50770 #
50771 # dllar is distributed in the hope that it will be useful,
50772 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50773 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50774 # GNU General Public License for more details.
50775 #
50776 # You should have received a copy of the GNU General Public License
50777 # along with dllar; see the file COPYING. If not, write to the Free
50778 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50779 # 02111-1307, USA.
50780
50781 # To successfuly run this program you will need:
50782 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50783 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50784 # - gcc
50785 # (used to build the .dll)
50786 # - emxexp
50787 # (used to create .def file from .o files)
50788 # - emximp
50789 # (used to create .a file from .def file)
50790 # - GNU text utilites (cat, sort, uniq)
50791 # used to process emxexp output
50792 # - GNU file utilities (mv, rm)
50793 # - GNU sed
50794 # - lxlite (optional, see flag below)
50795 # (used for general .dll cleanup)
50796 #
50797
50798 flag_USE_LXLITE=1;
50799
50800 #
50801 # helper functions
50802 # basnam, variant of basename, which does _not_ remove the path, _iff_
50803 # second argument (suffix to remove) is given
50804 basnam(){
50805 case ${D}# in
50806 1)
50807 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50808 ;;
50809 2)
50810 echo ${D}1 | sed 's/'${D}2'${D}//'
50811 ;;
50812 *)
50813 echo "error in basnam ${D}*"
50814 exit 8
50815 ;;
50816 esac
50817 }
50818
50819 # Cleanup temporary files and output
50820 CleanUp() {
50821 cd ${D}curDir
50822 for i in ${D}inputFiles ; do
50823 case ${D}i in
50824 *!)
50825 rm -rf \`basnam ${D}i !\`
50826 ;;
50827 *)
50828 ;;
50829 esac
50830 done
50831
50832 # Kill result in case of failure as there is just to many stupid make/nmake
50833 # things out there which doesn't do this.
50834 if [ ${D}# -eq 0 ]; then
50835 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50836 fi
50837 }
50838
50839 # Print usage and exit script with rc=1.
50840 PrintHelp() {
50841 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50842 echo ' [-name-mangler-script script.sh]'
50843 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50844 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50845 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50846 echo ' [*.o] [*.a]'
50847 echo '*> "output_file" should have no extension.'
50848 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50849 echo ' The import library name is derived from this and is set to "name".a,'
50850 echo ' unless overridden by -import'
50851 echo '*> "importlib_name" should have no extension.'
50852 echo ' If it has the .o, or .a extension, it is automatically removed.'
50853 echo ' This name is used as the import library name and may be longer and'
50854 echo ' more descriptive than the DLL name which has to follow the old '
50855 echo ' 8.3 convention of FAT.'
50856 echo '*> "script.sh may be given to override the output_file name by a'
50857 echo ' different name. It is mainly useful if the regular make process'
50858 echo ' of some package does not take into account OS/2 restriction of'
50859 echo ' DLL name lengths. It takes the importlib name as input and is'
50860 echo ' supposed to procude a shorter name as output. The script should'
50861 echo ' expect to get importlib_name without extension and should produce'
50862 echo ' a (max.) 8 letter name without extension.'
50863 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50864 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50865 echo ' These flags will be put at the start of GCC command line.'
50866 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50867 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50868 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50869 echo ' If the last character of a symbol is "*", all symbols beginning'
50870 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50871 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50872 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50873 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50874 echo ' C runtime DLLs.'
50875 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50876 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50877 echo ' unchanged to GCC at the end of command line.'
50878 echo '*> If you create a DLL from a library and you do not specify -o,'
50879 echo ' the basename for DLL and import library will be set to library name,'
50880 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50881 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50882 echo ' library will be renamed into gcc_s.a.'
50883 echo '--------'
50884 echo 'Example:'
50885 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50886 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50887 CleanUp
50888 exit 1
50889 }
50890
50891 # Execute a command.
50892 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50893 # @Uses Whatever CleanUp() uses.
50894 doCommand() {
50895 echo "${D}*"
50896 eval ${D}*
50897 rcCmd=${D}?
50898
50899 if [ ${D}rcCmd -ne 0 ]; then
50900 echo "command failed, exit code="${D}rcCmd
50901 CleanUp
50902 exit ${D}rcCmd
50903 fi
50904 }
50905
50906 # main routine
50907 # setup globals
50908 cmdLine=${D}*
50909 outFile=""
50910 outimpFile=""
50911 inputFiles=""
50912 renameScript=""
50913 description=""
50914 CC=gcc.exe
50915 CFLAGS="-s -Zcrtdll"
50916 EXTRA_CFLAGS=""
50917 EXPORT_BY_ORDINALS=0
50918 exclude_symbols=""
50919 library_flags=""
50920 curDir=\`pwd\`
50921 curDirS=curDir
50922 case ${D}curDirS in
50923 */)
50924 ;;
50925 *)
50926 curDirS=${D}{curDirS}"/"
50927 ;;
50928 esac
50929 # Parse commandline
50930 libsToLink=0
50931 omfLinking=0
50932 while [ ${D}1 ]; do
50933 case ${D}1 in
50934 -ord*)
50935 EXPORT_BY_ORDINALS=1;
50936 ;;
50937 -o*)
50938 shift
50939 outFile=${D}1
50940 ;;
50941 -i*)
50942 shift
50943 outimpFile=${D}1
50944 ;;
50945 -name-mangler-script)
50946 shift
50947 renameScript=${D}1
50948 ;;
50949 -d*)
50950 shift
50951 description=${D}1
50952 ;;
50953 -f*)
50954 shift
50955 CFLAGS=${D}1
50956 ;;
50957 -c*)
50958 shift
50959 CC=${D}1
50960 ;;
50961 -h*)
50962 PrintHelp
50963 ;;
50964 -ex*)
50965 shift
50966 exclude_symbols=${D}{exclude_symbols}${D}1" "
50967 ;;
50968 -libf*)
50969 shift
50970 library_flags=${D}{library_flags}${D}1" "
50971 ;;
50972 -nocrt*)
50973 CFLAGS="-s"
50974 ;;
50975 -nolxl*)
50976 flag_USE_LXLITE=0
50977 ;;
50978 -* | /*)
50979 case ${D}1 in
50980 -L* | -l*)
50981 libsToLink=1
50982 ;;
50983 -Zomf)
50984 omfLinking=1
50985 ;;
50986 *)
50987 ;;
50988 esac
50989 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50990 ;;
50991 *.dll)
50992 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50993 if [ ${D}omfLinking -eq 1 ]; then
50994 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50995 else
50996 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50997 fi
50998 ;;
50999 *)
51000 found=0;
51001 if [ ${D}libsToLink -ne 0 ]; then
51002 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51003 else
51004 for file in ${D}1 ; do
51005 if [ -f ${D}file ]; then
51006 inputFiles="${D}{inputFiles} ${D}file"
51007 found=1
51008 fi
51009 done
51010 if [ ${D}found -eq 0 ]; then
51011 echo "ERROR: No file(s) found: "${D}1
51012 exit 8
51013 fi
51014 fi
51015 ;;
51016 esac
51017 shift
51018 done # iterate cmdline words
51019
51020 #
51021 if [ -z "${D}inputFiles" ]; then
51022 echo "dllar: no input files"
51023 PrintHelp
51024 fi
51025
51026 # Now extract all .o files from .a files
51027 newInputFiles=""
51028 for file in ${D}inputFiles ; do
51029 case ${D}file in
51030 *.a | *.lib)
51031 case ${D}file in
51032 *.a)
51033 suffix=".a"
51034 AR="ar"
51035 ;;
51036 *.lib)
51037 suffix=".lib"
51038 AR="emxomfar"
51039 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51040 ;;
51041 *)
51042 ;;
51043 esac
51044 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51045 mkdir ${D}dirname
51046 if [ ${D}? -ne 0 ]; then
51047 echo "Failed to create subdirectory ./${D}dirname"
51048 CleanUp
51049 exit 8;
51050 fi
51051 # Append '!' to indicate archive
51052 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51053 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51054 cd ${D}curDir
51055 found=0;
51056 for subfile in ${D}dirname/*.o* ; do
51057 if [ -f ${D}subfile ]; then
51058 found=1
51059 if [ -s ${D}subfile ]; then
51060 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51061 newInputFiles="${D}newInputFiles ${D}subfile"
51062 fi
51063 fi
51064 done
51065 if [ ${D}found -eq 0 ]; then
51066 echo "WARNING: there are no files in archive \\'${D}file\\'"
51067 fi
51068 ;;
51069 *)
51070 newInputFiles="${D}{newInputFiles} ${D}file"
51071 ;;
51072 esac
51073 done
51074 inputFiles="${D}newInputFiles"
51075
51076 # Output filename(s).
51077 do_backup=0;
51078 if [ -z ${D}outFile ]; then
51079 do_backup=1;
51080 set outFile ${D}inputFiles; outFile=${D}2
51081 fi
51082
51083 # If it is an archive, remove the '!' and the '_%' suffixes
51084 case ${D}outFile in
51085 *_%!)
51086 outFile=\`basnam ${D}outFile _%!\`
51087 ;;
51088 *)
51089 ;;
51090 esac
51091 case ${D}outFile in
51092 *.dll)
51093 outFile=\`basnam ${D}outFile .dll\`
51094 ;;
51095 *.DLL)
51096 outFile=\`basnam ${D}outFile .DLL\`
51097 ;;
51098 *.o)
51099 outFile=\`basnam ${D}outFile .o\`
51100 ;;
51101 *.obj)
51102 outFile=\`basnam ${D}outFile .obj\`
51103 ;;
51104 *.a)
51105 outFile=\`basnam ${D}outFile .a\`
51106 ;;
51107 *.lib)
51108 outFile=\`basnam ${D}outFile .lib\`
51109 ;;
51110 *)
51111 ;;
51112 esac
51113 case ${D}outimpFile in
51114 *.a)
51115 outimpFile=\`basnam ${D}outimpFile .a\`
51116 ;;
51117 *.lib)
51118 outimpFile=\`basnam ${D}outimpFile .lib\`
51119 ;;
51120 *)
51121 ;;
51122 esac
51123 if [ -z ${D}outimpFile ]; then
51124 outimpFile=${D}outFile
51125 fi
51126 defFile="${D}{outFile}.def"
51127 arcFile="${D}{outimpFile}.a"
51128 arcFile2="${D}{outimpFile}.lib"
51129
51130 #create ${D}dllFile as something matching 8.3 restrictions,
51131 if [ -z ${D}renameScript ] ; then
51132 dllFile="${D}outFile"
51133 else
51134 dllFile=\`${D}renameScript ${D}outimpFile\`
51135 fi
51136
51137 if [ ${D}do_backup -ne 0 ] ; then
51138 if [ -f ${D}arcFile ] ; then
51139 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51140 fi
51141 if [ -f ${D}arcFile2 ] ; then
51142 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51143 fi
51144 fi
51145
51146 # Extract public symbols from all the object files.
51147 tmpdefFile=${D}{defFile}_%
51148 rm -f ${D}tmpdefFile
51149 for file in ${D}inputFiles ; do
51150 case ${D}file in
51151 *!)
51152 ;;
51153 *)
51154 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51155 ;;
51156 esac
51157 done
51158
51159 # Create the def file.
51160 rm -f ${D}defFile
51161 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51162 dllFile="${D}{dllFile}.dll"
51163 if [ ! -z ${D}description ]; then
51164 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51165 fi
51166 echo "EXPORTS" >> ${D}defFile
51167
51168 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51169 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51170
51171 # Checks if the export is ok or not.
51172 for word in ${D}exclude_symbols; do
51173 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51174 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51175 done
51176
51177
51178 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51179 sed "=" < ${D}tmpdefFile | \\
51180 sed '
51181 N
51182 : loop
51183 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51184 t loop
51185 ' > ${D}{tmpdefFile}%
51186 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51187 else
51188 rm -f ${D}{tmpdefFile}%
51189 fi
51190 cat ${D}tmpdefFile >> ${D}defFile
51191 rm -f ${D}tmpdefFile
51192
51193 # Do linking, create implib, and apply lxlite.
51194 gccCmdl="";
51195 for file in ${D}inputFiles ; do
51196 case ${D}file in
51197 *!)
51198 ;;
51199 *)
51200 gccCmdl="${D}gccCmdl ${D}file"
51201 ;;
51202 esac
51203 done
51204 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51205 touch "${D}{outFile}.dll"
51206
51207 doCommand "emximp -o ${D}arcFile ${D}defFile"
51208 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51209 add_flags="";
51210 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51211 add_flags="-ynd"
51212 fi
51213 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51214 fi
51215 doCommand "emxomf -s -l ${D}arcFile"
51216
51217 # Successful exit.
51218 CleanUp 1
51219 exit 0
51220 EOF
51221
51222 chmod +x dllar.sh
51223 ;;
51224
51225 powerpc-apple-macos* | \
51226 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51227 *-*-mirbsd* | \
51228 *-*-sunos4* | \
51229 *-*-osf* | \
51230 *-*-dgux5* | \
51231 *-*-sysv5* | \
51232 *-pc-msdosdjgpp )
51233 ;;
51234
51235 *)
51236 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51237 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51238 { (exit 1); exit 1; }; }
51239 esac
51240
51241 if test "x$PIC_FLAG" != "x" ; then
51242 PIC_FLAG="$PIC_FLAG -DPIC"
51243 fi
51244
51245 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51246 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51247 fi
51248 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51249 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51250 fi
51251
51252
51253
51254
51255
51256
51257
51258
51259
51260 USE_SOVERSION=0
51261 USE_SOVERLINUX=0
51262 USE_SOVERSOLARIS=0
51263 USE_SOVERCYGWIN=0
51264 USE_SOSYMLINKS=0
51265 USE_MACVERSION=0
51266 SONAME_FLAG=
51267
51268 case "${BAKEFILE_HOST}" in
51269 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51270 if test "x$SUNCXX" = "xyes"; then
51271 SONAME_FLAG="-h "
51272 else
51273 SONAME_FLAG="-Wl,-soname,"
51274 fi
51275 USE_SOVERSION=1
51276 USE_SOVERLINUX=1
51277 USE_SOSYMLINKS=1
51278 ;;
51279
51280 *-*-solaris2* )
51281 SONAME_FLAG="-h "
51282 USE_SOVERSION=1
51283 USE_SOVERSOLARIS=1
51284 USE_SOSYMLINKS=1
51285 ;;
51286
51287 *-*-darwin* )
51288 USE_MACVERSION=1
51289 USE_SOVERSION=1
51290 USE_SOSYMLINKS=1
51291 ;;
51292
51293 *-*-cygwin* )
51294 USE_SOVERSION=1
51295 USE_SOVERCYGWIN=1
51296 ;;
51297 esac
51298
51299
51300
51301
51302
51303
51304
51305
51306
51307
51308 # Check whether --enable-dependency-tracking was given.
51309 if test "${enable_dependency_tracking+set}" = set; then
51310 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51311 fi
51312
51313
51314 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51315 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51316
51317 BK_DEPS=""
51318 if test "x$bk_use_trackdeps" = "xno" ; then
51319 DEPS_TRACKING=0
51320 { echo "$as_me:$LINENO: result: disabled" >&5
51321 echo "${ECHO_T}disabled" >&6; }
51322 else
51323 DEPS_TRACKING=1
51324
51325 if test "x$GCC" = "xyes"; then
51326 DEPSMODE=gcc
51327 case "${BAKEFILE_HOST}" in
51328 *-*-darwin* )
51329 DEPSFLAG="-no-cpp-precomp -MMD"
51330 ;;
51331 * )
51332 DEPSFLAG="-MMD"
51333 ;;
51334 esac
51335 { echo "$as_me:$LINENO: result: gcc" >&5
51336 echo "${ECHO_T}gcc" >&6; }
51337 elif test "x$MWCC" = "xyes"; then
51338 DEPSMODE=mwcc
51339 DEPSFLAG="-MM"
51340 { echo "$as_me:$LINENO: result: mwcc" >&5
51341 echo "${ECHO_T}mwcc" >&6; }
51342 elif test "x$SUNCC" = "xyes"; then
51343 DEPSMODE=unixcc
51344 DEPSFLAG="-xM1"
51345 { echo "$as_me:$LINENO: result: Sun cc" >&5
51346 echo "${ECHO_T}Sun cc" >&6; }
51347 elif test "x$SGICC" = "xyes"; then
51348 DEPSMODE=unixcc
51349 DEPSFLAG="-M"
51350 { echo "$as_me:$LINENO: result: SGI cc" >&5
51351 echo "${ECHO_T}SGI cc" >&6; }
51352 elif test "x$HPCC" = "xyes"; then
51353 DEPSMODE=unixcc
51354 DEPSFLAG="+make"
51355 { echo "$as_me:$LINENO: result: HP cc" >&5
51356 echo "${ECHO_T}HP cc" >&6; }
51357 elif test "x$COMPAQCC" = "xyes"; then
51358 DEPSMODE=gcc
51359 DEPSFLAG="-MD"
51360 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51361 echo "${ECHO_T}Compaq cc" >&6; }
51362 else
51363 DEPS_TRACKING=0
51364 { echo "$as_me:$LINENO: result: none" >&5
51365 echo "${ECHO_T}none" >&6; }
51366 fi
51367
51368 if test $DEPS_TRACKING = 1 ; then
51369
51370 D='$'
51371 cat <<EOF >bk-deps
51372 #!/bin/sh
51373
51374 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51375 # script. It is used to track C/C++ files dependencies in portable way.
51376 #
51377 # Permission is given to use this file in any way.
51378
51379 DEPSMODE=${DEPSMODE}
51380 DEPSDIR=.deps
51381 DEPSFLAG="${DEPSFLAG}"
51382
51383 mkdir -p ${D}DEPSDIR
51384
51385 if test ${D}DEPSMODE = gcc ; then
51386 ${D}* ${D}{DEPSFLAG}
51387 status=${D}?
51388 if test ${D}{status} != 0 ; then
51389 exit ${D}{status}
51390 fi
51391 # move created file to the location we want it in:
51392 while test ${D}# -gt 0; do
51393 case "${D}1" in
51394 -o )
51395 shift
51396 objfile=${D}1
51397 ;;
51398 -* )
51399 ;;
51400 * )
51401 srcfile=${D}1
51402 ;;
51403 esac
51404 shift
51405 done
51406 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51407 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51408 if test -f ${D}depfile ; then
51409 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51410 rm -f ${D}depfile
51411 else
51412 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51413 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51414 if test ! -f ${D}depfile ; then
51415 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51416 depfile="${D}objfile.d"
51417 fi
51418 if test -f ${D}depfile ; then
51419 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51420 rm -f ${D}depfile
51421 fi
51422 fi
51423 exit 0
51424 elif test ${D}DEPSMODE = mwcc ; then
51425 ${D}* || exit ${D}?
51426 # Run mwcc again with -MM and redirect into the dep file we want
51427 # NOTE: We can't use shift here because we need ${D}* to be valid
51428 prevarg=
51429 for arg in ${D}* ; do
51430 if test "${D}prevarg" = "-o"; then
51431 objfile=${D}arg
51432 else
51433 case "${D}arg" in
51434 -* )
51435 ;;
51436 * )
51437 srcfile=${D}arg
51438 ;;
51439 esac
51440 fi
51441 prevarg="${D}arg"
51442 done
51443 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51444 exit 0
51445 elif test ${D}DEPSMODE = unixcc; then
51446 ${D}* || exit ${D}?
51447 # Run compiler again with deps flag and redirect into the dep file.
51448 # It doesn't work if the '-o FILE' option is used, but without it the
51449 # dependency file will contain the wrong name for the object. So it is
51450 # removed from the command line, and the dep file is fixed with sed.
51451 cmd=""
51452 while test ${D}# -gt 0; do
51453 case "${D}1" in
51454 -o )
51455 shift
51456 objfile=${D}1
51457 ;;
51458 * )
51459 eval arg${D}#=\\${D}1
51460 cmd="${D}cmd \\${D}arg${D}#"
51461 ;;
51462 esac
51463 shift
51464 done
51465 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51466 exit 0
51467 else
51468 ${D}*
51469 exit ${D}?
51470 fi
51471 EOF
51472
51473 chmod +x bk-deps
51474 BK_DEPS="`pwd`/bk-deps"
51475 fi
51476 fi
51477
51478
51479
51480
51481
51482 case ${BAKEFILE_HOST} in
51483 *-*-cygwin* | *-*-mingw32* )
51484 if test -n "$ac_tool_prefix"; then
51485 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51486 set dummy ${ac_tool_prefix}windres; ac_word=$2
51487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51489 if test "${ac_cv_prog_WINDRES+set}" = set; then
51490 echo $ECHO_N "(cached) $ECHO_C" >&6
51491 else
51492 if test -n "$WINDRES"; then
51493 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51494 else
51495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51496 for as_dir in $PATH
51497 do
51498 IFS=$as_save_IFS
51499 test -z "$as_dir" && as_dir=.
51500 for ac_exec_ext in '' $ac_executable_extensions; do
51501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51502 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51504 break 2
51505 fi
51506 done
51507 done
51508 IFS=$as_save_IFS
51509
51510 fi
51511 fi
51512 WINDRES=$ac_cv_prog_WINDRES
51513 if test -n "$WINDRES"; then
51514 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51515 echo "${ECHO_T}$WINDRES" >&6; }
51516 else
51517 { echo "$as_me:$LINENO: result: no" >&5
51518 echo "${ECHO_T}no" >&6; }
51519 fi
51520
51521
51522 fi
51523 if test -z "$ac_cv_prog_WINDRES"; then
51524 ac_ct_WINDRES=$WINDRES
51525 # Extract the first word of "windres", so it can be a program name with args.
51526 set dummy windres; ac_word=$2
51527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51529 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51530 echo $ECHO_N "(cached) $ECHO_C" >&6
51531 else
51532 if test -n "$ac_ct_WINDRES"; then
51533 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51534 else
51535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51536 for as_dir in $PATH
51537 do
51538 IFS=$as_save_IFS
51539 test -z "$as_dir" && as_dir=.
51540 for ac_exec_ext in '' $ac_executable_extensions; do
51541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51542 ac_cv_prog_ac_ct_WINDRES="windres"
51543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51544 break 2
51545 fi
51546 done
51547 done
51548 IFS=$as_save_IFS
51549
51550 fi
51551 fi
51552 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51553 if test -n "$ac_ct_WINDRES"; then
51554 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51555 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51556 else
51557 { echo "$as_me:$LINENO: result: no" >&5
51558 echo "${ECHO_T}no" >&6; }
51559 fi
51560
51561 if test "x$ac_ct_WINDRES" = x; then
51562 WINDRES=""
51563 else
51564 case $cross_compiling:$ac_tool_warned in
51565 yes:)
51566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51567 whose name does not start with the host triplet. If you think this
51568 configuration is useful to you, please write to autoconf@gnu.org." >&5
51569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51570 whose name does not start with the host triplet. If you think this
51571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51572 ac_tool_warned=yes ;;
51573 esac
51574 WINDRES=$ac_ct_WINDRES
51575 fi
51576 else
51577 WINDRES="$ac_cv_prog_WINDRES"
51578 fi
51579
51580 ;;
51581
51582 *-*-darwin* | powerpc-apple-macos* )
51583 # Extract the first word of "Rez", so it can be a program name with args.
51584 set dummy Rez; ac_word=$2
51585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51587 if test "${ac_cv_prog_REZ+set}" = set; then
51588 echo $ECHO_N "(cached) $ECHO_C" >&6
51589 else
51590 if test -n "$REZ"; then
51591 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51592 else
51593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51594 for as_dir in $PATH
51595 do
51596 IFS=$as_save_IFS
51597 test -z "$as_dir" && as_dir=.
51598 for ac_exec_ext in '' $ac_executable_extensions; do
51599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51600 ac_cv_prog_REZ="Rez"
51601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51602 break 2
51603 fi
51604 done
51605 done
51606 IFS=$as_save_IFS
51607
51608 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51609 fi
51610 fi
51611 REZ=$ac_cv_prog_REZ
51612 if test -n "$REZ"; then
51613 { echo "$as_me:$LINENO: result: $REZ" >&5
51614 echo "${ECHO_T}$REZ" >&6; }
51615 else
51616 { echo "$as_me:$LINENO: result: no" >&5
51617 echo "${ECHO_T}no" >&6; }
51618 fi
51619
51620
51621 # Extract the first word of "SetFile", so it can be a program name with args.
51622 set dummy SetFile; ac_word=$2
51623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51625 if test "${ac_cv_prog_SETFILE+set}" = set; then
51626 echo $ECHO_N "(cached) $ECHO_C" >&6
51627 else
51628 if test -n "$SETFILE"; then
51629 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51630 else
51631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51632 for as_dir in $PATH
51633 do
51634 IFS=$as_save_IFS
51635 test -z "$as_dir" && as_dir=.
51636 for ac_exec_ext in '' $ac_executable_extensions; do
51637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51638 ac_cv_prog_SETFILE="SetFile"
51639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51640 break 2
51641 fi
51642 done
51643 done
51644 IFS=$as_save_IFS
51645
51646 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51647 fi
51648 fi
51649 SETFILE=$ac_cv_prog_SETFILE
51650 if test -n "$SETFILE"; then
51651 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51652 echo "${ECHO_T}$SETFILE" >&6; }
51653 else
51654 { echo "$as_me:$LINENO: result: no" >&5
51655 echo "${ECHO_T}no" >&6; }
51656 fi
51657
51658
51659 ;;
51660 esac
51661
51662
51663
51664
51665
51666
51667 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51668
51669
51670 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51671
51672
51673
51674 # Check whether --enable-precomp-headers was given.
51675 if test "${enable_precomp_headers+set}" = set; then
51676 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51677 fi
51678
51679
51680 GCC_PCH=0
51681 ICC_PCH=0
51682 USE_PCH=0
51683 BK_MAKE_PCH=""
51684
51685 case ${BAKEFILE_HOST} in
51686 *-*-cygwin* )
51687 bk_use_pch="no"
51688 ;;
51689 esac
51690
51691 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51692 if test "x$GCC" = "xyes"; then
51693 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51694 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51695 cat >conftest.$ac_ext <<_ACEOF
51696 /* confdefs.h. */
51697 _ACEOF
51698 cat confdefs.h >>conftest.$ac_ext
51699 cat >>conftest.$ac_ext <<_ACEOF
51700 /* end confdefs.h. */
51701
51702 int
51703 main ()
51704 {
51705
51706 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51707 There is no PCH support
51708 #endif
51709 #if (__GNUC__ < 3)
51710 There is no PCH support
51711 #endif
51712 #if (__GNUC__ == 3) && \
51713 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51714 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51715 ( defined(__INTEL_COMPILER) )
51716 There is no PCH support
51717 #endif
51718
51719 ;
51720 return 0;
51721 }
51722 _ACEOF
51723 rm -f conftest.$ac_objext
51724 if { (ac_try="$ac_compile"
51725 case "(($ac_try" in
51726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51727 *) ac_try_echo=$ac_try;;
51728 esac
51729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51730 (eval "$ac_compile") 2>conftest.er1
51731 ac_status=$?
51732 grep -v '^ *+' conftest.er1 >conftest.err
51733 rm -f conftest.er1
51734 cat conftest.err >&5
51735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51736 (exit $ac_status); } && {
51737 test -z "$ac_c_werror_flag" ||
51738 test ! -s conftest.err
51739 } && test -s conftest.$ac_objext; then
51740
51741 { echo "$as_me:$LINENO: result: yes" >&5
51742 echo "${ECHO_T}yes" >&6; }
51743 GCC_PCH=1
51744
51745 else
51746 echo "$as_me: failed program was:" >&5
51747 sed 's/^/| /' conftest.$ac_ext >&5
51748
51749
51750 cat >conftest.$ac_ext <<_ACEOF
51751 /* confdefs.h. */
51752 _ACEOF
51753 cat confdefs.h >>conftest.$ac_ext
51754 cat >>conftest.$ac_ext <<_ACEOF
51755 /* end confdefs.h. */
51756
51757 int
51758 main ()
51759 {
51760
51761 #if !defined(__INTEL_COMPILER) || \
51762 (__INTEL_COMPILER < 800)
51763 There is no PCH support
51764 #endif
51765
51766 ;
51767 return 0;
51768 }
51769 _ACEOF
51770 rm -f conftest.$ac_objext
51771 if { (ac_try="$ac_compile"
51772 case "(($ac_try" in
51773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51774 *) ac_try_echo=$ac_try;;
51775 esac
51776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51777 (eval "$ac_compile") 2>conftest.er1
51778 ac_status=$?
51779 grep -v '^ *+' conftest.er1 >conftest.err
51780 rm -f conftest.er1
51781 cat conftest.err >&5
51782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51783 (exit $ac_status); } && {
51784 test -z "$ac_c_werror_flag" ||
51785 test ! -s conftest.err
51786 } && test -s conftest.$ac_objext; then
51787
51788 { echo "$as_me:$LINENO: result: yes" >&5
51789 echo "${ECHO_T}yes" >&6; }
51790 ICC_PCH=1
51791
51792 else
51793 echo "$as_me: failed program was:" >&5
51794 sed 's/^/| /' conftest.$ac_ext >&5
51795
51796
51797 { echo "$as_me:$LINENO: result: no" >&5
51798 echo "${ECHO_T}no" >&6; }
51799
51800 fi
51801
51802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51803
51804 fi
51805
51806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51807 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51808 USE_PCH=1
51809
51810 D='$'
51811 cat <<EOF >bk-make-pch
51812 #!/bin/sh
51813
51814 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51815 # script. It is used to generated precompiled headers.
51816 #
51817 # Permission is given to use this file in any way.
51818
51819 outfile="${D}{1}"
51820 header="${D}{2}"
51821 shift
51822 shift
51823
51824 compiler=""
51825 headerfile=""
51826
51827 while test ${D}{#} -gt 0; do
51828 add_to_cmdline=1
51829 case "${D}{1}" in
51830 -I* )
51831 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51832 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51833 headerfile="${D}{incdir}/${D}{header}"
51834 fi
51835 ;;
51836 -use-pch|-use_pch )
51837 shift
51838 add_to_cmdline=0
51839 ;;
51840 esac
51841 if test ${D}add_to_cmdline = 1 ; then
51842 compiler="${D}{compiler} ${D}{1}"
51843 fi
51844 shift
51845 done
51846
51847 if test "x${D}{headerfile}" = "x" ; then
51848 echo "error: can't find header ${D}{header} in include paths" >&2
51849 else
51850 if test -f ${D}{outfile} ; then
51851 rm -f ${D}{outfile}
51852 else
51853 mkdir -p \`dirname ${D}{outfile}\`
51854 fi
51855 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51856 mkdir -p .deps
51857 if test "x${GCC_PCH}" = "x1" ; then
51858 # can do this because gcc is >= 3.4:
51859 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51860 elif test "x${ICC_PCH}" = "x1" ; then
51861 filename=pch_gen-${D}${D}
51862 file=${D}{filename}.c
51863 dfile=${D}{filename}.d
51864 cat > ${D}file <<EOT
51865 #include "${D}header"
51866 EOT
51867 # using -MF icc complains about differing command lines in creation/use
51868 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51869 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51870 rm -f ${D}file ${D}dfile ${D}{filename}.o
51871 fi
51872 exit ${D}{?}
51873 fi
51874 EOF
51875
51876 chmod +x bk-make-pch
51877 BK_MAKE_PCH="`pwd`/bk-make-pch"
51878 fi
51879 fi
51880 fi
51881
51882
51883
51884
51885
51886 COND_BUILD_DEBUG="#"
51887 if test "x$BUILD" = "xdebug" ; then
51888 COND_BUILD_DEBUG=""
51889 fi
51890
51891 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51892 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51893 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51894 fi
51895
51896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51897 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51898 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51899 fi
51900
51901 COND_BUILD_DEBUG_UNICODE_0="#"
51902 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51903 COND_BUILD_DEBUG_UNICODE_0=""
51904 fi
51905
51906 COND_BUILD_DEBUG_UNICODE_1="#"
51907 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51908 COND_BUILD_DEBUG_UNICODE_1=""
51909 fi
51910
51911 COND_BUILD_RELEASE="#"
51912 if test "x$BUILD" = "xrelease" ; then
51913 COND_BUILD_RELEASE=""
51914 fi
51915
51916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51917 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51918 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51919 fi
51920
51921 COND_BUILD_RELEASE_UNICODE_0="#"
51922 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51923 COND_BUILD_RELEASE_UNICODE_0=""
51924 fi
51925
51926 COND_BUILD_RELEASE_UNICODE_1="#"
51927 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51928 COND_BUILD_RELEASE_UNICODE_1=""
51929 fi
51930
51931 COND_DEBUG_FLAG_1="#"
51932 if test "x$DEBUG_FLAG" = "x1" ; then
51933 COND_DEBUG_FLAG_1=""
51934 fi
51935
51936 COND_DEBUG_INFO_0="#"
51937 if test "x$DEBUG_INFO" = "x0" ; then
51938 COND_DEBUG_INFO_0=""
51939 fi
51940
51941 COND_DEBUG_INFO_1="#"
51942 if test "x$DEBUG_INFO" = "x1" ; then
51943 COND_DEBUG_INFO_1=""
51944 fi
51945
51946 COND_DEPS_TRACKING_0="#"
51947 if test "x$DEPS_TRACKING" = "x0" ; then
51948 COND_DEPS_TRACKING_0=""
51949 fi
51950
51951 COND_DEPS_TRACKING_1="#"
51952 if test "x$DEPS_TRACKING" = "x1" ; then
51953 COND_DEPS_TRACKING_1=""
51954 fi
51955
51956 COND_GCC_PCH_1="#"
51957 if test "x$GCC_PCH" = "x1" ; then
51958 COND_GCC_PCH_1=""
51959 fi
51960
51961 COND_ICC_PCH_1="#"
51962 if test "x$ICC_PCH" = "x1" ; then
51963 COND_ICC_PCH_1=""
51964 fi
51965
51966 COND_MONOLITHIC_0="#"
51967 if test "x$MONOLITHIC" = "x0" ; then
51968 COND_MONOLITHIC_0=""
51969 fi
51970
51971 COND_MONOLITHIC_0_SHARED_0="#"
51972 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51973 COND_MONOLITHIC_0_SHARED_0=""
51974 fi
51975
51976 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51978 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51979 fi
51980
51981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51984 fi
51985
51986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51989 fi
51990
51991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51994 fi
51995
51996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51999 fi
52000
52001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52004 fi
52005
52006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52008 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52009 fi
52010
52011 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52013 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52014 fi
52015
52016 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52018 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52019 fi
52020
52021 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52023 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52024 fi
52025
52026 COND_MONOLITHIC_0_SHARED_1="#"
52027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52028 COND_MONOLITHIC_0_SHARED_1=""
52029 fi
52030
52031 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52033 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52034 fi
52035
52036 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52038 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52039 fi
52040
52041 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52044 fi
52045
52046 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52049 fi
52050
52051 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52054 fi
52055
52056 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52059 fi
52060
52061 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52063 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52064 fi
52065
52066 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52068 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52069 fi
52070
52071 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52073 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52074 fi
52075
52076 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52078 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52079 fi
52080
52081 COND_MONOLITHIC_0_USE_AUI_1="#"
52082 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52083 COND_MONOLITHIC_0_USE_AUI_1=""
52084 fi
52085
52086 COND_MONOLITHIC_0_USE_GUI_1="#"
52087 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52088 COND_MONOLITHIC_0_USE_GUI_1=""
52089 fi
52090
52091 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52092 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52093 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52094 fi
52095
52096 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52097 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52098 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52099 fi
52100
52101 COND_MONOLITHIC_0_USE_HTML_1="#"
52102 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52103 COND_MONOLITHIC_0_USE_HTML_1=""
52104 fi
52105
52106 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52107 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52108 COND_MONOLITHIC_0_USE_MEDIA_1=""
52109 fi
52110
52111 COND_MONOLITHIC_0_USE_ODBC_1="#"
52112 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52113 COND_MONOLITHIC_0_USE_ODBC_1=""
52114 fi
52115
52116 COND_MONOLITHIC_0_USE_QA_1="#"
52117 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52118 COND_MONOLITHIC_0_USE_QA_1=""
52119 fi
52120
52121 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52122 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52123 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52124 fi
52125
52126 COND_MONOLITHIC_0_USE_STC_1="#"
52127 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52128 COND_MONOLITHIC_0_USE_STC_1=""
52129 fi
52130
52131 COND_MONOLITHIC_0_USE_XRC_1="#"
52132 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52133 COND_MONOLITHIC_0_USE_XRC_1=""
52134 fi
52135
52136 COND_MONOLITHIC_1="#"
52137 if test "x$MONOLITHIC" = "x1" ; then
52138 COND_MONOLITHIC_1=""
52139 fi
52140
52141 COND_MONOLITHIC_1_SHARED_0="#"
52142 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52143 COND_MONOLITHIC_1_SHARED_0=""
52144 fi
52145
52146 COND_MONOLITHIC_1_SHARED_1="#"
52147 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52148 COND_MONOLITHIC_1_SHARED_1=""
52149 fi
52150
52151 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52152 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52153 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52154 fi
52155
52156 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52157 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52158 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52159 fi
52160
52161 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52162 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52163 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52164 fi
52165
52166 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52167 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52168 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52169 fi
52170
52171 COND_PLATFORM_MACOSX_1="#"
52172 if test "x$PLATFORM_MACOSX" = "x1" ; then
52173 COND_PLATFORM_MACOSX_1=""
52174 fi
52175
52176 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52177 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52178 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52179 fi
52180
52181 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52182 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52183 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52184 fi
52185
52186 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52187 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52188 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52189 fi
52190
52191 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52192 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52193 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52194 fi
52195
52196 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52197 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52198 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52199 fi
52200
52201 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52202 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52203 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52204 fi
52205
52206 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52207 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52208 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52209 fi
52210
52211 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52212 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52213 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52214 fi
52215
52216 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52217 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52218 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52219 fi
52220
52221 COND_PLATFORM_MACOS_1="#"
52222 if test "x$PLATFORM_MACOS" = "x1" ; then
52223 COND_PLATFORM_MACOS_1=""
52224 fi
52225
52226 COND_PLATFORM_MAC_1="#"
52227 if test "x$PLATFORM_MAC" = "x1" ; then
52228 COND_PLATFORM_MAC_1=""
52229 fi
52230
52231 COND_PLATFORM_MSDOS_0="#"
52232 if test "x$PLATFORM_MSDOS" = "x0" ; then
52233 COND_PLATFORM_MSDOS_0=""
52234 fi
52235
52236 COND_PLATFORM_MSDOS_1="#"
52237 if test "x$PLATFORM_MSDOS" = "x1" ; then
52238 COND_PLATFORM_MSDOS_1=""
52239 fi
52240
52241 COND_PLATFORM_OS2_1="#"
52242 if test "x$PLATFORM_OS2" = "x1" ; then
52243 COND_PLATFORM_OS2_1=""
52244 fi
52245
52246 COND_PLATFORM_UNIX_0="#"
52247 if test "x$PLATFORM_UNIX" = "x0" ; then
52248 COND_PLATFORM_UNIX_0=""
52249 fi
52250
52251 COND_PLATFORM_UNIX_1="#"
52252 if test "x$PLATFORM_UNIX" = "x1" ; then
52253 COND_PLATFORM_UNIX_1=""
52254 fi
52255
52256 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52257 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52258 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52259 fi
52260
52261 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52262 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52263 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52264 fi
52265
52266 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52267 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52268 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52269 fi
52270
52271 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52272 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52273 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52274 fi
52275
52276 COND_PLATFORM_WIN32_0="#"
52277 if test "x$PLATFORM_WIN32" = "x0" ; then
52278 COND_PLATFORM_WIN32_0=""
52279 fi
52280
52281 COND_PLATFORM_WIN32_1="#"
52282 if test "x$PLATFORM_WIN32" = "x1" ; then
52283 COND_PLATFORM_WIN32_1=""
52284 fi
52285
52286 COND_SHARED_0="#"
52287 if test "x$SHARED" = "x0" ; then
52288 COND_SHARED_0=""
52289 fi
52290
52291 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52292 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52293 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52294 fi
52295
52296 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52297 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52298 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52299 fi
52300
52301 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52302 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52303 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52304 fi
52305
52306 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52307 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52308 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52309 fi
52310
52311 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52312 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52313 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52314 fi
52315
52316 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52317 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52319 fi
52320
52321 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52322 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52324 fi
52325
52326 COND_SHARED_0_USE_STC_1="#"
52327 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52328 COND_SHARED_0_USE_STC_1=""
52329 fi
52330
52331 COND_SHARED_0_USE_XRC_1="#"
52332 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52333 COND_SHARED_0_USE_XRC_1=""
52334 fi
52335
52336 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52337 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52338 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52339 fi
52340
52341 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52342 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52343 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52344 fi
52345
52346 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52347 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52348 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52349 fi
52350
52351 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52352 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52353 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52354 fi
52355
52356 COND_SHARED_1="#"
52357 if test "x$SHARED" = "x1" ; then
52358 COND_SHARED_1=""
52359 fi
52360
52361 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52362 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52363 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52364 fi
52365
52366 COND_SHARED_1_USE_XRC_1="#"
52367 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52368 COND_SHARED_1_USE_XRC_1=""
52369 fi
52370
52371 COND_TOOLKIT_="#"
52372 if test "x$TOOLKIT" = "x" ; then
52373 COND_TOOLKIT_=""
52374 fi
52375
52376 COND_TOOLKIT_COCOA="#"
52377 if test "x$TOOLKIT" = "xCOCOA" ; then
52378 COND_TOOLKIT_COCOA=""
52379 fi
52380
52381 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52382 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52383 COND_TOOLKIT_COCOA_USE_GUI_1=""
52384 fi
52385
52386 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52387 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52388 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52389 fi
52390
52391 COND_TOOLKIT_DFB="#"
52392 if test "x$TOOLKIT" = "xDFB" ; then
52393 COND_TOOLKIT_DFB=""
52394 fi
52395
52396 COND_TOOLKIT_DFB_USE_GUI_1="#"
52397 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52398 COND_TOOLKIT_DFB_USE_GUI_1=""
52399 fi
52400
52401 COND_TOOLKIT_GTK="#"
52402 if test "x$TOOLKIT" = "xGTK" ; then
52403 COND_TOOLKIT_GTK=""
52404 fi
52405
52406 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52407 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52408 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52409 fi
52410
52411 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52412 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52413 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52414 fi
52415
52416 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52417 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52418 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52419 fi
52420
52421 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52422 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52423 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52424 fi
52425
52426 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52427 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52428 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52429 fi
52430
52431 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52432 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52433 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52434 fi
52435
52436 COND_TOOLKIT_GTK_USE_GUI_1="#"
52437 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52438 COND_TOOLKIT_GTK_USE_GUI_1=""
52439 fi
52440
52441 COND_TOOLKIT_MAC="#"
52442 if test "x$TOOLKIT" = "xMAC" ; then
52443 COND_TOOLKIT_MAC=""
52444 fi
52445
52446 COND_TOOLKIT_MAC_USE_GUI_1="#"
52447 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52448 COND_TOOLKIT_MAC_USE_GUI_1=""
52449 fi
52450
52451 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52452 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52453 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52454 fi
52455
52456 COND_TOOLKIT_MGL="#"
52457 if test "x$TOOLKIT" = "xMGL" ; then
52458 COND_TOOLKIT_MGL=""
52459 fi
52460
52461 COND_TOOLKIT_MGL_USE_GUI_1="#"
52462 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52463 COND_TOOLKIT_MGL_USE_GUI_1=""
52464 fi
52465
52466 COND_TOOLKIT_MOTIF="#"
52467 if test "x$TOOLKIT" = "xMOTIF" ; then
52468 COND_TOOLKIT_MOTIF=""
52469 fi
52470
52471 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52472 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52473 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52474 fi
52475
52476 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52477 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52478 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52479 fi
52480
52481 COND_TOOLKIT_MSW="#"
52482 if test "x$TOOLKIT" = "xMSW" ; then
52483 COND_TOOLKIT_MSW=""
52484 fi
52485
52486 COND_TOOLKIT_MSW_USE_GUI_1="#"
52487 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52488 COND_TOOLKIT_MSW_USE_GUI_1=""
52489 fi
52490
52491 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52492 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52493 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52494 fi
52495
52496 COND_TOOLKIT_MSW_WXUNIV_0="#"
52497 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52498 COND_TOOLKIT_MSW_WXUNIV_0=""
52499 fi
52500
52501 COND_TOOLKIT_PM="#"
52502 if test "x$TOOLKIT" = "xPM" ; then
52503 COND_TOOLKIT_PM=""
52504 fi
52505
52506 COND_TOOLKIT_PM_USE_GUI_1="#"
52507 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52508 COND_TOOLKIT_PM_USE_GUI_1=""
52509 fi
52510
52511 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52512 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52513 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52514 fi
52515
52516 COND_TOOLKIT_WINCE="#"
52517 if test "x$TOOLKIT" = "xWINCE" ; then
52518 COND_TOOLKIT_WINCE=""
52519 fi
52520
52521 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52522 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52523 COND_TOOLKIT_WINCE_USE_GUI_1=""
52524 fi
52525
52526 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52527 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52528 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52529 fi
52530
52531 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52532 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52533 COND_TOOLKIT_WINCE_WXUNIV_0=""
52534 fi
52535
52536 COND_TOOLKIT_X11="#"
52537 if test "x$TOOLKIT" = "xX11" ; then
52538 COND_TOOLKIT_X11=""
52539 fi
52540
52541 COND_TOOLKIT_X11_USE_GUI_1="#"
52542 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52543 COND_TOOLKIT_X11_USE_GUI_1=""
52544 fi
52545
52546 COND_UNICODE_1="#"
52547 if test "x$UNICODE" = "x1" ; then
52548 COND_UNICODE_1=""
52549 fi
52550
52551 COND_USE_EXCEPTIONS_0="#"
52552 if test "x$USE_EXCEPTIONS" = "x0" ; then
52553 COND_USE_EXCEPTIONS_0=""
52554 fi
52555
52556 COND_USE_EXCEPTIONS_1="#"
52557 if test "x$USE_EXCEPTIONS" = "x1" ; then
52558 COND_USE_EXCEPTIONS_1=""
52559 fi
52560
52561 COND_USE_GUI_0="#"
52562 if test "x$USE_GUI" = "x0" ; then
52563 COND_USE_GUI_0=""
52564 fi
52565
52566 COND_USE_GUI_1="#"
52567 if test "x$USE_GUI" = "x1" ; then
52568 COND_USE_GUI_1=""
52569 fi
52570
52571 COND_USE_GUI_1_USE_OPENGL_1="#"
52572 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52573 COND_USE_GUI_1_USE_OPENGL_1=""
52574 fi
52575
52576 COND_USE_GUI_1_WXUNIV_0="#"
52577 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52578 COND_USE_GUI_1_WXUNIV_0=""
52579 fi
52580
52581 COND_USE_GUI_1_WXUNIV_1="#"
52582 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52583 COND_USE_GUI_1_WXUNIV_1=""
52584 fi
52585
52586 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52587 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52588 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52589 fi
52590
52591 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52592 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52593 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52594 fi
52595
52596 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52597 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52598 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52599 fi
52600
52601 COND_USE_ODBC_1="#"
52602 if test "x$USE_ODBC" = "x1" ; then
52603 COND_USE_ODBC_1=""
52604 fi
52605
52606 COND_USE_OPENGL_1="#"
52607 if test "x$USE_OPENGL" = "x1" ; then
52608 COND_USE_OPENGL_1=""
52609 fi
52610
52611 COND_USE_PCH_1="#"
52612 if test "x$USE_PCH" = "x1" ; then
52613 COND_USE_PCH_1=""
52614 fi
52615
52616 COND_USE_PLUGINS_0="#"
52617 if test "x$USE_PLUGINS" = "x0" ; then
52618 COND_USE_PLUGINS_0=""
52619 fi
52620
52621 COND_USE_RTTI_0="#"
52622 if test "x$USE_RTTI" = "x0" ; then
52623 COND_USE_RTTI_0=""
52624 fi
52625
52626 COND_USE_RTTI_1="#"
52627 if test "x$USE_RTTI" = "x1" ; then
52628 COND_USE_RTTI_1=""
52629 fi
52630
52631 COND_USE_SOSYMLINKS_1="#"
52632 if test "x$USE_SOSYMLINKS" = "x1" ; then
52633 COND_USE_SOSYMLINKS_1=""
52634 fi
52635
52636 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52637 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52638 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52639 fi
52640
52641 COND_USE_SOVERLINUX_1="#"
52642 if test "x$USE_SOVERLINUX" = "x1" ; then
52643 COND_USE_SOVERLINUX_1=""
52644 fi
52645
52646 COND_USE_SOVERSION_0="#"
52647 if test "x$USE_SOVERSION" = "x0" ; then
52648 COND_USE_SOVERSION_0=""
52649 fi
52650
52651 COND_USE_SOVERSOLARIS_1="#"
52652 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52653 COND_USE_SOVERSOLARIS_1=""
52654 fi
52655
52656 COND_USE_STC_1="#"
52657 if test "x$USE_STC" = "x1" ; then
52658 COND_USE_STC_1=""
52659 fi
52660
52661 COND_USE_THREADS_0="#"
52662 if test "x$USE_THREADS" = "x0" ; then
52663 COND_USE_THREADS_0=""
52664 fi
52665
52666 COND_USE_THREADS_1="#"
52667 if test "x$USE_THREADS" = "x1" ; then
52668 COND_USE_THREADS_1=""
52669 fi
52670
52671 COND_USE_XRC_1="#"
52672 if test "x$USE_XRC" = "x1" ; then
52673 COND_USE_XRC_1=""
52674 fi
52675
52676 COND_WINDOWS_IMPLIB_1="#"
52677 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52678 COND_WINDOWS_IMPLIB_1=""
52679 fi
52680
52681 COND_WITH_PLUGIN_SDL_1="#"
52682 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52683 COND_WITH_PLUGIN_SDL_1=""
52684 fi
52685
52686 COND_WXUNIV_0="#"
52687 if test "x$WXUNIV" = "x0" ; then
52688 COND_WXUNIV_0=""
52689 fi
52690
52691 COND_WXUNIV_1="#"
52692 if test "x$WXUNIV" = "x1" ; then
52693 COND_WXUNIV_1=""
52694 fi
52695
52696 COND_WXUSE_EXPAT_BUILTIN="#"
52697 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52698 COND_WXUSE_EXPAT_BUILTIN=""
52699 fi
52700
52701 COND_WXUSE_LIBJPEG_BUILTIN="#"
52702 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52703 COND_WXUSE_LIBJPEG_BUILTIN=""
52704 fi
52705
52706 COND_WXUSE_LIBPNG_BUILTIN="#"
52707 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52708 COND_WXUSE_LIBPNG_BUILTIN=""
52709 fi
52710
52711 COND_WXUSE_LIBTIFF_BUILTIN="#"
52712 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52713 COND_WXUSE_LIBTIFF_BUILTIN=""
52714 fi
52715
52716 COND_WXUSE_ODBC_BUILTIN="#"
52717 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52718 COND_WXUSE_ODBC_BUILTIN=""
52719 fi
52720
52721 COND_WXUSE_REGEX_BUILTIN="#"
52722 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52723 COND_WXUSE_REGEX_BUILTIN=""
52724 fi
52725
52726 COND_WXUSE_ZLIB_BUILTIN="#"
52727 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52728 COND_WXUSE_ZLIB_BUILTIN=""
52729 fi
52730
52731
52732
52733 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52734 { { 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
52735 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;}
52736 { (exit 1); exit 1; }; }
52737 fi
52738
52739 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52740 { { 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
52741 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;}
52742 { (exit 1); exit 1; }; }
52743 fi
52744
52745
52746 case ${INSTALL} in
52747 /* ) # Absolute
52748 ;;
52749 ?:* ) # Drive letter, considered as absolute.
52750 ;;
52751 *)
52752 INSTALL=`pwd`/${INSTALL} ;;
52753 esac
52754
52755 if test "$wxUSE_GUI" = "yes"; then
52756
52757 if test "$wxUSE_MSW" = 1 ; then
52758 if test "x$WINDRES" = "x"; then
52759 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52760 echo "$as_me: error: Required windres program not found" >&2;}
52761 { (exit 1); exit 1; }; }
52762 fi
52763
52764 RESCOMP="$WINDRES"
52765 fi
52766
52767 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52768 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52769 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52770
52771 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52772
52773 # Extract the first word of "DeRez", so it can be a program name with args.
52774 set dummy DeRez; ac_word=$2
52775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52777 if test "${ac_cv_prog_DEREZ+set}" = set; then
52778 echo $ECHO_N "(cached) $ECHO_C" >&6
52779 else
52780 if test -n "$DEREZ"; then
52781 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52782 else
52783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52784 for as_dir in $PATH
52785 do
52786 IFS=$as_save_IFS
52787 test -z "$as_dir" && as_dir=.
52788 for ac_exec_ext in '' $ac_executable_extensions; do
52789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52790 ac_cv_prog_DEREZ="DeRez"
52791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52792 break 2
52793 fi
52794 done
52795 done
52796 IFS=$as_save_IFS
52797
52798 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52799 fi
52800 fi
52801 DEREZ=$ac_cv_prog_DEREZ
52802 if test -n "$DEREZ"; then
52803 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52804 echo "${ECHO_T}$DEREZ" >&6; }
52805 else
52806 { echo "$as_me:$LINENO: result: no" >&5
52807 echo "${ECHO_T}no" >&6; }
52808 fi
52809
52810
52811
52812 MACSETFILE="\$(SETFILE)"
52813
52814 if test "$wxUSE_MAC" = 1; then
52815 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52816 RESCOMP="$REZ"
52817 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52818 else
52819 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52820 RESCOMP="cat /dev/null \| $REZ"
52821 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52822 fi
52823
52824 else
52825 MACSETFILE="@true"
52826
52827 if test "$wxUSE_PM" = 1; then
52828 RESCOMP="emxbind"
52829 WXCONFIG_RESFLAGS="-ep"
52830
52831 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52832 else
52833 POSTLINK_COMMAND="@true"
52834 fi
52835 fi
52836
52837 fi
52838
52839
52840 if test $GCC_PCH = 1
52841 then
52842 if test "$wx_cv_gcc_pch_bug" = yes; then
52843 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52844 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52845 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52846 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52847 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52848 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52849 fi
52850
52851 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52852 fi
52853
52854
52855 if test "$wxUSE_MAC" = 1 ; then
52856 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52857 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52858 mv temp bk-deps
52859 chmod +x bk-deps
52860 fi
52861 fi
52862
52863 if test "$wxUSE_SHARED" = "yes"; then
52864
52865 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52866 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52867
52868 case "${host}" in
52869 *-pc-os2_emx | *-pc-os2-emx )
52870 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52871 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52872 cp -p ${srcdir}/src/os2/dllnames.sh .
52873 cp -p ${srcdir}/src/os2/dllar.sh .
52874 ;;
52875 esac
52876 else
52877
52878 EXE_LINKER="$CXX -o"
52879
52880 fi
52881 if test "$wxUSE_OMF" = "yes"; then
52882 case "${host}" in
52883 *-pc-os2_emx | *-pc-os2-emx )
52884 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52885 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52886 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52887 ;;
52888 esac
52889 fi
52890
52891 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52892
52893
52894 case "${host}" in
52895 *-*-solaris2* )
52896 if "$GCC" = yes; then
52897 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52898 LIBS=`echo $LIBS | sed 's/-mt//'`
52899 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52900 fi
52901 ;;
52902
52903 *-*-linux* )
52904 if test "x$SUNCXX" = xyes; then
52905 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52906 LIBS=`echo $LIBS | sed 's/-pthread//'`
52907 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52908 fi
52909 ;;
52910 esac
52911
52912 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52913 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52914
52915 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52916
52917
52918
52919
52920
52921
52922
52923
52924
52925
52926
52927
52928
52929
52930
52931
52932
52933
52934
52935
52936
52937
52938
52939
52940
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952
52953
52954
52955
52956
52957
52958
52959
52960
52961
52962
52963
52964
52965
52966
52967
52968
52969
52970
52971
52972
52973
52974
52975
52976
52977 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52978 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52979 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52980 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52981 echo $ECHO_N "(cached) $ECHO_C" >&6
52982 else
52983 cat >conftest.make <<\_ACEOF
52984 SHELL = /bin/sh
52985 all:
52986 @echo '@@@%%%=$(MAKE)=@@@%%%'
52987 _ACEOF
52988 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52989 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52990 *@@@%%%=?*=@@@%%%*)
52991 eval ac_cv_prog_make_${ac_make}_set=yes;;
52992 *)
52993 eval ac_cv_prog_make_${ac_make}_set=no;;
52994 esac
52995 rm -f conftest.make
52996 fi
52997 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52998 { echo "$as_me:$LINENO: result: yes" >&5
52999 echo "${ECHO_T}yes" >&6; }
53000 SET_MAKE=
53001 else
53002 { echo "$as_me:$LINENO: result: no" >&5
53003 echo "${ECHO_T}no" >&6; }
53004 SET_MAKE="MAKE=${MAKE-make}"
53005 fi
53006
53007
53008
53009 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53010
53011
53012 if test "$USE_WIN32" = 1; then
53013 ac_config_commands="$ac_config_commands
53014 rcdefs.h
53015 "
53016
53017 fi
53018
53019 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53020
53021
53022 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53023
53024
53025 if test "$wx_cv_version_script" = "yes"; then
53026 ac_config_files="$ac_config_files version-script"
53027
53028 fi
53029 ac_config_files="$ac_config_files Makefile"
53030
53031
53032 ac_config_commands="$ac_config_commands wx-config"
53033
53034
53035
53036 if test "$wxWITH_SUBDIRS" != "no"; then
53037 if test "$wxUSE_GUI" = "yes"; then
53038 SUBDIRS="samples demos utils"
53039 else SUBDIRS="samples utils"
53040 fi
53041
53042
53043
53044 # Check whether --with-cppunit-prefix was given.
53045 if test "${with_cppunit_prefix+set}" = set; then
53046 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53047 else
53048 cppunit_config_prefix=""
53049 fi
53050
53051
53052 # Check whether --with-cppunit-exec-prefix was given.
53053 if test "${with_cppunit_exec_prefix+set}" = set; then
53054 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53055 else
53056 cppunit_config_exec_prefix=""
53057 fi
53058
53059
53060 if test x$cppunit_config_exec_prefix != x ; then
53061 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53062 if test x${CPPUNIT_CONFIG+set} != xset ; then
53063 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53064 fi
53065 fi
53066 if test x$cppunit_config_prefix != x ; then
53067 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53068 if test x${CPPUNIT_CONFIG+set} != xset ; then
53069 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53070 fi
53071 fi
53072
53073 # Extract the first word of "cppunit-config", so it can be a program name with args.
53074 set dummy cppunit-config; ac_word=$2
53075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53077 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53078 echo $ECHO_N "(cached) $ECHO_C" >&6
53079 else
53080 case $CPPUNIT_CONFIG in
53081 [\\/]* | ?:[\\/]*)
53082 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53083 ;;
53084 *)
53085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53086 for as_dir in $PATH
53087 do
53088 IFS=$as_save_IFS
53089 test -z "$as_dir" && as_dir=.
53090 for ac_exec_ext in '' $ac_executable_extensions; do
53091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53092 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53094 break 2
53095 fi
53096 done
53097 done
53098 IFS=$as_save_IFS
53099
53100 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53101 ;;
53102 esac
53103 fi
53104 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53105 if test -n "$CPPUNIT_CONFIG"; then
53106 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53107 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53108 else
53109 { echo "$as_me:$LINENO: result: no" >&5
53110 echo "${ECHO_T}no" >&6; }
53111 fi
53112
53113
53114 cppunit_version_min=1.8.0
53115
53116 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53117 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53118 no_cppunit=""
53119 if test "$CPPUNIT_CONFIG" = "no" ; then
53120 { echo "$as_me:$LINENO: result: no" >&5
53121 echo "${ECHO_T}no" >&6; }
53122 no_cppunit=yes
53123 else
53124 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53125 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53126 cppunit_version=`$CPPUNIT_CONFIG --version`
53127
53128 cppunit_major_version=`echo $cppunit_version | \
53129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53130 cppunit_minor_version=`echo $cppunit_version | \
53131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53132 cppunit_micro_version=`echo $cppunit_version | \
53133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53134
53135 cppunit_major_min=`echo $cppunit_version_min | \
53136 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53137 cppunit_minor_min=`echo $cppunit_version_min | \
53138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53139 cppunit_micro_min=`echo $cppunit_version_min | \
53140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53141
53142 cppunit_version_proper=`expr \
53143 $cppunit_major_version \> $cppunit_major_min \| \
53144 $cppunit_major_version \= $cppunit_major_min \& \
53145 $cppunit_minor_version \> $cppunit_minor_min \| \
53146 $cppunit_major_version \= $cppunit_major_min \& \
53147 $cppunit_minor_version \= $cppunit_minor_min \& \
53148 $cppunit_micro_version \>= $cppunit_micro_min `
53149
53150 if test "$cppunit_version_proper" = "1" ; then
53151 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53152 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53153 else
53154 { echo "$as_me:$LINENO: result: no" >&5
53155 echo "${ECHO_T}no" >&6; }
53156 no_cppunit=yes
53157 fi
53158 fi
53159
53160 if test "x$no_cppunit" = x ; then
53161 SUBDIRS="$SUBDIRS tests"
53162 else
53163 CPPUNIT_CFLAGS=""
53164 CPPUNIT_LIBS=""
53165 :
53166 fi
53167
53168
53169
53170
53171
53172 for subdir in `echo $SUBDIRS`; do
53173 if test -d ${srcdir}/${subdir} ; then
53174 if test "$wxUSE_GUI" = "yes"; then
53175 if test ${subdir} = "samples"; then
53176 makefiles="samples/Makefile.in $makefiles"
53177 for sample in `echo $SAMPLES_SUBDIRS`; do
53178 if test -d $srcdir/samples/$sample; then
53179 makefiles="samples/$sample/Makefile.in $makefiles"
53180 fi
53181 done
53182 else
53183 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53184 eval "disabled=\$$disabled_var"
53185 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53186 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53187 fi
53188 else if test ${subdir} = "samples"; then
53189 makefiles="samples/Makefile.in samples/console/Makefile.in"
53190 elif test ${subdir} = "utils"; then
53191 makefiles=""
53192 for util in HelpGen tex2rtf ; do
53193 if test -d $srcdir/utils/$util ; then
53194 makefiles="utils/$util/Makefile.in \
53195 utils/$util/src/Makefile.in \
53196 $makefiles"
53197 fi
53198 done
53199 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53200 fi
53201 fi
53202
53203 for mkin in $makefiles ; do
53204 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53205 ac_config_files="$ac_config_files $mk"
53206
53207 done
53208 fi
53209 done
53210 fi
53211 cat >confcache <<\_ACEOF
53212 # This file is a shell script that caches the results of configure
53213 # tests run on this system so they can be shared between configure
53214 # scripts and configure runs, see configure's option --config-cache.
53215 # It is not useful on other systems. If it contains results you don't
53216 # want to keep, you may remove or edit it.
53217 #
53218 # config.status only pays attention to the cache file if you give it
53219 # the --recheck option to rerun configure.
53220 #
53221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53223 # following values.
53224
53225 _ACEOF
53226
53227 # The following way of writing the cache mishandles newlines in values,
53228 # but we know of no workaround that is simple, portable, and efficient.
53229 # So, we kill variables containing newlines.
53230 # Ultrix sh set writes to stderr and can't be redirected directly,
53231 # and sets the high bit in the cache file unless we assign to the vars.
53232 (
53233 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53234 eval ac_val=\$$ac_var
53235 case $ac_val in #(
53236 *${as_nl}*)
53237 case $ac_var in #(
53238 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53239 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53240 esac
53241 case $ac_var in #(
53242 _ | IFS | as_nl) ;; #(
53243 *) $as_unset $ac_var ;;
53244 esac ;;
53245 esac
53246 done
53247
53248 (set) 2>&1 |
53249 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53250 *${as_nl}ac_space=\ *)
53251 # `set' does not quote correctly, so add quotes (double-quote
53252 # substitution turns \\\\ into \\, and sed turns \\ into \).
53253 sed -n \
53254 "s/'/'\\\\''/g;
53255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53256 ;; #(
53257 *)
53258 # `set' quotes correctly as required by POSIX, so do not add quotes.
53259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53260 ;;
53261 esac |
53262 sort
53263 ) |
53264 sed '
53265 /^ac_cv_env_/b end
53266 t clear
53267 :clear
53268 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53269 t end
53270 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53271 :end' >>confcache
53272 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53273 if test -w "$cache_file"; then
53274 test "x$cache_file" != "x/dev/null" &&
53275 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53276 echo "$as_me: updating cache $cache_file" >&6;}
53277 cat confcache >$cache_file
53278 else
53279 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53280 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53281 fi
53282 fi
53283 rm -f confcache
53284
53285 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53286 # Let make expand exec_prefix.
53287 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53288
53289 DEFS=-DHAVE_CONFIG_H
53290
53291 ac_libobjs=
53292 ac_ltlibobjs=
53293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53294 # 1. Remove the extension, and $U if already installed.
53295 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53296 ac_i=`echo "$ac_i" | sed "$ac_script"`
53297 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53298 # will be set to the directory where LIBOBJS objects are built.
53299 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53300 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53301 done
53302 LIBOBJS=$ac_libobjs
53303
53304 LTLIBOBJS=$ac_ltlibobjs
53305
53306
53307
53308 : ${CONFIG_STATUS=./config.status}
53309 ac_clean_files_save=$ac_clean_files
53310 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53311 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53312 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53313 cat >$CONFIG_STATUS <<_ACEOF
53314 #! $SHELL
53315 # Generated by $as_me.
53316 # Run this file to recreate the current configuration.
53317 # Compiler output produced by configure, useful for debugging
53318 # configure, is in config.log if it exists.
53319
53320 debug=false
53321 ac_cs_recheck=false
53322 ac_cs_silent=false
53323 SHELL=\${CONFIG_SHELL-$SHELL}
53324 _ACEOF
53325
53326 cat >>$CONFIG_STATUS <<\_ACEOF
53327 ## --------------------- ##
53328 ## M4sh Initialization. ##
53329 ## --------------------- ##
53330
53331 # Be more Bourne compatible
53332 DUALCASE=1; export DUALCASE # for MKS sh
53333 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53334 emulate sh
53335 NULLCMD=:
53336 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53337 # is contrary to our usage. Disable this feature.
53338 alias -g '${1+"$@"}'='"$@"'
53339 setopt NO_GLOB_SUBST
53340 else
53341 case `(set -o) 2>/dev/null` in
53342 *posix*) set -o posix ;;
53343 esac
53344
53345 fi
53346
53347
53348
53349
53350 # PATH needs CR
53351 # Avoid depending upon Character Ranges.
53352 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53353 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53354 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53355 as_cr_digits='0123456789'
53356 as_cr_alnum=$as_cr_Letters$as_cr_digits
53357
53358 # The user is always right.
53359 if test "${PATH_SEPARATOR+set}" != set; then
53360 echo "#! /bin/sh" >conf$$.sh
53361 echo "exit 0" >>conf$$.sh
53362 chmod +x conf$$.sh
53363 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53364 PATH_SEPARATOR=';'
53365 else
53366 PATH_SEPARATOR=:
53367 fi
53368 rm -f conf$$.sh
53369 fi
53370
53371 # Support unset when possible.
53372 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53373 as_unset=unset
53374 else
53375 as_unset=false
53376 fi
53377
53378
53379 # IFS
53380 # We need space, tab and new line, in precisely that order. Quoting is
53381 # there to prevent editors from complaining about space-tab.
53382 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53383 # splitting by setting IFS to empty value.)
53384 as_nl='
53385 '
53386 IFS=" "" $as_nl"
53387
53388 # Find who we are. Look in the path if we contain no directory separator.
53389 case $0 in
53390 *[\\/]* ) as_myself=$0 ;;
53391 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53392 for as_dir in $PATH
53393 do
53394 IFS=$as_save_IFS
53395 test -z "$as_dir" && as_dir=.
53396 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53397 done
53398 IFS=$as_save_IFS
53399
53400 ;;
53401 esac
53402 # We did not find ourselves, most probably we were run as `sh COMMAND'
53403 # in which case we are not to be found in the path.
53404 if test "x$as_myself" = x; then
53405 as_myself=$0
53406 fi
53407 if test ! -f "$as_myself"; then
53408 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53409 { (exit 1); exit 1; }
53410 fi
53411
53412 # Work around bugs in pre-3.0 UWIN ksh.
53413 for as_var in ENV MAIL MAILPATH
53414 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53415 done
53416 PS1='$ '
53417 PS2='> '
53418 PS4='+ '
53419
53420 # NLS nuisances.
53421 for as_var in \
53422 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53423 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53424 LC_TELEPHONE LC_TIME
53425 do
53426 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53427 eval $as_var=C; export $as_var
53428 else
53429 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53430 fi
53431 done
53432
53433 # Required to use basename.
53434 if expr a : '\(a\)' >/dev/null 2>&1 &&
53435 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53436 as_expr=expr
53437 else
53438 as_expr=false
53439 fi
53440
53441 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53442 as_basename=basename
53443 else
53444 as_basename=false
53445 fi
53446
53447
53448 # Name of the executable.
53449 as_me=`$as_basename -- "$0" ||
53450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53451 X"$0" : 'X\(//\)$' \| \
53452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53453 echo X/"$0" |
53454 sed '/^.*\/\([^/][^/]*\)\/*$/{
53455 s//\1/
53456 q
53457 }
53458 /^X\/\(\/\/\)$/{
53459 s//\1/
53460 q
53461 }
53462 /^X\/\(\/\).*/{
53463 s//\1/
53464 q
53465 }
53466 s/.*/./; q'`
53467
53468 # CDPATH.
53469 $as_unset CDPATH
53470
53471
53472
53473 as_lineno_1=$LINENO
53474 as_lineno_2=$LINENO
53475 test "x$as_lineno_1" != "x$as_lineno_2" &&
53476 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53477
53478 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53479 # uniformly replaced by the line number. The first 'sed' inserts a
53480 # line-number line after each line using $LINENO; the second 'sed'
53481 # does the real work. The second script uses 'N' to pair each
53482 # line-number line with the line containing $LINENO, and appends
53483 # trailing '-' during substitution so that $LINENO is not a special
53484 # case at line end.
53485 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53486 # scripts with optimization help from Paolo Bonzini. Blame Lee
53487 # E. McMahon (1931-1989) for sed's syntax. :-)
53488 sed -n '
53489 p
53490 /[$]LINENO/=
53491 ' <$as_myself |
53492 sed '
53493 s/[$]LINENO.*/&-/
53494 t lineno
53495 b
53496 :lineno
53497 N
53498 :loop
53499 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53500 t loop
53501 s/-\n.*//
53502 ' >$as_me.lineno &&
53503 chmod +x "$as_me.lineno" ||
53504 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53505 { (exit 1); exit 1; }; }
53506
53507 # Don't try to exec as it changes $[0], causing all sort of problems
53508 # (the dirname of $[0] is not the place where we might find the
53509 # original and so on. Autoconf is especially sensitive to this).
53510 . "./$as_me.lineno"
53511 # Exit status is that of the last command.
53512 exit
53513 }
53514
53515
53516 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53517 as_dirname=dirname
53518 else
53519 as_dirname=false
53520 fi
53521
53522 ECHO_C= ECHO_N= ECHO_T=
53523 case `echo -n x` in
53524 -n*)
53525 case `echo 'x\c'` in
53526 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53527 *) ECHO_C='\c';;
53528 esac;;
53529 *)
53530 ECHO_N='-n';;
53531 esac
53532
53533 if expr a : '\(a\)' >/dev/null 2>&1 &&
53534 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53535 as_expr=expr
53536 else
53537 as_expr=false
53538 fi
53539
53540 rm -f conf$$ conf$$.exe conf$$.file
53541 if test -d conf$$.dir; then
53542 rm -f conf$$.dir/conf$$.file
53543 else
53544 rm -f conf$$.dir
53545 mkdir conf$$.dir
53546 fi
53547 echo >conf$$.file
53548 if ln -s conf$$.file conf$$ 2>/dev/null; then
53549 as_ln_s='ln -s'
53550 # ... but there are two gotchas:
53551 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53552 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53553 # In both cases, we have to default to `cp -p'.
53554 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53555 as_ln_s='cp -p'
53556 elif ln conf$$.file conf$$ 2>/dev/null; then
53557 as_ln_s=ln
53558 else
53559 as_ln_s='cp -p'
53560 fi
53561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53562 rmdir conf$$.dir 2>/dev/null
53563
53564 if mkdir -p . 2>/dev/null; then
53565 as_mkdir_p=:
53566 else
53567 test -d ./-p && rmdir ./-p
53568 as_mkdir_p=false
53569 fi
53570
53571 if test -x / >/dev/null 2>&1; then
53572 as_test_x='test -x'
53573 else
53574 if ls -dL / >/dev/null 2>&1; then
53575 as_ls_L_option=L
53576 else
53577 as_ls_L_option=
53578 fi
53579 as_test_x='
53580 eval sh -c '\''
53581 if test -d "$1"; then
53582 test -d "$1/.";
53583 else
53584 case $1 in
53585 -*)set "./$1";;
53586 esac;
53587 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53588 ???[sx]*):;;*)false;;esac;fi
53589 '\'' sh
53590 '
53591 fi
53592 as_executable_p=$as_test_x
53593
53594 # Sed expression to map a string onto a valid CPP name.
53595 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53596
53597 # Sed expression to map a string onto a valid variable name.
53598 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53599
53600
53601 exec 6>&1
53602
53603 # Save the log message, to keep $[0] and so on meaningful, and to
53604 # report actual input values of CONFIG_FILES etc. instead of their
53605 # values after options handling.
53606 ac_log="
53607 This file was extended by wxWidgets $as_me 2.9.0, which was
53608 generated by GNU Autoconf 2.61. Invocation command line was
53609
53610 CONFIG_FILES = $CONFIG_FILES
53611 CONFIG_HEADERS = $CONFIG_HEADERS
53612 CONFIG_LINKS = $CONFIG_LINKS
53613 CONFIG_COMMANDS = $CONFIG_COMMANDS
53614 $ $0 $@
53615
53616 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53617 "
53618
53619 _ACEOF
53620
53621 cat >>$CONFIG_STATUS <<_ACEOF
53622 # Files that config.status was made for.
53623 config_files="$ac_config_files"
53624 config_headers="$ac_config_headers"
53625 config_commands="$ac_config_commands"
53626
53627 _ACEOF
53628
53629 cat >>$CONFIG_STATUS <<\_ACEOF
53630 ac_cs_usage="\
53631 \`$as_me' instantiates files from templates according to the
53632 current configuration.
53633
53634 Usage: $0 [OPTIONS] [FILE]...
53635
53636 -h, --help print this help, then exit
53637 -V, --version print version number and configuration settings, then exit
53638 -q, --quiet do not print progress messages
53639 -d, --debug don't remove temporary files
53640 --recheck update $as_me by reconfiguring in the same conditions
53641 --file=FILE[:TEMPLATE]
53642 instantiate the configuration file FILE
53643 --header=FILE[:TEMPLATE]
53644 instantiate the configuration header FILE
53645
53646 Configuration files:
53647 $config_files
53648
53649 Configuration headers:
53650 $config_headers
53651
53652 Configuration commands:
53653 $config_commands
53654
53655 Report bugs to <bug-autoconf@gnu.org>."
53656
53657 _ACEOF
53658 cat >>$CONFIG_STATUS <<_ACEOF
53659 ac_cs_version="\\
53660 wxWidgets config.status 2.9.0
53661 configured by $0, generated by GNU Autoconf 2.61,
53662 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53663
53664 Copyright (C) 2006 Free Software Foundation, Inc.
53665 This config.status script is free software; the Free Software Foundation
53666 gives unlimited permission to copy, distribute and modify it."
53667
53668 ac_pwd='$ac_pwd'
53669 srcdir='$srcdir'
53670 INSTALL='$INSTALL'
53671 _ACEOF
53672
53673 cat >>$CONFIG_STATUS <<\_ACEOF
53674 # If no file are specified by the user, then we need to provide default
53675 # value. By we need to know if files were specified by the user.
53676 ac_need_defaults=:
53677 while test $# != 0
53678 do
53679 case $1 in
53680 --*=*)
53681 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53682 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53683 ac_shift=:
53684 ;;
53685 *)
53686 ac_option=$1
53687 ac_optarg=$2
53688 ac_shift=shift
53689 ;;
53690 esac
53691
53692 case $ac_option in
53693 # Handling of the options.
53694 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53695 ac_cs_recheck=: ;;
53696 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53697 echo "$ac_cs_version"; exit ;;
53698 --debug | --debu | --deb | --de | --d | -d )
53699 debug=: ;;
53700 --file | --fil | --fi | --f )
53701 $ac_shift
53702 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53703 ac_need_defaults=false;;
53704 --header | --heade | --head | --hea )
53705 $ac_shift
53706 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53707 ac_need_defaults=false;;
53708 --he | --h)
53709 # Conflict between --help and --header
53710 { echo "$as_me: error: ambiguous option: $1
53711 Try \`$0 --help' for more information." >&2
53712 { (exit 1); exit 1; }; };;
53713 --help | --hel | -h )
53714 echo "$ac_cs_usage"; exit ;;
53715 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53716 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53717 ac_cs_silent=: ;;
53718
53719 # This is an error.
53720 -*) { echo "$as_me: error: unrecognized option: $1
53721 Try \`$0 --help' for more information." >&2
53722 { (exit 1); exit 1; }; } ;;
53723
53724 *) ac_config_targets="$ac_config_targets $1"
53725 ac_need_defaults=false ;;
53726
53727 esac
53728 shift
53729 done
53730
53731 ac_configure_extra_args=
53732
53733 if $ac_cs_silent; then
53734 exec 6>/dev/null
53735 ac_configure_extra_args="$ac_configure_extra_args --silent"
53736 fi
53737
53738 _ACEOF
53739 cat >>$CONFIG_STATUS <<_ACEOF
53740 if \$ac_cs_recheck; then
53741 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53742 CONFIG_SHELL=$SHELL
53743 export CONFIG_SHELL
53744 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53745 fi
53746
53747 _ACEOF
53748 cat >>$CONFIG_STATUS <<\_ACEOF
53749 exec 5>>config.log
53750 {
53751 echo
53752 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53753 ## Running $as_me. ##
53754 _ASBOX
53755 echo "$ac_log"
53756 } >&5
53757
53758 _ACEOF
53759 cat >>$CONFIG_STATUS <<_ACEOF
53760 #
53761 # INIT-COMMANDS
53762 #
53763
53764 CPP="$CPP"
53765 infile="$srcdir/include/wx/msw/genrcdefs.h"
53766 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53767
53768
53769 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53770 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53771 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53772 LN_S="${LN_S}"
53773
53774
53775 _ACEOF
53776
53777 cat >>$CONFIG_STATUS <<\_ACEOF
53778
53779 # Handling of arguments.
53780 for ac_config_target in $ac_config_targets
53781 do
53782 case $ac_config_target in
53783 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53784 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53785 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53786 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53787 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53788 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53789 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53790 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53791
53792 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53793 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53794 { (exit 1); exit 1; }; };;
53795 esac
53796 done
53797
53798
53799 # If the user did not use the arguments to specify the items to instantiate,
53800 # then the envvar interface is used. Set only those that are not.
53801 # We use the long form for the default assignment because of an extremely
53802 # bizarre bug on SunOS 4.1.3.
53803 if $ac_need_defaults; then
53804 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53805 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53806 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53807 fi
53808
53809 # Have a temporary directory for convenience. Make it in the build tree
53810 # simply because there is no reason against having it here, and in addition,
53811 # creating and moving files from /tmp can sometimes cause problems.
53812 # Hook for its removal unless debugging.
53813 # Note that there is a small window in which the directory will not be cleaned:
53814 # after its creation but before its name has been assigned to `$tmp'.
53815 $debug ||
53816 {
53817 tmp=
53818 trap 'exit_status=$?
53819 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53820 ' 0
53821 trap '{ (exit 1); exit 1; }' 1 2 13 15
53822 }
53823 # Create a (secure) tmp directory for tmp files.
53824
53825 {
53826 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53827 test -n "$tmp" && test -d "$tmp"
53828 } ||
53829 {
53830 tmp=./conf$$-$RANDOM
53831 (umask 077 && mkdir "$tmp")
53832 } ||
53833 {
53834 echo "$me: cannot create a temporary directory in ." >&2
53835 { (exit 1); exit 1; }
53836 }
53837
53838 #
53839 # Set up the sed scripts for CONFIG_FILES section.
53840 #
53841
53842 # No need to generate the scripts if there are no CONFIG_FILES.
53843 # This happens for instance when ./config.status config.h
53844 if test -n "$CONFIG_FILES"; then
53845
53846 _ACEOF
53847
53848
53849
53850 ac_delim='%!_!# '
53851 for ac_last_try in false false false false false :; do
53852 cat >conf$$subs.sed <<_ACEOF
53853 SHELL!$SHELL$ac_delim
53854 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53855 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53856 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53857 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53858 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53859 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53860 exec_prefix!$exec_prefix$ac_delim
53861 prefix!$prefix$ac_delim
53862 program_transform_name!$program_transform_name$ac_delim
53863 bindir!$bindir$ac_delim
53864 sbindir!$sbindir$ac_delim
53865 libexecdir!$libexecdir$ac_delim
53866 datarootdir!$datarootdir$ac_delim
53867 datadir!$datadir$ac_delim
53868 sysconfdir!$sysconfdir$ac_delim
53869 sharedstatedir!$sharedstatedir$ac_delim
53870 localstatedir!$localstatedir$ac_delim
53871 includedir!$includedir$ac_delim
53872 oldincludedir!$oldincludedir$ac_delim
53873 docdir!$docdir$ac_delim
53874 infodir!$infodir$ac_delim
53875 htmldir!$htmldir$ac_delim
53876 dvidir!$dvidir$ac_delim
53877 pdfdir!$pdfdir$ac_delim
53878 psdir!$psdir$ac_delim
53879 libdir!$libdir$ac_delim
53880 localedir!$localedir$ac_delim
53881 mandir!$mandir$ac_delim
53882 DEFS!$DEFS$ac_delim
53883 ECHO_C!$ECHO_C$ac_delim
53884 ECHO_N!$ECHO_N$ac_delim
53885 ECHO_T!$ECHO_T$ac_delim
53886 LIBS!$LIBS$ac_delim
53887 build_alias!$build_alias$ac_delim
53888 host_alias!$host_alias$ac_delim
53889 target_alias!$target_alias$ac_delim
53890 build!$build$ac_delim
53891 build_cpu!$build_cpu$ac_delim
53892 build_vendor!$build_vendor$ac_delim
53893 build_os!$build_os$ac_delim
53894 host!$host$ac_delim
53895 host_cpu!$host_cpu$ac_delim
53896 host_vendor!$host_vendor$ac_delim
53897 host_os!$host_os$ac_delim
53898 target!$target$ac_delim
53899 target_cpu!$target_cpu$ac_delim
53900 target_vendor!$target_vendor$ac_delim
53901 target_os!$target_os$ac_delim
53902 wx_top_builddir!$wx_top_builddir$ac_delim
53903 CC!$CC$ac_delim
53904 CFLAGS!$CFLAGS$ac_delim
53905 LDFLAGS!$LDFLAGS$ac_delim
53906 CPPFLAGS!$CPPFLAGS$ac_delim
53907 ac_ct_CC!$ac_ct_CC$ac_delim
53908 EXEEXT!$EXEEXT$ac_delim
53909 OBJEXT!$OBJEXT$ac_delim
53910 CPP!$CPP$ac_delim
53911 GREP!$GREP$ac_delim
53912 EGREP!$EGREP$ac_delim
53913 CXX!$CXX$ac_delim
53914 CXXFLAGS!$CXXFLAGS$ac_delim
53915 ac_ct_CXX!$ac_ct_CXX$ac_delim
53916 AR!$AR$ac_delim
53917 subdirs!$subdirs$ac_delim
53918 PKG_CONFIG!$PKG_CONFIG$ac_delim
53919 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53920 GTK_LIBS!$GTK_LIBS$ac_delim
53921 GTK_CONFIG!$GTK_CONFIG$ac_delim
53922 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53923 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53924 XMKMF!$XMKMF$ac_delim
53925 X_CFLAGS!$X_CFLAGS$ac_delim
53926 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53927 X_LIBS!$X_LIBS$ac_delim
53928 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53929 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53930 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53931 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53932 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53933 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53934 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53935 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53936 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53937 LIBICONV!$LIBICONV$ac_delim
53938 SDL_CONFIG!$SDL_CONFIG$ac_delim
53939 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53940 SDL_LIBS!$SDL_LIBS$ac_delim
53941 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53942 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53943 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53944 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53945 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53946 HILDON_LIBS!$HILDON_LIBS$ac_delim
53947 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53948 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53949 GST_CFLAGS!$GST_CFLAGS$ac_delim
53950 _ACEOF
53951
53952 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53953 break
53954 elif $ac_last_try; then
53955 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53956 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53957 { (exit 1); exit 1; }; }
53958 else
53959 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53960 fi
53961 done
53962
53963 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53964 if test -n "$ac_eof"; then
53965 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53966 ac_eof=`expr $ac_eof + 1`
53967 fi
53968
53969 cat >>$CONFIG_STATUS <<_ACEOF
53970 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53971 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53972 _ACEOF
53973 sed '
53974 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53975 s/^/s,@/; s/!/@,|#_!!_#|/
53976 :n
53977 t n
53978 s/'"$ac_delim"'$/,g/; t
53979 s/$/\\/; p
53980 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53981 ' >>$CONFIG_STATUS <conf$$subs.sed
53982 rm -f conf$$subs.sed
53983 cat >>$CONFIG_STATUS <<_ACEOF
53984 CEOF$ac_eof
53985 _ACEOF
53986
53987
53988 ac_delim='%!_!# '
53989 for ac_last_try in false false false false false :; do
53990 cat >conf$$subs.sed <<_ACEOF
53991 GST_LIBS!$GST_LIBS$ac_delim
53992 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53993 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53994 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53995 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53996 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53997 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53998 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53999 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
54000 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54001 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54002 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54003 VENDOR!$VENDOR$ac_delim
54004 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54005 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54006 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54007 WXUNIV!$WXUNIV$ac_delim
54008 MONOLITHIC!$MONOLITHIC$ac_delim
54009 USE_PLUGINS!$USE_PLUGINS$ac_delim
54010 CXXWARNINGS!$CXXWARNINGS$ac_delim
54011 EXTRALIBS!$EXTRALIBS$ac_delim
54012 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54013 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54014 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
54015 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54016 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54017 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54018 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54019 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54020 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54021 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54022 UNICODE!$UNICODE$ac_delim
54023 BUILD!$BUILD$ac_delim
54024 DEBUG_INFO!$DEBUG_INFO$ac_delim
54025 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54026 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54027 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54028 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54029 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
54030 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54031 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54032 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54033 RANLIB!$RANLIB$ac_delim
54034 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54035 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54036 INSTALL_DATA!$INSTALL_DATA$ac_delim
54037 LN_S!$LN_S$ac_delim
54038 SET_MAKE!$SET_MAKE$ac_delim
54039 MAKE_SET!$MAKE_SET$ac_delim
54040 AROPTIONS!$AROPTIONS$ac_delim
54041 STRIP!$STRIP$ac_delim
54042 NM!$NM$ac_delim
54043 INSTALL_DIR!$INSTALL_DIR$ac_delim
54044 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54045 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54046 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54047 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54048 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54049 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54050 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54051 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54052 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54053 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54054 SO_SUFFIX!$SO_SUFFIX$ac_delim
54055 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54056 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54057 LIBPREFIX!$LIBPREFIX$ac_delim
54058 LIBEXT!$LIBEXT$ac_delim
54059 DLLPREFIX!$DLLPREFIX$ac_delim
54060 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54061 dlldir!$dlldir$ac_delim
54062 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54063 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54064 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54065 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54066 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54067 PIC_FLAG!$PIC_FLAG$ac_delim
54068 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54069 USE_SOVERSION!$USE_SOVERSION$ac_delim
54070 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54071 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54072 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54073 USE_MACVERSION!$USE_MACVERSION$ac_delim
54074 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
54075 SONAME_FLAG!$SONAME_FLAG$ac_delim
54076 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54077 BK_DEPS!$BK_DEPS$ac_delim
54078 WINDRES!$WINDRES$ac_delim
54079 REZ!$REZ$ac_delim
54080 SETFILE!$SETFILE$ac_delim
54081 GCC_PCH!$GCC_PCH$ac_delim
54082 ICC_PCH!$ICC_PCH$ac_delim
54083 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54084 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54085 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54086 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54087 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54088 _ACEOF
54089
54090 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54091 break
54092 elif $ac_last_try; then
54093 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54094 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54095 { (exit 1); exit 1; }; }
54096 else
54097 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54098 fi
54099 done
54100
54101 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54102 if test -n "$ac_eof"; then
54103 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54104 ac_eof=`expr $ac_eof + 1`
54105 fi
54106
54107 cat >>$CONFIG_STATUS <<_ACEOF
54108 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54109 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54110 _ACEOF
54111 sed '
54112 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54113 s/^/s,@/; s/!/@,|#_!!_#|/
54114 :n
54115 t n
54116 s/'"$ac_delim"'$/,g/; t
54117 s/$/\\/; p
54118 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54119 ' >>$CONFIG_STATUS <conf$$subs.sed
54120 rm -f conf$$subs.sed
54121 cat >>$CONFIG_STATUS <<_ACEOF
54122 CEOF$ac_eof
54123 _ACEOF
54124
54125
54126 ac_delim='%!_!# '
54127 for ac_last_try in false false false false false :; do
54128 cat >conf$$subs.sed <<_ACEOF
54129 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54130 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54131 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54132 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54133 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54134 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54135 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54136 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54137 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54138 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54139 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54140 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54141 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54142 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54143 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54144 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54145 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54146 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54147 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54148 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54149 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54150 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54151 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54152 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54153 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54154 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54155 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54156 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54158 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54159 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54160 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54161 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54162 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54163 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54164 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54165 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54166 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54167 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54168 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54169 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54170 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54171 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54172 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54173 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54174 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54175 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54176 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54177 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54178 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54179 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54180 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54181 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54182 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54183 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54184 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54185 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54186 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54187 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54188 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54189 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54190 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54191 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54192 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54193 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54194 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54195 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54196 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54197 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54198 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54200 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54201 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54202 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54203 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54204 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54205 COND_SHARED_0!$COND_SHARED_0$ac_delim
54206 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54207 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54208 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54209 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54210 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54211 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54212 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54213 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54214 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54215 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54216 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54217 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54218 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54219 COND_SHARED_1!$COND_SHARED_1$ac_delim
54220 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54221 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54222 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54223 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54224 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54225 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54226 _ACEOF
54227
54228 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54229 break
54230 elif $ac_last_try; then
54231 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54232 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54233 { (exit 1); exit 1; }; }
54234 else
54235 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54236 fi
54237 done
54238
54239 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54240 if test -n "$ac_eof"; then
54241 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54242 ac_eof=`expr $ac_eof + 1`
54243 fi
54244
54245 cat >>$CONFIG_STATUS <<_ACEOF
54246 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54247 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54248 _ACEOF
54249 sed '
54250 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54251 s/^/s,@/; s/!/@,|#_!!_#|/
54252 :n
54253 t n
54254 s/'"$ac_delim"'$/,g/; t
54255 s/$/\\/; p
54256 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54257 ' >>$CONFIG_STATUS <conf$$subs.sed
54258 rm -f conf$$subs.sed
54259 cat >>$CONFIG_STATUS <<_ACEOF
54260 CEOF$ac_eof
54261 _ACEOF
54262
54263
54264 ac_delim='%!_!# '
54265 for ac_last_try in false false false false false :; do
54266 cat >conf$$subs.sed <<_ACEOF
54267 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54268 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54269 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54270 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54271 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54272 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54273 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54274 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54275 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54276 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54277 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54278 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54279 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54280 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54281 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54282 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54283 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54284 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54285 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54286 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54287 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54288 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54289 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54290 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54291 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54292 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54293 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54294 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54295 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54296 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54297 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54298 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54299 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54300 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54301 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54302 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54303 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54304 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54305 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54306 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54307 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54308 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54309 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54310 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54311 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54312 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54313 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54314 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54315 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54316 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54317 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54318 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54319 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54320 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54321 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54322 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54323 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54324 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54325 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54326 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54327 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54328 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54329 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54330 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54331 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54332 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54333 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54334 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54335 DEREZ!$DEREZ$ac_delim
54336 SHARED!$SHARED$ac_delim
54337 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54338 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54339 USE_GUI!$USE_GUI$ac_delim
54340 AFMINSTALL!$AFMINSTALL$ac_delim
54341 WIN32INSTALL!$WIN32INSTALL$ac_delim
54342 TOOLKIT!$TOOLKIT$ac_delim
54343 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54344 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54345 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54346 cross_compiling!$cross_compiling$ac_delim
54347 WIDGET_SET!$WIDGET_SET$ac_delim
54348 WX_RELEASE!$WX_RELEASE$ac_delim
54349 WX_VERSION!$WX_VERSION$ac_delim
54350 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54351 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54352 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54353 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54354 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54355 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54356 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54357 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54358 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54359 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54360 EXE_LINKER!$EXE_LINKER$ac_delim
54361 GUIDIST!$GUIDIST$ac_delim
54362 DISTDIR!$DISTDIR$ac_delim
54363 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54364 _ACEOF
54365
54366 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54367 break
54368 elif $ac_last_try; then
54369 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54370 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54371 { (exit 1); exit 1; }; }
54372 else
54373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54374 fi
54375 done
54376
54377 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54378 if test -n "$ac_eof"; then
54379 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54380 ac_eof=`expr $ac_eof + 1`
54381 fi
54382
54383 cat >>$CONFIG_STATUS <<_ACEOF
54384 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54386 _ACEOF
54387 sed '
54388 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54389 s/^/s,@/; s/!/@,|#_!!_#|/
54390 :n
54391 t n
54392 s/'"$ac_delim"'$/,g/; t
54393 s/$/\\/; p
54394 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54395 ' >>$CONFIG_STATUS <conf$$subs.sed
54396 rm -f conf$$subs.sed
54397 cat >>$CONFIG_STATUS <<_ACEOF
54398 CEOF$ac_eof
54399 _ACEOF
54400
54401
54402 ac_delim='%!_!# '
54403 for ac_last_try in false false false false false :; do
54404 cat >conf$$subs.sed <<_ACEOF
54405 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54406 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54407 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54408 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54409 RESCOMP!$RESCOMP$ac_delim
54410 RESFLAGS!$RESFLAGS$ac_delim
54411 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54412 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54413 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54414 LIBWXMACRES!$LIBWXMACRES$ac_delim
54415 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54416 MACSETFILE!$MACSETFILE$ac_delim
54417 GCC!$GCC$ac_delim
54418 DLLTOOL!$DLLTOOL$ac_delim
54419 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54420 LIBOBJS!$LIBOBJS$ac_delim
54421 LTLIBOBJS!$LTLIBOBJS$ac_delim
54422 _ACEOF
54423
54424 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54425 break
54426 elif $ac_last_try; then
54427 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54428 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54429 { (exit 1); exit 1; }; }
54430 else
54431 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54432 fi
54433 done
54434
54435 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54436 if test -n "$ac_eof"; then
54437 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54438 ac_eof=`expr $ac_eof + 1`
54439 fi
54440
54441 cat >>$CONFIG_STATUS <<_ACEOF
54442 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54443 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54444 _ACEOF
54445 sed '
54446 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54447 s/^/s,@/; s/!/@,|#_!!_#|/
54448 :n
54449 t n
54450 s/'"$ac_delim"'$/,g/; t
54451 s/$/\\/; p
54452 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54453 ' >>$CONFIG_STATUS <conf$$subs.sed
54454 rm -f conf$$subs.sed
54455 cat >>$CONFIG_STATUS <<_ACEOF
54456 :end
54457 s/|#_!!_#|//g
54458 CEOF$ac_eof
54459 _ACEOF
54460
54461
54462 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54463 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54464 # trailing colons and then remove the whole line if VPATH becomes empty
54465 # (actually we leave an empty line to preserve line numbers).
54466 if test "x$srcdir" = x.; then
54467 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54468 s/:*\$(srcdir):*/:/
54469 s/:*\${srcdir}:*/:/
54470 s/:*@srcdir@:*/:/
54471 s/^\([^=]*=[ ]*\):*/\1/
54472 s/:*$//
54473 s/^[^=]*=[ ]*$//
54474 }'
54475 fi
54476
54477 cat >>$CONFIG_STATUS <<\_ACEOF
54478 fi # test -n "$CONFIG_FILES"
54479
54480
54481 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54482 do
54483 case $ac_tag in
54484 :[FHLC]) ac_mode=$ac_tag; continue;;
54485 esac
54486 case $ac_mode$ac_tag in
54487 :[FHL]*:*);;
54488 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54489 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54490 { (exit 1); exit 1; }; };;
54491 :[FH]-) ac_tag=-:-;;
54492 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54493 esac
54494 ac_save_IFS=$IFS
54495 IFS=:
54496 set x $ac_tag
54497 IFS=$ac_save_IFS
54498 shift
54499 ac_file=$1
54500 shift
54501
54502 case $ac_mode in
54503 :L) ac_source=$1;;
54504 :[FH])
54505 ac_file_inputs=
54506 for ac_f
54507 do
54508 case $ac_f in
54509 -) ac_f="$tmp/stdin";;
54510 *) # Look for the file first in the build tree, then in the source tree
54511 # (if the path is not absolute). The absolute path cannot be DOS-style,
54512 # because $ac_f cannot contain `:'.
54513 test -f "$ac_f" ||
54514 case $ac_f in
54515 [\\/$]*) false;;
54516 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54517 esac ||
54518 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54519 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54520 { (exit 1); exit 1; }; };;
54521 esac
54522 ac_file_inputs="$ac_file_inputs $ac_f"
54523 done
54524
54525 # Let's still pretend it is `configure' which instantiates (i.e., don't
54526 # use $as_me), people would be surprised to read:
54527 # /* config.h. Generated by config.status. */
54528 configure_input="Generated from "`IFS=:
54529 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54530 if test x"$ac_file" != x-; then
54531 configure_input="$ac_file. $configure_input"
54532 { echo "$as_me:$LINENO: creating $ac_file" >&5
54533 echo "$as_me: creating $ac_file" >&6;}
54534 fi
54535
54536 case $ac_tag in
54537 *:-:* | *:-) cat >"$tmp/stdin";;
54538 esac
54539 ;;
54540 esac
54541
54542 ac_dir=`$as_dirname -- "$ac_file" ||
54543 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54544 X"$ac_file" : 'X\(//\)[^/]' \| \
54545 X"$ac_file" : 'X\(//\)$' \| \
54546 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54547 echo X"$ac_file" |
54548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54549 s//\1/
54550 q
54551 }
54552 /^X\(\/\/\)[^/].*/{
54553 s//\1/
54554 q
54555 }
54556 /^X\(\/\/\)$/{
54557 s//\1/
54558 q
54559 }
54560 /^X\(\/\).*/{
54561 s//\1/
54562 q
54563 }
54564 s/.*/./; q'`
54565 { as_dir="$ac_dir"
54566 case $as_dir in #(
54567 -*) as_dir=./$as_dir;;
54568 esac
54569 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54570 as_dirs=
54571 while :; do
54572 case $as_dir in #(
54573 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54574 *) as_qdir=$as_dir;;
54575 esac
54576 as_dirs="'$as_qdir' $as_dirs"
54577 as_dir=`$as_dirname -- "$as_dir" ||
54578 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54579 X"$as_dir" : 'X\(//\)[^/]' \| \
54580 X"$as_dir" : 'X\(//\)$' \| \
54581 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54582 echo X"$as_dir" |
54583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54584 s//\1/
54585 q
54586 }
54587 /^X\(\/\/\)[^/].*/{
54588 s//\1/
54589 q
54590 }
54591 /^X\(\/\/\)$/{
54592 s//\1/
54593 q
54594 }
54595 /^X\(\/\).*/{
54596 s//\1/
54597 q
54598 }
54599 s/.*/./; q'`
54600 test -d "$as_dir" && break
54601 done
54602 test -z "$as_dirs" || eval "mkdir $as_dirs"
54603 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54604 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54605 { (exit 1); exit 1; }; }; }
54606 ac_builddir=.
54607
54608 case "$ac_dir" in
54609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54610 *)
54611 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54612 # A ".." for each directory in $ac_dir_suffix.
54613 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54614 case $ac_top_builddir_sub in
54615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54617 esac ;;
54618 esac
54619 ac_abs_top_builddir=$ac_pwd
54620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54621 # for backward compatibility:
54622 ac_top_builddir=$ac_top_build_prefix
54623
54624 case $srcdir in
54625 .) # We are building in place.
54626 ac_srcdir=.
54627 ac_top_srcdir=$ac_top_builddir_sub
54628 ac_abs_top_srcdir=$ac_pwd ;;
54629 [\\/]* | ?:[\\/]* ) # Absolute name.
54630 ac_srcdir=$srcdir$ac_dir_suffix;
54631 ac_top_srcdir=$srcdir
54632 ac_abs_top_srcdir=$srcdir ;;
54633 *) # Relative name.
54634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54635 ac_top_srcdir=$ac_top_build_prefix$srcdir
54636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54637 esac
54638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54639
54640
54641 case $ac_mode in
54642 :F)
54643 #
54644 # CONFIG_FILE
54645 #
54646
54647 case $INSTALL in
54648 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54649 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54650 esac
54651 _ACEOF
54652
54653 cat >>$CONFIG_STATUS <<\_ACEOF
54654 # If the template does not know about datarootdir, expand it.
54655 # FIXME: This hack should be removed a few years after 2.60.
54656 ac_datarootdir_hack=; ac_datarootdir_seen=
54657
54658 case `sed -n '/datarootdir/ {
54659 p
54660 q
54661 }
54662 /@datadir@/p
54663 /@docdir@/p
54664 /@infodir@/p
54665 /@localedir@/p
54666 /@mandir@/p
54667 ' $ac_file_inputs` in
54668 *datarootdir*) ac_datarootdir_seen=yes;;
54669 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54670 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54671 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54672 _ACEOF
54673 cat >>$CONFIG_STATUS <<_ACEOF
54674 ac_datarootdir_hack='
54675 s&@datadir@&$datadir&g
54676 s&@docdir@&$docdir&g
54677 s&@infodir@&$infodir&g
54678 s&@localedir@&$localedir&g
54679 s&@mandir@&$mandir&g
54680 s&\\\${datarootdir}&$datarootdir&g' ;;
54681 esac
54682 _ACEOF
54683
54684 # Neutralize VPATH when `$srcdir' = `.'.
54685 # Shell code in configure.ac might set extrasub.
54686 # FIXME: do we really want to maintain this feature?
54687 cat >>$CONFIG_STATUS <<_ACEOF
54688 sed "$ac_vpsub
54689 $extrasub
54690 _ACEOF
54691 cat >>$CONFIG_STATUS <<\_ACEOF
54692 :t
54693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54694 s&@configure_input@&$configure_input&;t t
54695 s&@top_builddir@&$ac_top_builddir_sub&;t t
54696 s&@srcdir@&$ac_srcdir&;t t
54697 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54698 s&@top_srcdir@&$ac_top_srcdir&;t t
54699 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54700 s&@builddir@&$ac_builddir&;t t
54701 s&@abs_builddir@&$ac_abs_builddir&;t t
54702 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54703 s&@INSTALL@&$ac_INSTALL&;t t
54704 $ac_datarootdir_hack
54705 " $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 -f "$tmp/subs-5.sed" >$tmp/out
54706
54707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54708 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54709 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54710 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54711 which seems to be undefined. Please make sure it is defined." >&5
54712 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54713 which seems to be undefined. Please make sure it is defined." >&2;}
54714
54715 rm -f "$tmp/stdin"
54716 case $ac_file in
54717 -) cat "$tmp/out"; rm -f "$tmp/out";;
54718 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54719 esac
54720 ;;
54721 :H)
54722 #
54723 # CONFIG_HEADER
54724 #
54725 _ACEOF
54726
54727 # Transform confdefs.h into a sed script `conftest.defines', that
54728 # substitutes the proper values into config.h.in to produce config.h.
54729 rm -f conftest.defines conftest.tail
54730 # First, append a space to every undef/define line, to ease matching.
54731 echo 's/$/ /' >conftest.defines
54732 # Then, protect against being on the right side of a sed subst, or in
54733 # an unquoted here document, in config.status. If some macros were
54734 # called several times there might be several #defines for the same
54735 # symbol, which is useless. But do not sort them, since the last
54736 # AC_DEFINE must be honored.
54737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54738 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54739 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54740 # PARAMS is the parameter list in the macro definition--in most cases, it's
54741 # just an empty string.
54742 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54743 ac_dB='\\)[ (].*,\\1define\\2'
54744 ac_dC=' '
54745 ac_dD=' ,'
54746
54747 uniq confdefs.h |
54748 sed -n '
54749 t rset
54750 :rset
54751 s/^[ ]*#[ ]*define[ ][ ]*//
54752 t ok
54753 d
54754 :ok
54755 s/[\\&,]/\\&/g
54756 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54757 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54758 ' >>conftest.defines
54759
54760 # Remove the space that was appended to ease matching.
54761 # Then replace #undef with comments. This is necessary, for
54762 # example, in the case of _POSIX_SOURCE, which is predefined and required
54763 # on some systems where configure will not decide to define it.
54764 # (The regexp can be short, since the line contains either #define or #undef.)
54765 echo 's/ $//
54766 s,^[ #]*u.*,/* & */,' >>conftest.defines
54767
54768 # Break up conftest.defines:
54769 ac_max_sed_lines=50
54770
54771 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54772 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54773 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54774 # et cetera.
54775 ac_in='$ac_file_inputs'
54776 ac_out='"$tmp/out1"'
54777 ac_nxt='"$tmp/out2"'
54778
54779 while :
54780 do
54781 # Write a here document:
54782 cat >>$CONFIG_STATUS <<_ACEOF
54783 # First, check the format of the line:
54784 cat >"\$tmp/defines.sed" <<\\CEOF
54785 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54786 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54787 b
54788 :def
54789 _ACEOF
54790 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54791 echo 'CEOF
54792 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54793 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54794 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54795 grep . conftest.tail >/dev/null || break
54796 rm -f conftest.defines
54797 mv conftest.tail conftest.defines
54798 done
54799 rm -f conftest.defines conftest.tail
54800
54801 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54802 cat >>$CONFIG_STATUS <<\_ACEOF
54803 if test x"$ac_file" != x-; then
54804 echo "/* $configure_input */" >"$tmp/config.h"
54805 cat "$ac_result" >>"$tmp/config.h"
54806 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54807 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54808 echo "$as_me: $ac_file is unchanged" >&6;}
54809 else
54810 rm -f $ac_file
54811 mv "$tmp/config.h" $ac_file
54812 fi
54813 else
54814 echo "/* $configure_input */"
54815 cat "$ac_result"
54816 fi
54817 rm -f "$tmp/out12"
54818 ;;
54819
54820 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54821 echo "$as_me: executing $ac_file commands" >&6;}
54822 ;;
54823 esac
54824
54825
54826 case $ac_file$ac_mode in
54827 "rcdefs.h":C)
54828 mkdir -p $outdir &&
54829 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54830 ;;
54831 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54832 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54833 "wx-config":C) rm -f wx-config
54834 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54835 ;;
54836
54837 esac
54838 done # for ac_tag
54839
54840
54841 { (exit 0); exit 0; }
54842 _ACEOF
54843 chmod +x $CONFIG_STATUS
54844 ac_clean_files=$ac_clean_files_save
54845
54846
54847 # configure is writing to config.log, and then calls config.status.
54848 # config.status does its own redirection, appending to config.log.
54849 # Unfortunately, on DOS this fails, as config.log is still kept open
54850 # by configure, so config.status won't be able to write to it; its
54851 # output is simply discarded. So we exec the FD to /dev/null,
54852 # effectively closing config.log, so it can be properly (re)opened and
54853 # appended to by config.status. When coming back to configure, we
54854 # need to make the FD available again.
54855 if test "$no_create" != yes; then
54856 ac_cs_success=:
54857 ac_config_status_args=
54858 test "$silent" = yes &&
54859 ac_config_status_args="$ac_config_status_args --quiet"
54860 exec 5>/dev/null
54861 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54862 exec 5>>config.log
54863 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54864 # would make configure fail if this is the last instruction.
54865 $ac_cs_success || { (exit 1); exit 1; }
54866 fi
54867
54868 #
54869 # CONFIG_SUBDIRS section.
54870 #
54871 if test "$no_recursion" != yes; then
54872
54873 # Remove --cache-file and --srcdir arguments so they do not pile up.
54874 ac_sub_configure_args=
54875 ac_prev=
54876 eval "set x $ac_configure_args"
54877 shift
54878 for ac_arg
54879 do
54880 if test -n "$ac_prev"; then
54881 ac_prev=
54882 continue
54883 fi
54884 case $ac_arg in
54885 -cache-file | --cache-file | --cache-fil | --cache-fi \
54886 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54887 ac_prev=cache_file ;;
54888 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54889 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54890 | --c=*)
54891 ;;
54892 --config-cache | -C)
54893 ;;
54894 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54895 ac_prev=srcdir ;;
54896 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54897 ;;
54898 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54899 ac_prev=prefix ;;
54900 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54901 ;;
54902 *)
54903 case $ac_arg in
54904 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54905 esac
54906 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54907 esac
54908 done
54909
54910 # Always prepend --prefix to ensure using the same prefix
54911 # in subdir configurations.
54912 ac_arg="--prefix=$prefix"
54913 case $ac_arg in
54914 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54915 esac
54916 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54917
54918 # Pass --silent
54919 if test "$silent" = yes; then
54920 ac_sub_configure_args="--silent $ac_sub_configure_args"
54921 fi
54922
54923 ac_popdir=`pwd`
54924 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54925
54926 # Do not complain, so a configure script can configure whichever
54927 # parts of a large source tree are present.
54928 test -d "$srcdir/$ac_dir" || continue
54929
54930 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54931 echo "$as_me:$LINENO: $ac_msg" >&5
54932 echo "$ac_msg" >&6
54933 { as_dir="$ac_dir"
54934 case $as_dir in #(
54935 -*) as_dir=./$as_dir;;
54936 esac
54937 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54938 as_dirs=
54939 while :; do
54940 case $as_dir in #(
54941 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54942 *) as_qdir=$as_dir;;
54943 esac
54944 as_dirs="'$as_qdir' $as_dirs"
54945 as_dir=`$as_dirname -- "$as_dir" ||
54946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54947 X"$as_dir" : 'X\(//\)[^/]' \| \
54948 X"$as_dir" : 'X\(//\)$' \| \
54949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54950 echo X"$as_dir" |
54951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54952 s//\1/
54953 q
54954 }
54955 /^X\(\/\/\)[^/].*/{
54956 s//\1/
54957 q
54958 }
54959 /^X\(\/\/\)$/{
54960 s//\1/
54961 q
54962 }
54963 /^X\(\/\).*/{
54964 s//\1/
54965 q
54966 }
54967 s/.*/./; q'`
54968 test -d "$as_dir" && break
54969 done
54970 test -z "$as_dirs" || eval "mkdir $as_dirs"
54971 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54972 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54973 { (exit 1); exit 1; }; }; }
54974 ac_builddir=.
54975
54976 case "$ac_dir" in
54977 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54978 *)
54979 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54980 # A ".." for each directory in $ac_dir_suffix.
54981 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54982 case $ac_top_builddir_sub in
54983 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54984 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54985 esac ;;
54986 esac
54987 ac_abs_top_builddir=$ac_pwd
54988 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54989 # for backward compatibility:
54990 ac_top_builddir=$ac_top_build_prefix
54991
54992 case $srcdir in
54993 .) # We are building in place.
54994 ac_srcdir=.
54995 ac_top_srcdir=$ac_top_builddir_sub
54996 ac_abs_top_srcdir=$ac_pwd ;;
54997 [\\/]* | ?:[\\/]* ) # Absolute name.
54998 ac_srcdir=$srcdir$ac_dir_suffix;
54999 ac_top_srcdir=$srcdir
55000 ac_abs_top_srcdir=$srcdir ;;
55001 *) # Relative name.
55002 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55003 ac_top_srcdir=$ac_top_build_prefix$srcdir
55004 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55005 esac
55006 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55007
55008
55009 cd "$ac_dir"
55010
55011 # Check for guested configure; otherwise get Cygnus style configure.
55012 if test -f "$ac_srcdir/configure.gnu"; then
55013 ac_sub_configure=$ac_srcdir/configure.gnu
55014 elif test -f "$ac_srcdir/configure"; then
55015 ac_sub_configure=$ac_srcdir/configure
55016 elif test -f "$ac_srcdir/configure.in"; then
55017 # This should be Cygnus configure.
55018 ac_sub_configure=$ac_aux_dir/configure
55019 else
55020 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55021 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55022 ac_sub_configure=
55023 fi
55024
55025 # The recursion is here.
55026 if test -n "$ac_sub_configure"; then
55027 # Make the cache file name correct relative to the subdirectory.
55028 case $cache_file in
55029 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55030 *) # Relative name.
55031 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55032 esac
55033
55034 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55035 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55036 # The eval makes quoting arguments work.
55037 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55038 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55039 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55040 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55041 { (exit 1); exit 1; }; }
55042 fi
55043
55044 cd "$ac_popdir"
55045 done
55046 fi
55047
55048
55049 echo
55050 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55051 echo ""
55052 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55053 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55054
55055 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55056 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55057 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55058 if test "$wxUSE_UNICODE" = "yes"; then
55059 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55060 echo " (using UTF-8)"
55061 else
55062 echo " (using wchar_t)"
55063 fi
55064 else
55065 echo
55066 fi
55067
55068 echo " What level of wxWidgets compatibility should be enabled?"
55069 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55070 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55071
55072 echo " Which libraries should wxWidgets use?"
55073 echo " STL ${wxUSE_STL}"
55074 echo " jpeg ${wxUSE_LIBJPEG-none}"
55075 echo " png ${wxUSE_LIBPNG-none}"
55076 echo " regex ${wxUSE_REGEX}"
55077 echo " tiff ${wxUSE_LIBTIFF-none}"
55078 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55079 echo " xpm ${wxUSE_LIBXPM-none}"
55080 fi
55081 echo " zlib ${wxUSE_ZLIB}"
55082 echo " odbc ${wxUSE_ODBC}"
55083 echo " expat ${wxUSE_EXPAT}"
55084 echo " libmspack ${wxUSE_LIBMSPACK}"
55085 echo " sdl ${wxUSE_LIBSDL}"
55086
55087 echo ""
55088