]> git.saurik.com Git - wxWidgets.git/blob - configure
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 49513 2007-10-29 12:09:59Z VZ .
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 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 WITH_PLUGIN_SDL
744 EXTRALIBS_GTKPRINT
745 EXTRALIBS_GNOMEPRINT
746 EXTRALIBS_GNOMEVFS
747 EXTRALIBS_HILDON
748 UNICODE
749 BUILD
750 DEBUG_INFO
751 DEBUG_FLAG
752 TOOLKIT_LOWERCASE
753 TOOLKIT_VERSION
754 SAMPLES_RPATH_FLAG
755 SAMPLES_RPATH_POSTLINK
756 HOST_SUFFIX
757 CPPUNIT_CFLAGS
758 CPPUNIT_LIBS
759 RANLIB
760 INSTALL_PROGRAM
761 INSTALL_SCRIPT
762 INSTALL_DATA
763 LN_S
764 SET_MAKE
765 MAKE_SET
766 AROPTIONS
767 STRIP
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 IF_GNU_MAKE
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 WINDRES
805 REZ
806 SETFILE
807 GCC_PCH
808 ICC_PCH
809 BK_MAKE_PCH
810 COND_BUILD_DEBUG
811 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
812 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
813 COND_BUILD_DEBUG_UNICODE_0
814 COND_BUILD_DEBUG_UNICODE_1
815 COND_BUILD_RELEASE
816 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
817 COND_BUILD_RELEASE_UNICODE_0
818 COND_BUILD_RELEASE_UNICODE_1
819 COND_DEBUG_FLAG_1
820 COND_DEBUG_INFO_0
821 COND_DEBUG_INFO_1
822 COND_DEPS_TRACKING_0
823 COND_DEPS_TRACKING_1
824 COND_GCC_PCH_1
825 COND_ICC_PCH_1
826 COND_MONOLITHIC_0
827 COND_MONOLITHIC_0_SHARED_0
828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_QA_1
851 COND_MONOLITHIC_0_USE_RICHTEXT_1
852 COND_MONOLITHIC_0_USE_STC_1
853 COND_MONOLITHIC_0_USE_XRC_1
854 COND_MONOLITHIC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
872 COND_PLATFORM_MAC_1
873 COND_PLATFORM_MSDOS_1
874 COND_PLATFORM_OS2_1
875 COND_PLATFORM_UNIX_0
876 COND_PLATFORM_UNIX_1
877 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
879 COND_PLATFORM_UNIX_1_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
881 COND_PLATFORM_WIN32_0
882 COND_PLATFORM_WIN32_1
883 COND_SHARED_0
884 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
885 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
886 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
887 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
888 COND_SHARED_0_USE_STC_1
889 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
890 COND_SHARED_0_WXUSE_REGEX_BUILTIN
891 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
892 COND_SHARED_1
893 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
894 COND_TOOLKIT_
895 COND_TOOLKIT_COCOA
896 COND_TOOLKIT_COCOA_USE_GUI_1
897 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
898 COND_TOOLKIT_DFB
899 COND_TOOLKIT_DFB_USE_GUI_1
900 COND_TOOLKIT_GTK
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
907 COND_TOOLKIT_GTK_USE_GUI_1
908 COND_TOOLKIT_MAC
909 COND_TOOLKIT_MAC_USE_GUI_1
910 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_MGL
912 COND_TOOLKIT_MGL_USE_GUI_1
913 COND_TOOLKIT_MOTIF
914 COND_TOOLKIT_MOTIF_USE_GUI_1
915 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MSW
917 COND_TOOLKIT_MSW_USE_GUI_1
918 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_MSW_WXUNIV_0
920 COND_TOOLKIT_PM
921 COND_TOOLKIT_PM_USE_GUI_1
922 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_WINCE
924 COND_TOOLKIT_WINCE_USE_GUI_1
925 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_WINCE_WXUNIV_0
927 COND_TOOLKIT_X11
928 COND_TOOLKIT_X11_USE_GUI_1
929 COND_UNICODE_1
930 COND_USE_EXCEPTIONS_0
931 COND_USE_EXCEPTIONS_1
932 COND_USE_GUI_0
933 COND_USE_GUI_1
934 COND_USE_GUI_1_USE_OPENGL_1
935 COND_USE_GUI_1_WXUNIV_0
936 COND_USE_GUI_1_WXUNIV_1
937 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
938 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
939 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
940 COND_USE_PCH_1
941 COND_USE_PLUGINS_0
942 COND_USE_RTTI_0
943 COND_USE_RTTI_1
944 COND_USE_SOSYMLINKS_1
945 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
946 COND_USE_SOVERLINUX_1
947 COND_USE_SOVERSION_0
948 COND_USE_SOVERSOLARIS_1
949 COND_USE_STC_1
950 COND_USE_THREADS_0
951 COND_USE_THREADS_1
952 COND_USE_XRC_1
953 COND_WINDOWS_IMPLIB_1
954 COND_WITH_PLUGIN_SDL_1
955 COND_WXUNIV_0
956 COND_WXUNIV_1
957 COND_WXUSE_EXPAT_BUILTIN
958 COND_WXUSE_LIBJPEG_BUILTIN
959 COND_WXUSE_LIBPNG_BUILTIN
960 COND_WXUSE_LIBTIFF_BUILTIN
961 COND_WXUSE_REGEX_BUILTIN
962 COND_WXUSE_ZLIB_BUILTIN
963 DEREZ
964 SHARED
965 WX_LIBRARY_BASENAME_NOGUI
966 WX_LIBRARY_BASENAME_GUI
967 USE_GUI
968 AFMINSTALL
969 WIN32INSTALL
970 TOOLKIT
971 TOOLKIT_DIR
972 TOOLCHAIN_NAME
973 TOOLCHAIN_FULLNAME
974 cross_compiling
975 WIDGET_SET
976 WX_RELEASE
977 WX_VERSION
978 WX_SUBVERSION
979 WX_CHARTYPE
980 WX_DEBUGTYPE
981 WXCONFIG_CPPFLAGS
982 WXCONFIG_CFLAGS
983 WXCONFIG_CXXFLAGS
984 WXCONFIG_LIBS
985 WXCONFIG_RPATH
986 WXCONFIG_LDFLAGS_GUI
987 WXCONFIG_RESFLAGS
988 GUIDIST
989 DISTDIR
990 SAMPLES_SUBDIRS
991 LDFLAGS_GL
992 OPENGL_LIBS
993 DMALLOC_LIBS
994 WX_VERSION_TAG
995 RESCOMP
996 RESFLAGS
997 RESPROGRAMOBJ
998 WX_RESOURCES_MACOSX_ASCII
999 WX_RESOURCES_MACOSX_DATA
1000 LIBWXMACRES
1001 POSTLINK_COMMAND
1002 MACSETFILE
1003 GCC
1004 DLLTOOL
1005 CPPUNIT_CONFIG
1006 LIBOBJS
1007 LTLIBOBJS'
1008 ac_subst_files=''
1009 ac_precious_vars='build_alias
1010 host_alias
1011 target_alias
1012 CC
1013 CFLAGS
1014 LDFLAGS
1015 LIBS
1016 CPPFLAGS
1017 CPP
1018 CXX
1019 CXXFLAGS
1020 CCC
1021 PKG_CONFIG
1022 DIRECTFB_CFLAGS
1023 DIRECTFB_LIBS
1024 XMKMF
1025 PANGOX_CFLAGS
1026 PANGOX_LIBS
1027 PANGOFT2_CFLAGS
1028 PANGOFT2_LIBS
1029 PANGOXFT_CFLAGS
1030 PANGOXFT_LIBS
1031 GTKPRINT_CFLAGS
1032 GTKPRINT_LIBS
1033 LIBGNOMEPRINTUI_CFLAGS
1034 LIBGNOMEPRINTUI_LIBS
1035 GNOMEVFS_CFLAGS
1036 GNOMEVFS_LIBS
1037 HILDON_CFLAGS
1038 HILDON_LIBS
1039 CAIRO_CFLAGS
1040 CAIRO_LIBS
1041 GST_CFLAGS
1042 GST_LIBS'
1043 ac_subdirs_all='src/tiff
1044 src/expat'
1045
1046 # Initialize some variables set by options.
1047 ac_init_help=
1048 ac_init_version=false
1049 # The variables have the same names as the options, with
1050 # dashes changed to underlines.
1051 cache_file=/dev/null
1052 exec_prefix=NONE
1053 no_create=
1054 no_recursion=
1055 prefix=NONE
1056 program_prefix=NONE
1057 program_suffix=NONE
1058 program_transform_name=s,x,x,
1059 silent=
1060 site=
1061 srcdir=
1062 verbose=
1063 x_includes=NONE
1064 x_libraries=NONE
1065
1066 # Installation directory options.
1067 # These are left unexpanded so users can "make install exec_prefix=/foo"
1068 # and all the variables that are supposed to be based on exec_prefix
1069 # by default will actually change.
1070 # Use braces instead of parens because sh, perl, etc. also accept them.
1071 # (The list follows the same order as the GNU Coding Standards.)
1072 bindir='${exec_prefix}/bin'
1073 sbindir='${exec_prefix}/sbin'
1074 libexecdir='${exec_prefix}/libexec'
1075 datarootdir='${prefix}/share'
1076 datadir='${datarootdir}'
1077 sysconfdir='${prefix}/etc'
1078 sharedstatedir='${prefix}/com'
1079 localstatedir='${prefix}/var'
1080 includedir='${prefix}/include'
1081 oldincludedir='/usr/include'
1082 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1083 infodir='${datarootdir}/info'
1084 htmldir='${docdir}'
1085 dvidir='${docdir}'
1086 pdfdir='${docdir}'
1087 psdir='${docdir}'
1088 libdir='${exec_prefix}/lib'
1089 localedir='${datarootdir}/locale'
1090 mandir='${datarootdir}/man'
1091
1092 ac_prev=
1093 ac_dashdash=
1094 for ac_option
1095 do
1096 # If the previous option needs an argument, assign it.
1097 if test -n "$ac_prev"; then
1098 eval $ac_prev=\$ac_option
1099 ac_prev=
1100 continue
1101 fi
1102
1103 case $ac_option in
1104 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1105 *) ac_optarg=yes ;;
1106 esac
1107
1108 # Accept the important Cygnus configure options, so we can diagnose typos.
1109
1110 case $ac_dashdash$ac_option in
1111 --)
1112 ac_dashdash=yes ;;
1113
1114 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1115 ac_prev=bindir ;;
1116 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1117 bindir=$ac_optarg ;;
1118
1119 -build | --build | --buil | --bui | --bu)
1120 ac_prev=build_alias ;;
1121 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1122 build_alias=$ac_optarg ;;
1123
1124 -cache-file | --cache-file | --cache-fil | --cache-fi \
1125 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1126 ac_prev=cache_file ;;
1127 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1128 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1129 cache_file=$ac_optarg ;;
1130
1131 --config-cache | -C)
1132 cache_file=config.cache ;;
1133
1134 -datadir | --datadir | --datadi | --datad)
1135 ac_prev=datadir ;;
1136 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1137 datadir=$ac_optarg ;;
1138
1139 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1140 | --dataroo | --dataro | --datar)
1141 ac_prev=datarootdir ;;
1142 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1143 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1144 datarootdir=$ac_optarg ;;
1145
1146 -disable-* | --disable-*)
1147 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1151 { (exit 1); exit 1; }; }
1152 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1153 eval enable_$ac_feature=no ;;
1154
1155 -docdir | --docdir | --docdi | --doc | --do)
1156 ac_prev=docdir ;;
1157 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1158 docdir=$ac_optarg ;;
1159
1160 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1161 ac_prev=dvidir ;;
1162 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1163 dvidir=$ac_optarg ;;
1164
1165 -enable-* | --enable-*)
1166 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1169 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1170 { (exit 1); exit 1; }; }
1171 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1172 eval enable_$ac_feature=\$ac_optarg ;;
1173
1174 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1175 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1176 | --exec | --exe | --ex)
1177 ac_prev=exec_prefix ;;
1178 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1179 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1180 | --exec=* | --exe=* | --ex=*)
1181 exec_prefix=$ac_optarg ;;
1182
1183 -gas | --gas | --ga | --g)
1184 # Obsolete; use --with-gas.
1185 with_gas=yes ;;
1186
1187 -help | --help | --hel | --he | -h)
1188 ac_init_help=long ;;
1189 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1190 ac_init_help=recursive ;;
1191 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1192 ac_init_help=short ;;
1193
1194 -host | --host | --hos | --ho)
1195 ac_prev=host_alias ;;
1196 -host=* | --host=* | --hos=* | --ho=*)
1197 host_alias=$ac_optarg ;;
1198
1199 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1200 ac_prev=htmldir ;;
1201 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1202 | --ht=*)
1203 htmldir=$ac_optarg ;;
1204
1205 -includedir | --includedir | --includedi | --included | --include \
1206 | --includ | --inclu | --incl | --inc)
1207 ac_prev=includedir ;;
1208 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1209 | --includ=* | --inclu=* | --incl=* | --inc=*)
1210 includedir=$ac_optarg ;;
1211
1212 -infodir | --infodir | --infodi | --infod | --info | --inf)
1213 ac_prev=infodir ;;
1214 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1215 infodir=$ac_optarg ;;
1216
1217 -libdir | --libdir | --libdi | --libd)
1218 ac_prev=libdir ;;
1219 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1220 libdir=$ac_optarg ;;
1221
1222 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1223 | --libexe | --libex | --libe)
1224 ac_prev=libexecdir ;;
1225 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1226 | --libexe=* | --libex=* | --libe=*)
1227 libexecdir=$ac_optarg ;;
1228
1229 -localedir | --localedir | --localedi | --localed | --locale)
1230 ac_prev=localedir ;;
1231 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1232 localedir=$ac_optarg ;;
1233
1234 -localstatedir | --localstatedir | --localstatedi | --localstated \
1235 | --localstate | --localstat | --localsta | --localst | --locals)
1236 ac_prev=localstatedir ;;
1237 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1238 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1239 localstatedir=$ac_optarg ;;
1240
1241 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1242 ac_prev=mandir ;;
1243 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1244 mandir=$ac_optarg ;;
1245
1246 -nfp | --nfp | --nf)
1247 # Obsolete; use --without-fp.
1248 with_fp=no ;;
1249
1250 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1251 | --no-cr | --no-c | -n)
1252 no_create=yes ;;
1253
1254 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1255 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1256 no_recursion=yes ;;
1257
1258 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1259 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1260 | --oldin | --oldi | --old | --ol | --o)
1261 ac_prev=oldincludedir ;;
1262 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1263 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1264 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1265 oldincludedir=$ac_optarg ;;
1266
1267 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1268 ac_prev=prefix ;;
1269 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1270 prefix=$ac_optarg ;;
1271
1272 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1273 | --program-pre | --program-pr | --program-p)
1274 ac_prev=program_prefix ;;
1275 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1276 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1277 program_prefix=$ac_optarg ;;
1278
1279 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1280 | --program-suf | --program-su | --program-s)
1281 ac_prev=program_suffix ;;
1282 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1283 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1284 program_suffix=$ac_optarg ;;
1285
1286 -program-transform-name | --program-transform-name \
1287 | --program-transform-nam | --program-transform-na \
1288 | --program-transform-n | --program-transform- \
1289 | --program-transform | --program-transfor \
1290 | --program-transfo | --program-transf \
1291 | --program-trans | --program-tran \
1292 | --progr-tra | --program-tr | --program-t)
1293 ac_prev=program_transform_name ;;
1294 -program-transform-name=* | --program-transform-name=* \
1295 | --program-transform-nam=* | --program-transform-na=* \
1296 | --program-transform-n=* | --program-transform-=* \
1297 | --program-transform=* | --program-transfor=* \
1298 | --program-transfo=* | --program-transf=* \
1299 | --program-trans=* | --program-tran=* \
1300 | --progr-tra=* | --program-tr=* | --program-t=*)
1301 program_transform_name=$ac_optarg ;;
1302
1303 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1304 ac_prev=pdfdir ;;
1305 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1306 pdfdir=$ac_optarg ;;
1307
1308 -psdir | --psdir | --psdi | --psd | --ps)
1309 ac_prev=psdir ;;
1310 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1311 psdir=$ac_optarg ;;
1312
1313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1314 | -silent | --silent | --silen | --sile | --sil)
1315 silent=yes ;;
1316
1317 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1318 ac_prev=sbindir ;;
1319 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1320 | --sbi=* | --sb=*)
1321 sbindir=$ac_optarg ;;
1322
1323 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1324 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1325 | --sharedst | --shareds | --shared | --share | --shar \
1326 | --sha | --sh)
1327 ac_prev=sharedstatedir ;;
1328 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1329 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1330 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1331 | --sha=* | --sh=*)
1332 sharedstatedir=$ac_optarg ;;
1333
1334 -site | --site | --sit)
1335 ac_prev=site ;;
1336 -site=* | --site=* | --sit=*)
1337 site=$ac_optarg ;;
1338
1339 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1340 ac_prev=srcdir ;;
1341 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1342 srcdir=$ac_optarg ;;
1343
1344 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1345 | --syscon | --sysco | --sysc | --sys | --sy)
1346 ac_prev=sysconfdir ;;
1347 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1348 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1349 sysconfdir=$ac_optarg ;;
1350
1351 -target | --target | --targe | --targ | --tar | --ta | --t)
1352 ac_prev=target_alias ;;
1353 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1354 target_alias=$ac_optarg ;;
1355
1356 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1357 verbose=yes ;;
1358
1359 -version | --version | --versio | --versi | --vers | -V)
1360 ac_init_version=: ;;
1361
1362 -with-* | --with-*)
1363 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1364 # Reject names that are not valid shell variable names.
1365 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1366 { echo "$as_me: error: invalid package name: $ac_package" >&2
1367 { (exit 1); exit 1; }; }
1368 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1369 eval with_$ac_package=\$ac_optarg ;;
1370
1371 -without-* | --without-*)
1372 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=no ;;
1379
1380 --x)
1381 # Obsolete; use --with-x.
1382 with_x=yes ;;
1383
1384 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1385 | --x-incl | --x-inc | --x-in | --x-i)
1386 ac_prev=x_includes ;;
1387 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1388 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1389 x_includes=$ac_optarg ;;
1390
1391 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1392 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1393 ac_prev=x_libraries ;;
1394 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1395 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1396 x_libraries=$ac_optarg ;;
1397
1398 -*) { echo "$as_me: error: unrecognized option: $ac_option
1399 Try \`$0 --help' for more information." >&2
1400 { (exit 1); exit 1; }; }
1401 ;;
1402
1403 *=*)
1404 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1405 # Reject names that are not valid shell variable names.
1406 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1407 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1408 { (exit 1); exit 1; }; }
1409 eval $ac_envvar=\$ac_optarg
1410 export $ac_envvar ;;
1411
1412 *)
1413 # FIXME: should be removed in autoconf 3.0.
1414 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1415 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1416 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1417 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1418 ;;
1419
1420 esac
1421 done
1422
1423 if test -n "$ac_prev"; then
1424 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1425 { echo "$as_me: error: missing argument to $ac_option" >&2
1426 { (exit 1); exit 1; }; }
1427 fi
1428
1429 # Be sure to have absolute directory names.
1430 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1431 datadir sysconfdir sharedstatedir localstatedir includedir \
1432 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1433 libdir localedir mandir
1434 do
1435 eval ac_val=\$$ac_var
1436 case $ac_val in
1437 [\\/$]* | ?:[\\/]* ) continue;;
1438 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1439 esac
1440 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1441 { (exit 1); exit 1; }; }
1442 done
1443
1444 # There might be people who depend on the old broken behavior: `$host'
1445 # used to hold the argument of --host etc.
1446 # FIXME: To remove some day.
1447 build=$build_alias
1448 host=$host_alias
1449 target=$target_alias
1450
1451 # FIXME: To remove some day.
1452 if test "x$host_alias" != x; then
1453 if test "x$build_alias" = x; then
1454 cross_compiling=maybe
1455 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1456 If a cross compiler is detected then cross compile mode will be used." >&2
1457 elif test "x$build_alias" != "x$host_alias"; then
1458 cross_compiling=yes
1459 fi
1460 fi
1461
1462 ac_tool_prefix=
1463 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1464
1465 test "$silent" = yes && exec 6>/dev/null
1466
1467
1468 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1469 ac_ls_di=`ls -di .` &&
1470 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1471 { echo "$as_me: error: Working directory cannot be determined" >&2
1472 { (exit 1); exit 1; }; }
1473 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1474 { echo "$as_me: error: pwd does not report name of working directory" >&2
1475 { (exit 1); exit 1; }; }
1476
1477
1478 # Find the source files, if location was not specified.
1479 if test -z "$srcdir"; then
1480 ac_srcdir_defaulted=yes
1481 # Try the directory containing this script, then the parent directory.
1482 ac_confdir=`$as_dirname -- "$0" ||
1483 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1484 X"$0" : 'X\(//\)[^/]' \| \
1485 X"$0" : 'X\(//\)$' \| \
1486 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1487 echo X"$0" |
1488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1489 s//\1/
1490 q
1491 }
1492 /^X\(\/\/\)[^/].*/{
1493 s//\1/
1494 q
1495 }
1496 /^X\(\/\/\)$/{
1497 s//\1/
1498 q
1499 }
1500 /^X\(\/\).*/{
1501 s//\1/
1502 q
1503 }
1504 s/.*/./; q'`
1505 srcdir=$ac_confdir
1506 if test ! -r "$srcdir/$ac_unique_file"; then
1507 srcdir=..
1508 fi
1509 else
1510 ac_srcdir_defaulted=no
1511 fi
1512 if test ! -r "$srcdir/$ac_unique_file"; then
1513 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1514 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1515 { (exit 1); exit 1; }; }
1516 fi
1517 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1518 ac_abs_confdir=`(
1519 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1520 { (exit 1); exit 1; }; }
1521 pwd)`
1522 # When building in place, set srcdir=.
1523 if test "$ac_abs_confdir" = "$ac_pwd"; then
1524 srcdir=.
1525 fi
1526 # Remove unnecessary trailing slashes from srcdir.
1527 # Double slashes in file names in object file debugging info
1528 # mess up M-x gdb in Emacs.
1529 case $srcdir in
1530 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1531 esac
1532 for ac_var in $ac_precious_vars; do
1533 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1534 eval ac_env_${ac_var}_value=\$${ac_var}
1535 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1536 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1537 done
1538
1539 #
1540 # Report the --help message.
1541 #
1542 if test "$ac_init_help" = "long"; then
1543 # Omit some internal or obsolete options to make the list less imposing.
1544 # This message is too long to be a string in the A/UX 3.1 sh.
1545 cat <<_ACEOF
1546 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1547
1548 Usage: $0 [OPTION]... [VAR=VALUE]...
1549
1550 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1551 VAR=VALUE. See below for descriptions of some of the useful variables.
1552
1553 Defaults for the options are specified in brackets.
1554
1555 Configuration:
1556 -h, --help display this help and exit
1557 --help=short display options specific to this package
1558 --help=recursive display the short help of all the included packages
1559 -V, --version display version information and exit
1560 -q, --quiet, --silent do not print \`checking...' messages
1561 --cache-file=FILE cache test results in FILE [disabled]
1562 -C, --config-cache alias for \`--cache-file=config.cache'
1563 -n, --no-create do not create output files
1564 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1565
1566 Installation directories:
1567 --prefix=PREFIX install architecture-independent files in PREFIX
1568 [$ac_default_prefix]
1569 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1570 [PREFIX]
1571
1572 By default, \`make install' will install all the files in
1573 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1574 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1575 for instance \`--prefix=\$HOME'.
1576
1577 For better control, use the options below.
1578
1579 Fine tuning of the installation directories:
1580 --bindir=DIR user executables [EPREFIX/bin]
1581 --sbindir=DIR system admin executables [EPREFIX/sbin]
1582 --libexecdir=DIR program executables [EPREFIX/libexec]
1583 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1584 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1585 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1586 --libdir=DIR object code libraries [EPREFIX/lib]
1587 --includedir=DIR C header files [PREFIX/include]
1588 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1589 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1590 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1591 --infodir=DIR info documentation [DATAROOTDIR/info]
1592 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1593 --mandir=DIR man documentation [DATAROOTDIR/man]
1594 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1595 --htmldir=DIR html documentation [DOCDIR]
1596 --dvidir=DIR dvi documentation [DOCDIR]
1597 --pdfdir=DIR pdf documentation [DOCDIR]
1598 --psdir=DIR ps documentation [DOCDIR]
1599 _ACEOF
1600
1601 cat <<\_ACEOF
1602
1603 X features:
1604 --x-includes=DIR X include files are in DIR
1605 --x-libraries=DIR X library files are in DIR
1606
1607 System types:
1608 --build=BUILD configure for building on BUILD [guessed]
1609 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1610 --target=TARGET configure for building compilers for TARGET [HOST]
1611 _ACEOF
1612 fi
1613
1614 if test -n "$ac_init_help"; then
1615 case $ac_init_help in
1616 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1617 esac
1618 cat <<\_ACEOF
1619
1620 Optional Features:
1621 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1622 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1623 --disable-gui don't build GUI parts of the library
1624 --enable-monolithic build wxWidgets as single library
1625 --enable-plugins build parts of wxWidgets as loadable components
1626 --enable-official_build official build of wxWidgets (win32 DLL only)
1627 --enable-vendor=VENDOR vendor name (win32 DLL only)
1628 --disable-all-features disable all optional features to build minimal library
1629 --enable-universal use wxWidgets GUI controls instead of native ones
1630 --enable-nanox use NanoX
1631 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1632 --enable-gpe use GNOME PDA Environment features if possible
1633 --disable-shared create static library instead of shared
1634 --disable-optimise create optimised code
1635 --enable-debug same as debug_flag and debug_info
1636 --enable-stl use STL for containers
1637 --enable-std_iostreams use standard C++ stream classes
1638 --enable-std_string use standard C++ string classes
1639 --disable-unicode compile without Unicode support
1640 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1641 --enable-utf8 use UTF-8 representation for strings (Unix only)
1642 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1643 --enable-extended_rtti use extended RTTI (XTI)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don't use vararg macros, even if they are supported
1656 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-objc_uniquifying enable Objective-C class name uniquifying
1661 --disable-visibility disable use of ELF symbols visibility even if supported
1662 --enable-intl use internationalization system
1663 --enable-config use wxConfig (and derived) classes
1664 --enable-protocols use wxProtocol and derived classes
1665 --enable-ftp use wxFTP (requires wxProtocol
1666 --enable-http use wxHTTP (requires wxProtocol
1667 --enable-fileproto use wxFileProto class (requires wxProtocol
1668 --enable-sockets use socket/network classes
1669 --enable-ole use OLE classes (Win32 only)
1670 --enable-dataobj use data object classes
1671 --enable-ipc use interprocess communication (wxSocket etc.)
1672 --enable-baseevtloop use event loop in console programs too
1673 --enable-epollloop use wxEpollDispatcher class (Linux only)
1674 --enable-selectloop use wxSelectDispatcher class
1675 --enable-apple_ieee use the Apple IEEE codec
1676 --enable-arcstream use wxArchive streams
1677 --enable-base64 use base64 encoding/decoding functions
1678 --enable-backtrace use wxStackWalker class for getting backtraces
1679 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1680 --enable-cmdline use wxCmdLineParser class
1681 --enable-datetime use wxDateTime class
1682 --enable-debugreport use wxDebugReport class
1683 --enable-dialupman use dialup network classes
1684 --enable-dynlib use wxLibrary class for DLL loading
1685 --enable-dynamicloader use (new) wxDynamicLibrary class
1686 --enable-exceptions build exception-safe library
1687 --enable-ffile use wxFFile class
1688 --enable-file use wxFile class
1689 --enable-filesystem use virtual file systems classes
1690 --enable-fontenum use wxFontEnumerator class
1691 --enable-fontmap use font encodings conversion classes
1692 --enable-fs_archive use virtual archive filesystems
1693 --enable-fs_inet use virtual HTTP/FTP filesystems
1694 --enable-fs_zip now replaced by fs_archive
1695 --enable-geometry use geometry class
1696 --enable-log use logging system
1697 --enable-longlong use wxLongLong class
1698 --enable-mimetype use wxMimeTypesManager
1699 --enable-snglinst use wxSingleInstanceChecker class
1700 --enable-stdpaths use wxStandardPaths class
1701 --enable-stopwatch use wxStopWatch class
1702 --enable-streams use wxStream etc classes
1703 --enable-sysoptions use wxSystemOptions
1704 --enable-tarstream use wxTar streams
1705 --enable-textbuf use wxTextBuffer class
1706 --enable-textfile use wxTextFile class
1707 --enable-timer use wxTimer class
1708 --enable-sound use wxSound class
1709 --enable-mediactrl use wxMediaCtrl class
1710 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1711 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1712 --enable-zipstream use wxZip streams
1713 --enable-url use wxURL class
1714 --enable-variant use wxVariant class
1715 --enable-protocol use wxProtocol class
1716 --enable-protocol-http HTTP support in wxProtocol
1717 --enable-protocol-ftp FTP support in wxProtocol
1718 --enable-protocol-file FILE support in wxProtocol
1719 --enable-threads use threads
1720 --enable-iniconf use wxIniConfig (Win32 only)
1721 --enable-regkey use wxRegKey class (Win32 only)
1722 --enable-docview use document view architecture
1723 --enable-help use help subsystem
1724 --enable-mshtmlhelp use MS HTML Help (win32)
1725 --enable-html use wxHTML sub-library
1726 --enable-htmlhelp use wxHTML-based help
1727 --enable-xrc use XRC resources sub-library
1728 --enable-aui use AUI docking library
1729 --enable-stc use wxStyledTextCtrl library
1730 --enable-constraints use layout-constraints system
1731 --enable-printarch use printing architecture
1732 --enable-mdi use multiple document interface architecture
1733 --enable-mdidoc use docview architecture with MDI
1734 --enable-loggui use standard GUI logger
1735 --enable-logwin use wxLogWindow
1736 --enable-logdialog use wxLogDialog
1737 --enable-webkit use wxWebKitCtrl (Mac)
1738 --enable-richtext use wxRichTextCtrl
1739 --enable-graphics_ctx use graphics context 2D drawing API
1740 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1741 --enable-svg use wxSVGFileDC device context
1742 --enable-clipboard use wxClipboard class
1743 --enable-dnd use Drag'n'Drop classes
1744 --enable-metafile use win32 metafiles
1745 --disable-controls disable compilation of all standard controls
1746 --enable-accel use accelerators
1747 --enable-animatectrl use wxAnimationCtrl class
1748 --enable-button use wxButton class
1749 --enable-bmpbutton use wxBitmapButton class
1750 --enable-bmpcombobox use wxBitmapComboBox class
1751 --enable-calendar use wxCalendarCtrl class
1752 --enable-caret use wxCaret class
1753 --enable-checkbox use wxCheckBox class
1754 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1755 --enable-choice use wxChoice class
1756 --enable-choicebook use wxChoicebook class
1757 --enable-collpane use wxCollapsiblePane class
1758 --enable-colourpicker use wxColourPickerCtrl class
1759 --enable-combobox use wxComboBox class
1760 --enable-comboctrl use wxComboCtrl class
1761 --enable-datepick use wxDatePickerCtrl class
1762 --enable-dirpicker use wxDirPickerCtrl class
1763 --enable-display use wxDisplay class
1764 --enable-detect_sm use code to detect X11 session manager
1765 --enable-editablebox use wxEditableListBox class
1766 --enable-filepicker use wxFilePickerCtrl class
1767 --enable-filectrl use wxFileCtrl class
1768 --enable-fontpicker use wxFontPickerCtrl class
1769 --enable-gauge use wxGauge class
1770 --enable-grid use wxGrid class
1771 --enable-dataviewctrl use wxDataViewCtrl class
1772 --enable-hyperlink use wxHyperlinkCtrl class
1773 --enable-imaglist use wxImageList class
1774 --enable-listbook use wxListbook class
1775 --enable-listbox use wxListBox class
1776 --enable-listctrl use wxListCtrl class
1777 --enable-notebook use wxNotebook class
1778 --enable-odcombobox use wxOwnerDrawnComboBox class
1779 --enable-radiobox use wxRadioBox class
1780 --enable-radiobtn use wxRadioButton class
1781 --enable-sash use wxSashWindow class
1782 --enable-scrollbar use wxScrollBar class and scrollable windows
1783 --enable-searchctrl use wxSearchCtrl class
1784 --enable-slider use wxSlider class
1785 --enable-spinbtn use wxSpinButton class
1786 --enable-spinctrl use wxSpinCtrl class
1787 --enable-splitter use wxSplitterWindow class
1788 --enable-statbmp use wxStaticBitmap class
1789 --enable-statbox use wxStaticBox class
1790 --enable-statline use wxStaticLine class
1791 --enable-stattext use wxStaticText class
1792 --enable-statusbar use wxStatusBar class
1793 --enable-tabdialog use wxTabControl class
1794 --enable-taskbaricon use wxTaskBarIcon class
1795 --enable-textctrl use wxTextCtrl class
1796 --enable-togglebtn use wxToggleButton class
1797 --enable-toolbar use wxToolBar class
1798 --enable-tbarnative use native wxToolBar class
1799 --enable-treebook use wxTreebook class
1800 --enable-toolbook use wxToolbook class
1801 --enable-treectrl use wxTreeCtrl class
1802 --enable-tipwindow use wxTipWindow class
1803 --enable-popupwin use wxPopUpWindow class
1804 --enable-commondlg use all common dialogs
1805 --enable-aboutdlg use wxAboutBox
1806 --enable-choicedlg use wxChoiceDialog
1807 --enable-coldlg use wxColourDialog
1808 --enable-filedlg use wxFileDialog
1809 --enable-finddlg use wxFindReplaceDialog
1810 --enable-fontdlg use wxFontDialog
1811 --enable-dirdlg use wxDirDialog
1812 --enable-msgdlg use wxMessageDialog
1813 --enable-numberdlg use wxNumberEntryDialog
1814 --enable-splash use wxSplashScreen
1815 --enable-textdlg use wxTextDialog
1816 --enable-tipdlg use startup tips
1817 --enable-progressdlg use wxProgressDialog
1818 --enable-wizarddlg use wxWizard
1819 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1820 --enable-miniframe use wxMiniFrame class
1821 --enable-tooltips use wxToolTip class
1822 --enable-splines use spline drawing code
1823 --enable-mousewheel use mousewheel
1824 --enable-validators use wxValidator and derived classes
1825 --enable-busyinfo use wxBusyInfo
1826 --enable-joystick use wxJoystick
1827 --enable-metafiles use wxMetaFile (Win32 only)
1828 --enable-dragimage use wxDragImage
1829 --enable-accessibility enable accessibility support
1830 --enable-palette use wxPalette class
1831 --enable-image use wxImage class
1832 --enable-gif use gif images (GIF file format)
1833 --enable-pcx use pcx images (PCX file format)
1834 --enable-tga use tga images (TGA file format)
1835 --enable-iff use iff images (IFF file format)
1836 --enable-pnm use pnm images (PNM file format)
1837 --enable-xpm use xpm images (XPM file format)
1838 --enable-icocur use Windows ICO and CUR formats
1839 --enable-dccache cache temporary wxDC objects (Win32 only)
1840 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1841 --enable-ownerdrawn use owner drawn controls (Win32 only)
1842 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1843 --enable-wxdib use wxDIB class (Win32 only)
1844 --disable-largefile omit support for large files
1845 --disable-gtktest do not try to compile and run a test GTK+ program
1846 --disable-gtktest Do not try to compile and run a test GTK program
1847 --disable-sdltest Do not try to compile and run a test SDL program
1848 --enable-omf use OMF object format (OS/2)
1849 --disable-dependency-tracking
1850 don't use dependency tracking even if the compiler
1851 can
1852 --disable-precomp-headers
1853 don't use precompiled headers even if compiler can
1854
1855 Optional Packages:
1856 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1857 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1858 --without-subdirs don't generate makefiles for samples/demos/...
1859 --with-flavour=NAME specify a name to identify this build
1860 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1861 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1862 --with-motif use Motif/Lesstif
1863 --with-mac use Mac OS X
1864 --with-cocoa use Cocoa
1865 --with-wine use Wine
1866 --with-msw use MS-Windows
1867 --with-pm use OS/2 Presentation Manager
1868 --with-mgl use SciTech MGL
1869 --with-directfb use DirectFB
1870 --with-microwin use MicroWindows
1871 --with-x11 use X11
1872 --with-libpng use libpng (PNG image format)
1873 --with-libjpeg use libjpeg (JPEG file format)
1874 --with-libtiff use libtiff (TIFF file format)
1875 --with-libxpm use libxpm (XPM file format)
1876 --with-libmspack use libmspack (CHM help files loading)
1877 --without-gtkprint don't use GTK printing support
1878 --without-gnomeprint don't use GNOME printing libraries
1879 --with-gnomevfs use GNOME VFS for associating MIME types
1880 --with-hildon use Hildon framework for Nokia 770
1881 --with-opengl use OpenGL (or Mesa)
1882 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1883 --with-sdl use SDL for audio on Unix
1884 --with-regex enable support for wxRegEx class
1885 --with-zlib use zlib for LZW compression
1886 --with-expat enable XML support using expat parser
1887 --with-macosx-sdk=PATH use an OS X SDK at PATH
1888 --with-macosx-version-min=VER build binaries which require at least this OS X version
1889 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1890 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1891 --with-x use the X Window System
1892 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1893 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1894 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1895 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1896 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1897
1898 Some influential environment variables:
1899 CC C compiler command
1900 CFLAGS C compiler flags
1901 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1902 nonstandard directory <lib dir>
1903 LIBS libraries to pass to the linker, e.g. -l<library>
1904 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1905 you have headers in a nonstandard directory <include dir>
1906 CPP C preprocessor
1907 CXX C++ compiler command
1908 CXXFLAGS C++ compiler flags
1909 PKG_CONFIG path to pkg-config utility
1910 DIRECTFB_CFLAGS
1911 C compiler flags for DIRECTFB, overriding pkg-config
1912 DIRECTFB_LIBS
1913 linker flags for DIRECTFB, overriding pkg-config
1914 XMKMF Path to xmkmf, Makefile generator for X Window System
1915 PANGOX_CFLAGS
1916 C compiler flags for PANGOX, overriding pkg-config
1917 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1918 PANGOFT2_CFLAGS
1919 C compiler flags for PANGOFT2, overriding pkg-config
1920 PANGOFT2_LIBS
1921 linker flags for PANGOFT2, overriding pkg-config
1922 PANGOXFT_CFLAGS
1923 C compiler flags for PANGOXFT, overriding pkg-config
1924 PANGOXFT_LIBS
1925 linker flags for PANGOXFT, overriding pkg-config
1926 GTKPRINT_CFLAGS
1927 C compiler flags for GTKPRINT, overriding pkg-config
1928 GTKPRINT_LIBS
1929 linker flags for GTKPRINT, overriding pkg-config
1930 LIBGNOMEPRINTUI_CFLAGS
1931 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1932 LIBGNOMEPRINTUI_LIBS
1933 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1934 GNOMEVFS_CFLAGS
1935 C compiler flags for GNOMEVFS, overriding pkg-config
1936 GNOMEVFS_LIBS
1937 linker flags for GNOMEVFS, overriding pkg-config
1938 HILDON_CFLAGS
1939 C compiler flags for HILDON, overriding pkg-config
1940 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1941 CAIRO_CFLAGS
1942 C compiler flags for CAIRO, overriding pkg-config
1943 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1944 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1945 GST_LIBS linker flags for GST, overriding pkg-config
1946
1947 Use these variables to override the choices made by `configure' or to help
1948 it to find libraries and programs with nonstandard names/locations.
1949
1950 Report bugs to <wx-dev@lists.wxwidgets.org>.
1951 _ACEOF
1952 ac_status=$?
1953 fi
1954
1955 if test "$ac_init_help" = "recursive"; then
1956 # If there are subdirs, report their specific --help.
1957 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1958 test -d "$ac_dir" || continue
1959 ac_builddir=.
1960
1961 case "$ac_dir" in
1962 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1963 *)
1964 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1965 # A ".." for each directory in $ac_dir_suffix.
1966 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1967 case $ac_top_builddir_sub in
1968 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1969 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1970 esac ;;
1971 esac
1972 ac_abs_top_builddir=$ac_pwd
1973 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1974 # for backward compatibility:
1975 ac_top_builddir=$ac_top_build_prefix
1976
1977 case $srcdir in
1978 .) # We are building in place.
1979 ac_srcdir=.
1980 ac_top_srcdir=$ac_top_builddir_sub
1981 ac_abs_top_srcdir=$ac_pwd ;;
1982 [\\/]* | ?:[\\/]* ) # Absolute name.
1983 ac_srcdir=$srcdir$ac_dir_suffix;
1984 ac_top_srcdir=$srcdir
1985 ac_abs_top_srcdir=$srcdir ;;
1986 *) # Relative name.
1987 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1988 ac_top_srcdir=$ac_top_build_prefix$srcdir
1989 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1990 esac
1991 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1992
1993 cd "$ac_dir" || { ac_status=$?; continue; }
1994 # Check for guested configure.
1995 if test -f "$ac_srcdir/configure.gnu"; then
1996 echo &&
1997 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1998 elif test -f "$ac_srcdir/configure"; then
1999 echo &&
2000 $SHELL "$ac_srcdir/configure" --help=recursive
2001 else
2002 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2003 fi || ac_status=$?
2004 cd "$ac_pwd" || { ac_status=$?; break; }
2005 done
2006 fi
2007
2008 test -n "$ac_init_help" && exit $ac_status
2009 if $ac_init_version; then
2010 cat <<\_ACEOF
2011 wxWidgets configure 2.9.0
2012 generated by GNU Autoconf 2.61
2013
2014 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2015 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2016 This configure script is free software; the Free Software Foundation
2017 gives unlimited permission to copy, distribute and modify it.
2018 _ACEOF
2019 exit
2020 fi
2021 cat >config.log <<_ACEOF
2022 This file contains any messages produced by compilers while
2023 running configure, to aid debugging if configure makes a mistake.
2024
2025 It was created by wxWidgets $as_me 2.9.0, which was
2026 generated by GNU Autoconf 2.61. Invocation command line was
2027
2028 $ $0 $@
2029
2030 _ACEOF
2031 exec 5>>config.log
2032 {
2033 cat <<_ASUNAME
2034 ## --------- ##
2035 ## Platform. ##
2036 ## --------- ##
2037
2038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2043
2044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2045 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2046
2047 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2048 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2050 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2051 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2052 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2053 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2054
2055 _ASUNAME
2056
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2059 do
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 echo "PATH: $as_dir"
2063 done
2064 IFS=$as_save_IFS
2065
2066 } >&5
2067
2068 cat >&5 <<_ACEOF
2069
2070
2071 ## ----------- ##
2072 ## Core tests. ##
2073 ## ----------- ##
2074
2075 _ACEOF
2076
2077
2078 # Keep a trace of the command line.
2079 # Strip out --no-create and --no-recursion so they do not pile up.
2080 # Strip out --silent because we don't want to record it for future runs.
2081 # Also quote any args containing shell meta-characters.
2082 # Make two passes to allow for proper duplicate-argument suppression.
2083 ac_configure_args=
2084 ac_configure_args0=
2085 ac_configure_args1=
2086 ac_must_keep_next=false
2087 for ac_pass in 1 2
2088 do
2089 for ac_arg
2090 do
2091 case $ac_arg in
2092 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2094 | -silent | --silent | --silen | --sile | --sil)
2095 continue ;;
2096 *\'*)
2097 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2098 esac
2099 case $ac_pass in
2100 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2101 2)
2102 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2103 if test $ac_must_keep_next = true; then
2104 ac_must_keep_next=false # Got value, back to normal.
2105 else
2106 case $ac_arg in
2107 *=* | --config-cache | -C | -disable-* | --disable-* \
2108 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2109 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2110 | -with-* | --with-* | -without-* | --without-* | --x)
2111 case "$ac_configure_args0 " in
2112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2113 esac
2114 ;;
2115 -* ) ac_must_keep_next=true ;;
2116 esac
2117 fi
2118 ac_configure_args="$ac_configure_args '$ac_arg'"
2119 ;;
2120 esac
2121 done
2122 done
2123 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2124 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2125
2126 # When interrupted or exit'd, cleanup temporary files, and complete
2127 # config.log. We remove comments because anyway the quotes in there
2128 # would cause problems or look ugly.
2129 # WARNING: Use '\'' to represent an apostrophe within the trap.
2130 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2131 trap 'exit_status=$?
2132 # Save into config.log some information that might help in debugging.
2133 {
2134 echo
2135
2136 cat <<\_ASBOX
2137 ## ---------------- ##
2138 ## Cache variables. ##
2139 ## ---------------- ##
2140 _ASBOX
2141 echo
2142 # The following way of writing the cache mishandles newlines in values,
2143 (
2144 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2145 eval ac_val=\$$ac_var
2146 case $ac_val in #(
2147 *${as_nl}*)
2148 case $ac_var in #(
2149 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2150 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2151 esac
2152 case $ac_var in #(
2153 _ | IFS | as_nl) ;; #(
2154 *) $as_unset $ac_var ;;
2155 esac ;;
2156 esac
2157 done
2158 (set) 2>&1 |
2159 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2160 *${as_nl}ac_space=\ *)
2161 sed -n \
2162 "s/'\''/'\''\\\\'\'''\''/g;
2163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2164 ;; #(
2165 *)
2166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2167 ;;
2168 esac |
2169 sort
2170 )
2171 echo
2172
2173 cat <<\_ASBOX
2174 ## ----------------- ##
2175 ## Output variables. ##
2176 ## ----------------- ##
2177 _ASBOX
2178 echo
2179 for ac_var in $ac_subst_vars
2180 do
2181 eval ac_val=\$$ac_var
2182 case $ac_val in
2183 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 esac
2185 echo "$ac_var='\''$ac_val'\''"
2186 done | sort
2187 echo
2188
2189 if test -n "$ac_subst_files"; then
2190 cat <<\_ASBOX
2191 ## ------------------- ##
2192 ## File substitutions. ##
2193 ## ------------------- ##
2194 _ASBOX
2195 echo
2196 for ac_var in $ac_subst_files
2197 do
2198 eval ac_val=\$$ac_var
2199 case $ac_val in
2200 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 esac
2202 echo "$ac_var='\''$ac_val'\''"
2203 done | sort
2204 echo
2205 fi
2206
2207 if test -s confdefs.h; then
2208 cat <<\_ASBOX
2209 ## ----------- ##
2210 ## confdefs.h. ##
2211 ## ----------- ##
2212 _ASBOX
2213 echo
2214 cat confdefs.h
2215 echo
2216 fi
2217 test "$ac_signal" != 0 &&
2218 echo "$as_me: caught signal $ac_signal"
2219 echo "$as_me: exit $exit_status"
2220 } >&5
2221 rm -f core *.core core.conftest.* &&
2222 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2223 exit $exit_status
2224 ' 0
2225 for ac_signal in 1 2 13 15; do
2226 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2227 done
2228 ac_signal=0
2229
2230 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2231 rm -f -r conftest* confdefs.h
2232
2233 # Predefined preprocessor variables.
2234
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_NAME "$PACKAGE_NAME"
2237 _ACEOF
2238
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_STRING "$PACKAGE_STRING"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2257 _ACEOF
2258
2259
2260 # Let the site file select an alternate cache file if it wants to.
2261 # Prefer explicitly selected file to automatically selected ones.
2262 if test -n "$CONFIG_SITE"; then
2263 set x "$CONFIG_SITE"
2264 elif test "x$prefix" != xNONE; then
2265 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2266 else
2267 set x "$ac_default_prefix/share/config.site" \
2268 "$ac_default_prefix/etc/config.site"
2269 fi
2270 shift
2271 for ac_site_file
2272 do
2273 if test -r "$ac_site_file"; then
2274 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2275 echo "$as_me: loading site script $ac_site_file" >&6;}
2276 sed 's/^/| /' "$ac_site_file" >&5
2277 . "$ac_site_file"
2278 fi
2279 done
2280
2281 if test -r "$cache_file"; then
2282 # Some versions of bash will fail to source /dev/null (special
2283 # files actually), so we avoid doing that.
2284 if test -f "$cache_file"; then
2285 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2286 echo "$as_me: loading cache $cache_file" >&6;}
2287 case $cache_file in
2288 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2289 *) . "./$cache_file";;
2290 esac
2291 fi
2292 else
2293 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2294 echo "$as_me: creating cache $cache_file" >&6;}
2295 >$cache_file
2296 fi
2297
2298 # Check that the precious variables saved in the cache have kept the same
2299 # value.
2300 ac_cache_corrupted=false
2301 for ac_var in $ac_precious_vars; do
2302 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2303 eval ac_new_set=\$ac_env_${ac_var}_set
2304 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2305 eval ac_new_val=\$ac_env_${ac_var}_value
2306 case $ac_old_set,$ac_new_set in
2307 set,)
2308 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2309 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2310 ac_cache_corrupted=: ;;
2311 ,set)
2312 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2313 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2314 ac_cache_corrupted=: ;;
2315 ,);;
2316 *)
2317 if test "x$ac_old_val" != "x$ac_new_val"; then
2318 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2319 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2320 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2321 echo "$as_me: former value: $ac_old_val" >&2;}
2322 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2323 echo "$as_me: current value: $ac_new_val" >&2;}
2324 ac_cache_corrupted=:
2325 fi;;
2326 esac
2327 # Pass precious variables to config.status.
2328 if test "$ac_new_set" = set; then
2329 case $ac_new_val in
2330 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2331 *) ac_arg=$ac_var=$ac_new_val ;;
2332 esac
2333 case " $ac_configure_args " in
2334 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2335 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2336 esac
2337 fi
2338 done
2339 if $ac_cache_corrupted; then
2340 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2341 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2342 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2343 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2344 { (exit 1); exit 1; }; }
2345 fi
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371 ac_ext=c
2372 ac_cpp='$CPP $CPPFLAGS'
2373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2376
2377
2378
2379
2380
2381 ac_aux_dir=
2382 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2383 if test -f "$ac_dir/install-sh"; then
2384 ac_aux_dir=$ac_dir
2385 ac_install_sh="$ac_aux_dir/install-sh -c"
2386 break
2387 elif test -f "$ac_dir/install.sh"; then
2388 ac_aux_dir=$ac_dir
2389 ac_install_sh="$ac_aux_dir/install.sh -c"
2390 break
2391 elif test -f "$ac_dir/shtool"; then
2392 ac_aux_dir=$ac_dir
2393 ac_install_sh="$ac_aux_dir/shtool install -c"
2394 break
2395 fi
2396 done
2397 if test -z "$ac_aux_dir"; then
2398 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2399 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2400 { (exit 1); exit 1; }; }
2401 fi
2402
2403 # These three variables are undocumented and unsupported,
2404 # and are intended to be withdrawn in a future Autoconf release.
2405 # They can cause serious problems if a builder's source tree is in a directory
2406 # whose full name contains unusual characters.
2407 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2408 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2409 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2410
2411
2412 # Make sure we can run config.sub.
2413 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2414 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2415 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2416 { (exit 1); exit 1; }; }
2417
2418 { echo "$as_me:$LINENO: checking build system type" >&5
2419 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2420 if test "${ac_cv_build+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 else
2423 ac_build_alias=$build_alias
2424 test "x$ac_build_alias" = x &&
2425 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2426 test "x$ac_build_alias" = x &&
2427 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2428 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2429 { (exit 1); exit 1; }; }
2430 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2431 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2432 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2433 { (exit 1); exit 1; }; }
2434
2435 fi
2436 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2437 echo "${ECHO_T}$ac_cv_build" >&6; }
2438 case $ac_cv_build in
2439 *-*-*) ;;
2440 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2441 echo "$as_me: error: invalid value of canonical build" >&2;}
2442 { (exit 1); exit 1; }; };;
2443 esac
2444 build=$ac_cv_build
2445 ac_save_IFS=$IFS; IFS='-'
2446 set x $ac_cv_build
2447 shift
2448 build_cpu=$1
2449 build_vendor=$2
2450 shift; shift
2451 # Remember, the first character of IFS is used to create $*,
2452 # except with old shells:
2453 build_os=$*
2454 IFS=$ac_save_IFS
2455 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2456
2457
2458 { echo "$as_me:$LINENO: checking host system type" >&5
2459 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2460 if test "${ac_cv_host+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 else
2463 if test "x$host_alias" = x; then
2464 ac_cv_host=$ac_cv_build
2465 else
2466 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2467 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2468 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2469 { (exit 1); exit 1; }; }
2470 fi
2471
2472 fi
2473 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2474 echo "${ECHO_T}$ac_cv_host" >&6; }
2475 case $ac_cv_host in
2476 *-*-*) ;;
2477 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2478 echo "$as_me: error: invalid value of canonical host" >&2;}
2479 { (exit 1); exit 1; }; };;
2480 esac
2481 host=$ac_cv_host
2482 ac_save_IFS=$IFS; IFS='-'
2483 set x $ac_cv_host
2484 shift
2485 host_cpu=$1
2486 host_vendor=$2
2487 shift; shift
2488 # Remember, the first character of IFS is used to create $*,
2489 # except with old shells:
2490 host_os=$*
2491 IFS=$ac_save_IFS
2492 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2493
2494
2495 { echo "$as_me:$LINENO: checking target system type" >&5
2496 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2497 if test "${ac_cv_target+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 else
2500 if test "x$target_alias" = x; then
2501 ac_cv_target=$ac_cv_host
2502 else
2503 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2504 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2505 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2506 { (exit 1); exit 1; }; }
2507 fi
2508
2509 fi
2510 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2511 echo "${ECHO_T}$ac_cv_target" >&6; }
2512 case $ac_cv_target in
2513 *-*-*) ;;
2514 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2515 echo "$as_me: error: invalid value of canonical target" >&2;}
2516 { (exit 1); exit 1; }; };;
2517 esac
2518 target=$ac_cv_target
2519 ac_save_IFS=$IFS; IFS='-'
2520 set x $ac_cv_target
2521 shift
2522 target_cpu=$1
2523 target_vendor=$2
2524 shift; shift
2525 # Remember, the first character of IFS is used to create $*,
2526 # except with old shells:
2527 target_os=$*
2528 IFS=$ac_save_IFS
2529 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2530
2531
2532 # The aliases save the names the user supplied, while $host etc.
2533 # will get canonicalized.
2534 test -n "$target_alias" &&
2535 test "$program_prefix$program_suffix$program_transform_name" = \
2536 NONENONEs,x,x, &&
2537 program_prefix=${target_alias}-
2538
2539
2540
2541 wx_major_version_number=2
2542 wx_minor_version_number=9
2543 wx_release_number=0
2544 wx_subrelease_number=0
2545
2546 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2547 WX_VERSION=$WX_RELEASE.$wx_release_number
2548 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2549
2550 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2551
2552
2553 wx_top_builddir="`pwd`"
2554
2555
2556
2557
2558 USE_UNIX=1
2559 USE_OS2=0
2560 USE_WIN32=0
2561 USE_DOS=0
2562 USE_BEOS=0
2563 USE_MAC=0
2564
2565 USE_AIX=
2566 USE_BSD= USE_DARWIN= USE_FREEBSD=
2567 USE_GNU= USE_HPUX=
2568 USE_LINUX=
2569 USE_NETBSD=
2570 USE_OPENBSD=
2571 USE_OSF= USE_SGI=
2572 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2573 USE_ULTRIX=
2574 USE_UNIXWARE=
2575
2576 USE_ALPHA=
2577
2578 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2579
2580 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2581
2582 DEFAULT_wxUSE_COCOA=0
2583 DEFAULT_wxUSE_GTK=0
2584 DEFAULT_wxUSE_MAC=0
2585 DEFAULT_wxUSE_MGL=0
2586 DEFAULT_wxUSE_MICROWIN=0
2587 DEFAULT_wxUSE_MOTIF=0
2588 DEFAULT_wxUSE_MSW=0
2589 DEFAULT_wxUSE_PM=0
2590 DEFAULT_wxUSE_X11=0
2591 DEFAULT_wxUSE_DFB=0
2592
2593 DEFAULT_DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_DEFAULT_wxUSE_GTK=0
2595 DEFAULT_DEFAULT_wxUSE_MAC=0
2596 DEFAULT_DEFAULT_wxUSE_MGL=0
2597 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2598 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2599 DEFAULT_DEFAULT_wxUSE_MSW=0
2600 DEFAULT_DEFAULT_wxUSE_PM=0
2601 DEFAULT_DEFAULT_wxUSE_X11=0
2602 DEFAULT_DEFAULT_wxUSE_DFB=0
2603
2604 PROGRAM_EXT=
2605 SO_SUFFIX=so
2606 SAMPLES_RPATH_FLAG=
2607 SAMPLES_RPATH_POSTLINK=
2608
2609 DEFAULT_STD_FLAG=yes
2610
2611 case "${host}" in
2612 *-hp-hpux* )
2613 USE_HPUX=1
2614 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2615 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2616 SO_SUFFIX=sl
2617 cat >>confdefs.h <<\_ACEOF
2618 #define __HPUX__ 1
2619 _ACEOF
2620
2621
2622 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2623 ;;
2624 *-*-linux* )
2625 USE_LINUX=1
2626 cat >>confdefs.h <<\_ACEOF
2627 #define __LINUX__ 1
2628 _ACEOF
2629
2630 TMP=`uname -m`
2631 if test "x$TMP" = "xalpha"; then
2632 USE_ALPHA=1
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __ALPHA__ 1
2635 _ACEOF
2636
2637 fi
2638 DEFAULT_DEFAULT_wxUSE_GTK=1
2639 ;;
2640 *-*-gnu* | *-*-k*bsd*-gnu )
2641 USE_GNU=1
2642 TMP=`uname -m`
2643 if test "x$TMP" = "xalpha"; then
2644 USE_ALPHA=1
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __ALPHA__ 1
2647 _ACEOF
2648
2649 fi
2650 DEFAULT_DEFAULT_wxUSE_GTK=1
2651 ;;
2652 *-*-irix5* | *-*-irix6* )
2653 USE_SGI=1
2654 USE_SVR4=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __SGI__ 1
2657 _ACEOF
2658
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SVR4__ 1
2661 _ACEOF
2662
2663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2664 ;;
2665 *-*-solaris2* )
2666 USE_SUN=1
2667 USE_SOLARIS=1
2668 USE_SVR4=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __SUN__ 1
2671 _ACEOF
2672
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SOLARIS__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SVR4__ 1
2679 _ACEOF
2680
2681 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2682 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2683 ;;
2684 *-*-sunos4* )
2685 USE_SUN=1
2686 USE_SUNOS=1
2687 USE_BSD=1
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __SUN__ 1
2690 _ACEOF
2691
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __SUNOS__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __BSD__ 1
2698 _ACEOF
2699
2700 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2701 ;;
2702 *-*-freebsd*)
2703 USE_BSD=1
2704 USE_FREEBSD=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __FREEBSD__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __BSD__ 1
2711 _ACEOF
2712
2713 DEFAULT_DEFAULT_wxUSE_GTK=1
2714 ;;
2715 *-*-openbsd*|*-*-mirbsd*)
2716 USE_BSD=1
2717 USE_OPENBSD=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __OPENBSD__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __BSD__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2727 ;;
2728 *-*-netbsd*)
2729 USE_BSD=1
2730 USE_NETBSD=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __NETBSD__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __BSD__ 1
2737 _ACEOF
2738
2739 DEFAULT_DEFAULT_wxUSE_GTK=1
2740 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2741
2742 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2743 ;;
2744 *-*-osf* )
2745 USE_ALPHA=1
2746 USE_OSF=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __ALPHA__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __OSF__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2757 ;;
2758 *-*-dgux5* )
2759 USE_ALPHA=1
2760 USE_SVR4=1
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __ALPHA__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __SVR4__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2770 ;;
2771 *-*-sysv5* )
2772 USE_SYSV=1
2773 USE_SVR4=1
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SYSV__ 1
2776 _ACEOF
2777
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __SVR4__ 1
2780 _ACEOF
2781
2782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2783 ;;
2784 *-*-aix* )
2785 USE_AIX=1
2786 USE_SYSV=1
2787 USE_SVR4=1
2788 SO_SUFFIX=a
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __AIX__ 1
2791 _ACEOF
2792
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __SYSV__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __SVR4__ 1
2799 _ACEOF
2800
2801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2802 ;;
2803
2804 *-*-*UnixWare*)
2805 USE_SYSV=1
2806 USE_SVR4=1
2807 USE_UNIXWARE=1
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __UNIXWARE__ 1
2810 _ACEOF
2811
2812 ;;
2813
2814 *-*-cygwin* | *-*-mingw32* )
2815 SO_SUFFIX=dll
2816 PROGRAM_EXT=".exe"
2817 DEFAULT_DEFAULT_wxUSE_MSW=1
2818 ;;
2819
2820 *-pc-msdosdjgpp )
2821 USE_UNIX=0
2822 USE_DOS=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __DOS__ 1
2825 _ACEOF
2826
2827 PROGRAM_EXT=".exe"
2828 DEFAULT_DEFAULT_wxUSE_MGL=1
2829 ;;
2830
2831 *-pc-os2_emx | *-pc-os2-emx )
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __EMX__ 1
2834 _ACEOF
2835
2836 USE_OS2=1
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __OS2__ 1
2839 _ACEOF
2840
2841 PROGRAM_EXT=".exe"
2842 DEFAULT_DEFAULT_wxUSE_PM=1
2843 CXX=gcc
2844 LDFLAGS="$LDFLAGS -Zcrtdll"
2845 ac_executable_extensions=".exe"
2846 export ac_executable_extensions
2847 ac_save_IFS="$IFS"
2848 IFS='\\'
2849 ac_TEMP_PATH=
2850 for ac_dir in $PATH; do
2851 IFS=$ac_save_IFS
2852 if test -z "$ac_TEMP_PATH"; then
2853 ac_TEMP_PATH="$ac_dir"
2854 else
2855 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2856 fi
2857 done
2858 export PATH="$ac_TEMP_PATH"
2859 unset ac_TEMP_PATH
2860 DEFAULT_STD_FLAG=no
2861 ;;
2862
2863 *-*-darwin* )
2864 USE_BSD=1
2865 USE_DARWIN=1
2866 SO_SUFFIX=dylib
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __BSD__ 1
2869 _ACEOF
2870
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __DARWIN__ 1
2873 _ACEOF
2874
2875 cat >>confdefs.h <<\_ACEOF
2876 #define TARGET_CARBON 1
2877 _ACEOF
2878
2879 DEFAULT_DEFAULT_wxUSE_MAC=1
2880 DEFAULT_STD_FLAG=no
2881 ;;
2882 powerpc-apple-macos* )
2883 USE_UNIX=0
2884 ac_cv_c_bigendian=yes
2885 SO_SUFFIX=shlib
2886 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 DEFAULT_STD_FLAG=no
2888 ;;
2889
2890 *-*-beos* )
2891 USE_BEOS=1
2892 cat >>confdefs.h <<\_ACEOF
2893 #define __BEOS__ 1
2894 _ACEOF
2895
2896 ;;
2897
2898 *)
2899 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2900 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2901 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2902 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2903
2904 DEFAULT_DEFAULT_wxUSE_X11=1
2905 DEFAULT_wxUSE_SHARED=no
2906 esac
2907
2908
2909
2910
2911 wx_arg_cache_file="configarg.cache"
2912 echo "loading argument cache $wx_arg_cache_file"
2913 rm -f ${wx_arg_cache_file}.tmp
2914 touch ${wx_arg_cache_file}.tmp
2915 touch ${wx_arg_cache_file}
2916
2917
2918 DEFAULT_wxUSE_ALL_FEATURES=yes
2919
2920 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2921 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2922
2923 DEFAULT_wxUSE_DMALLOC=no
2924 DEFAULT_wxUSE_LIBGNOMEVFS=no
2925 DEFAULT_wxUSE_LIBHILDON=no
2926 DEFAULT_wxUSE_LIBMSPACK=no
2927 DEFAULT_wxUSE_LIBSDL=no
2928 DEFAULT_wxUSE_OPENGL=no
2929
2930 DEFAULT_wxUSE_ACCESSIBILITY=no
2931 DEFAULT_wxUSE_DATAVIEWCTRL=no
2932 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2933 DEFAULT_wxUSE_MEDIACTRL=no
2934 DEFAULT_wxUSE_TAB_DIALOG=no
2935
2936 DEFAULT_wxUSE_UNICODE_UTF8=auto
2937 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2938
2939 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2940
2941 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2942
2943 DEFAULT_wxUSE_GTK2=yes
2944
2945 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2946
2947
2948 for toolkit in `echo $ALL_TOOLKITS`; do
2949 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2950 if test "x$LINE" != "x" ; then
2951 has_toolkit_in_cache=1
2952 eval "DEFAULT_$LINE"
2953 eval "CACHE_$toolkit=1"
2954
2955 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2956 if test "x$LINE" != "x" ; then
2957 eval "DEFAULT_$LINE"
2958 fi
2959 fi
2960 done
2961
2962
2963
2964
2965
2966 enablestring=disable
2967 defaultval=
2968 if test -z "$defaultval"; then
2969 if test x"$enablestring" = xdisable; then
2970 defaultval=yes
2971 else
2972 defaultval=no
2973 fi
2974 fi
2975
2976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2977 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2978 # Check whether --enable-gui was given.
2979 if test "${enable_gui+set}" = set; then
2980 enableval=$enable_gui;
2981 if test "$enableval" = yes; then
2982 wx_cv_use_gui='wxUSE_GUI=yes'
2983 else
2984 wx_cv_use_gui='wxUSE_GUI=no'
2985 fi
2986 cache=yes
2987
2988 else
2989
2990 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2991 if test "x$LINE" != x ; then
2992 eval "DEFAULT_$LINE"
2993 cache=yes
2994 else
2995 cache=no
2996 fi
2997
2998 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2999
3000 fi
3001
3002
3003 eval "$wx_cv_use_gui"
3004 if test "x$cache" = xyes; then
3005 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
3006 fi
3007
3008 if test x"$enablestring" = xdisable; then
3009 if test $wxUSE_GUI = yes; then
3010 result=no
3011 else
3012 result=yes
3013 fi
3014 else
3015 result=$wxUSE_GUI
3016 fi
3017
3018 { echo "$as_me:$LINENO: result: $result" >&5
3019 echo "${ECHO_T}$result" >&6; }
3020
3021
3022 enablestring=
3023 defaultval=
3024 if test -z "$defaultval"; then
3025 if test x"$enablestring" = xdisable; then
3026 defaultval=yes
3027 else
3028 defaultval=no
3029 fi
3030 fi
3031
3032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3033 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3034 # Check whether --enable-monolithic was given.
3035 if test "${enable_monolithic+set}" = set; then
3036 enableval=$enable_monolithic;
3037 if test "$enableval" = yes; then
3038 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3039 else
3040 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3041 fi
3042 cache=yes
3043
3044 else
3045
3046 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x ; then
3048 eval "DEFAULT_$LINE"
3049 cache=yes
3050 else
3051 cache=no
3052 fi
3053
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3055
3056 fi
3057
3058
3059 eval "$wx_cv_use_monolithic"
3060 if test "x$cache" = xyes; then
3061 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3062 fi
3063
3064 if test x"$enablestring" = xdisable; then
3065 if test $wxUSE_MONOLITHIC = yes; then
3066 result=no
3067 else
3068 result=yes
3069 fi
3070 else
3071 result=$wxUSE_MONOLITHIC
3072 fi
3073
3074 { echo "$as_me:$LINENO: result: $result" >&5
3075 echo "${ECHO_T}$result" >&6; }
3076
3077
3078 enablestring=
3079 defaultval=
3080 if test -z "$defaultval"; then
3081 if test x"$enablestring" = xdisable; then
3082 defaultval=yes
3083 else
3084 defaultval=no
3085 fi
3086 fi
3087
3088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3089 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3090 # Check whether --enable-plugins was given.
3091 if test "${enable_plugins+set}" = set; then
3092 enableval=$enable_plugins;
3093 if test "$enableval" = yes; then
3094 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3095 else
3096 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3097 fi
3098 cache=yes
3099
3100 else
3101
3102 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3103 if test "x$LINE" != x ; then
3104 eval "DEFAULT_$LINE"
3105 cache=yes
3106 else
3107 cache=no
3108 fi
3109
3110 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3111
3112 fi
3113
3114
3115 eval "$wx_cv_use_plugins"
3116 if test "x$cache" = xyes; then
3117 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3118 fi
3119
3120 if test x"$enablestring" = xdisable; then
3121 if test $wxUSE_PLUGINS = yes; then
3122 result=no
3123 else
3124 result=yes
3125 fi
3126 else
3127 result=$wxUSE_PLUGINS
3128 fi
3129
3130 { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3132
3133
3134 withstring=without
3135 defaultval=$wxUSE_ALL_FEATURES
3136 if test -z "$defaultval"; then
3137 if test x"$withstring" = xwithout; then
3138 defaultval=yes
3139 else
3140 defaultval=no
3141 fi
3142 fi
3143 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3144 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3145
3146 # Check whether --with-subdirs was given.
3147 if test "${with_subdirs+set}" = set; then
3148 withval=$with_subdirs;
3149 if test "$withval" = yes; then
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3151 else
3152 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3153 fi
3154 cache=yes
3155
3156 else
3157
3158 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x ; then
3160 eval "DEFAULT_$LINE"
3161 cache=yes
3162 else
3163 cache=no
3164 fi
3165
3166 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3167
3168 fi
3169
3170
3171 eval "$wx_cv_use_subdirs"
3172 if test "x$cache" = xyes; then
3173 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3174 fi
3175
3176 if test x"$withstring" = xwithout; then
3177 if test $wxWITH_SUBDIRS = yes; then
3178 result=no
3179 else
3180 result=yes
3181 fi
3182 else
3183 result=$wxWITH_SUBDIRS
3184 fi
3185
3186 { echo "$as_me:$LINENO: result: $result" >&5
3187 echo "${ECHO_T}$result" >&6; }
3188
3189
3190 # Check whether --with-flavour was given.
3191 if test "${with_flavour+set}" = set; then
3192 withval=$with_flavour; WX_FLAVOUR="$withval"
3193 fi
3194
3195
3196 enablestring=
3197 defaultval=
3198 if test -z "$defaultval"; then
3199 if test x"$enablestring" = xdisable; then
3200 defaultval=yes
3201 else
3202 defaultval=no
3203 fi
3204 fi
3205
3206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3207 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3208 # Check whether --enable-official_build was given.
3209 if test "${enable_official_build+set}" = set; then
3210 enableval=$enable_official_build;
3211 if test "$enableval" = yes; then
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3213 else
3214 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3215 fi
3216 cache=yes
3217
3218 else
3219
3220 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3221 if test "x$LINE" != x ; then
3222 eval "DEFAULT_$LINE"
3223 cache=yes
3224 else
3225 cache=no
3226 fi
3227
3228 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3229
3230 fi
3231
3232
3233 eval "$wx_cv_use_official_build"
3234 if test "x$cache" = xyes; then
3235 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3236 fi
3237
3238 if test x"$enablestring" = xdisable; then
3239 if test $wxUSE_OFFICIAL_BUILD = yes; then
3240 result=no
3241 else
3242 result=yes
3243 fi
3244 else
3245 result=$wxUSE_OFFICIAL_BUILD
3246 fi
3247
3248 { echo "$as_me:$LINENO: result: $result" >&5
3249 echo "${ECHO_T}$result" >&6; }
3250
3251 # Check whether --enable-vendor was given.
3252 if test "${enable_vendor+set}" = set; then
3253 enableval=$enable_vendor; VENDOR="$enableval"
3254 fi
3255
3256 if test "x$VENDOR" = "x"; then
3257 VENDOR="custom"
3258 fi
3259
3260
3261 enablestring=disable
3262 defaultval=
3263 if test -z "$defaultval"; then
3264 if test x"$enablestring" = xdisable; then
3265 defaultval=yes
3266 else
3267 defaultval=no
3268 fi
3269 fi
3270
3271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3272 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3273 # Check whether --enable-all-features was given.
3274 if test "${enable_all_features+set}" = set; then
3275 enableval=$enable_all_features;
3276 if test "$enableval" = yes; then
3277 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3278 else
3279 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3280 fi
3281 cache=yes
3282
3283 else
3284
3285 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x ; then
3287 eval "DEFAULT_$LINE"
3288 cache=yes
3289 else
3290 cache=no
3291 fi
3292
3293 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3294
3295 fi
3296
3297
3298 eval "$wx_cv_use_all_features"
3299 if test "x$cache" = xyes; then
3300 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3301 fi
3302
3303 if test x"$enablestring" = xdisable; then
3304 if test $wxUSE_ALL_FEATURES = yes; then
3305 result=no
3306 else
3307 result=yes
3308 fi
3309 else
3310 result=$wxUSE_ALL_FEATURES
3311 fi
3312
3313 { echo "$as_me:$LINENO: result: $result" >&5
3314 echo "${ECHO_T}$result" >&6; }
3315
3316
3317
3318 if test "$wxUSE_GUI" = "yes"; then
3319
3320
3321 enablestring=
3322 defaultval=
3323 if test -z "$defaultval"; then
3324 if test x"$enablestring" = xdisable; then
3325 defaultval=yes
3326 else
3327 defaultval=no
3328 fi
3329 fi
3330
3331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3332 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3333 # Check whether --enable-universal was given.
3334 if test "${enable_universal+set}" = set; then
3335 enableval=$enable_universal;
3336 if test "$enableval" = yes; then
3337 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3338 else
3339 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3340 fi
3341 cache=yes
3342
3343 else
3344
3345 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x ; then
3347 eval "DEFAULT_$LINE"
3348 cache=yes
3349 else
3350 cache=no
3351 fi
3352
3353 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3354
3355 fi
3356
3357
3358 eval "$wx_cv_use_universal"
3359 if test "x$cache" = xyes; then
3360 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3361 fi
3362
3363 if test x"$enablestring" = xdisable; then
3364 if test $wxUSE_UNIVERSAL = yes; then
3365 result=no
3366 else
3367 result=yes
3368 fi
3369 else
3370 result=$wxUSE_UNIVERSAL
3371 fi
3372
3373 { echo "$as_me:$LINENO: result: $result" >&5
3374 echo "${ECHO_T}$result" >&6; }
3375
3376 if test "$wxUSE_UNIVERSAL" = "yes"; then
3377
3378 # Check whether --with-themes was given.
3379 if test "${with_themes+set}" = set; then
3380 withval=$with_themes; wxUNIV_THEMES="$withval"
3381 fi
3382
3383 fi
3384
3385
3386 # Check whether --with-gtk was given.
3387 if test "${with_gtk+set}" = set; then
3388 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3389 fi
3390
3391
3392 # Check whether --with-motif was given.
3393 if test "${with_motif+set}" = set; then
3394 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3395 fi
3396
3397
3398 # Check whether --with-mac was given.
3399 if test "${with_mac+set}" = set; then
3400 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3401 fi
3402
3403
3404 # Check whether --with-cocoa was given.
3405 if test "${with_cocoa+set}" = set; then
3406 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3407 fi
3408
3409
3410 # Check whether --with-wine was given.
3411 if test "${with_wine+set}" = set; then
3412 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3413 fi
3414
3415
3416 # Check whether --with-msw was given.
3417 if test "${with_msw+set}" = set; then
3418 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3419 fi
3420
3421
3422 # Check whether --with-pm was given.
3423 if test "${with_pm+set}" = set; then
3424 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3425 fi
3426
3427
3428 # Check whether --with-mgl was given.
3429 if test "${with_mgl+set}" = set; then
3430 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3431 fi
3432
3433
3434 # Check whether --with-directfb was given.
3435 if test "${with_directfb+set}" = set; then
3436 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3437 fi
3438
3439
3440 # Check whether --with-microwin was given.
3441 if test "${with_microwin+set}" = set; then
3442 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3443 fi
3444
3445
3446 # Check whether --with-x11 was given.
3447 if test "${with_x11+set}" = set; then
3448 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3449 fi
3450
3451
3452 enablestring=
3453 defaultval=
3454 if test -z "$defaultval"; then
3455 if test x"$enablestring" = xdisable; then
3456 defaultval=yes
3457 else
3458 defaultval=no
3459 fi
3460 fi
3461
3462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3463 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3464 # Check whether --enable-nanox was given.
3465 if test "${enable_nanox+set}" = set; then
3466 enableval=$enable_nanox;
3467 if test "$enableval" = yes; then
3468 wx_cv_use_nanox='wxUSE_NANOX=yes'
3469 else
3470 wx_cv_use_nanox='wxUSE_NANOX=no'
3471 fi
3472 cache=yes
3473
3474 else
3475
3476 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3477 if test "x$LINE" != x ; then
3478 eval "DEFAULT_$LINE"
3479 cache=yes
3480 else
3481 cache=no
3482 fi
3483
3484 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3485
3486 fi
3487
3488
3489 eval "$wx_cv_use_nanox"
3490 if test "x$cache" = xyes; then
3491 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3492 fi
3493
3494 if test x"$enablestring" = xdisable; then
3495 if test $wxUSE_NANOX = yes; then
3496 result=no
3497 else
3498 result=yes
3499 fi
3500 else
3501 result=$wxUSE_NANOX
3502 fi
3503
3504 { echo "$as_me:$LINENO: result: $result" >&5
3505 echo "${ECHO_T}$result" >&6; }
3506
3507
3508 # Check whether --enable-gtk2 was given.
3509 if test "${enable_gtk2+set}" = set; then
3510 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3511 fi
3512
3513
3514 enablestring=
3515 defaultval=
3516 if test -z "$defaultval"; then
3517 if test x"$enablestring" = xdisable; then
3518 defaultval=yes
3519 else
3520 defaultval=no
3521 fi
3522 fi
3523
3524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3525 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3526 # Check whether --enable-gpe was given.
3527 if test "${enable_gpe+set}" = set; then
3528 enableval=$enable_gpe;
3529 if test "$enableval" = yes; then
3530 wx_cv_use_gpe='wxUSE_GPE=yes'
3531 else
3532 wx_cv_use_gpe='wxUSE_GPE=no'
3533 fi
3534 cache=yes
3535
3536 else
3537
3538 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3541 cache=yes
3542 else
3543 cache=no
3544 fi
3545
3546 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3547
3548 fi
3549
3550
3551 eval "$wx_cv_use_gpe"
3552 if test "x$cache" = xyes; then
3553 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3554 fi
3555
3556 if test x"$enablestring" = xdisable; then
3557 if test $wxUSE_GPE = yes; then
3558 result=no
3559 else
3560 result=yes
3561 fi
3562 else
3563 result=$wxUSE_GPE
3564 fi
3565
3566 { echo "$as_me:$LINENO: result: $result" >&5
3567 echo "${ECHO_T}$result" >&6; }
3568
3569
3570
3571
3572 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3573 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3574
3575 # Check whether --with-libpng was given.
3576 if test "${with_libpng+set}" = set; then
3577 withval=$with_libpng;
3578 if test "$withval" = yes; then
3579 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3580 elif test "$withval" = no; then
3581 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3582 elif test "$withval" = sys; then
3583 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3584 elif test "$withval" = builtin; then
3585 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3586 else
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3590 fi
3591 cache=yes
3592
3593 else
3594
3595 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3596 if test "x$LINE" != x ; then
3597 eval "DEFAULT_$LINE"
3598 cache=yes
3599 else
3600 cache=no
3601 fi
3602
3603 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3604
3605 fi
3606
3607
3608 eval "$wx_cv_use_libpng"
3609 if test "x$cache" = xyes; then
3610 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3611 fi
3612
3613 if test "$wxUSE_LIBPNG" = yes; then
3614 { echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6; }
3616 elif test "$wxUSE_LIBPNG" = no; then
3617 { echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6; }
3619 elif test "$wxUSE_LIBPNG" = sys; then
3620 { echo "$as_me:$LINENO: result: system version" >&5
3621 echo "${ECHO_T}system version" >&6; }
3622 elif test "$wxUSE_LIBPNG" = builtin; then
3623 { echo "$as_me:$LINENO: result: builtin version" >&5
3624 echo "${ECHO_T}builtin version" >&6; }
3625 else
3626 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3627 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3628 { (exit 1); exit 1; }; }
3629 fi
3630
3631
3632 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3633 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3634
3635 # Check whether --with-libjpeg was given.
3636 if test "${with_libjpeg+set}" = set; then
3637 withval=$with_libjpeg;
3638 if test "$withval" = yes; then
3639 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3640 elif test "$withval" = no; then
3641 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3642 elif test "$withval" = sys; then
3643 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3644 elif test "$withval" = builtin; then
3645 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3646 else
3647 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3648 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3649 { (exit 1); exit 1; }; }
3650 fi
3651 cache=yes
3652
3653 else
3654
3655 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3656 if test "x$LINE" != x ; then
3657 eval "DEFAULT_$LINE"
3658 cache=yes
3659 else
3660 cache=no
3661 fi
3662
3663 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3664
3665 fi
3666
3667
3668 eval "$wx_cv_use_libjpeg"
3669 if test "x$cache" = xyes; then
3670 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3671 fi
3672
3673 if test "$wxUSE_LIBJPEG" = yes; then
3674 { echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBJPEG" = no; then
3677 { echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6; }
3679 elif test "$wxUSE_LIBJPEG" = sys; then
3680 { echo "$as_me:$LINENO: result: system version" >&5
3681 echo "${ECHO_T}system version" >&6; }
3682 elif test "$wxUSE_LIBJPEG" = builtin; then
3683 { echo "$as_me:$LINENO: result: builtin version" >&5
3684 echo "${ECHO_T}builtin version" >&6; }
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691
3692 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3693 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3694
3695 # Check whether --with-libtiff was given.
3696 if test "${with_libtiff+set}" = set; then
3697 withval=$with_libtiff;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3700 elif test "$withval" = no; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3702 elif test "$withval" = sys; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3706 else
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3710 fi
3711 cache=yes
3712
3713 else
3714
3715 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x ; then
3717 eval "DEFAULT_$LINE"
3718 cache=yes
3719 else
3720 cache=no
3721 fi
3722
3723 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3724
3725 fi
3726
3727
3728 eval "$wx_cv_use_libtiff"
3729 if test "x$cache" = xyes; then
3730 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3731 fi
3732
3733 if test "$wxUSE_LIBTIFF" = yes; then
3734 { echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6; }
3736 elif test "$wxUSE_LIBTIFF" = no; then
3737 { echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6; }
3739 elif test "$wxUSE_LIBTIFF" = sys; then
3740 { echo "$as_me:$LINENO: result: system version" >&5
3741 echo "${ECHO_T}system version" >&6; }
3742 elif test "$wxUSE_LIBTIFF" = builtin; then
3743 { echo "$as_me:$LINENO: result: builtin version" >&5
3744 echo "${ECHO_T}builtin version" >&6; }
3745 else
3746 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3747 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3748 { (exit 1); exit 1; }; }
3749 fi
3750
3751
3752 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3753 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3754
3755 # Check whether --with-libxpm was given.
3756 if test "${with_libxpm+set}" = set; then
3757 withval=$with_libxpm;
3758 if test "$withval" = yes; then
3759 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3760 elif test "$withval" = no; then
3761 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3762 elif test "$withval" = sys; then
3763 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3764 elif test "$withval" = builtin; then
3765 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3766 else
3767 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3768 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3769 { (exit 1); exit 1; }; }
3770 fi
3771 cache=yes
3772
3773 else
3774
3775 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x ; then
3777 eval "DEFAULT_$LINE"
3778 cache=yes
3779 else
3780 cache=no
3781 fi
3782
3783 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3784
3785 fi
3786
3787
3788 eval "$wx_cv_use_libxpm"
3789 if test "x$cache" = xyes; then
3790 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3791 fi
3792
3793 if test "$wxUSE_LIBXPM" = yes; then
3794 { echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6; }
3796 elif test "$wxUSE_LIBXPM" = no; then
3797 { echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6; }
3799 elif test "$wxUSE_LIBXPM" = sys; then
3800 { echo "$as_me:$LINENO: result: system version" >&5
3801 echo "${ECHO_T}system version" >&6; }
3802 elif test "$wxUSE_LIBXPM" = builtin; then
3803 { echo "$as_me:$LINENO: result: builtin version" >&5
3804 echo "${ECHO_T}builtin version" >&6; }
3805 else
3806 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3807 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3808 { (exit 1); exit 1; }; }
3809 fi
3810
3811
3812 withstring=
3813 defaultval=$wxUSE_ALL_FEATURES
3814 if test -z "$defaultval"; then
3815 if test x"$withstring" = xwithout; then
3816 defaultval=yes
3817 else
3818 defaultval=no
3819 fi
3820 fi
3821 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3822 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3823
3824 # Check whether --with-libmspack was given.
3825 if test "${with_libmspack+set}" = set; then
3826 withval=$with_libmspack;
3827 if test "$withval" = yes; then
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3829 else
3830 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3831 fi
3832 cache=yes
3833
3834 else
3835
3836 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x ; then
3838 eval "DEFAULT_$LINE"
3839 cache=yes
3840 else
3841 cache=no
3842 fi
3843
3844 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3845
3846 fi
3847
3848
3849 eval "$wx_cv_use_libmspack"
3850 if test "x$cache" = xyes; then
3851 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3852 fi
3853
3854 if test x"$withstring" = xwithout; then
3855 if test $wxUSE_LIBMSPACK = yes; then
3856 result=no
3857 else
3858 result=yes
3859 fi
3860 else
3861 result=$wxUSE_LIBMSPACK
3862 fi
3863
3864 { echo "$as_me:$LINENO: result: $result" >&5
3865 echo "${ECHO_T}$result" >&6; }
3866
3867
3868 withstring=without
3869 defaultval=$wxUSE_ALL_FEATURES
3870 if test -z "$defaultval"; then
3871 if test x"$withstring" = xwithout; then
3872 defaultval=yes
3873 else
3874 defaultval=no
3875 fi
3876 fi
3877 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3878 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3879
3880 # Check whether --with-gtkprint was given.
3881 if test "${with_gtkprint+set}" = set; then
3882 withval=$with_gtkprint;
3883 if test "$withval" = yes; then
3884 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3885 else
3886 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3887 fi
3888 cache=yes
3889
3890 else
3891
3892 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3895 cache=yes
3896 else
3897 cache=no
3898 fi
3899
3900 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3901
3902 fi
3903
3904
3905 eval "$wx_cv_use_gtkprint"
3906 if test "x$cache" = xyes; then
3907 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3908 fi
3909
3910 if test x"$withstring" = xwithout; then
3911 if test $wxUSE_GTKPRINT = yes; then
3912 result=no
3913 else
3914 result=yes
3915 fi
3916 else
3917 result=$wxUSE_GTKPRINT
3918 fi
3919
3920 { echo "$as_me:$LINENO: result: $result" >&5
3921 echo "${ECHO_T}$result" >&6; }
3922
3923
3924 withstring=without
3925 defaultval=$wxUSE_ALL_FEATURES
3926 if test -z "$defaultval"; then
3927 if test x"$withstring" = xwithout; then
3928 defaultval=yes
3929 else
3930 defaultval=no
3931 fi
3932 fi
3933 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3934 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3935
3936 # Check whether --with-gnomeprint was given.
3937 if test "${with_gnomeprint+set}" = set; then
3938 withval=$with_gnomeprint;
3939 if test "$withval" = yes; then
3940 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3941 else
3942 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3943 fi
3944 cache=yes
3945
3946 else
3947
3948 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3951 cache=yes
3952 else
3953 cache=no
3954 fi
3955
3956 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3957
3958 fi
3959
3960
3961 eval "$wx_cv_use_gnomeprint"
3962 if test "x$cache" = xyes; then
3963 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3964 fi
3965
3966 if test x"$withstring" = xwithout; then
3967 if test $wxUSE_LIBGNOMEPRINT = yes; then
3968 result=no
3969 else
3970 result=yes
3971 fi
3972 else
3973 result=$wxUSE_LIBGNOMEPRINT
3974 fi
3975
3976 { echo "$as_me:$LINENO: result: $result" >&5
3977 echo "${ECHO_T}$result" >&6; }
3978
3979
3980 withstring=
3981 defaultval=$wxUSE_ALL_FEATURES
3982 if test -z "$defaultval"; then
3983 if test x"$withstring" = xwithout; then
3984 defaultval=yes
3985 else
3986 defaultval=no
3987 fi
3988 fi
3989 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3990 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3991
3992 # Check whether --with-gnomevfs was given.
3993 if test "${with_gnomevfs+set}" = set; then
3994 withval=$with_gnomevfs;
3995 if test "$withval" = yes; then
3996 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3997 else
3998 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3999 fi
4000 cache=yes
4001
4002 else
4003
4004 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x ; then
4006 eval "DEFAULT_$LINE"
4007 cache=yes
4008 else
4009 cache=no
4010 fi
4011
4012 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4013
4014 fi
4015
4016
4017 eval "$wx_cv_use_gnomevfs"
4018 if test "x$cache" = xyes; then
4019 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4020 fi
4021
4022 if test x"$withstring" = xwithout; then
4023 if test $wxUSE_LIBGNOMEVFS = yes; then
4024 result=no
4025 else
4026 result=yes
4027 fi
4028 else
4029 result=$wxUSE_LIBGNOMEVFS
4030 fi
4031
4032 { echo "$as_me:$LINENO: result: $result" >&5
4033 echo "${ECHO_T}$result" >&6; }
4034
4035
4036 withstring=
4037 defaultval=$wxUSE_ALL_FEATURES
4038 if test -z "$defaultval"; then
4039 if test x"$withstring" = xwithout; then
4040 defaultval=yes
4041 else
4042 defaultval=no
4043 fi
4044 fi
4045 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4046 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4047
4048 # Check whether --with-hildon was given.
4049 if test "${with_hildon+set}" = set; then
4050 withval=$with_hildon;
4051 if test "$withval" = yes; then
4052 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4053 else
4054 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4055 fi
4056 cache=yes
4057
4058 else
4059
4060 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4061 if test "x$LINE" != x ; then
4062 eval "DEFAULT_$LINE"
4063 cache=yes
4064 else
4065 cache=no
4066 fi
4067
4068 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4069
4070 fi
4071
4072
4073 eval "$wx_cv_use_hildon"
4074 if test "x$cache" = xyes; then
4075 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4076 fi
4077
4078 if test x"$withstring" = xwithout; then
4079 if test $wxUSE_LIBHILDON = yes; then
4080 result=no
4081 else
4082 result=yes
4083 fi
4084 else
4085 result=$wxUSE_LIBHILDON
4086 fi
4087
4088 { echo "$as_me:$LINENO: result: $result" >&5
4089 echo "${ECHO_T}$result" >&6; }
4090
4091
4092 withstring=
4093 defaultval=$wxUSE_ALL_FEATURES
4094 if test -z "$defaultval"; then
4095 if test x"$withstring" = xwithout; then
4096 defaultval=yes
4097 else
4098 defaultval=no
4099 fi
4100 fi
4101 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4102 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4103
4104 # Check whether --with-opengl was given.
4105 if test "${with_opengl+set}" = set; then
4106 withval=$with_opengl;
4107 if test "$withval" = yes; then
4108 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4109 else
4110 wx_cv_use_opengl='wxUSE_OPENGL=no'
4111 fi
4112 cache=yes
4113
4114 else
4115
4116 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4117 if test "x$LINE" != x ; then
4118 eval "DEFAULT_$LINE"
4119 cache=yes
4120 else
4121 cache=no
4122 fi
4123
4124 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4125
4126 fi
4127
4128
4129 eval "$wx_cv_use_opengl"
4130 if test "x$cache" = xyes; then
4131 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4132 fi
4133
4134 if test x"$withstring" = xwithout; then
4135 if test $wxUSE_OPENGL = yes; then
4136 result=no
4137 else
4138 result=yes
4139 fi
4140 else
4141 result=$wxUSE_OPENGL
4142 fi
4143
4144 { echo "$as_me:$LINENO: result: $result" >&5
4145 echo "${ECHO_T}$result" >&6; }
4146
4147
4148 fi
4149
4150
4151 withstring=
4152 defaultval=$wxUSE_ALL_FEATURES
4153 if test -z "$defaultval"; then
4154 if test x"$withstring" = xwithout; then
4155 defaultval=yes
4156 else
4157 defaultval=no
4158 fi
4159 fi
4160 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4161 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4162
4163 # Check whether --with-dmalloc was given.
4164 if test "${with_dmalloc+set}" = set; then
4165 withval=$with_dmalloc;
4166 if test "$withval" = yes; then
4167 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4168 else
4169 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4170 fi
4171 cache=yes
4172
4173 else
4174
4175 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x ; then
4177 eval "DEFAULT_$LINE"
4178 cache=yes
4179 else
4180 cache=no
4181 fi
4182
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4184
4185 fi
4186
4187
4188 eval "$wx_cv_use_dmalloc"
4189 if test "x$cache" = xyes; then
4190 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4191 fi
4192
4193 if test x"$withstring" = xwithout; then
4194 if test $wxUSE_DMALLOC = yes; then
4195 result=no
4196 else
4197 result=yes
4198 fi
4199 else
4200 result=$wxUSE_DMALLOC
4201 fi
4202
4203 { echo "$as_me:$LINENO: result: $result" >&5
4204 echo "${ECHO_T}$result" >&6; }
4205
4206
4207 withstring=
4208 defaultval=$wxUSE_ALL_FEATURES
4209 if test -z "$defaultval"; then
4210 if test x"$withstring" = xwithout; then
4211 defaultval=yes
4212 else
4213 defaultval=no
4214 fi
4215 fi
4216 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4217 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4218
4219 # Check whether --with-sdl was given.
4220 if test "${with_sdl+set}" = set; then
4221 withval=$with_sdl;
4222 if test "$withval" = yes; then
4223 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4224 else
4225 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4226 fi
4227 cache=yes
4228
4229 else
4230
4231 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x ; then
4233 eval "DEFAULT_$LINE"
4234 cache=yes
4235 else
4236 cache=no
4237 fi
4238
4239 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4240
4241 fi
4242
4243
4244 eval "$wx_cv_use_sdl"
4245 if test "x$cache" = xyes; then
4246 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4247 fi
4248
4249 if test x"$withstring" = xwithout; then
4250 if test $wxUSE_LIBSDL = yes; then
4251 result=no
4252 else
4253 result=yes
4254 fi
4255 else
4256 result=$wxUSE_LIBSDL
4257 fi
4258
4259 { echo "$as_me:$LINENO: result: $result" >&5
4260 echo "${ECHO_T}$result" >&6; }
4261
4262
4263 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4264 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4265
4266 # Check whether --with-regex was given.
4267 if test "${with_regex+set}" = set; then
4268 withval=$with_regex;
4269 if test "$withval" = yes; then
4270 wx_cv_use_regex='wxUSE_REGEX=yes'
4271 elif test "$withval" = no; then
4272 wx_cv_use_regex='wxUSE_REGEX=no'
4273 elif test "$withval" = sys; then
4274 wx_cv_use_regex='wxUSE_REGEX=sys'
4275 elif test "$withval" = builtin; then
4276 wx_cv_use_regex='wxUSE_REGEX=builtin'
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282 cache=yes
4283
4284 else
4285
4286 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x ; then
4288 eval "DEFAULT_$LINE"
4289 cache=yes
4290 else
4291 cache=no
4292 fi
4293
4294 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4295
4296 fi
4297
4298
4299 eval "$wx_cv_use_regex"
4300 if test "x$cache" = xyes; then
4301 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4302 fi
4303
4304 if test "$wxUSE_REGEX" = yes; then
4305 { echo "$as_me:$LINENO: result: yes" >&5
4306 echo "${ECHO_T}yes" >&6; }
4307 elif test "$wxUSE_REGEX" = no; then
4308 { echo "$as_me:$LINENO: result: no" >&5
4309 echo "${ECHO_T}no" >&6; }
4310 elif test "$wxUSE_REGEX" = sys; then
4311 { echo "$as_me:$LINENO: result: system version" >&5
4312 echo "${ECHO_T}system version" >&6; }
4313 elif test "$wxUSE_REGEX" = builtin; then
4314 { echo "$as_me:$LINENO: result: builtin version" >&5
4315 echo "${ECHO_T}builtin version" >&6; }
4316 else
4317 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4318 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4319 { (exit 1); exit 1; }; }
4320 fi
4321
4322
4323 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4324 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4325
4326 # Check whether --with-zlib was given.
4327 if test "${with_zlib+set}" = set; then
4328 withval=$with_zlib;
4329 if test "$withval" = yes; then
4330 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4331 elif test "$withval" = no; then
4332 wx_cv_use_zlib='wxUSE_ZLIB=no'
4333 elif test "$withval" = sys; then
4334 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4335 elif test "$withval" = builtin; then
4336 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4337 else
4338 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4339 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4340 { (exit 1); exit 1; }; }
4341 fi
4342 cache=yes
4343
4344 else
4345
4346 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x ; then
4348 eval "DEFAULT_$LINE"
4349 cache=yes
4350 else
4351 cache=no
4352 fi
4353
4354 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4355
4356 fi
4357
4358
4359 eval "$wx_cv_use_zlib"
4360 if test "x$cache" = xyes; then
4361 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4362 fi
4363
4364 if test "$wxUSE_ZLIB" = yes; then
4365 { echo "$as_me:$LINENO: result: yes" >&5
4366 echo "${ECHO_T}yes" >&6; }
4367 elif test "$wxUSE_ZLIB" = no; then
4368 { echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6; }
4370 elif test "$wxUSE_ZLIB" = sys; then
4371 { echo "$as_me:$LINENO: result: system version" >&5
4372 echo "${ECHO_T}system version" >&6; }
4373 elif test "$wxUSE_ZLIB" = builtin; then
4374 { echo "$as_me:$LINENO: result: builtin version" >&5
4375 echo "${ECHO_T}builtin version" >&6; }
4376 else
4377 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4378 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4379 { (exit 1); exit 1; }; }
4380 fi
4381
4382
4383 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4384 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4385
4386 # Check whether --with-expat was given.
4387 if test "${with_expat+set}" = set; then
4388 withval=$with_expat;
4389 if test "$withval" = yes; then
4390 wx_cv_use_expat='wxUSE_EXPAT=yes'
4391 elif test "$withval" = no; then
4392 wx_cv_use_expat='wxUSE_EXPAT=no'
4393 elif test "$withval" = sys; then
4394 wx_cv_use_expat='wxUSE_EXPAT=sys'
4395 elif test "$withval" = builtin; then
4396 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4397 else
4398 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4399 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4400 { (exit 1); exit 1; }; }
4401 fi
4402 cache=yes
4403
4404 else
4405
4406 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4409 cache=yes
4410 else
4411 cache=no
4412 fi
4413
4414 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4415
4416 fi
4417
4418
4419 eval "$wx_cv_use_expat"
4420 if test "x$cache" = xyes; then
4421 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4422 fi
4423
4424 if test "$wxUSE_EXPAT" = yes; then
4425 { echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6; }
4427 elif test "$wxUSE_EXPAT" = no; then
4428 { echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6; }
4430 elif test "$wxUSE_EXPAT" = sys; then
4431 { echo "$as_me:$LINENO: result: system version" >&5
4432 echo "${ECHO_T}system version" >&6; }
4433 elif test "$wxUSE_EXPAT" = builtin; then
4434 { echo "$as_me:$LINENO: result: builtin version" >&5
4435 echo "${ECHO_T}builtin version" >&6; }
4436 else
4437 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4438 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4439 { (exit 1); exit 1; }; }
4440 fi
4441
4442
4443 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4444 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4445
4446 # Check whether --with-macosx-sdk was given.
4447 if test "${with_macosx_sdk+set}" = set; then
4448 withval=$with_macosx_sdk;
4449 wxUSE_MACOSX_SDK=$withval
4450 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4451 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
4452
4453 else
4454
4455 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
4456 # will override --enable-universal_binary's automatic SDK usage.
4457 wxUSE_MACOSX_SDK=
4458 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x ; then
4460 eval "$LINE"
4461 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4462 fi
4463
4464 fi
4465
4466 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4467 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4468
4469 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4470 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4471
4472 # Check whether --with-macosx-version-min was given.
4473 if test "${with_macosx_version_min+set}" = set; then
4474 withval=$with_macosx_version_min;
4475 wxUSE_MACOSX_VERSION_MIN=$withval
4476 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4477 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
4478
4479 else
4480
4481 # default "yes" because when not using an SDK it means the same as no
4482 # but when using an SDK it means to use the SDK version
4483 wxUSE_MACOSX_VERSION_MIN=yes
4484 # See if there is a value in the cache
4485 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x ; then
4487 eval "$LINE"
4488 echo "$LINE" >> ${wx_arg_cache_file}.tmp
4489 fi
4490
4491 fi
4492
4493 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4494 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4495
4496
4497
4498 enablestring=disable
4499 defaultval=
4500 if test -z "$defaultval"; then
4501 if test x"$enablestring" = xdisable; then
4502 defaultval=yes
4503 else
4504 defaultval=no
4505 fi
4506 fi
4507
4508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4509 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4510 # Check whether --enable-shared was given.
4511 if test "${enable_shared+set}" = set; then
4512 enableval=$enable_shared;
4513 if test "$enableval" = yes; then
4514 wx_cv_use_shared='wxUSE_SHARED=yes'
4515 else
4516 wx_cv_use_shared='wxUSE_SHARED=no'
4517 fi
4518 cache=yes
4519
4520 else
4521
4522 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x ; then
4524 eval "DEFAULT_$LINE"
4525 cache=yes
4526 else
4527 cache=no
4528 fi
4529
4530 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4531
4532 fi
4533
4534
4535 eval "$wx_cv_use_shared"
4536 if test "x$cache" = xyes; then
4537 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4538 fi
4539
4540 if test x"$enablestring" = xdisable; then
4541 if test $wxUSE_SHARED = yes; then
4542 result=no
4543 else
4544 result=yes
4545 fi
4546 else
4547 result=$wxUSE_SHARED
4548 fi
4549
4550 { echo "$as_me:$LINENO: result: $result" >&5
4551 echo "${ECHO_T}$result" >&6; }
4552
4553
4554 enablestring=disable
4555 defaultval=
4556 if test -z "$defaultval"; then
4557 if test x"$enablestring" = xdisable; then
4558 defaultval=yes
4559 else
4560 defaultval=no
4561 fi
4562 fi
4563
4564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4565 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4566 # Check whether --enable-optimise was given.
4567 if test "${enable_optimise+set}" = set; then
4568 enableval=$enable_optimise;
4569 if test "$enableval" = yes; then
4570 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4571 else
4572 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4573 fi
4574 cache=yes
4575
4576 else
4577
4578 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x ; then
4580 eval "DEFAULT_$LINE"
4581 cache=yes
4582 else
4583 cache=no
4584 fi
4585
4586 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4587
4588 fi
4589
4590
4591 eval "$wx_cv_use_optimise"
4592 if test "x$cache" = xyes; then
4593 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4594 fi
4595
4596 if test x"$enablestring" = xdisable; then
4597 if test $wxUSE_OPTIMISE = yes; then
4598 result=no
4599 else
4600 result=yes
4601 fi
4602 else
4603 result=$wxUSE_OPTIMISE
4604 fi
4605
4606 { echo "$as_me:$LINENO: result: $result" >&5
4607 echo "${ECHO_T}$result" >&6; }
4608
4609
4610 enablestring=
4611 defaultval=
4612 if test -z "$defaultval"; then
4613 if test x"$enablestring" = xdisable; then
4614 defaultval=yes
4615 else
4616 defaultval=no
4617 fi
4618 fi
4619
4620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4622 # Check whether --enable-debug was given.
4623 if test "${enable_debug+set}" = set; then
4624 enableval=$enable_debug;
4625 if test "$enableval" = yes; then
4626 wx_cv_use_debug='wxUSE_DEBUG=yes'
4627 else
4628 wx_cv_use_debug='wxUSE_DEBUG=no'
4629 fi
4630 cache=yes
4631
4632 else
4633
4634 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x ; then
4636 eval "DEFAULT_$LINE"
4637 cache=yes
4638 else
4639 cache=no
4640 fi
4641
4642 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4643
4644 fi
4645
4646
4647 eval "$wx_cv_use_debug"
4648 if test "x$cache" = xyes; then
4649 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4650 fi
4651
4652 if test x"$enablestring" = xdisable; then
4653 if test $wxUSE_DEBUG = yes; then
4654 result=no
4655 else
4656 result=yes
4657 fi
4658 else
4659 result=$wxUSE_DEBUG
4660 fi
4661
4662 { echo "$as_me:$LINENO: result: $result" >&5
4663 echo "${ECHO_T}$result" >&6; }
4664
4665
4666 enablestring=
4667 defaultval=
4668 if test -z "$defaultval"; then
4669 if test x"$enablestring" = xdisable; then
4670 defaultval=yes
4671 else
4672 defaultval=no
4673 fi
4674 fi
4675
4676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4678 # Check whether --enable-stl was given.
4679 if test "${enable_stl+set}" = set; then
4680 enableval=$enable_stl;
4681 if test "$enableval" = yes; then
4682 wx_cv_use_stl='wxUSE_STL=yes'
4683 else
4684 wx_cv_use_stl='wxUSE_STL=no'
4685 fi
4686 cache=yes
4687
4688 else
4689
4690 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4691 if test "x$LINE" != x ; then
4692 eval "DEFAULT_$LINE"
4693 cache=yes
4694 else
4695 cache=no
4696 fi
4697
4698 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4699
4700 fi
4701
4702
4703 eval "$wx_cv_use_stl"
4704 if test "x$cache" = xyes; then
4705 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4706 fi
4707
4708 if test x"$enablestring" = xdisable; then
4709 if test $wxUSE_STL = yes; then
4710 result=no
4711 else
4712 result=yes
4713 fi
4714 else
4715 result=$wxUSE_STL
4716 fi
4717
4718 { echo "$as_me:$LINENO: result: $result" >&5
4719 echo "${ECHO_T}$result" >&6; }
4720
4721
4722 enablestring=
4723 defaultval=
4724 if test -z "$defaultval"; then
4725 if test x"$enablestring" = xdisable; then
4726 defaultval=yes
4727 else
4728 defaultval=no
4729 fi
4730 fi
4731
4732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4734 # Check whether --enable-std_iostreams was given.
4735 if test "${enable_std_iostreams+set}" = set; then
4736 enableval=$enable_std_iostreams;
4737 if test "$enableval" = yes; then
4738 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4739 else
4740 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4741 fi
4742 cache=yes
4743
4744 else
4745
4746 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x ; then
4748 eval "DEFAULT_$LINE"
4749 cache=yes
4750 else
4751 cache=no
4752 fi
4753
4754 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4755
4756 fi
4757
4758
4759 eval "$wx_cv_use_std_iostreams"
4760 if test "x$cache" = xyes; then
4761 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4762 fi
4763
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_STD_IOSTREAM = yes; then
4766 result=no
4767 else
4768 result=yes
4769 fi
4770 else
4771 result=$wxUSE_STD_IOSTREAM
4772 fi
4773
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4776
4777
4778 enablestring=
4779 defaultval=
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4782 defaultval=yes
4783 else
4784 defaultval=no
4785 fi
4786 fi
4787
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4790 # Check whether --enable-std_string was given.
4791 if test "${enable_std_string+set}" = set; then
4792 enableval=$enable_std_string;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4795 else
4796 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4797 fi
4798 cache=yes
4799
4800 else
4801
4802 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4803 if test "x$LINE" != x ; then
4804 eval "DEFAULT_$LINE"
4805 cache=yes
4806 else
4807 cache=no
4808 fi
4809
4810 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4811
4812 fi
4813
4814
4815 eval "$wx_cv_use_std_string"
4816 if test "x$cache" = xyes; then
4817 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4818 fi
4819
4820 if test x"$enablestring" = xdisable; then
4821 if test $wxUSE_STD_STRING = yes; then
4822 result=no
4823 else
4824 result=yes
4825 fi
4826 else
4827 result=$wxUSE_STD_STRING
4828 fi
4829
4830 { echo "$as_me:$LINENO: result: $result" >&5
4831 echo "${ECHO_T}$result" >&6; }
4832
4833
4834 enablestring=disable
4835 defaultval=
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4838 defaultval=yes
4839 else
4840 defaultval=no
4841 fi
4842 fi
4843
4844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4845 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4846 # Check whether --enable-unicode was given.
4847 if test "${enable_unicode+set}" = set; then
4848 enableval=$enable_unicode;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4851 else
4852 wx_cv_use_unicode='wxUSE_UNICODE=no'
4853 fi
4854 cache=yes
4855
4856 else
4857
4858 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 cache=yes
4862 else
4863 cache=no
4864 fi
4865
4866 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4867
4868 fi
4869
4870
4871 eval "$wx_cv_use_unicode"
4872 if test "x$cache" = xyes; then
4873 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4874 fi
4875
4876 if test x"$enablestring" = xdisable; then
4877 if test $wxUSE_UNICODE = yes; then
4878 result=no
4879 else
4880 result=yes
4881 fi
4882 else
4883 result=$wxUSE_UNICODE
4884 fi
4885
4886 { echo "$as_me:$LINENO: result: $result" >&5
4887 echo "${ECHO_T}$result" >&6; }
4888
4889
4890 enablestring=
4891 defaultval=
4892 if test -z "$defaultval"; then
4893 if test x"$enablestring" = xdisable; then
4894 defaultval=yes
4895 else
4896 defaultval=no
4897 fi
4898 fi
4899
4900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4901 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4902 # Check whether --enable-mslu was given.
4903 if test "${enable_mslu+set}" = set; then
4904 enableval=$enable_mslu;
4905 if test "$enableval" = yes; then
4906 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4907 else
4908 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4909 fi
4910 cache=yes
4911
4912 else
4913
4914 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x ; then
4916 eval "DEFAULT_$LINE"
4917 cache=yes
4918 else
4919 cache=no
4920 fi
4921
4922 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4923
4924 fi
4925
4926
4927 eval "$wx_cv_use_mslu"
4928 if test "x$cache" = xyes; then
4929 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4930 fi
4931
4932 if test x"$enablestring" = xdisable; then
4933 if test $wxUSE_UNICODE_MSLU = yes; then
4934 result=no
4935 else
4936 result=yes
4937 fi
4938 else
4939 result=$wxUSE_UNICODE_MSLU
4940 fi
4941
4942 { echo "$as_me:$LINENO: result: $result" >&5
4943 echo "${ECHO_T}$result" >&6; }
4944
4945
4946 enablestring=
4947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4949 # Check whether --enable-utf8 was given.
4950 if test "${enable_utf8+set}" = set; then
4951 enableval=$enable_utf8;
4952 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4953 cache=yes
4954
4955 else
4956
4957 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x ; then
4959 eval "DEFAULT_$LINE"
4960 cache=yes
4961 else
4962 cache=no
4963 fi
4964
4965 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4966
4967 fi
4968
4969
4970 eval "$wx_cv_use_utf8"
4971 if test "x$cache" = xyes; then
4972 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4973 fi
4974
4975 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4976 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4977
4978
4979 enablestring=
4980 defaultval=
4981 if test -z "$defaultval"; then
4982 if test x"$enablestring" = xdisable; then
4983 defaultval=yes
4984 else
4985 defaultval=no
4986 fi
4987 fi
4988
4989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4991 # Check whether --enable-utf8only was given.
4992 if test "${enable_utf8only+set}" = set; then
4993 enableval=$enable_utf8only;
4994 if test "$enableval" = yes; then
4995 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4996 else
4997 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4998 fi
4999 cache=yes
5000
5001 else
5002
5003 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5006 cache=yes
5007 else
5008 cache=no
5009 fi
5010
5011 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5012
5013 fi
5014
5015
5016 eval "$wx_cv_use_utf8only"
5017 if test "x$cache" = xyes; then
5018 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
5019 fi
5020
5021 if test x"$enablestring" = xdisable; then
5022 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5023 result=no
5024 else
5025 result=yes
5026 fi
5027 else
5028 result=$wxUSE_UNICODE_UTF8_LOCALE
5029 fi
5030
5031 { echo "$as_me:$LINENO: result: $result" >&5
5032 echo "${ECHO_T}$result" >&6; }
5033
5034
5035 enablestring=
5036 defaultval=
5037 if test -z "$defaultval"; then
5038 if test x"$enablestring" = xdisable; then
5039 defaultval=yes
5040 else
5041 defaultval=no
5042 fi
5043 fi
5044
5045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5047 # Check whether --enable-extended_rtti was given.
5048 if test "${enable_extended_rtti+set}" = set; then
5049 enableval=$enable_extended_rtti;
5050 if test "$enableval" = yes; then
5051 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5052 else
5053 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5054 fi
5055 cache=yes
5056
5057 else
5058
5059 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5060 if test "x$LINE" != x ; then
5061 eval "DEFAULT_$LINE"
5062 cache=yes
5063 else
5064 cache=no
5065 fi
5066
5067 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5068
5069 fi
5070
5071
5072 eval "$wx_cv_use_extended_rtti"
5073 if test "x$cache" = xyes; then
5074 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5075 fi
5076
5077 if test x"$enablestring" = xdisable; then
5078 if test $wxUSE_EXTENDED_RTTI = yes; then
5079 result=no
5080 else
5081 result=yes
5082 fi
5083 else
5084 result=$wxUSE_EXTENDED_RTTI
5085 fi
5086
5087 { echo "$as_me:$LINENO: result: $result" >&5
5088 echo "${ECHO_T}$result" >&6; }
5089
5090 if test "$USE_OS2" = "1"; then
5091 DEFAULT_wxUSE_OMF=no
5092
5093 enablestring=
5094 defaultval=
5095 if test -z "$defaultval"; then
5096 if test x"$enablestring" = xdisable; then
5097 defaultval=yes
5098 else
5099 defaultval=no
5100 fi
5101 fi
5102
5103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5104 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5105 # Check whether --enable-omf was given.
5106 if test "${enable_omf+set}" = set; then
5107 enableval=$enable_omf;
5108 if test "$enableval" = yes; then
5109 wx_cv_use_omf='wxUSE_OMF=yes'
5110 else
5111 wx_cv_use_omf='wxUSE_OMF=no'
5112 fi
5113 cache=yes
5114
5115 else
5116
5117 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x ; then
5119 eval "DEFAULT_$LINE"
5120 cache=yes
5121 else
5122 cache=no
5123 fi
5124
5125 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5126
5127 fi
5128
5129
5130 eval "$wx_cv_use_omf"
5131 if test "x$cache" = xyes; then
5132 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5133 fi
5134
5135 if test x"$enablestring" = xdisable; then
5136 if test $wxUSE_OMF = yes; then
5137 result=no
5138 else
5139 result=yes
5140 fi
5141 else
5142 result=$wxUSE_OMF
5143 fi
5144
5145 { echo "$as_me:$LINENO: result: $result" >&5
5146 echo "${ECHO_T}$result" >&6; }
5147
5148 fi
5149
5150 if test "$wxUSE_DEBUG" = "yes"; then
5151 DEFAULT_wxUSE_DEBUG_FLAG=yes
5152 DEFAULT_wxUSE_DEBUG_INFO=yes
5153 BUILD=debug
5154 elif test "$wxUSE_DEBUG" = "no"; then
5155 DEFAULT_wxUSE_DEBUG_FLAG=no
5156 DEFAULT_wxUSE_DEBUG_INFO=no
5157 BUILD=release
5158 fi
5159
5160
5161 enablestring=
5162 defaultval=
5163 if test -z "$defaultval"; then
5164 if test x"$enablestring" = xdisable; then
5165 defaultval=yes
5166 else
5167 defaultval=no
5168 fi
5169 fi
5170
5171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5173 # Check whether --enable-debug_flag was given.
5174 if test "${enable_debug_flag+set}" = set; then
5175 enableval=$enable_debug_flag;
5176 if test "$enableval" = yes; then
5177 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5178 else
5179 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5180 fi
5181 cache=yes
5182
5183 else
5184
5185 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 cache=yes
5189 else
5190 cache=no
5191 fi
5192
5193 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5194
5195 fi
5196
5197
5198 eval "$wx_cv_use_debug_flag"
5199 if test "x$cache" = xyes; then
5200 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5201 fi
5202
5203 if test x"$enablestring" = xdisable; then
5204 if test $wxUSE_DEBUG_FLAG = yes; then
5205 result=no
5206 else
5207 result=yes
5208 fi
5209 else
5210 result=$wxUSE_DEBUG_FLAG
5211 fi
5212
5213 { echo "$as_me:$LINENO: result: $result" >&5
5214 echo "${ECHO_T}$result" >&6; }
5215
5216
5217 enablestring=
5218 defaultval=
5219 if test -z "$defaultval"; then
5220 if test x"$enablestring" = xdisable; then
5221 defaultval=yes
5222 else
5223 defaultval=no
5224 fi
5225 fi
5226
5227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5229 # Check whether --enable-debug_info was given.
5230 if test "${enable_debug_info+set}" = set; then
5231 enableval=$enable_debug_info;
5232 if test "$enableval" = yes; then
5233 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5234 else
5235 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5236 fi
5237 cache=yes
5238
5239 else
5240
5241 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5242 if test "x$LINE" != x ; then
5243 eval "DEFAULT_$LINE"
5244 cache=yes
5245 else
5246 cache=no
5247 fi
5248
5249 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5250
5251 fi
5252
5253
5254 eval "$wx_cv_use_debug_info"
5255 if test "x$cache" = xyes; then
5256 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5257 fi
5258
5259 if test x"$enablestring" = xdisable; then
5260 if test $wxUSE_DEBUG_INFO = yes; then
5261 result=no
5262 else
5263 result=yes
5264 fi
5265 else
5266 result=$wxUSE_DEBUG_INFO
5267 fi
5268
5269 { echo "$as_me:$LINENO: result: $result" >&5
5270 echo "${ECHO_T}$result" >&6; }
5271
5272
5273 enablestring=
5274 defaultval=
5275 if test -z "$defaultval"; then
5276 if test x"$enablestring" = xdisable; then
5277 defaultval=yes
5278 else
5279 defaultval=no
5280 fi
5281 fi
5282
5283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5284 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5285 # Check whether --enable-debug_gdb was given.
5286 if test "${enable_debug_gdb+set}" = set; then
5287 enableval=$enable_debug_gdb;
5288 if test "$enableval" = yes; then
5289 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5290 else
5291 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5292 fi
5293 cache=yes
5294
5295 else
5296
5297 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 cache=yes
5301 else
5302 cache=no
5303 fi
5304
5305 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5306
5307 fi
5308
5309
5310 eval "$wx_cv_use_debug_gdb"
5311 if test "x$cache" = xyes; then
5312 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5313 fi
5314
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_DEBUG_GDB = yes; then
5317 result=no
5318 else
5319 result=yes
5320 fi
5321 else
5322 result=$wxUSE_DEBUG_GDB
5323 fi
5324
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5327
5328
5329 enablestring=
5330 defaultval=
5331 if test -z "$defaultval"; then
5332 if test x"$enablestring" = xdisable; then
5333 defaultval=yes
5334 else
5335 defaultval=no
5336 fi
5337 fi
5338
5339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5341 # Check whether --enable-debug_cntxt was given.
5342 if test "${enable_debug_cntxt+set}" = set; then
5343 enableval=$enable_debug_cntxt;
5344 if test "$enableval" = yes; then
5345 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5346 else
5347 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5348 fi
5349 cache=yes
5350
5351 else
5352
5353 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x ; then
5355 eval "DEFAULT_$LINE"
5356 cache=yes
5357 else
5358 cache=no
5359 fi
5360
5361 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5362
5363 fi
5364
5365
5366 eval "$wx_cv_use_debug_cntxt"
5367 if test "x$cache" = xyes; then
5368 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5369 fi
5370
5371 if test x"$enablestring" = xdisable; then
5372 if test $wxUSE_DEBUG_CONTEXT = yes; then
5373 result=no
5374 else
5375 result=yes
5376 fi
5377 else
5378 result=$wxUSE_DEBUG_CONTEXT
5379 fi
5380
5381 { echo "$as_me:$LINENO: result: $result" >&5
5382 echo "${ECHO_T}$result" >&6; }
5383
5384
5385 enablestring=
5386 defaultval=
5387 if test -z "$defaultval"; then
5388 if test x"$enablestring" = xdisable; then
5389 defaultval=yes
5390 else
5391 defaultval=no
5392 fi
5393 fi
5394
5395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5396 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5397 # Check whether --enable-mem_tracing was given.
5398 if test "${enable_mem_tracing+set}" = set; then
5399 enableval=$enable_mem_tracing;
5400 if test "$enableval" = yes; then
5401 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5402 else
5403 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5404 fi
5405 cache=yes
5406
5407 else
5408
5409 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x ; then
5411 eval "DEFAULT_$LINE"
5412 cache=yes
5413 else
5414 cache=no
5415 fi
5416
5417 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5418
5419 fi
5420
5421
5422 eval "$wx_cv_use_mem_tracing"
5423 if test "x$cache" = xyes; then
5424 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5425 fi
5426
5427 if test x"$enablestring" = xdisable; then
5428 if test $wxUSE_MEM_TRACING = yes; then
5429 result=no
5430 else
5431 result=yes
5432 fi
5433 else
5434 result=$wxUSE_MEM_TRACING
5435 fi
5436
5437 { echo "$as_me:$LINENO: result: $result" >&5
5438 echo "${ECHO_T}$result" >&6; }
5439
5440
5441 enablestring=
5442 defaultval=
5443 if test -z "$defaultval"; then
5444 if test x"$enablestring" = xdisable; then
5445 defaultval=yes
5446 else
5447 defaultval=no
5448 fi
5449 fi
5450
5451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5453 # Check whether --enable-profile was given.
5454 if test "${enable_profile+set}" = set; then
5455 enableval=$enable_profile;
5456 if test "$enableval" = yes; then
5457 wx_cv_use_profile='wxUSE_PROFILE=yes'
5458 else
5459 wx_cv_use_profile='wxUSE_PROFILE=no'
5460 fi
5461 cache=yes
5462
5463 else
5464
5465 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5466 if test "x$LINE" != x ; then
5467 eval "DEFAULT_$LINE"
5468 cache=yes
5469 else
5470 cache=no
5471 fi
5472
5473 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5474
5475 fi
5476
5477
5478 eval "$wx_cv_use_profile"
5479 if test "x$cache" = xyes; then
5480 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5481 fi
5482
5483 if test x"$enablestring" = xdisable; then
5484 if test $wxUSE_PROFILE = yes; then
5485 result=no
5486 else
5487 result=yes
5488 fi
5489 else
5490 result=$wxUSE_PROFILE
5491 fi
5492
5493 { echo "$as_me:$LINENO: result: $result" >&5
5494 echo "${ECHO_T}$result" >&6; }
5495
5496
5497 enablestring=
5498 defaultval=
5499 if test -z "$defaultval"; then
5500 if test x"$enablestring" = xdisable; then
5501 defaultval=yes
5502 else
5503 defaultval=no
5504 fi
5505 fi
5506
5507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5508 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5509 # Check whether --enable-no_rtti was given.
5510 if test "${enable_no_rtti+set}" = set; then
5511 enableval=$enable_no_rtti;
5512 if test "$enableval" = yes; then
5513 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5514 else
5515 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5516 fi
5517 cache=yes
5518
5519 else
5520
5521 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x ; then
5523 eval "DEFAULT_$LINE"
5524 cache=yes
5525 else
5526 cache=no
5527 fi
5528
5529 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5530
5531 fi
5532
5533
5534 eval "$wx_cv_use_no_rtti"
5535 if test "x$cache" = xyes; then
5536 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5537 fi
5538
5539 if test x"$enablestring" = xdisable; then
5540 if test $wxUSE_NO_RTTI = yes; then
5541 result=no
5542 else
5543 result=yes
5544 fi
5545 else
5546 result=$wxUSE_NO_RTTI
5547 fi
5548
5549 { echo "$as_me:$LINENO: result: $result" >&5
5550 echo "${ECHO_T}$result" >&6; }
5551
5552
5553 enablestring=
5554 defaultval=
5555 if test -z "$defaultval"; then
5556 if test x"$enablestring" = xdisable; then
5557 defaultval=yes
5558 else
5559 defaultval=no
5560 fi
5561 fi
5562
5563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5565 # Check whether --enable-no_exceptions was given.
5566 if test "${enable_no_exceptions+set}" = set; then
5567 enableval=$enable_no_exceptions;
5568 if test "$enableval" = yes; then
5569 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5570 else
5571 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5572 fi
5573 cache=yes
5574
5575 else
5576
5577 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x ; then
5579 eval "DEFAULT_$LINE"
5580 cache=yes
5581 else
5582 cache=no
5583 fi
5584
5585 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5586
5587 fi
5588
5589
5590 eval "$wx_cv_use_no_exceptions"
5591 if test "x$cache" = xyes; then
5592 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5593 fi
5594
5595 if test x"$enablestring" = xdisable; then
5596 if test $wxUSE_NO_EXCEPTIONS = yes; then
5597 result=no
5598 else
5599 result=yes
5600 fi
5601 else
5602 result=$wxUSE_NO_EXCEPTIONS
5603 fi
5604
5605 { echo "$as_me:$LINENO: result: $result" >&5
5606 echo "${ECHO_T}$result" >&6; }
5607
5608
5609 enablestring=
5610 defaultval=
5611 if test -z "$defaultval"; then
5612 if test x"$enablestring" = xdisable; then
5613 defaultval=yes
5614 else
5615 defaultval=no
5616 fi
5617 fi
5618
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5621 # Check whether --enable-permissive was given.
5622 if test "${enable_permissive+set}" = set; then
5623 enableval=$enable_permissive;
5624 if test "$enableval" = yes; then
5625 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5626 else
5627 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5628 fi
5629 cache=yes
5630
5631 else
5632
5633 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5634 if test "x$LINE" != x ; then
5635 eval "DEFAULT_$LINE"
5636 cache=yes
5637 else
5638 cache=no
5639 fi
5640
5641 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5642
5643 fi
5644
5645
5646 eval "$wx_cv_use_permissive"
5647 if test "x$cache" = xyes; then
5648 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5649 fi
5650
5651 if test x"$enablestring" = xdisable; then
5652 if test $wxUSE_PERMISSIVE = yes; then
5653 result=no
5654 else
5655 result=yes
5656 fi
5657 else
5658 result=$wxUSE_PERMISSIVE
5659 fi
5660
5661 { echo "$as_me:$LINENO: result: $result" >&5
5662 echo "${ECHO_T}$result" >&6; }
5663
5664
5665 enablestring=
5666 defaultval=
5667 if test -z "$defaultval"; then
5668 if test x"$enablestring" = xdisable; then
5669 defaultval=yes
5670 else
5671 defaultval=no
5672 fi
5673 fi
5674
5675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5677 # Check whether --enable-no_deps was given.
5678 if test "${enable_no_deps+set}" = set; then
5679 enableval=$enable_no_deps;
5680 if test "$enableval" = yes; then
5681 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5682 else
5683 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5684 fi
5685 cache=yes
5686
5687 else
5688
5689 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x ; then
5691 eval "DEFAULT_$LINE"
5692 cache=yes
5693 else
5694 cache=no
5695 fi
5696
5697 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5698
5699 fi
5700
5701
5702 eval "$wx_cv_use_no_deps"
5703 if test "x$cache" = xyes; then
5704 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5705 fi
5706
5707 if test x"$enablestring" = xdisable; then
5708 if test $wxUSE_NO_DEPS = yes; then
5709 result=no
5710 else
5711 result=yes
5712 fi
5713 else
5714 result=$wxUSE_NO_DEPS
5715 fi
5716
5717 { echo "$as_me:$LINENO: result: $result" >&5
5718 echo "${ECHO_T}$result" >&6; }
5719
5720
5721 enablestring=disable
5722 defaultval=
5723 if test -z "$defaultval"; then
5724 if test x"$enablestring" = xdisable; then
5725 defaultval=yes
5726 else
5727 defaultval=no
5728 fi
5729 fi
5730
5731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5732 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5733 # Check whether --enable-vararg_macros was given.
5734 if test "${enable_vararg_macros+set}" = set; then
5735 enableval=$enable_vararg_macros;
5736 if test "$enableval" = yes; then
5737 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5738 else
5739 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5740 fi
5741 cache=yes
5742
5743 else
5744
5745 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x ; then
5747 eval "DEFAULT_$LINE"
5748 cache=yes
5749 else
5750 cache=no
5751 fi
5752
5753 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5754
5755 fi
5756
5757
5758 eval "$wx_cv_use_vararg_macros"
5759 if test "x$cache" = xyes; then
5760 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5761 fi
5762
5763 if test x"$enablestring" = xdisable; then
5764 if test $wxUSE_VARARG_MACROS = yes; then
5765 result=no
5766 else
5767 result=yes
5768 fi
5769 else
5770 result=$wxUSE_VARARG_MACROS
5771 fi
5772
5773 { echo "$as_me:$LINENO: result: $result" >&5
5774 echo "${ECHO_T}$result" >&6; }
5775
5776
5777 enablestring=
5778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5779 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5780 # Check whether --enable-universal_binary was given.
5781 if test "${enable_universal_binary+set}" = set; then
5782 enableval=$enable_universal_binary;
5783 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5784 cache=yes
5785
5786 else
5787
5788 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5791 cache=yes
5792 else
5793 cache=no
5794 fi
5795
5796 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5797
5798 fi
5799
5800
5801 eval "$wx_cv_use_universal_binary"
5802 if test "x$cache" = xyes; then
5803 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5804 fi
5805
5806 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5807 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5808
5809
5810
5811 enablestring=
5812 defaultval=
5813 if test -z "$defaultval"; then
5814 if test x"$enablestring" = xdisable; then
5815 defaultval=yes
5816 else
5817 defaultval=no
5818 fi
5819 fi
5820
5821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5823 # Check whether --enable-compat26 was given.
5824 if test "${enable_compat26+set}" = set; then
5825 enableval=$enable_compat26;
5826 if test "$enableval" = yes; then
5827 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5828 else
5829 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5830 fi
5831 cache=yes
5832
5833 else
5834
5835 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5838 cache=yes
5839 else
5840 cache=no
5841 fi
5842
5843 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5844
5845 fi
5846
5847
5848 eval "$wx_cv_use_compat26"
5849 if test "x$cache" = xyes; then
5850 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5851 fi
5852
5853 if test x"$enablestring" = xdisable; then
5854 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5855 result=no
5856 else
5857 result=yes
5858 fi
5859 else
5860 result=$WXWIN_COMPATIBILITY_2_6
5861 fi
5862
5863 { echo "$as_me:$LINENO: result: $result" >&5
5864 echo "${ECHO_T}$result" >&6; }
5865
5866
5867 enablestring=disable
5868 defaultval=
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5871 defaultval=yes
5872 else
5873 defaultval=no
5874 fi
5875 fi
5876
5877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5879 # Check whether --enable-compat28 was given.
5880 if test "${enable_compat28+set}" = set; then
5881 enableval=$enable_compat28;
5882 if test "$enableval" = yes; then
5883 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5884 else
5885 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5886 fi
5887 cache=yes
5888
5889 else
5890
5891 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5894 cache=yes
5895 else
5896 cache=no
5897 fi
5898
5899 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5900
5901 fi
5902
5903
5904 eval "$wx_cv_use_compat28"
5905 if test "x$cache" = xyes; then
5906 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5907 fi
5908
5909 if test x"$enablestring" = xdisable; then
5910 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5911 result=no
5912 else
5913 result=yes
5914 fi
5915 else
5916 result=$WXWIN_COMPATIBILITY_2_8
5917 fi
5918
5919 { echo "$as_me:$LINENO: result: $result" >&5
5920 echo "${ECHO_T}$result" >&6; }
5921
5922
5923
5924 enablestring=disable
5925 defaultval=
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5928 defaultval=yes
5929 else
5930 defaultval=no
5931 fi
5932 fi
5933
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5936 # Check whether --enable-rpath was given.
5937 if test "${enable_rpath+set}" = set; then
5938 enableval=$enable_rpath;
5939 if test "$enableval" = yes; then
5940 wx_cv_use_rpath='wxUSE_RPATH=yes'
5941 else
5942 wx_cv_use_rpath='wxUSE_RPATH=no'
5943 fi
5944 cache=yes
5945
5946 else
5947
5948 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 cache=yes
5952 else
5953 cache=no
5954 fi
5955
5956 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5957
5958 fi
5959
5960
5961 eval "$wx_cv_use_rpath"
5962 if test "x$cache" = xyes; then
5963 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5964 fi
5965
5966 if test x"$enablestring" = xdisable; then
5967 if test $wxUSE_RPATH = yes; then
5968 result=no
5969 else
5970 result=yes
5971 fi
5972 else
5973 result=$wxUSE_RPATH
5974 fi
5975
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5978
5979
5980
5981 enablestring=
5982 defaultval=
5983 if test -z "$defaultval"; then
5984 if test x"$enablestring" = xdisable; then
5985 defaultval=yes
5986 else
5987 defaultval=no
5988 fi
5989 fi
5990
5991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5993 # Check whether --enable-objc_uniquifying was given.
5994 if test "${enable_objc_uniquifying+set}" = set; then
5995 enableval=$enable_objc_uniquifying;
5996 if test "$enableval" = yes; then
5997 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5998 else
5999 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6000 fi
6001 cache=yes
6002
6003 else
6004
6005 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 cache=yes
6009 else
6010 cache=no
6011 fi
6012
6013 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6014
6015 fi
6016
6017
6018 eval "$wx_cv_use_objc_uniquifying"
6019 if test "x$cache" = xyes; then
6020 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
6021 fi
6022
6023 if test x"$enablestring" = xdisable; then
6024 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
6025 result=no
6026 else
6027 result=yes
6028 fi
6029 else
6030 result=$wxUSE_OBJC_UNIQUIFYING
6031 fi
6032
6033 { echo "$as_me:$LINENO: result: $result" >&5
6034 echo "${ECHO_T}$result" >&6; }
6035
6036
6037
6038 enablestring=disable
6039 defaultval=
6040 if test -z "$defaultval"; then
6041 if test x"$enablestring" = xdisable; then
6042 defaultval=yes
6043 else
6044 defaultval=no
6045 fi
6046 fi
6047
6048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6049 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6050 # Check whether --enable-visibility was given.
6051 if test "${enable_visibility+set}" = set; then
6052 enableval=$enable_visibility;
6053 if test "$enableval" = yes; then
6054 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6055 else
6056 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6057 fi
6058 cache=yes
6059
6060 else
6061
6062 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6063 if test "x$LINE" != x ; then
6064 eval "DEFAULT_$LINE"
6065 cache=yes
6066 else
6067 cache=no
6068 fi
6069
6070 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6071
6072 fi
6073
6074
6075 eval "$wx_cv_use_visibility"
6076 if test "x$cache" = xyes; then
6077 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6078 fi
6079
6080 if test x"$enablestring" = xdisable; then
6081 if test $wxUSE_VISIBILITY = yes; then
6082 result=no
6083 else
6084 result=yes
6085 fi
6086 else
6087 result=$wxUSE_VISIBILITY
6088 fi
6089
6090 { echo "$as_me:$LINENO: result: $result" >&5
6091 echo "${ECHO_T}$result" >&6; }
6092
6093
6094
6095
6096 enablestring=
6097 defaultval=$wxUSE_ALL_FEATURES
6098 if test -z "$defaultval"; then
6099 if test x"$enablestring" = xdisable; then
6100 defaultval=yes
6101 else
6102 defaultval=no
6103 fi
6104 fi
6105
6106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6108 # Check whether --enable-intl was given.
6109 if test "${enable_intl+set}" = set; then
6110 enableval=$enable_intl;
6111 if test "$enableval" = yes; then
6112 wx_cv_use_intl='wxUSE_INTL=yes'
6113 else
6114 wx_cv_use_intl='wxUSE_INTL=no'
6115 fi
6116 cache=yes
6117
6118 else
6119
6120 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6123 cache=yes
6124 else
6125 cache=no
6126 fi
6127
6128 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6129
6130 fi
6131
6132
6133 eval "$wx_cv_use_intl"
6134 if test "x$cache" = xyes; then
6135 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6136 fi
6137
6138 if test x"$enablestring" = xdisable; then
6139 if test $wxUSE_INTL = yes; then
6140 result=no
6141 else
6142 result=yes
6143 fi
6144 else
6145 result=$wxUSE_INTL
6146 fi
6147
6148 { echo "$as_me:$LINENO: result: $result" >&5
6149 echo "${ECHO_T}$result" >&6; }
6150
6151
6152 enablestring=
6153 defaultval=$wxUSE_ALL_FEATURES
6154 if test -z "$defaultval"; then
6155 if test x"$enablestring" = xdisable; then
6156 defaultval=yes
6157 else
6158 defaultval=no
6159 fi
6160 fi
6161
6162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6163 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6164 # Check whether --enable-config was given.
6165 if test "${enable_config+set}" = set; then
6166 enableval=$enable_config;
6167 if test "$enableval" = yes; then
6168 wx_cv_use_config='wxUSE_CONFIG=yes'
6169 else
6170 wx_cv_use_config='wxUSE_CONFIG=no'
6171 fi
6172 cache=yes
6173
6174 else
6175
6176 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6177 if test "x$LINE" != x ; then
6178 eval "DEFAULT_$LINE"
6179 cache=yes
6180 else
6181 cache=no
6182 fi
6183
6184 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6185
6186 fi
6187
6188
6189 eval "$wx_cv_use_config"
6190 if test "x$cache" = xyes; then
6191 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6192 fi
6193
6194 if test x"$enablestring" = xdisable; then
6195 if test $wxUSE_CONFIG = yes; then
6196 result=no
6197 else
6198 result=yes
6199 fi
6200 else
6201 result=$wxUSE_CONFIG
6202 fi
6203
6204 { echo "$as_me:$LINENO: result: $result" >&5
6205 echo "${ECHO_T}$result" >&6; }
6206
6207
6208
6209 enablestring=
6210 defaultval=$wxUSE_ALL_FEATURES
6211 if test -z "$defaultval"; then
6212 if test x"$enablestring" = xdisable; then
6213 defaultval=yes
6214 else
6215 defaultval=no
6216 fi
6217 fi
6218
6219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6221 # Check whether --enable-protocols was given.
6222 if test "${enable_protocols+set}" = set; then
6223 enableval=$enable_protocols;
6224 if test "$enableval" = yes; then
6225 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6226 else
6227 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6228 fi
6229 cache=yes
6230
6231 else
6232
6233 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6234 if test "x$LINE" != x ; then
6235 eval "DEFAULT_$LINE"
6236 cache=yes
6237 else
6238 cache=no
6239 fi
6240
6241 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6242
6243 fi
6244
6245
6246 eval "$wx_cv_use_protocols"
6247 if test "x$cache" = xyes; then
6248 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6249 fi
6250
6251 if test x"$enablestring" = xdisable; then
6252 if test $wxUSE_PROTOCOL = yes; then
6253 result=no
6254 else
6255 result=yes
6256 fi
6257 else
6258 result=$wxUSE_PROTOCOL
6259 fi
6260
6261 { echo "$as_me:$LINENO: result: $result" >&5
6262 echo "${ECHO_T}$result" >&6; }
6263
6264
6265 enablestring=
6266 defaultval=$wxUSE_ALL_FEATURES
6267 if test -z "$defaultval"; then
6268 if test x"$enablestring" = xdisable; then
6269 defaultval=yes
6270 else
6271 defaultval=no
6272 fi
6273 fi
6274
6275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6277 # Check whether --enable-ftp was given.
6278 if test "${enable_ftp+set}" = set; then
6279 enableval=$enable_ftp;
6280 if test "$enableval" = yes; then
6281 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6282 else
6283 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6284 fi
6285 cache=yes
6286
6287 else
6288
6289 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x ; then
6291 eval "DEFAULT_$LINE"
6292 cache=yes
6293 else
6294 cache=no
6295 fi
6296
6297 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6298
6299 fi
6300
6301
6302 eval "$wx_cv_use_ftp"
6303 if test "x$cache" = xyes; then
6304 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6305 fi
6306
6307 if test x"$enablestring" = xdisable; then
6308 if test $wxUSE_PROTOCOL_FTP = yes; then
6309 result=no
6310 else
6311 result=yes
6312 fi
6313 else
6314 result=$wxUSE_PROTOCOL_FTP
6315 fi
6316
6317 { echo "$as_me:$LINENO: result: $result" >&5
6318 echo "${ECHO_T}$result" >&6; }
6319
6320
6321 enablestring=
6322 defaultval=$wxUSE_ALL_FEATURES
6323 if test -z "$defaultval"; then
6324 if test x"$enablestring" = xdisable; then
6325 defaultval=yes
6326 else
6327 defaultval=no
6328 fi
6329 fi
6330
6331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6333 # Check whether --enable-http was given.
6334 if test "${enable_http+set}" = set; then
6335 enableval=$enable_http;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6338 else
6339 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6340 fi
6341 cache=yes
6342
6343 else
6344
6345 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x ; then
6347 eval "DEFAULT_$LINE"
6348 cache=yes
6349 else
6350 cache=no
6351 fi
6352
6353 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6354
6355 fi
6356
6357
6358 eval "$wx_cv_use_http"
6359 if test "x$cache" = xyes; then
6360 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6361 fi
6362
6363 if test x"$enablestring" = xdisable; then
6364 if test $wxUSE_PROTOCOL_HTTP = yes; then
6365 result=no
6366 else
6367 result=yes
6368 fi
6369 else
6370 result=$wxUSE_PROTOCOL_HTTP
6371 fi
6372
6373 { echo "$as_me:$LINENO: result: $result" >&5
6374 echo "${ECHO_T}$result" >&6; }
6375
6376
6377 enablestring=
6378 defaultval=$wxUSE_ALL_FEATURES
6379 if test -z "$defaultval"; then
6380 if test x"$enablestring" = xdisable; then
6381 defaultval=yes
6382 else
6383 defaultval=no
6384 fi
6385 fi
6386
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6389 # Check whether --enable-fileproto was given.
6390 if test "${enable_fileproto+set}" = set; then
6391 enableval=$enable_fileproto;
6392 if test "$enableval" = yes; then
6393 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6394 else
6395 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6396 fi
6397 cache=yes
6398
6399 else
6400
6401 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 cache=yes
6405 else
6406 cache=no
6407 fi
6408
6409 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6410
6411 fi
6412
6413
6414 eval "$wx_cv_use_fileproto"
6415 if test "x$cache" = xyes; then
6416 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test x"$enablestring" = xdisable; then
6420 if test $wxUSE_PROTOCOL_FILE = yes; then
6421 result=no
6422 else
6423 result=yes
6424 fi
6425 else
6426 result=$wxUSE_PROTOCOL_FILE
6427 fi
6428
6429 { echo "$as_me:$LINENO: result: $result" >&5
6430 echo "${ECHO_T}$result" >&6; }
6431
6432
6433 enablestring=
6434 defaultval=$wxUSE_ALL_FEATURES
6435 if test -z "$defaultval"; then
6436 if test x"$enablestring" = xdisable; then
6437 defaultval=yes
6438 else
6439 defaultval=no
6440 fi
6441 fi
6442
6443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6445 # Check whether --enable-sockets was given.
6446 if test "${enable_sockets+set}" = set; then
6447 enableval=$enable_sockets;
6448 if test "$enableval" = yes; then
6449 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6450 else
6451 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6452 fi
6453 cache=yes
6454
6455 else
6456
6457 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6458 if test "x$LINE" != x ; then
6459 eval "DEFAULT_$LINE"
6460 cache=yes
6461 else
6462 cache=no
6463 fi
6464
6465 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6466
6467 fi
6468
6469
6470 eval "$wx_cv_use_sockets"
6471 if test "x$cache" = xyes; then
6472 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6473 fi
6474
6475 if test x"$enablestring" = xdisable; then
6476 if test $wxUSE_SOCKETS = yes; then
6477 result=no
6478 else
6479 result=yes
6480 fi
6481 else
6482 result=$wxUSE_SOCKETS
6483 fi
6484
6485 { echo "$as_me:$LINENO: result: $result" >&5
6486 echo "${ECHO_T}$result" >&6; }
6487
6488
6489 enablestring=
6490 defaultval=$wxUSE_ALL_FEATURES
6491 if test -z "$defaultval"; then
6492 if test x"$enablestring" = xdisable; then
6493 defaultval=yes
6494 else
6495 defaultval=no
6496 fi
6497 fi
6498
6499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6501 # Check whether --enable-ole was given.
6502 if test "${enable_ole+set}" = set; then
6503 enableval=$enable_ole;
6504 if test "$enableval" = yes; then
6505 wx_cv_use_ole='wxUSE_OLE=yes'
6506 else
6507 wx_cv_use_ole='wxUSE_OLE=no'
6508 fi
6509 cache=yes
6510
6511 else
6512
6513 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6516 cache=yes
6517 else
6518 cache=no
6519 fi
6520
6521 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6522
6523 fi
6524
6525
6526 eval "$wx_cv_use_ole"
6527 if test "x$cache" = xyes; then
6528 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6529 fi
6530
6531 if test x"$enablestring" = xdisable; then
6532 if test $wxUSE_OLE = yes; then
6533 result=no
6534 else
6535 result=yes
6536 fi
6537 else
6538 result=$wxUSE_OLE
6539 fi
6540
6541 { echo "$as_me:$LINENO: result: $result" >&5
6542 echo "${ECHO_T}$result" >&6; }
6543
6544
6545 enablestring=
6546 defaultval=$wxUSE_ALL_FEATURES
6547 if test -z "$defaultval"; then
6548 if test x"$enablestring" = xdisable; then
6549 defaultval=yes
6550 else
6551 defaultval=no
6552 fi
6553 fi
6554
6555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6556 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6557 # Check whether --enable-dataobj was given.
6558 if test "${enable_dataobj+set}" = set; then
6559 enableval=$enable_dataobj;
6560 if test "$enableval" = yes; then
6561 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6562 else
6563 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6564 fi
6565 cache=yes
6566
6567 else
6568
6569 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x ; then
6571 eval "DEFAULT_$LINE"
6572 cache=yes
6573 else
6574 cache=no
6575 fi
6576
6577 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6578
6579 fi
6580
6581
6582 eval "$wx_cv_use_dataobj"
6583 if test "x$cache" = xyes; then
6584 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test x"$enablestring" = xdisable; then
6588 if test $wxUSE_DATAOBJ = yes; then
6589 result=no
6590 else
6591 result=yes
6592 fi
6593 else
6594 result=$wxUSE_DATAOBJ
6595 fi
6596
6597 { echo "$as_me:$LINENO: result: $result" >&5
6598 echo "${ECHO_T}$result" >&6; }
6599
6600
6601
6602 enablestring=
6603 defaultval=$wxUSE_ALL_FEATURES
6604 if test -z "$defaultval"; then
6605 if test x"$enablestring" = xdisable; then
6606 defaultval=yes
6607 else
6608 defaultval=no
6609 fi
6610 fi
6611
6612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6613 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6614 # Check whether --enable-ipc was given.
6615 if test "${enable_ipc+set}" = set; then
6616 enableval=$enable_ipc;
6617 if test "$enableval" = yes; then
6618 wx_cv_use_ipc='wxUSE_IPC=yes'
6619 else
6620 wx_cv_use_ipc='wxUSE_IPC=no'
6621 fi
6622 cache=yes
6623
6624 else
6625
6626 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 cache=yes
6630 else
6631 cache=no
6632 fi
6633
6634 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6635
6636 fi
6637
6638
6639 eval "$wx_cv_use_ipc"
6640 if test "x$cache" = xyes; then
6641 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6642 fi
6643
6644 if test x"$enablestring" = xdisable; then
6645 if test $wxUSE_IPC = yes; then
6646 result=no
6647 else
6648 result=yes
6649 fi
6650 else
6651 result=$wxUSE_IPC
6652 fi
6653
6654 { echo "$as_me:$LINENO: result: $result" >&5
6655 echo "${ECHO_T}$result" >&6; }
6656
6657
6658
6659 enablestring=
6660 defaultval=$wxUSE_ALL_FEATURES
6661 if test -z "$defaultval"; then
6662 if test x"$enablestring" = xdisable; then
6663 defaultval=yes
6664 else
6665 defaultval=no
6666 fi
6667 fi
6668
6669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6671 # Check whether --enable-baseevtloop was given.
6672 if test "${enable_baseevtloop+set}" = set; then
6673 enableval=$enable_baseevtloop;
6674 if test "$enableval" = yes; then
6675 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6676 else
6677 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6678 fi
6679 cache=yes
6680
6681 else
6682
6683 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6684 if test "x$LINE" != x ; then
6685 eval "DEFAULT_$LINE"
6686 cache=yes
6687 else
6688 cache=no
6689 fi
6690
6691 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6692
6693 fi
6694
6695
6696 eval "$wx_cv_use_baseevtloop"
6697 if test "x$cache" = xyes; then
6698 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6699 fi
6700
6701 if test x"$enablestring" = xdisable; then
6702 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6703 result=no
6704 else
6705 result=yes
6706 fi
6707 else
6708 result=$wxUSE_CONSOLE_EVENTLOOP
6709 fi
6710
6711 { echo "$as_me:$LINENO: result: $result" >&5
6712 echo "${ECHO_T}$result" >&6; }
6713
6714
6715 enablestring=
6716 defaultval=$wxUSE_ALL_FEATURES
6717 if test -z "$defaultval"; then
6718 if test x"$enablestring" = xdisable; then
6719 defaultval=yes
6720 else
6721 defaultval=no
6722 fi
6723 fi
6724
6725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6727 # Check whether --enable-epollloop was given.
6728 if test "${enable_epollloop+set}" = set; then
6729 enableval=$enable_epollloop;
6730 if test "$enableval" = yes; then
6731 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6732 else
6733 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6734 fi
6735 cache=yes
6736
6737 else
6738
6739 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6740 if test "x$LINE" != x ; then
6741 eval "DEFAULT_$LINE"
6742 cache=yes
6743 else
6744 cache=no
6745 fi
6746
6747 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6748
6749 fi
6750
6751
6752 eval "$wx_cv_use_epollloop"
6753 if test "x$cache" = xyes; then
6754 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6755 fi
6756
6757 if test x"$enablestring" = xdisable; then
6758 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6759 result=no
6760 else
6761 result=yes
6762 fi
6763 else
6764 result=$wxUSE_EPOLL_DISPATCHER
6765 fi
6766
6767 { echo "$as_me:$LINENO: result: $result" >&5
6768 echo "${ECHO_T}$result" >&6; }
6769
6770
6771 enablestring=
6772 defaultval=$wxUSE_ALL_FEATURES
6773 if test -z "$defaultval"; then
6774 if test x"$enablestring" = xdisable; then
6775 defaultval=yes
6776 else
6777 defaultval=no
6778 fi
6779 fi
6780
6781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6782 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6783 # Check whether --enable-selectloop was given.
6784 if test "${enable_selectloop+set}" = set; then
6785 enableval=$enable_selectloop;
6786 if test "$enableval" = yes; then
6787 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6788 else
6789 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6790 fi
6791 cache=yes
6792
6793 else
6794
6795 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x ; then
6797 eval "DEFAULT_$LINE"
6798 cache=yes
6799 else
6800 cache=no
6801 fi
6802
6803 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6804
6805 fi
6806
6807
6808 eval "$wx_cv_use_selectloop"
6809 if test "x$cache" = xyes; then
6810 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6811 fi
6812
6813 if test x"$enablestring" = xdisable; then
6814 if test $wxUSE_SELECT_DISPATCHER = yes; then
6815 result=no
6816 else
6817 result=yes
6818 fi
6819 else
6820 result=$wxUSE_SELECT_DISPATCHER
6821 fi
6822
6823 { echo "$as_me:$LINENO: result: $result" >&5
6824 echo "${ECHO_T}$result" >&6; }
6825
6826
6827
6828 enablestring=
6829 defaultval=$wxUSE_ALL_FEATURES
6830 if test -z "$defaultval"; then
6831 if test x"$enablestring" = xdisable; then
6832 defaultval=yes
6833 else
6834 defaultval=no
6835 fi
6836 fi
6837
6838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6840 # Check whether --enable-apple_ieee was given.
6841 if test "${enable_apple_ieee+set}" = set; then
6842 enableval=$enable_apple_ieee;
6843 if test "$enableval" = yes; then
6844 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6845 else
6846 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6847 fi
6848 cache=yes
6849
6850 else
6851
6852 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x ; then
6854 eval "DEFAULT_$LINE"
6855 cache=yes
6856 else
6857 cache=no
6858 fi
6859
6860 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6861
6862 fi
6863
6864
6865 eval "$wx_cv_use_apple_ieee"
6866 if test "x$cache" = xyes; then
6867 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6868 fi
6869
6870 if test x"$enablestring" = xdisable; then
6871 if test $wxUSE_APPLE_IEEE = yes; then
6872 result=no
6873 else
6874 result=yes
6875 fi
6876 else
6877 result=$wxUSE_APPLE_IEEE
6878 fi
6879
6880 { echo "$as_me:$LINENO: result: $result" >&5
6881 echo "${ECHO_T}$result" >&6; }
6882
6883
6884 enablestring=
6885 defaultval=$wxUSE_ALL_FEATURES
6886 if test -z "$defaultval"; then
6887 if test x"$enablestring" = xdisable; then
6888 defaultval=yes
6889 else
6890 defaultval=no
6891 fi
6892 fi
6893
6894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6896 # Check whether --enable-arcstream was given.
6897 if test "${enable_arcstream+set}" = set; then
6898 enableval=$enable_arcstream;
6899 if test "$enableval" = yes; then
6900 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6901 else
6902 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6903 fi
6904 cache=yes
6905
6906 else
6907
6908 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6909 if test "x$LINE" != x ; then
6910 eval "DEFAULT_$LINE"
6911 cache=yes
6912 else
6913 cache=no
6914 fi
6915
6916 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6917
6918 fi
6919
6920
6921 eval "$wx_cv_use_arcstream"
6922 if test "x$cache" = xyes; then
6923 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6924 fi
6925
6926 if test x"$enablestring" = xdisable; then
6927 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6928 result=no
6929 else
6930 result=yes
6931 fi
6932 else
6933 result=$wxUSE_ARCHIVE_STREAMS
6934 fi
6935
6936 { echo "$as_me:$LINENO: result: $result" >&5
6937 echo "${ECHO_T}$result" >&6; }
6938
6939
6940 enablestring=
6941 defaultval=$wxUSE_ALL_FEATURES
6942 if test -z "$defaultval"; then
6943 if test x"$enablestring" = xdisable; then
6944 defaultval=yes
6945 else
6946 defaultval=no
6947 fi
6948 fi
6949
6950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6952 # Check whether --enable-base64 was given.
6953 if test "${enable_base64+set}" = set; then
6954 enableval=$enable_base64;
6955 if test "$enableval" = yes; then
6956 wx_cv_use_base64='wxUSE_BASE64=yes'
6957 else
6958 wx_cv_use_base64='wxUSE_BASE64=no'
6959 fi
6960 cache=yes
6961
6962 else
6963
6964 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6965 if test "x$LINE" != x ; then
6966 eval "DEFAULT_$LINE"
6967 cache=yes
6968 else
6969 cache=no
6970 fi
6971
6972 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6973
6974 fi
6975
6976
6977 eval "$wx_cv_use_base64"
6978 if test "x$cache" = xyes; then
6979 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6980 fi
6981
6982 if test x"$enablestring" = xdisable; then
6983 if test $wxUSE_BASE64 = yes; then
6984 result=no
6985 else
6986 result=yes
6987 fi
6988 else
6989 result=$wxUSE_BASE64
6990 fi
6991
6992 { echo "$as_me:$LINENO: result: $result" >&5
6993 echo "${ECHO_T}$result" >&6; }
6994
6995
6996 enablestring=
6997 defaultval=$wxUSE_ALL_FEATURES
6998 if test -z "$defaultval"; then
6999 if test x"$enablestring" = xdisable; then
7000 defaultval=yes
7001 else
7002 defaultval=no
7003 fi
7004 fi
7005
7006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7007 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7008 # Check whether --enable-backtrace was given.
7009 if test "${enable_backtrace+set}" = set; then
7010 enableval=$enable_backtrace;
7011 if test "$enableval" = yes; then
7012 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7013 else
7014 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7015 fi
7016 cache=yes
7017
7018 else
7019
7020 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x ; then
7022 eval "DEFAULT_$LINE"
7023 cache=yes
7024 else
7025 cache=no
7026 fi
7027
7028 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7029
7030 fi
7031
7032
7033 eval "$wx_cv_use_backtrace"
7034 if test "x$cache" = xyes; then
7035 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test x"$enablestring" = xdisable; then
7039 if test $wxUSE_STACKWALKER = yes; then
7040 result=no
7041 else
7042 result=yes
7043 fi
7044 else
7045 result=$wxUSE_STACKWALKER
7046 fi
7047
7048 { echo "$as_me:$LINENO: result: $result" >&5
7049 echo "${ECHO_T}$result" >&6; }
7050
7051
7052 enablestring=
7053 defaultval=$wxUSE_ALL_FEATURES
7054 if test -z "$defaultval"; then
7055 if test x"$enablestring" = xdisable; then
7056 defaultval=yes
7057 else
7058 defaultval=no
7059 fi
7060 fi
7061
7062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7064 # Check whether --enable-catch_segvs was given.
7065 if test "${enable_catch_segvs+set}" = set; then
7066 enableval=$enable_catch_segvs;
7067 if test "$enableval" = yes; then
7068 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7069 else
7070 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7071 fi
7072 cache=yes
7073
7074 else
7075
7076 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x ; then
7078 eval "DEFAULT_$LINE"
7079 cache=yes
7080 else
7081 cache=no
7082 fi
7083
7084 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7085
7086 fi
7087
7088
7089 eval "$wx_cv_use_catch_segvs"
7090 if test "x$cache" = xyes; then
7091 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7092 fi
7093
7094 if test x"$enablestring" = xdisable; then
7095 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7096 result=no
7097 else
7098 result=yes
7099 fi
7100 else
7101 result=$wxUSE_ON_FATAL_EXCEPTION
7102 fi
7103
7104 { echo "$as_me:$LINENO: result: $result" >&5
7105 echo "${ECHO_T}$result" >&6; }
7106
7107
7108 enablestring=
7109 defaultval=$wxUSE_ALL_FEATURES
7110 if test -z "$defaultval"; then
7111 if test x"$enablestring" = xdisable; then
7112 defaultval=yes
7113 else
7114 defaultval=no
7115 fi
7116 fi
7117
7118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7119 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7120 # Check whether --enable-cmdline was given.
7121 if test "${enable_cmdline+set}" = set; then
7122 enableval=$enable_cmdline;
7123 if test "$enableval" = yes; then
7124 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7125 else
7126 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7127 fi
7128 cache=yes
7129
7130 else
7131
7132 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7133 if test "x$LINE" != x ; then
7134 eval "DEFAULT_$LINE"
7135 cache=yes
7136 else
7137 cache=no
7138 fi
7139
7140 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7141
7142 fi
7143
7144
7145 eval "$wx_cv_use_cmdline"
7146 if test "x$cache" = xyes; then
7147 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7148 fi
7149
7150 if test x"$enablestring" = xdisable; then
7151 if test $wxUSE_CMDLINE_PARSER = yes; then
7152 result=no
7153 else
7154 result=yes
7155 fi
7156 else
7157 result=$wxUSE_CMDLINE_PARSER
7158 fi
7159
7160 { echo "$as_me:$LINENO: result: $result" >&5
7161 echo "${ECHO_T}$result" >&6; }
7162
7163
7164 enablestring=
7165 defaultval=$wxUSE_ALL_FEATURES
7166 if test -z "$defaultval"; then
7167 if test x"$enablestring" = xdisable; then
7168 defaultval=yes
7169 else
7170 defaultval=no
7171 fi
7172 fi
7173
7174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7176 # Check whether --enable-datetime was given.
7177 if test "${enable_datetime+set}" = set; then
7178 enableval=$enable_datetime;
7179 if test "$enableval" = yes; then
7180 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7181 else
7182 wx_cv_use_datetime='wxUSE_DATETIME=no'
7183 fi
7184 cache=yes
7185
7186 else
7187
7188 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 cache=yes
7192 else
7193 cache=no
7194 fi
7195
7196 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7197
7198 fi
7199
7200
7201 eval "$wx_cv_use_datetime"
7202 if test "x$cache" = xyes; then
7203 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7204 fi
7205
7206 if test x"$enablestring" = xdisable; then
7207 if test $wxUSE_DATETIME = yes; then
7208 result=no
7209 else
7210 result=yes
7211 fi
7212 else
7213 result=$wxUSE_DATETIME
7214 fi
7215
7216 { echo "$as_me:$LINENO: result: $result" >&5
7217 echo "${ECHO_T}$result" >&6; }
7218
7219
7220 enablestring=
7221 defaultval=$wxUSE_ALL_FEATURES
7222 if test -z "$defaultval"; then
7223 if test x"$enablestring" = xdisable; then
7224 defaultval=yes
7225 else
7226 defaultval=no
7227 fi
7228 fi
7229
7230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7231 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7232 # Check whether --enable-debugreport was given.
7233 if test "${enable_debugreport+set}" = set; then
7234 enableval=$enable_debugreport;
7235 if test "$enableval" = yes; then
7236 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7237 else
7238 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7239 fi
7240 cache=yes
7241
7242 else
7243
7244 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7245 if test "x$LINE" != x ; then
7246 eval "DEFAULT_$LINE"
7247 cache=yes
7248 else
7249 cache=no
7250 fi
7251
7252 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7253
7254 fi
7255
7256
7257 eval "$wx_cv_use_debugreport"
7258 if test "x$cache" = xyes; then
7259 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7260 fi
7261
7262 if test x"$enablestring" = xdisable; then
7263 if test $wxUSE_DEBUGREPORT = yes; then
7264 result=no
7265 else
7266 result=yes
7267 fi
7268 else
7269 result=$wxUSE_DEBUGREPORT
7270 fi
7271
7272 { echo "$as_me:$LINENO: result: $result" >&5
7273 echo "${ECHO_T}$result" >&6; }
7274
7275
7276 enablestring=
7277 defaultval=$wxUSE_ALL_FEATURES
7278 if test -z "$defaultval"; then
7279 if test x"$enablestring" = xdisable; then
7280 defaultval=yes
7281 else
7282 defaultval=no
7283 fi
7284 fi
7285
7286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7287 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7288 # Check whether --enable-dialupman was given.
7289 if test "${enable_dialupman+set}" = set; then
7290 enableval=$enable_dialupman;
7291 if test "$enableval" = yes; then
7292 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7293 else
7294 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7295 fi
7296 cache=yes
7297
7298 else
7299
7300 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7301 if test "x$LINE" != x ; then
7302 eval "DEFAULT_$LINE"
7303 cache=yes
7304 else
7305 cache=no
7306 fi
7307
7308 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7309
7310 fi
7311
7312
7313 eval "$wx_cv_use_dialupman"
7314 if test "x$cache" = xyes; then
7315 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7316 fi
7317
7318 if test x"$enablestring" = xdisable; then
7319 if test $wxUSE_DIALUP_MANAGER = yes; then
7320 result=no
7321 else
7322 result=yes
7323 fi
7324 else
7325 result=$wxUSE_DIALUP_MANAGER
7326 fi
7327
7328 { echo "$as_me:$LINENO: result: $result" >&5
7329 echo "${ECHO_T}$result" >&6; }
7330
7331
7332 enablestring=
7333 defaultval=$wxUSE_ALL_FEATURES
7334 if test -z "$defaultval"; then
7335 if test x"$enablestring" = xdisable; then
7336 defaultval=yes
7337 else
7338 defaultval=no
7339 fi
7340 fi
7341
7342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7343 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7344 # Check whether --enable-dynlib was given.
7345 if test "${enable_dynlib+set}" = set; then
7346 enableval=$enable_dynlib;
7347 if test "$enableval" = yes; then
7348 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7349 else
7350 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7351 fi
7352 cache=yes
7353
7354 else
7355
7356 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x ; then
7358 eval "DEFAULT_$LINE"
7359 cache=yes
7360 else
7361 cache=no
7362 fi
7363
7364 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7365
7366 fi
7367
7368
7369 eval "$wx_cv_use_dynlib"
7370 if test "x$cache" = xyes; then
7371 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7372 fi
7373
7374 if test x"$enablestring" = xdisable; then
7375 if test $wxUSE_DYNLIB_CLASS = yes; then
7376 result=no
7377 else
7378 result=yes
7379 fi
7380 else
7381 result=$wxUSE_DYNLIB_CLASS
7382 fi
7383
7384 { echo "$as_me:$LINENO: result: $result" >&5
7385 echo "${ECHO_T}$result" >&6; }
7386
7387
7388 enablestring=
7389 defaultval=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x"$enablestring" = xdisable; then
7392 defaultval=yes
7393 else
7394 defaultval=no
7395 fi
7396 fi
7397
7398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7399 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7400 # Check whether --enable-dynamicloader was given.
7401 if test "${enable_dynamicloader+set}" = set; then
7402 enableval=$enable_dynamicloader;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7405 else
7406 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7407 fi
7408 cache=yes
7409
7410 else
7411
7412 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x ; then
7414 eval "DEFAULT_$LINE"
7415 cache=yes
7416 else
7417 cache=no
7418 fi
7419
7420 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7421
7422 fi
7423
7424
7425 eval "$wx_cv_use_dynamicloader"
7426 if test "x$cache" = xyes; then
7427 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7428 fi
7429
7430 if test x"$enablestring" = xdisable; then
7431 if test $wxUSE_DYNAMIC_LOADER = yes; then
7432 result=no
7433 else
7434 result=yes
7435 fi
7436 else
7437 result=$wxUSE_DYNAMIC_LOADER
7438 fi
7439
7440 { echo "$as_me:$LINENO: result: $result" >&5
7441 echo "${ECHO_T}$result" >&6; }
7442
7443
7444 enablestring=
7445 defaultval=$wxUSE_ALL_FEATURES
7446 if test -z "$defaultval"; then
7447 if test x"$enablestring" = xdisable; then
7448 defaultval=yes
7449 else
7450 defaultval=no
7451 fi
7452 fi
7453
7454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7455 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7456 # Check whether --enable-exceptions was given.
7457 if test "${enable_exceptions+set}" = set; then
7458 enableval=$enable_exceptions;
7459 if test "$enableval" = yes; then
7460 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7461 else
7462 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7463 fi
7464 cache=yes
7465
7466 else
7467
7468 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7469 if test "x$LINE" != x ; then
7470 eval "DEFAULT_$LINE"
7471 cache=yes
7472 else
7473 cache=no
7474 fi
7475
7476 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7477
7478 fi
7479
7480
7481 eval "$wx_cv_use_exceptions"
7482 if test "x$cache" = xyes; then
7483 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7484 fi
7485
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_EXCEPTIONS = yes; then
7488 result=no
7489 else
7490 result=yes
7491 fi
7492 else
7493 result=$wxUSE_EXCEPTIONS
7494 fi
7495
7496 { echo "$as_me:$LINENO: result: $result" >&5
7497 echo "${ECHO_T}$result" >&6; }
7498
7499
7500 enablestring=
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7504 defaultval=yes
7505 else
7506 defaultval=no
7507 fi
7508 fi
7509
7510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7512 # Check whether --enable-ffile was given.
7513 if test "${enable_ffile+set}" = set; then
7514 enableval=$enable_ffile;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_ffile='wxUSE_FFILE=yes'
7517 else
7518 wx_cv_use_ffile='wxUSE_FFILE=no'
7519 fi
7520 cache=yes
7521
7522 else
7523
7524 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x ; then
7526 eval "DEFAULT_$LINE"
7527 cache=yes
7528 else
7529 cache=no
7530 fi
7531
7532 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7533
7534 fi
7535
7536
7537 eval "$wx_cv_use_ffile"
7538 if test "x$cache" = xyes; then
7539 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7540 fi
7541
7542 if test x"$enablestring" = xdisable; then
7543 if test $wxUSE_FFILE = yes; then
7544 result=no
7545 else
7546 result=yes
7547 fi
7548 else
7549 result=$wxUSE_FFILE
7550 fi
7551
7552 { echo "$as_me:$LINENO: result: $result" >&5
7553 echo "${ECHO_T}$result" >&6; }
7554
7555
7556 enablestring=
7557 defaultval=$wxUSE_ALL_FEATURES
7558 if test -z "$defaultval"; then
7559 if test x"$enablestring" = xdisable; then
7560 defaultval=yes
7561 else
7562 defaultval=no
7563 fi
7564 fi
7565
7566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7568 # Check whether --enable-file was given.
7569 if test "${enable_file+set}" = set; then
7570 enableval=$enable_file;
7571 if test "$enableval" = yes; then
7572 wx_cv_use_file='wxUSE_FILE=yes'
7573 else
7574 wx_cv_use_file='wxUSE_FILE=no'
7575 fi
7576 cache=yes
7577
7578 else
7579
7580 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7581 if test "x$LINE" != x ; then
7582 eval "DEFAULT_$LINE"
7583 cache=yes
7584 else
7585 cache=no
7586 fi
7587
7588 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7589
7590 fi
7591
7592
7593 eval "$wx_cv_use_file"
7594 if test "x$cache" = xyes; then
7595 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7596 fi
7597
7598 if test x"$enablestring" = xdisable; then
7599 if test $wxUSE_FILE = yes; then
7600 result=no
7601 else
7602 result=yes
7603 fi
7604 else
7605 result=$wxUSE_FILE
7606 fi
7607
7608 { echo "$as_me:$LINENO: result: $result" >&5
7609 echo "${ECHO_T}$result" >&6; }
7610
7611
7612 enablestring=
7613 defaultval=$wxUSE_ALL_FEATURES
7614 if test -z "$defaultval"; then
7615 if test x"$enablestring" = xdisable; then
7616 defaultval=yes
7617 else
7618 defaultval=no
7619 fi
7620 fi
7621
7622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7624 # Check whether --enable-filesystem was given.
7625 if test "${enable_filesystem+set}" = set; then
7626 enableval=$enable_filesystem;
7627 if test "$enableval" = yes; then
7628 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7629 else
7630 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7631 fi
7632 cache=yes
7633
7634 else
7635
7636 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x ; then
7638 eval "DEFAULT_$LINE"
7639 cache=yes
7640 else
7641 cache=no
7642 fi
7643
7644 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7645
7646 fi
7647
7648
7649 eval "$wx_cv_use_filesystem"
7650 if test "x$cache" = xyes; then
7651 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7652 fi
7653
7654 if test x"$enablestring" = xdisable; then
7655 if test $wxUSE_FILESYSTEM = yes; then
7656 result=no
7657 else
7658 result=yes
7659 fi
7660 else
7661 result=$wxUSE_FILESYSTEM
7662 fi
7663
7664 { echo "$as_me:$LINENO: result: $result" >&5
7665 echo "${ECHO_T}$result" >&6; }
7666
7667
7668 enablestring=
7669 defaultval=$wxUSE_ALL_FEATURES
7670 if test -z "$defaultval"; then
7671 if test x"$enablestring" = xdisable; then
7672 defaultval=yes
7673 else
7674 defaultval=no
7675 fi
7676 fi
7677
7678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7679 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7680 # Check whether --enable-fontenum was given.
7681 if test "${enable_fontenum+set}" = set; then
7682 enableval=$enable_fontenum;
7683 if test "$enableval" = yes; then
7684 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7685 else
7686 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7687 fi
7688 cache=yes
7689
7690 else
7691
7692 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7695 cache=yes
7696 else
7697 cache=no
7698 fi
7699
7700 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7701
7702 fi
7703
7704
7705 eval "$wx_cv_use_fontenum"
7706 if test "x$cache" = xyes; then
7707 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7708 fi
7709
7710 if test x"$enablestring" = xdisable; then
7711 if test $wxUSE_FONTENUM = yes; then
7712 result=no
7713 else
7714 result=yes
7715 fi
7716 else
7717 result=$wxUSE_FONTENUM
7718 fi
7719
7720 { echo "$as_me:$LINENO: result: $result" >&5
7721 echo "${ECHO_T}$result" >&6; }
7722
7723
7724 enablestring=
7725 defaultval=$wxUSE_ALL_FEATURES
7726 if test -z "$defaultval"; then
7727 if test x"$enablestring" = xdisable; then
7728 defaultval=yes
7729 else
7730 defaultval=no
7731 fi
7732 fi
7733
7734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7735 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7736 # Check whether --enable-fontmap was given.
7737 if test "${enable_fontmap+set}" = set; then
7738 enableval=$enable_fontmap;
7739 if test "$enableval" = yes; then
7740 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7741 else
7742 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7743 fi
7744 cache=yes
7745
7746 else
7747
7748 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7749 if test "x$LINE" != x ; then
7750 eval "DEFAULT_$LINE"
7751 cache=yes
7752 else
7753 cache=no
7754 fi
7755
7756 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7757
7758 fi
7759
7760
7761 eval "$wx_cv_use_fontmap"
7762 if test "x$cache" = xyes; then
7763 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7764 fi
7765
7766 if test x"$enablestring" = xdisable; then
7767 if test $wxUSE_FONTMAP = yes; then
7768 result=no
7769 else
7770 result=yes
7771 fi
7772 else
7773 result=$wxUSE_FONTMAP
7774 fi
7775
7776 { echo "$as_me:$LINENO: result: $result" >&5
7777 echo "${ECHO_T}$result" >&6; }
7778
7779
7780 enablestring=
7781 defaultval=$wxUSE_ALL_FEATURES
7782 if test -z "$defaultval"; then
7783 if test x"$enablestring" = xdisable; then
7784 defaultval=yes
7785 else
7786 defaultval=no
7787 fi
7788 fi
7789
7790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7792 # Check whether --enable-fs_archive was given.
7793 if test "${enable_fs_archive+set}" = set; then
7794 enableval=$enable_fs_archive;
7795 if test "$enableval" = yes; then
7796 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7797 else
7798 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7799 fi
7800 cache=yes
7801
7802 else
7803
7804 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x ; then
7806 eval "DEFAULT_$LINE"
7807 cache=yes
7808 else
7809 cache=no
7810 fi
7811
7812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7813
7814 fi
7815
7816
7817 eval "$wx_cv_use_fs_archive"
7818 if test "x$cache" = xyes; then
7819 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7820 fi
7821
7822 if test x"$enablestring" = xdisable; then
7823 if test $wxUSE_FS_ARCHIVE = yes; then
7824 result=no
7825 else
7826 result=yes
7827 fi
7828 else
7829 result=$wxUSE_FS_ARCHIVE
7830 fi
7831
7832 { echo "$as_me:$LINENO: result: $result" >&5
7833 echo "${ECHO_T}$result" >&6; }
7834
7835
7836 enablestring=
7837 defaultval=$wxUSE_ALL_FEATURES
7838 if test -z "$defaultval"; then
7839 if test x"$enablestring" = xdisable; then
7840 defaultval=yes
7841 else
7842 defaultval=no
7843 fi
7844 fi
7845
7846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7847 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7848 # Check whether --enable-fs_inet was given.
7849 if test "${enable_fs_inet+set}" = set; then
7850 enableval=$enable_fs_inet;
7851 if test "$enableval" = yes; then
7852 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7853 else
7854 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7855 fi
7856 cache=yes
7857
7858 else
7859
7860 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7863 cache=yes
7864 else
7865 cache=no
7866 fi
7867
7868 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7869
7870 fi
7871
7872
7873 eval "$wx_cv_use_fs_inet"
7874 if test "x$cache" = xyes; then
7875 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7876 fi
7877
7878 if test x"$enablestring" = xdisable; then
7879 if test $wxUSE_FS_INET = yes; then
7880 result=no
7881 else
7882 result=yes
7883 fi
7884 else
7885 result=$wxUSE_FS_INET
7886 fi
7887
7888 { echo "$as_me:$LINENO: result: $result" >&5
7889 echo "${ECHO_T}$result" >&6; }
7890
7891
7892 enablestring=
7893 defaultval=$wxUSE_ALL_FEATURES
7894 if test -z "$defaultval"; then
7895 if test x"$enablestring" = xdisable; then
7896 defaultval=yes
7897 else
7898 defaultval=no
7899 fi
7900 fi
7901
7902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7903 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7904 # Check whether --enable-fs_zip was given.
7905 if test "${enable_fs_zip+set}" = set; then
7906 enableval=$enable_fs_zip;
7907 if test "$enableval" = yes; then
7908 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7909 else
7910 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7911 fi
7912 cache=yes
7913
7914 else
7915
7916 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7917 if test "x$LINE" != x ; then
7918 eval "DEFAULT_$LINE"
7919 cache=yes
7920 else
7921 cache=no
7922 fi
7923
7924 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7925
7926 fi
7927
7928
7929 eval "$wx_cv_use_fs_zip"
7930 if test "x$cache" = xyes; then
7931 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7932 fi
7933
7934 if test x"$enablestring" = xdisable; then
7935 if test $wxUSE_FS_ZIP = yes; then
7936 result=no
7937 else
7938 result=yes
7939 fi
7940 else
7941 result=$wxUSE_FS_ZIP
7942 fi
7943
7944 { echo "$as_me:$LINENO: result: $result" >&5
7945 echo "${ECHO_T}$result" >&6; }
7946
7947
7948 enablestring=
7949 defaultval=$wxUSE_ALL_FEATURES
7950 if test -z "$defaultval"; then
7951 if test x"$enablestring" = xdisable; then
7952 defaultval=yes
7953 else
7954 defaultval=no
7955 fi
7956 fi
7957
7958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7960 # Check whether --enable-geometry was given.
7961 if test "${enable_geometry+set}" = set; then
7962 enableval=$enable_geometry;
7963 if test "$enableval" = yes; then
7964 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7965 else
7966 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7967 fi
7968 cache=yes
7969
7970 else
7971
7972 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7973 if test "x$LINE" != x ; then
7974 eval "DEFAULT_$LINE"
7975 cache=yes
7976 else
7977 cache=no
7978 fi
7979
7980 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7981
7982 fi
7983
7984
7985 eval "$wx_cv_use_geometry"
7986 if test "x$cache" = xyes; then
7987 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7988 fi
7989
7990 if test x"$enablestring" = xdisable; then
7991 if test $wxUSE_GEOMETRY = yes; then
7992 result=no
7993 else
7994 result=yes
7995 fi
7996 else
7997 result=$wxUSE_GEOMETRY
7998 fi
7999
8000 { echo "$as_me:$LINENO: result: $result" >&5
8001 echo "${ECHO_T}$result" >&6; }
8002
8003
8004 enablestring=
8005 defaultval=$wxUSE_ALL_FEATURES
8006 if test -z "$defaultval"; then
8007 if test x"$enablestring" = xdisable; then
8008 defaultval=yes
8009 else
8010 defaultval=no
8011 fi
8012 fi
8013
8014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8015 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8016 # Check whether --enable-log was given.
8017 if test "${enable_log+set}" = set; then
8018 enableval=$enable_log;
8019 if test "$enableval" = yes; then
8020 wx_cv_use_log='wxUSE_LOG=yes'
8021 else
8022 wx_cv_use_log='wxUSE_LOG=no'
8023 fi
8024 cache=yes
8025
8026 else
8027
8028 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x ; then
8030 eval "DEFAULT_$LINE"
8031 cache=yes
8032 else
8033 cache=no
8034 fi
8035
8036 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8037
8038 fi
8039
8040
8041 eval "$wx_cv_use_log"
8042 if test "x$cache" = xyes; then
8043 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8044 fi
8045
8046 if test x"$enablestring" = xdisable; then
8047 if test $wxUSE_LOG = yes; then
8048 result=no
8049 else
8050 result=yes
8051 fi
8052 else
8053 result=$wxUSE_LOG
8054 fi
8055
8056 { echo "$as_me:$LINENO: result: $result" >&5
8057 echo "${ECHO_T}$result" >&6; }
8058
8059
8060 enablestring=
8061 defaultval=$wxUSE_ALL_FEATURES
8062 if test -z "$defaultval"; then
8063 if test x"$enablestring" = xdisable; then
8064 defaultval=yes
8065 else
8066 defaultval=no
8067 fi
8068 fi
8069
8070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8072 # Check whether --enable-longlong was given.
8073 if test "${enable_longlong+set}" = set; then
8074 enableval=$enable_longlong;
8075 if test "$enableval" = yes; then
8076 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8077 else
8078 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8079 fi
8080 cache=yes
8081
8082 else
8083
8084 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 cache=yes
8088 else
8089 cache=no
8090 fi
8091
8092 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8093
8094 fi
8095
8096
8097 eval "$wx_cv_use_longlong"
8098 if test "x$cache" = xyes; then
8099 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8100 fi
8101
8102 if test x"$enablestring" = xdisable; then
8103 if test $wxUSE_LONGLONG = yes; then
8104 result=no
8105 else
8106 result=yes
8107 fi
8108 else
8109 result=$wxUSE_LONGLONG
8110 fi
8111
8112 { echo "$as_me:$LINENO: result: $result" >&5
8113 echo "${ECHO_T}$result" >&6; }
8114
8115
8116 enablestring=
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8120 defaultval=yes
8121 else
8122 defaultval=no
8123 fi
8124 fi
8125
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8128 # Check whether --enable-mimetype was given.
8129 if test "${enable_mimetype+set}" = set; then
8130 enableval=$enable_mimetype;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8133 else
8134 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8135 fi
8136 cache=yes
8137
8138 else
8139
8140 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8141 if test "x$LINE" != x ; then
8142 eval "DEFAULT_$LINE"
8143 cache=yes
8144 else
8145 cache=no
8146 fi
8147
8148 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8149
8150 fi
8151
8152
8153 eval "$wx_cv_use_mimetype"
8154 if test "x$cache" = xyes; then
8155 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8156 fi
8157
8158 if test x"$enablestring" = xdisable; then
8159 if test $wxUSE_MIMETYPE = yes; then
8160 result=no
8161 else
8162 result=yes
8163 fi
8164 else
8165 result=$wxUSE_MIMETYPE
8166 fi
8167
8168 { echo "$as_me:$LINENO: result: $result" >&5
8169 echo "${ECHO_T}$result" >&6; }
8170
8171
8172 enablestring=
8173 defaultval=$wxUSE_ALL_FEATURES
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8176 defaultval=yes
8177 else
8178 defaultval=no
8179 fi
8180 fi
8181
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8184 # Check whether --enable-snglinst was given.
8185 if test "${enable_snglinst+set}" = set; then
8186 enableval=$enable_snglinst;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8189 else
8190 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8191 fi
8192 cache=yes
8193
8194 else
8195
8196 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 cache=yes
8200 else
8201 cache=no
8202 fi
8203
8204 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8205
8206 fi
8207
8208
8209 eval "$wx_cv_use_snglinst"
8210 if test "x$cache" = xyes; then
8211 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8212 fi
8213
8214 if test x"$enablestring" = xdisable; then
8215 if test $wxUSE_SNGLINST_CHECKER = yes; then
8216 result=no
8217 else
8218 result=yes
8219 fi
8220 else
8221 result=$wxUSE_SNGLINST_CHECKER
8222 fi
8223
8224 { echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6; }
8226
8227
8228 enablestring=
8229 defaultval=$wxUSE_ALL_FEATURES
8230 if test -z "$defaultval"; then
8231 if test x"$enablestring" = xdisable; then
8232 defaultval=yes
8233 else
8234 defaultval=no
8235 fi
8236 fi
8237
8238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8240 # Check whether --enable-stdpaths was given.
8241 if test "${enable_stdpaths+set}" = set; then
8242 enableval=$enable_stdpaths;
8243 if test "$enableval" = yes; then
8244 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8245 else
8246 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8247 fi
8248 cache=yes
8249
8250 else
8251
8252 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x ; then
8254 eval "DEFAULT_$LINE"
8255 cache=yes
8256 else
8257 cache=no
8258 fi
8259
8260 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8261
8262 fi
8263
8264
8265 eval "$wx_cv_use_stdpaths"
8266 if test "x$cache" = xyes; then
8267 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8268 fi
8269
8270 if test x"$enablestring" = xdisable; then
8271 if test $wxUSE_STDPATHS = yes; then
8272 result=no
8273 else
8274 result=yes
8275 fi
8276 else
8277 result=$wxUSE_STDPATHS
8278 fi
8279
8280 { echo "$as_me:$LINENO: result: $result" >&5
8281 echo "${ECHO_T}$result" >&6; }
8282
8283
8284 enablestring=
8285 defaultval=$wxUSE_ALL_FEATURES
8286 if test -z "$defaultval"; then
8287 if test x"$enablestring" = xdisable; then
8288 defaultval=yes
8289 else
8290 defaultval=no
8291 fi
8292 fi
8293
8294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8296 # Check whether --enable-stopwatch was given.
8297 if test "${enable_stopwatch+set}" = set; then
8298 enableval=$enable_stopwatch;
8299 if test "$enableval" = yes; then
8300 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8301 else
8302 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8303 fi
8304 cache=yes
8305
8306 else
8307
8308 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x ; then
8310 eval "DEFAULT_$LINE"
8311 cache=yes
8312 else
8313 cache=no
8314 fi
8315
8316 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8317
8318 fi
8319
8320
8321 eval "$wx_cv_use_stopwatch"
8322 if test "x$cache" = xyes; then
8323 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8324 fi
8325
8326 if test x"$enablestring" = xdisable; then
8327 if test $wxUSE_STOPWATCH = yes; then
8328 result=no
8329 else
8330 result=yes
8331 fi
8332 else
8333 result=$wxUSE_STOPWATCH
8334 fi
8335
8336 { echo "$as_me:$LINENO: result: $result" >&5
8337 echo "${ECHO_T}$result" >&6; }
8338
8339
8340 enablestring=
8341 defaultval=$wxUSE_ALL_FEATURES
8342 if test -z "$defaultval"; then
8343 if test x"$enablestring" = xdisable; then
8344 defaultval=yes
8345 else
8346 defaultval=no
8347 fi
8348 fi
8349
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8352 # Check whether --enable-streams was given.
8353 if test "${enable_streams+set}" = set; then
8354 enableval=$enable_streams;
8355 if test "$enableval" = yes; then
8356 wx_cv_use_streams='wxUSE_STREAMS=yes'
8357 else
8358 wx_cv_use_streams='wxUSE_STREAMS=no'
8359 fi
8360 cache=yes
8361
8362 else
8363
8364 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x ; then
8366 eval "DEFAULT_$LINE"
8367 cache=yes
8368 else
8369 cache=no
8370 fi
8371
8372 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8373
8374 fi
8375
8376
8377 eval "$wx_cv_use_streams"
8378 if test "x$cache" = xyes; then
8379 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8380 fi
8381
8382 if test x"$enablestring" = xdisable; then
8383 if test $wxUSE_STREAMS = yes; then
8384 result=no
8385 else
8386 result=yes
8387 fi
8388 else
8389 result=$wxUSE_STREAMS
8390 fi
8391
8392 { echo "$as_me:$LINENO: result: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8394
8395
8396 enablestring=
8397 defaultval=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8400 defaultval=yes
8401 else
8402 defaultval=no
8403 fi
8404 fi
8405
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8408 # Check whether --enable-system_options was given.
8409 if test "${enable_system_options+set}" = set; then
8410 enableval=$enable_system_options;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8413 else
8414 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8415 fi
8416 cache=yes
8417
8418 else
8419
8420 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x ; then
8422 eval "DEFAULT_$LINE"
8423 cache=yes
8424 else
8425 cache=no
8426 fi
8427
8428 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8429
8430 fi
8431
8432
8433 eval "$wx_cv_use_system_options"
8434 if test "x$cache" = xyes; then
8435 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8436 fi
8437
8438 if test x"$enablestring" = xdisable; then
8439 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8440 result=no
8441 else
8442 result=yes
8443 fi
8444 else
8445 result=$wxUSE_SYSTEM_OPTIONS
8446 fi
8447
8448 { echo "$as_me:$LINENO: result: $result" >&5
8449 echo "${ECHO_T}$result" >&6; }
8450
8451
8452 enablestring=
8453 defaultval=$wxUSE_ALL_FEATURES
8454 if test -z "$defaultval"; then
8455 if test x"$enablestring" = xdisable; then
8456 defaultval=yes
8457 else
8458 defaultval=no
8459 fi
8460 fi
8461
8462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8464 # Check whether --enable-tarstream was given.
8465 if test "${enable_tarstream+set}" = set; then
8466 enableval=$enable_tarstream;
8467 if test "$enableval" = yes; then
8468 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8469 else
8470 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8471 fi
8472 cache=yes
8473
8474 else
8475
8476 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8477 if test "x$LINE" != x ; then
8478 eval "DEFAULT_$LINE"
8479 cache=yes
8480 else
8481 cache=no
8482 fi
8483
8484 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8485
8486 fi
8487
8488
8489 eval "$wx_cv_use_tarstream"
8490 if test "x$cache" = xyes; then
8491 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8492 fi
8493
8494 if test x"$enablestring" = xdisable; then
8495 if test $wxUSE_TARSTREAM = yes; then
8496 result=no
8497 else
8498 result=yes
8499 fi
8500 else
8501 result=$wxUSE_TARSTREAM
8502 fi
8503
8504 { echo "$as_me:$LINENO: result: $result" >&5
8505 echo "${ECHO_T}$result" >&6; }
8506
8507
8508 enablestring=
8509 defaultval=$wxUSE_ALL_FEATURES
8510 if test -z "$defaultval"; then
8511 if test x"$enablestring" = xdisable; then
8512 defaultval=yes
8513 else
8514 defaultval=no
8515 fi
8516 fi
8517
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8520 # Check whether --enable-textbuf was given.
8521 if test "${enable_textbuf+set}" = set; then
8522 enableval=$enable_textbuf;
8523 if test "$enableval" = yes; then
8524 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8525 else
8526 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8527 fi
8528 cache=yes
8529
8530 else
8531
8532 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8535 cache=yes
8536 else
8537 cache=no
8538 fi
8539
8540 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8541
8542 fi
8543
8544
8545 eval "$wx_cv_use_textbuf"
8546 if test "x$cache" = xyes; then
8547 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8548 fi
8549
8550 if test x"$enablestring" = xdisable; then
8551 if test $wxUSE_TEXTBUFFER = yes; then
8552 result=no
8553 else
8554 result=yes
8555 fi
8556 else
8557 result=$wxUSE_TEXTBUFFER
8558 fi
8559
8560 { echo "$as_me:$LINENO: result: $result" >&5
8561 echo "${ECHO_T}$result" >&6; }
8562
8563
8564 enablestring=
8565 defaultval=$wxUSE_ALL_FEATURES
8566 if test -z "$defaultval"; then
8567 if test x"$enablestring" = xdisable; then
8568 defaultval=yes
8569 else
8570 defaultval=no
8571 fi
8572 fi
8573
8574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8576 # Check whether --enable-textfile was given.
8577 if test "${enable_textfile+set}" = set; then
8578 enableval=$enable_textfile;
8579 if test "$enableval" = yes; then
8580 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8581 else
8582 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8583 fi
8584 cache=yes
8585
8586 else
8587
8588 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x ; then
8590 eval "DEFAULT_$LINE"
8591 cache=yes
8592 else
8593 cache=no
8594 fi
8595
8596 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8597
8598 fi
8599
8600
8601 eval "$wx_cv_use_textfile"
8602 if test "x$cache" = xyes; then
8603 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8604 fi
8605
8606 if test x"$enablestring" = xdisable; then
8607 if test $wxUSE_TEXTFILE = yes; then
8608 result=no
8609 else
8610 result=yes
8611 fi
8612 else
8613 result=$wxUSE_TEXTFILE
8614 fi
8615
8616 { echo "$as_me:$LINENO: result: $result" >&5
8617 echo "${ECHO_T}$result" >&6; }
8618
8619
8620 enablestring=
8621 defaultval=$wxUSE_ALL_FEATURES
8622 if test -z "$defaultval"; then
8623 if test x"$enablestring" = xdisable; then
8624 defaultval=yes
8625 else
8626 defaultval=no
8627 fi
8628 fi
8629
8630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8631 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8632 # Check whether --enable-timer was given.
8633 if test "${enable_timer+set}" = set; then
8634 enableval=$enable_timer;
8635 if test "$enableval" = yes; then
8636 wx_cv_use_timer='wxUSE_TIMER=yes'
8637 else
8638 wx_cv_use_timer='wxUSE_TIMER=no'
8639 fi
8640 cache=yes
8641
8642 else
8643
8644 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8645 if test "x$LINE" != x ; then
8646 eval "DEFAULT_$LINE"
8647 cache=yes
8648 else
8649 cache=no
8650 fi
8651
8652 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8653
8654 fi
8655
8656
8657 eval "$wx_cv_use_timer"
8658 if test "x$cache" = xyes; then
8659 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8660 fi
8661
8662 if test x"$enablestring" = xdisable; then
8663 if test $wxUSE_TIMER = yes; then
8664 result=no
8665 else
8666 result=yes
8667 fi
8668 else
8669 result=$wxUSE_TIMER
8670 fi
8671
8672 { echo "$as_me:$LINENO: result: $result" >&5
8673 echo "${ECHO_T}$result" >&6; }
8674
8675
8676 enablestring=
8677 defaultval=$wxUSE_ALL_FEATURES
8678 if test -z "$defaultval"; then
8679 if test x"$enablestring" = xdisable; then
8680 defaultval=yes
8681 else
8682 defaultval=no
8683 fi
8684 fi
8685
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8688 # Check whether --enable-sound was given.
8689 if test "${enable_sound+set}" = set; then
8690 enableval=$enable_sound;
8691 if test "$enableval" = yes; then
8692 wx_cv_use_sound='wxUSE_SOUND=yes'
8693 else
8694 wx_cv_use_sound='wxUSE_SOUND=no'
8695 fi
8696 cache=yes
8697
8698 else
8699
8700 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 cache=yes
8704 else
8705 cache=no
8706 fi
8707
8708 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8709
8710 fi
8711
8712
8713 eval "$wx_cv_use_sound"
8714 if test "x$cache" = xyes; then
8715 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8716 fi
8717
8718 if test x"$enablestring" = xdisable; then
8719 if test $wxUSE_SOUND = yes; then
8720 result=no
8721 else
8722 result=yes
8723 fi
8724 else
8725 result=$wxUSE_SOUND
8726 fi
8727
8728 { echo "$as_me:$LINENO: result: $result" >&5
8729 echo "${ECHO_T}$result" >&6; }
8730
8731
8732 enablestring=
8733 defaultval=$wxUSE_ALL_FEATURES
8734 if test -z "$defaultval"; then
8735 if test x"$enablestring" = xdisable; then
8736 defaultval=yes
8737 else
8738 defaultval=no
8739 fi
8740 fi
8741
8742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8744 # Check whether --enable-mediactrl was given.
8745 if test "${enable_mediactrl+set}" = set; then
8746 enableval=$enable_mediactrl;
8747 if test "$enableval" = yes; then
8748 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8749 else
8750 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8751 fi
8752 cache=yes
8753
8754 else
8755
8756 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8757 if test "x$LINE" != x ; then
8758 eval "DEFAULT_$LINE"
8759 cache=yes
8760 else
8761 cache=no
8762 fi
8763
8764 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8765
8766 fi
8767
8768
8769 eval "$wx_cv_use_mediactrl"
8770 if test "x$cache" = xyes; then
8771 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8772 fi
8773
8774 if test x"$enablestring" = xdisable; then
8775 if test $wxUSE_MEDIACTRL = yes; then
8776 result=no
8777 else
8778 result=yes
8779 fi
8780 else
8781 result=$wxUSE_MEDIACTRL
8782 fi
8783
8784 { echo "$as_me:$LINENO: result: $result" >&5
8785 echo "${ECHO_T}$result" >&6; }
8786
8787
8788 enablestring=
8789 defaultval=$wxUSE_ALL_FEATURES
8790 if test -z "$defaultval"; then
8791 if test x"$enablestring" = xdisable; then
8792 defaultval=yes
8793 else
8794 defaultval=no
8795 fi
8796 fi
8797
8798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8800 # Check whether --enable-gstreamer8 was given.
8801 if test "${enable_gstreamer8+set}" = set; then
8802 enableval=$enable_gstreamer8;
8803 if test "$enableval" = yes; then
8804 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8805 else
8806 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8807 fi
8808 cache=yes
8809
8810 else
8811
8812 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x ; then
8814 eval "DEFAULT_$LINE"
8815 cache=yes
8816 else
8817 cache=no
8818 fi
8819
8820 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8821
8822 fi
8823
8824
8825 eval "$wx_cv_use_gstreamer8"
8826 if test "x$cache" = xyes; then
8827 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8828 fi
8829
8830 if test x"$enablestring" = xdisable; then
8831 if test $wxUSE_GSTREAMER8 = yes; then
8832 result=no
8833 else
8834 result=yes
8835 fi
8836 else
8837 result=$wxUSE_GSTREAMER8
8838 fi
8839
8840 { echo "$as_me:$LINENO: result: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8842
8843
8844 enablestring=
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8848 defaultval=yes
8849 else
8850 defaultval=no
8851 fi
8852 fi
8853
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8856 # Check whether --enable-printfposparam was given.
8857 if test "${enable_printfposparam+set}" = set; then
8858 enableval=$enable_printfposparam;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8861 else
8862 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8863 fi
8864 cache=yes
8865
8866 else
8867
8868 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8871 cache=yes
8872 else
8873 cache=no
8874 fi
8875
8876 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8877
8878 fi
8879
8880
8881 eval "$wx_cv_use_printfposparam"
8882 if test "x$cache" = xyes; then
8883 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8884 fi
8885
8886 if test x"$enablestring" = xdisable; then
8887 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8888 result=no
8889 else
8890 result=yes
8891 fi
8892 else
8893 result=$wxUSE_PRINTF_POS_PARAMS
8894 fi
8895
8896 { echo "$as_me:$LINENO: result: $result" >&5
8897 echo "${ECHO_T}$result" >&6; }
8898
8899
8900 enablestring=
8901 defaultval=$wxUSE_ALL_FEATURES
8902 if test -z "$defaultval"; then
8903 if test x"$enablestring" = xdisable; then
8904 defaultval=yes
8905 else
8906 defaultval=no
8907 fi
8908 fi
8909
8910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8911 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8912 # Check whether --enable-zipstream was given.
8913 if test "${enable_zipstream+set}" = set; then
8914 enableval=$enable_zipstream;
8915 if test "$enableval" = yes; then
8916 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8917 else
8918 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8919 fi
8920 cache=yes
8921
8922 else
8923
8924 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x ; then
8926 eval "DEFAULT_$LINE"
8927 cache=yes
8928 else
8929 cache=no
8930 fi
8931
8932 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8933
8934 fi
8935
8936
8937 eval "$wx_cv_use_zipstream"
8938 if test "x$cache" = xyes; then
8939 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8940 fi
8941
8942 if test x"$enablestring" = xdisable; then
8943 if test $wxUSE_ZIPSTREAM = yes; then
8944 result=no
8945 else
8946 result=yes
8947 fi
8948 else
8949 result=$wxUSE_ZIPSTREAM
8950 fi
8951
8952 { echo "$as_me:$LINENO: result: $result" >&5
8953 echo "${ECHO_T}$result" >&6; }
8954
8955
8956
8957 enablestring=
8958 defaultval=$wxUSE_ALL_FEATURES
8959 if test -z "$defaultval"; then
8960 if test x"$enablestring" = xdisable; then
8961 defaultval=yes
8962 else
8963 defaultval=no
8964 fi
8965 fi
8966
8967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8968 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8969 # Check whether --enable-url was given.
8970 if test "${enable_url+set}" = set; then
8971 enableval=$enable_url;
8972 if test "$enableval" = yes; then
8973 wx_cv_use_url='wxUSE_URL=yes'
8974 else
8975 wx_cv_use_url='wxUSE_URL=no'
8976 fi
8977 cache=yes
8978
8979 else
8980
8981 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8982 if test "x$LINE" != x ; then
8983 eval "DEFAULT_$LINE"
8984 cache=yes
8985 else
8986 cache=no
8987 fi
8988
8989 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8990
8991 fi
8992
8993
8994 eval "$wx_cv_use_url"
8995 if test "x$cache" = xyes; then
8996 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8997 fi
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_URL = yes; then
9001 result=no
9002 else
9003 result=yes
9004 fi
9005 else
9006 result=$wxUSE_URL
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9025 # Check whether --enable-variant was given.
9026 if test "${enable_variant+set}" = set; then
9027 enableval=$enable_variant;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_variant='wxUSE_VARIANT=yes'
9030 else
9031 wx_cv_use_variant='wxUSE_VARIANT=no'
9032 fi
9033 cache=yes
9034
9035 else
9036
9037 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 cache=yes
9041 else
9042 cache=no
9043 fi
9044
9045 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9046
9047 fi
9048
9049
9050 eval "$wx_cv_use_variant"
9051 if test "x$cache" = xyes; then
9052 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9053 fi
9054
9055 if test x"$enablestring" = xdisable; then
9056 if test $wxUSE_VARIANT = yes; then
9057 result=no
9058 else
9059 result=yes
9060 fi
9061 else
9062 result=$wxUSE_VARIANT
9063 fi
9064
9065 { echo "$as_me:$LINENO: result: $result" >&5
9066 echo "${ECHO_T}$result" >&6; }
9067
9068
9069 enablestring=
9070 defaultval=$wxUSE_ALL_FEATURES
9071 if test -z "$defaultval"; then
9072 if test x"$enablestring" = xdisable; then
9073 defaultval=yes
9074 else
9075 defaultval=no
9076 fi
9077 fi
9078
9079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9081 # Check whether --enable-protocol was given.
9082 if test "${enable_protocol+set}" = set; then
9083 enableval=$enable_protocol;
9084 if test "$enableval" = yes; then
9085 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9086 else
9087 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9088 fi
9089 cache=yes
9090
9091 else
9092
9093 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9094 if test "x$LINE" != x ; then
9095 eval "DEFAULT_$LINE"
9096 cache=yes
9097 else
9098 cache=no
9099 fi
9100
9101 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9102
9103 fi
9104
9105
9106 eval "$wx_cv_use_protocol"
9107 if test "x$cache" = xyes; then
9108 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9109 fi
9110
9111 if test x"$enablestring" = xdisable; then
9112 if test $wxUSE_PROTOCOL = yes; then
9113 result=no
9114 else
9115 result=yes
9116 fi
9117 else
9118 result=$wxUSE_PROTOCOL
9119 fi
9120
9121 { echo "$as_me:$LINENO: result: $result" >&5
9122 echo "${ECHO_T}$result" >&6; }
9123
9124
9125 enablestring=
9126 defaultval=$wxUSE_ALL_FEATURES
9127 if test -z "$defaultval"; then
9128 if test x"$enablestring" = xdisable; then
9129 defaultval=yes
9130 else
9131 defaultval=no
9132 fi
9133 fi
9134
9135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9136 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9137 # Check whether --enable-protocol_http was given.
9138 if test "${enable_protocol_http+set}" = set; then
9139 enableval=$enable_protocol_http;
9140 if test "$enableval" = yes; then
9141 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9142 else
9143 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9144 fi
9145 cache=yes
9146
9147 else
9148
9149 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9150 if test "x$LINE" != x ; then
9151 eval "DEFAULT_$LINE"
9152 cache=yes
9153 else
9154 cache=no
9155 fi
9156
9157 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9158
9159 fi
9160
9161
9162 eval "$wx_cv_use_protocol_http"
9163 if test "x$cache" = xyes; then
9164 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9165 fi
9166
9167 if test x"$enablestring" = xdisable; then
9168 if test $wxUSE_PROTOCOL_HTTP = yes; then
9169 result=no
9170 else
9171 result=yes
9172 fi
9173 else
9174 result=$wxUSE_PROTOCOL_HTTP
9175 fi
9176
9177 { echo "$as_me:$LINENO: result: $result" >&5
9178 echo "${ECHO_T}$result" >&6; }
9179
9180
9181 enablestring=
9182 defaultval=$wxUSE_ALL_FEATURES
9183 if test -z "$defaultval"; then
9184 if test x"$enablestring" = xdisable; then
9185 defaultval=yes
9186 else
9187 defaultval=no
9188 fi
9189 fi
9190
9191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9193 # Check whether --enable-protocol_ftp was given.
9194 if test "${enable_protocol_ftp+set}" = set; then
9195 enableval=$enable_protocol_ftp;
9196 if test "$enableval" = yes; then
9197 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9198 else
9199 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9200 fi
9201 cache=yes
9202
9203 else
9204
9205 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9206 if test "x$LINE" != x ; then
9207 eval "DEFAULT_$LINE"
9208 cache=yes
9209 else
9210 cache=no
9211 fi
9212
9213 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9214
9215 fi
9216
9217
9218 eval "$wx_cv_use_protocol_ftp"
9219 if test "x$cache" = xyes; then
9220 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9221 fi
9222
9223 if test x"$enablestring" = xdisable; then
9224 if test $wxUSE_PROTOCOL_FTP = yes; then
9225 result=no
9226 else
9227 result=yes
9228 fi
9229 else
9230 result=$wxUSE_PROTOCOL_FTP
9231 fi
9232
9233 { echo "$as_me:$LINENO: result: $result" >&5
9234 echo "${ECHO_T}$result" >&6; }
9235
9236
9237 enablestring=
9238 defaultval=$wxUSE_ALL_FEATURES
9239 if test -z "$defaultval"; then
9240 if test x"$enablestring" = xdisable; then
9241 defaultval=yes
9242 else
9243 defaultval=no
9244 fi
9245 fi
9246
9247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9249 # Check whether --enable-protocol_file was given.
9250 if test "${enable_protocol_file+set}" = set; then
9251 enableval=$enable_protocol_file;
9252 if test "$enableval" = yes; then
9253 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9254 else
9255 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9256 fi
9257 cache=yes
9258
9259 else
9260
9261 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9262 if test "x$LINE" != x ; then
9263 eval "DEFAULT_$LINE"
9264 cache=yes
9265 else
9266 cache=no
9267 fi
9268
9269 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9270
9271 fi
9272
9273
9274 eval "$wx_cv_use_protocol_file"
9275 if test "x$cache" = xyes; then
9276 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9277 fi
9278
9279 if test x"$enablestring" = xdisable; then
9280 if test $wxUSE_PROTOCOL_FILE = yes; then
9281 result=no
9282 else
9283 result=yes
9284 fi
9285 else
9286 result=$wxUSE_PROTOCOL_FILE
9287 fi
9288
9289 { echo "$as_me:$LINENO: result: $result" >&5
9290 echo "${ECHO_T}$result" >&6; }
9291
9292
9293
9294 enablestring=
9295 defaultval=$wxUSE_ALL_FEATURES
9296 if test -z "$defaultval"; then
9297 if test x"$enablestring" = xdisable; then
9298 defaultval=yes
9299 else
9300 defaultval=no
9301 fi
9302 fi
9303
9304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9306 # Check whether --enable-threads was given.
9307 if test "${enable_threads+set}" = set; then
9308 enableval=$enable_threads;
9309 if test "$enableval" = yes; then
9310 wx_cv_use_threads='wxUSE_THREADS=yes'
9311 else
9312 wx_cv_use_threads='wxUSE_THREADS=no'
9313 fi
9314 cache=yes
9315
9316 else
9317
9318 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9319 if test "x$LINE" != x ; then
9320 eval "DEFAULT_$LINE"
9321 cache=yes
9322 else
9323 cache=no
9324 fi
9325
9326 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9327
9328 fi
9329
9330
9331 eval "$wx_cv_use_threads"
9332 if test "x$cache" = xyes; then
9333 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9334 fi
9335
9336 if test x"$enablestring" = xdisable; then
9337 if test $wxUSE_THREADS = yes; then
9338 result=no
9339 else
9340 result=yes
9341 fi
9342 else
9343 result=$wxUSE_THREADS
9344 fi
9345
9346 { echo "$as_me:$LINENO: result: $result" >&5
9347 echo "${ECHO_T}$result" >&6; }
9348
9349
9350
9351 enablestring=
9352 defaultval=
9353 if test -z "$defaultval"; then
9354 if test x"$enablestring" = xdisable; then
9355 defaultval=yes
9356 else
9357 defaultval=no
9358 fi
9359 fi
9360
9361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9363 # Check whether --enable-iniconf was given.
9364 if test "${enable_iniconf+set}" = set; then
9365 enableval=$enable_iniconf;
9366 if test "$enableval" = yes; then
9367 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9368 else
9369 wx_cv_use_iniconf='wxUSE_INICONF=no'
9370 fi
9371 cache=yes
9372
9373 else
9374
9375 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9376 if test "x$LINE" != x ; then
9377 eval "DEFAULT_$LINE"
9378 cache=yes
9379 else
9380 cache=no
9381 fi
9382
9383 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9384
9385 fi
9386
9387
9388 eval "$wx_cv_use_iniconf"
9389 if test "x$cache" = xyes; then
9390 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9391 fi
9392
9393 if test x"$enablestring" = xdisable; then
9394 if test $wxUSE_INICONF = yes; then
9395 result=no
9396 else
9397 result=yes
9398 fi
9399 else
9400 result=$wxUSE_INICONF
9401 fi
9402
9403 { echo "$as_me:$LINENO: result: $result" >&5
9404 echo "${ECHO_T}$result" >&6; }
9405
9406
9407 enablestring=
9408 defaultval=$wxUSE_ALL_FEATURES
9409 if test -z "$defaultval"; then
9410 if test x"$enablestring" = xdisable; then
9411 defaultval=yes
9412 else
9413 defaultval=no
9414 fi
9415 fi
9416
9417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9419 # Check whether --enable-regkey was given.
9420 if test "${enable_regkey+set}" = set; then
9421 enableval=$enable_regkey;
9422 if test "$enableval" = yes; then
9423 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9424 else
9425 wx_cv_use_regkey='wxUSE_REGKEY=no'
9426 fi
9427 cache=yes
9428
9429 else
9430
9431 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9432 if test "x$LINE" != x ; then
9433 eval "DEFAULT_$LINE"
9434 cache=yes
9435 else
9436 cache=no
9437 fi
9438
9439 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9440
9441 fi
9442
9443
9444 eval "$wx_cv_use_regkey"
9445 if test "x$cache" = xyes; then
9446 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9447 fi
9448
9449 if test x"$enablestring" = xdisable; then
9450 if test $wxUSE_REGKEY = yes; then
9451 result=no
9452 else
9453 result=yes
9454 fi
9455 else
9456 result=$wxUSE_REGKEY
9457 fi
9458
9459 { echo "$as_me:$LINENO: result: $result" >&5
9460 echo "${ECHO_T}$result" >&6; }
9461
9462
9463 if test "$wxUSE_GUI" = "yes"; then
9464
9465
9466
9467 enablestring=
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9471 defaultval=yes
9472 else
9473 defaultval=no
9474 fi
9475 fi
9476
9477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9479 # Check whether --enable-docview was given.
9480 if test "${enable_docview+set}" = set; then
9481 enableval=$enable_docview;
9482 if test "$enableval" = yes; then
9483 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9484 else
9485 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9486 fi
9487 cache=yes
9488
9489 else
9490
9491 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9492 if test "x$LINE" != x ; then
9493 eval "DEFAULT_$LINE"
9494 cache=yes
9495 else
9496 cache=no
9497 fi
9498
9499 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9500
9501 fi
9502
9503
9504 eval "$wx_cv_use_docview"
9505 if test "x$cache" = xyes; then
9506 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test x"$enablestring" = xdisable; then
9510 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9511 result=no
9512 else
9513 result=yes
9514 fi
9515 else
9516 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9517 fi
9518
9519 { echo "$as_me:$LINENO: result: $result" >&5
9520 echo "${ECHO_T}$result" >&6; }
9521
9522
9523 enablestring=
9524 defaultval=$wxUSE_ALL_FEATURES
9525 if test -z "$defaultval"; then
9526 if test x"$enablestring" = xdisable; then
9527 defaultval=yes
9528 else
9529 defaultval=no
9530 fi
9531 fi
9532
9533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9535 # Check whether --enable-help was given.
9536 if test "${enable_help+set}" = set; then
9537 enableval=$enable_help;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_help='wxUSE_HELP=yes'
9540 else
9541 wx_cv_use_help='wxUSE_HELP=no'
9542 fi
9543 cache=yes
9544
9545 else
9546
9547 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9550 cache=yes
9551 else
9552 cache=no
9553 fi
9554
9555 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9556
9557 fi
9558
9559
9560 eval "$wx_cv_use_help"
9561 if test "x$cache" = xyes; then
9562 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9563 fi
9564
9565 if test x"$enablestring" = xdisable; then
9566 if test $wxUSE_HELP = yes; then
9567 result=no
9568 else
9569 result=yes
9570 fi
9571 else
9572 result=$wxUSE_HELP
9573 fi
9574
9575 { echo "$as_me:$LINENO: result: $result" >&5
9576 echo "${ECHO_T}$result" >&6; }
9577
9578
9579 enablestring=
9580 defaultval=$wxUSE_ALL_FEATURES
9581 if test -z "$defaultval"; then
9582 if test x"$enablestring" = xdisable; then
9583 defaultval=yes
9584 else
9585 defaultval=no
9586 fi
9587 fi
9588
9589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9590 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9591 # Check whether --enable-mshtmlhelp was given.
9592 if test "${enable_mshtmlhelp+set}" = set; then
9593 enableval=$enable_mshtmlhelp;
9594 if test "$enableval" = yes; then
9595 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9596 else
9597 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9598 fi
9599 cache=yes
9600
9601 else
9602
9603 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x ; then
9605 eval "DEFAULT_$LINE"
9606 cache=yes
9607 else
9608 cache=no
9609 fi
9610
9611 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9612
9613 fi
9614
9615
9616 eval "$wx_cv_use_mshtmlhelp"
9617 if test "x$cache" = xyes; then
9618 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9619 fi
9620
9621 if test x"$enablestring" = xdisable; then
9622 if test $wxUSE_MS_HTML_HELP = yes; then
9623 result=no
9624 else
9625 result=yes
9626 fi
9627 else
9628 result=$wxUSE_MS_HTML_HELP
9629 fi
9630
9631 { echo "$as_me:$LINENO: result: $result" >&5
9632 echo "${ECHO_T}$result" >&6; }
9633
9634
9635 enablestring=
9636 defaultval=$wxUSE_ALL_FEATURES
9637 if test -z "$defaultval"; then
9638 if test x"$enablestring" = xdisable; then
9639 defaultval=yes
9640 else
9641 defaultval=no
9642 fi
9643 fi
9644
9645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9647 # Check whether --enable-html was given.
9648 if test "${enable_html+set}" = set; then
9649 enableval=$enable_html;
9650 if test "$enableval" = yes; then
9651 wx_cv_use_html='wxUSE_HTML=yes'
9652 else
9653 wx_cv_use_html='wxUSE_HTML=no'
9654 fi
9655 cache=yes
9656
9657 else
9658
9659 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9660 if test "x$LINE" != x ; then
9661 eval "DEFAULT_$LINE"
9662 cache=yes
9663 else
9664 cache=no
9665 fi
9666
9667 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9668
9669 fi
9670
9671
9672 eval "$wx_cv_use_html"
9673 if test "x$cache" = xyes; then
9674 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9675 fi
9676
9677 if test x"$enablestring" = xdisable; then
9678 if test $wxUSE_HTML = yes; then
9679 result=no
9680 else
9681 result=yes
9682 fi
9683 else
9684 result=$wxUSE_HTML
9685 fi
9686
9687 { echo "$as_me:$LINENO: result: $result" >&5
9688 echo "${ECHO_T}$result" >&6; }
9689
9690
9691 enablestring=
9692 defaultval=$wxUSE_ALL_FEATURES
9693 if test -z "$defaultval"; then
9694 if test x"$enablestring" = xdisable; then
9695 defaultval=yes
9696 else
9697 defaultval=no
9698 fi
9699 fi
9700
9701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9702 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9703 # Check whether --enable-htmlhelp was given.
9704 if test "${enable_htmlhelp+set}" = set; then
9705 enableval=$enable_htmlhelp;
9706 if test "$enableval" = yes; then
9707 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9708 else
9709 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9710 fi
9711 cache=yes
9712
9713 else
9714
9715 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9716 if test "x$LINE" != x ; then
9717 eval "DEFAULT_$LINE"
9718 cache=yes
9719 else
9720 cache=no
9721 fi
9722
9723 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9724
9725 fi
9726
9727
9728 eval "$wx_cv_use_htmlhelp"
9729 if test "x$cache" = xyes; then
9730 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9731 fi
9732
9733 if test x"$enablestring" = xdisable; then
9734 if test $wxUSE_WXHTML_HELP = yes; then
9735 result=no
9736 else
9737 result=yes
9738 fi
9739 else
9740 result=$wxUSE_WXHTML_HELP
9741 fi
9742
9743 { echo "$as_me:$LINENO: result: $result" >&5
9744 echo "${ECHO_T}$result" >&6; }
9745
9746
9747 enablestring=
9748 defaultval=$wxUSE_ALL_FEATURES
9749 if test -z "$defaultval"; then
9750 if test x"$enablestring" = xdisable; then
9751 defaultval=yes
9752 else
9753 defaultval=no
9754 fi
9755 fi
9756
9757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9759 # Check whether --enable-xrc was given.
9760 if test "${enable_xrc+set}" = set; then
9761 enableval=$enable_xrc;
9762 if test "$enableval" = yes; then
9763 wx_cv_use_xrc='wxUSE_XRC=yes'
9764 else
9765 wx_cv_use_xrc='wxUSE_XRC=no'
9766 fi
9767 cache=yes
9768
9769 else
9770
9771 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9772 if test "x$LINE" != x ; then
9773 eval "DEFAULT_$LINE"
9774 cache=yes
9775 else
9776 cache=no
9777 fi
9778
9779 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9780
9781 fi
9782
9783
9784 eval "$wx_cv_use_xrc"
9785 if test "x$cache" = xyes; then
9786 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9787 fi
9788
9789 if test x"$enablestring" = xdisable; then
9790 if test $wxUSE_XRC = yes; then
9791 result=no
9792 else
9793 result=yes
9794 fi
9795 else
9796 result=$wxUSE_XRC
9797 fi
9798
9799 { echo "$as_me:$LINENO: result: $result" >&5
9800 echo "${ECHO_T}$result" >&6; }
9801
9802
9803 enablestring=
9804 defaultval=$wxUSE_ALL_FEATURES
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9807 defaultval=yes
9808 else
9809 defaultval=no
9810 fi
9811 fi
9812
9813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9814 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9815 # Check whether --enable-aui was given.
9816 if test "${enable_aui+set}" = set; then
9817 enableval=$enable_aui;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_aui='wxUSE_AUI=yes'
9820 else
9821 wx_cv_use_aui='wxUSE_AUI=no'
9822 fi
9823 cache=yes
9824
9825 else
9826
9827 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9828 if test "x$LINE" != x ; then
9829 eval "DEFAULT_$LINE"
9830 cache=yes
9831 else
9832 cache=no
9833 fi
9834
9835 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9836
9837 fi
9838
9839
9840 eval "$wx_cv_use_aui"
9841 if test "x$cache" = xyes; then
9842 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9843 fi
9844
9845 if test x"$enablestring" = xdisable; then
9846 if test $wxUSE_AUI = yes; then
9847 result=no
9848 else
9849 result=yes
9850 fi
9851 else
9852 result=$wxUSE_AUI
9853 fi
9854
9855 { echo "$as_me:$LINENO: result: $result" >&5
9856 echo "${ECHO_T}$result" >&6; }
9857
9858
9859 enablestring=
9860 defaultval=$wxUSE_ALL_FEATURES
9861 if test -z "$defaultval"; then
9862 if test x"$enablestring" = xdisable; then
9863 defaultval=yes
9864 else
9865 defaultval=no
9866 fi
9867 fi
9868
9869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9870 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9871 # Check whether --enable-stc was given.
9872 if test "${enable_stc+set}" = set; then
9873 enableval=$enable_stc;
9874 if test "$enableval" = yes; then
9875 wx_cv_use_stc='wxUSE_STC=yes'
9876 else
9877 wx_cv_use_stc='wxUSE_STC=no'
9878 fi
9879 cache=yes
9880
9881 else
9882
9883 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9884 if test "x$LINE" != x ; then
9885 eval "DEFAULT_$LINE"
9886 cache=yes
9887 else
9888 cache=no
9889 fi
9890
9891 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9892
9893 fi
9894
9895
9896 eval "$wx_cv_use_stc"
9897 if test "x$cache" = xyes; then
9898 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9899 fi
9900
9901 if test x"$enablestring" = xdisable; then
9902 if test $wxUSE_STC = yes; then
9903 result=no
9904 else
9905 result=yes
9906 fi
9907 else
9908 result=$wxUSE_STC
9909 fi
9910
9911 { echo "$as_me:$LINENO: result: $result" >&5
9912 echo "${ECHO_T}$result" >&6; }
9913
9914
9915 enablestring=
9916 defaultval=$wxUSE_ALL_FEATURES
9917 if test -z "$defaultval"; then
9918 if test x"$enablestring" = xdisable; then
9919 defaultval=yes
9920 else
9921 defaultval=no
9922 fi
9923 fi
9924
9925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9927 # Check whether --enable-constraints was given.
9928 if test "${enable_constraints+set}" = set; then
9929 enableval=$enable_constraints;
9930 if test "$enableval" = yes; then
9931 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9932 else
9933 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9934 fi
9935 cache=yes
9936
9937 else
9938
9939 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9940 if test "x$LINE" != x ; then
9941 eval "DEFAULT_$LINE"
9942 cache=yes
9943 else
9944 cache=no
9945 fi
9946
9947 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9948
9949 fi
9950
9951
9952 eval "$wx_cv_use_constraints"
9953 if test "x$cache" = xyes; then
9954 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9955 fi
9956
9957 if test x"$enablestring" = xdisable; then
9958 if test $wxUSE_CONSTRAINTS = yes; then
9959 result=no
9960 else
9961 result=yes
9962 fi
9963 else
9964 result=$wxUSE_CONSTRAINTS
9965 fi
9966
9967 { echo "$as_me:$LINENO: result: $result" >&5
9968 echo "${ECHO_T}$result" >&6; }
9969
9970
9971 enablestring=
9972 defaultval=$wxUSE_ALL_FEATURES
9973 if test -z "$defaultval"; then
9974 if test x"$enablestring" = xdisable; then
9975 defaultval=yes
9976 else
9977 defaultval=no
9978 fi
9979 fi
9980
9981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9983 # Check whether --enable-printarch was given.
9984 if test "${enable_printarch+set}" = set; then
9985 enableval=$enable_printarch;
9986 if test "$enableval" = yes; then
9987 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9988 else
9989 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9990 fi
9991 cache=yes
9992
9993 else
9994
9995 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9996 if test "x$LINE" != x ; then
9997 eval "DEFAULT_$LINE"
9998 cache=yes
9999 else
10000 cache=no
10001 fi
10002
10003 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10004
10005 fi
10006
10007
10008 eval "$wx_cv_use_printarch"
10009 if test "x$cache" = xyes; then
10010 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10011 fi
10012
10013 if test x"$enablestring" = xdisable; then
10014 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10015 result=no
10016 else
10017 result=yes
10018 fi
10019 else
10020 result=$wxUSE_PRINTING_ARCHITECTURE
10021 fi
10022
10023 { echo "$as_me:$LINENO: result: $result" >&5
10024 echo "${ECHO_T}$result" >&6; }
10025
10026
10027 enablestring=
10028 defaultval=$wxUSE_ALL_FEATURES
10029 if test -z "$defaultval"; then
10030 if test x"$enablestring" = xdisable; then
10031 defaultval=yes
10032 else
10033 defaultval=no
10034 fi
10035 fi
10036
10037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10038 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10039 # Check whether --enable-mdi was given.
10040 if test "${enable_mdi+set}" = set; then
10041 enableval=$enable_mdi;
10042 if test "$enableval" = yes; then
10043 wx_cv_use_mdi='wxUSE_MDI=yes'
10044 else
10045 wx_cv_use_mdi='wxUSE_MDI=no'
10046 fi
10047 cache=yes
10048
10049 else
10050
10051 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10052 if test "x$LINE" != x ; then
10053 eval "DEFAULT_$LINE"
10054 cache=yes
10055 else
10056 cache=no
10057 fi
10058
10059 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10060
10061 fi
10062
10063
10064 eval "$wx_cv_use_mdi"
10065 if test "x$cache" = xyes; then
10066 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10067 fi
10068
10069 if test x"$enablestring" = xdisable; then
10070 if test $wxUSE_MDI = yes; then
10071 result=no
10072 else
10073 result=yes
10074 fi
10075 else
10076 result=$wxUSE_MDI
10077 fi
10078
10079 { echo "$as_me:$LINENO: result: $result" >&5
10080 echo "${ECHO_T}$result" >&6; }
10081
10082
10083 enablestring=
10084 defaultval=$wxUSE_ALL_FEATURES
10085 if test -z "$defaultval"; then
10086 if test x"$enablestring" = xdisable; then
10087 defaultval=yes
10088 else
10089 defaultval=no
10090 fi
10091 fi
10092
10093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10094 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10095 # Check whether --enable-mdidoc was given.
10096 if test "${enable_mdidoc+set}" = set; then
10097 enableval=$enable_mdidoc;
10098 if test "$enableval" = yes; then
10099 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10100 else
10101 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10102 fi
10103 cache=yes
10104
10105 else
10106
10107 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x ; then
10109 eval "DEFAULT_$LINE"
10110 cache=yes
10111 else
10112 cache=no
10113 fi
10114
10115 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10116
10117 fi
10118
10119
10120 eval "$wx_cv_use_mdidoc"
10121 if test "x$cache" = xyes; then
10122 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10123 fi
10124
10125 if test x"$enablestring" = xdisable; then
10126 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10127 result=no
10128 else
10129 result=yes
10130 fi
10131 else
10132 result=$wxUSE_MDI_ARCHITECTURE
10133 fi
10134
10135 { echo "$as_me:$LINENO: result: $result" >&5
10136 echo "${ECHO_T}$result" >&6; }
10137
10138
10139 enablestring=
10140 defaultval=$wxUSE_ALL_FEATURES
10141 if test -z "$defaultval"; then
10142 if test x"$enablestring" = xdisable; then
10143 defaultval=yes
10144 else
10145 defaultval=no
10146 fi
10147 fi
10148
10149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10151 # Check whether --enable-loggui was given.
10152 if test "${enable_loggui+set}" = set; then
10153 enableval=$enable_loggui;
10154 if test "$enableval" = yes; then
10155 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10156 else
10157 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10158 fi
10159 cache=yes
10160
10161 else
10162
10163 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10164 if test "x$LINE" != x ; then
10165 eval "DEFAULT_$LINE"
10166 cache=yes
10167 else
10168 cache=no
10169 fi
10170
10171 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10172
10173 fi
10174
10175
10176 eval "$wx_cv_use_loggui"
10177 if test "x$cache" = xyes; then
10178 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10179 fi
10180
10181 if test x"$enablestring" = xdisable; then
10182 if test $wxUSE_LOGGUI = yes; then
10183 result=no
10184 else
10185 result=yes
10186 fi
10187 else
10188 result=$wxUSE_LOGGUI
10189 fi
10190
10191 { echo "$as_me:$LINENO: result: $result" >&5
10192 echo "${ECHO_T}$result" >&6; }
10193
10194
10195 enablestring=
10196 defaultval=$wxUSE_ALL_FEATURES
10197 if test -z "$defaultval"; then
10198 if test x"$enablestring" = xdisable; then
10199 defaultval=yes
10200 else
10201 defaultval=no
10202 fi
10203 fi
10204
10205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10206 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10207 # Check whether --enable-logwin was given.
10208 if test "${enable_logwin+set}" = set; then
10209 enableval=$enable_logwin;
10210 if test "$enableval" = yes; then
10211 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10212 else
10213 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10214 fi
10215 cache=yes
10216
10217 else
10218
10219 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10220 if test "x$LINE" != x ; then
10221 eval "DEFAULT_$LINE"
10222 cache=yes
10223 else
10224 cache=no
10225 fi
10226
10227 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10228
10229 fi
10230
10231
10232 eval "$wx_cv_use_logwin"
10233 if test "x$cache" = xyes; then
10234 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10235 fi
10236
10237 if test x"$enablestring" = xdisable; then
10238 if test $wxUSE_LOGWINDOW = yes; then
10239 result=no
10240 else
10241 result=yes
10242 fi
10243 else
10244 result=$wxUSE_LOGWINDOW
10245 fi
10246
10247 { echo "$as_me:$LINENO: result: $result" >&5
10248 echo "${ECHO_T}$result" >&6; }
10249
10250
10251 enablestring=
10252 defaultval=$wxUSE_ALL_FEATURES
10253 if test -z "$defaultval"; then
10254 if test x"$enablestring" = xdisable; then
10255 defaultval=yes
10256 else
10257 defaultval=no
10258 fi
10259 fi
10260
10261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10262 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10263 # Check whether --enable-logdialog was given.
10264 if test "${enable_logdialog+set}" = set; then
10265 enableval=$enable_logdialog;
10266 if test "$enableval" = yes; then
10267 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10268 else
10269 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10270 fi
10271 cache=yes
10272
10273 else
10274
10275 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10276 if test "x$LINE" != x ; then
10277 eval "DEFAULT_$LINE"
10278 cache=yes
10279 else
10280 cache=no
10281 fi
10282
10283 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10284
10285 fi
10286
10287
10288 eval "$wx_cv_use_logdialog"
10289 if test "x$cache" = xyes; then
10290 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10291 fi
10292
10293 if test x"$enablestring" = xdisable; then
10294 if test $wxUSE_LOGDIALOG = yes; then
10295 result=no
10296 else
10297 result=yes
10298 fi
10299 else
10300 result=$wxUSE_LOGDIALOG
10301 fi
10302
10303 { echo "$as_me:$LINENO: result: $result" >&5
10304 echo "${ECHO_T}$result" >&6; }
10305
10306
10307 enablestring=
10308 defaultval=$wxUSE_ALL_FEATURES
10309 if test -z "$defaultval"; then
10310 if test x"$enablestring" = xdisable; then
10311 defaultval=yes
10312 else
10313 defaultval=no
10314 fi
10315 fi
10316
10317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10319 # Check whether --enable-webkit was given.
10320 if test "${enable_webkit+set}" = set; then
10321 enableval=$enable_webkit;
10322 if test "$enableval" = yes; then
10323 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10324 else
10325 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10326 fi
10327 cache=yes
10328
10329 else
10330
10331 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10332 if test "x$LINE" != x ; then
10333 eval "DEFAULT_$LINE"
10334 cache=yes
10335 else
10336 cache=no
10337 fi
10338
10339 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10340
10341 fi
10342
10343
10344 eval "$wx_cv_use_webkit"
10345 if test "x$cache" = xyes; then
10346 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10347 fi
10348
10349 if test x"$enablestring" = xdisable; then
10350 if test $wxUSE_WEBKIT = yes; then
10351 result=no
10352 else
10353 result=yes
10354 fi
10355 else
10356 result=$wxUSE_WEBKIT
10357 fi
10358
10359 { echo "$as_me:$LINENO: result: $result" >&5
10360 echo "${ECHO_T}$result" >&6; }
10361
10362
10363 enablestring=
10364 defaultval=$wxUSE_ALL_FEATURES
10365 if test -z "$defaultval"; then
10366 if test x"$enablestring" = xdisable; then
10367 defaultval=yes
10368 else
10369 defaultval=no
10370 fi
10371 fi
10372
10373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10375 # Check whether --enable-richtext was given.
10376 if test "${enable_richtext+set}" = set; then
10377 enableval=$enable_richtext;
10378 if test "$enableval" = yes; then
10379 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10380 else
10381 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10382 fi
10383 cache=yes
10384
10385 else
10386
10387 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10390 cache=yes
10391 else
10392 cache=no
10393 fi
10394
10395 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10396
10397 fi
10398
10399
10400 eval "$wx_cv_use_richtext"
10401 if test "x$cache" = xyes; then
10402 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10403 fi
10404
10405 if test x"$enablestring" = xdisable; then
10406 if test $wxUSE_RICHTEXT = yes; then
10407 result=no
10408 else
10409 result=yes
10410 fi
10411 else
10412 result=$wxUSE_RICHTEXT
10413 fi
10414
10415 { echo "$as_me:$LINENO: result: $result" >&5
10416 echo "${ECHO_T}$result" >&6; }
10417
10418
10419 enablestring=
10420 defaultval=$wxUSE_ALL_FEATURES
10421 if test -z "$defaultval"; then
10422 if test x"$enablestring" = xdisable; then
10423 defaultval=yes
10424 else
10425 defaultval=no
10426 fi
10427 fi
10428
10429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10431 # Check whether --enable-graphics_ctx was given.
10432 if test "${enable_graphics_ctx+set}" = set; then
10433 enableval=$enable_graphics_ctx;
10434 if test "$enableval" = yes; then
10435 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10436 else
10437 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10438 fi
10439 cache=yes
10440
10441 else
10442
10443 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10444 if test "x$LINE" != x ; then
10445 eval "DEFAULT_$LINE"
10446 cache=yes
10447 else
10448 cache=no
10449 fi
10450
10451 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10452
10453 fi
10454
10455
10456 eval "$wx_cv_use_graphics_ctx"
10457 if test "x$cache" = xyes; then
10458 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10459 fi
10460
10461 if test x"$enablestring" = xdisable; then
10462 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10463 result=no
10464 else
10465 result=yes
10466 fi
10467 else
10468 result=$wxUSE_GRAPHICS_CONTEXT
10469 fi
10470
10471 { echo "$as_me:$LINENO: result: $result" >&5
10472 echo "${ECHO_T}$result" >&6; }
10473
10474
10475 enablestring=
10476 defaultval=$wxUSE_ALL_FEATURES
10477 if test -z "$defaultval"; then
10478 if test x"$enablestring" = xdisable; then
10479 defaultval=yes
10480 else
10481 defaultval=no
10482 fi
10483 fi
10484
10485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10487 # Check whether --enable-postscript was given.
10488 if test "${enable_postscript+set}" = set; then
10489 enableval=$enable_postscript;
10490 if test "$enableval" = yes; then
10491 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10492 else
10493 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10494 fi
10495 cache=yes
10496
10497 else
10498
10499 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10500 if test "x$LINE" != x ; then
10501 eval "DEFAULT_$LINE"
10502 cache=yes
10503 else
10504 cache=no
10505 fi
10506
10507 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10508
10509 fi
10510
10511
10512 eval "$wx_cv_use_postscript"
10513 if test "x$cache" = xyes; then
10514 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10515 fi
10516
10517 if test x"$enablestring" = xdisable; then
10518 if test $wxUSE_POSTSCRIPT = yes; then
10519 result=no
10520 else
10521 result=yes
10522 fi
10523 else
10524 result=$wxUSE_POSTSCRIPT
10525 fi
10526
10527 { echo "$as_me:$LINENO: result: $result" >&5
10528 echo "${ECHO_T}$result" >&6; }
10529
10530
10531 enablestring=
10532 defaultval=$wxUSE_ALL_FEATURES
10533 if test -z "$defaultval"; then
10534 if test x"$enablestring" = xdisable; then
10535 defaultval=yes
10536 else
10537 defaultval=no
10538 fi
10539 fi
10540
10541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10542 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10543 # Check whether --enable-svg was given.
10544 if test "${enable_svg+set}" = set; then
10545 enableval=$enable_svg;
10546 if test "$enableval" = yes; then
10547 wx_cv_use_svg='wxUSE_SVG=yes'
10548 else
10549 wx_cv_use_svg='wxUSE_SVG=no'
10550 fi
10551 cache=yes
10552
10553 else
10554
10555 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10556 if test "x$LINE" != x ; then
10557 eval "DEFAULT_$LINE"
10558 cache=yes
10559 else
10560 cache=no
10561 fi
10562
10563 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10564
10565 fi
10566
10567
10568 eval "$wx_cv_use_svg"
10569 if test "x$cache" = xyes; then
10570 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10571 fi
10572
10573 if test x"$enablestring" = xdisable; then
10574 if test $wxUSE_SVG = yes; then
10575 result=no
10576 else
10577 result=yes
10578 fi
10579 else
10580 result=$wxUSE_SVG
10581 fi
10582
10583 { echo "$as_me:$LINENO: result: $result" >&5
10584 echo "${ECHO_T}$result" >&6; }
10585
10586
10587
10588
10589 enablestring=
10590 defaultval=$wxUSE_ALL_FEATURES
10591 if test -z "$defaultval"; then
10592 if test x"$enablestring" = xdisable; then
10593 defaultval=yes
10594 else
10595 defaultval=no
10596 fi
10597 fi
10598
10599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10600 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10601 # Check whether --enable-clipboard was given.
10602 if test "${enable_clipboard+set}" = set; then
10603 enableval=$enable_clipboard;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10606 else
10607 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10608 fi
10609 cache=yes
10610
10611 else
10612
10613 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10614 if test "x$LINE" != x ; then
10615 eval "DEFAULT_$LINE"
10616 cache=yes
10617 else
10618 cache=no
10619 fi
10620
10621 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10622
10623 fi
10624
10625
10626 eval "$wx_cv_use_clipboard"
10627 if test "x$cache" = xyes; then
10628 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10629 fi
10630
10631 if test x"$enablestring" = xdisable; then
10632 if test $wxUSE_CLIPBOARD = yes; then
10633 result=no
10634 else
10635 result=yes
10636 fi
10637 else
10638 result=$wxUSE_CLIPBOARD
10639 fi
10640
10641 { echo "$as_me:$LINENO: result: $result" >&5
10642 echo "${ECHO_T}$result" >&6; }
10643
10644
10645 enablestring=
10646 defaultval=$wxUSE_ALL_FEATURES
10647 if test -z "$defaultval"; then
10648 if test x"$enablestring" = xdisable; then
10649 defaultval=yes
10650 else
10651 defaultval=no
10652 fi
10653 fi
10654
10655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10656 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10657 # Check whether --enable-dnd was given.
10658 if test "${enable_dnd+set}" = set; then
10659 enableval=$enable_dnd;
10660 if test "$enableval" = yes; then
10661 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10662 else
10663 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10664 fi
10665 cache=yes
10666
10667 else
10668
10669 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10670 if test "x$LINE" != x ; then
10671 eval "DEFAULT_$LINE"
10672 cache=yes
10673 else
10674 cache=no
10675 fi
10676
10677 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10678
10679 fi
10680
10681
10682 eval "$wx_cv_use_dnd"
10683 if test "x$cache" = xyes; then
10684 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10685 fi
10686
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_DRAG_AND_DROP = yes; then
10689 result=no
10690 else
10691 result=yes
10692 fi
10693 else
10694 result=$wxUSE_DRAG_AND_DROP
10695 fi
10696
10697 { echo "$as_me:$LINENO: result: $result" >&5
10698 echo "${ECHO_T}$result" >&6; }
10699
10700
10701 enablestring=
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10705 defaultval=yes
10706 else
10707 defaultval=no
10708 fi
10709 fi
10710
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10713 # Check whether --enable-metafile was given.
10714 if test "${enable_metafile+set}" = set; then
10715 enableval=$enable_metafile;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10718 else
10719 wx_cv_use_metafile='wxUSE_METAFILE=no'
10720 fi
10721 cache=yes
10722
10723 else
10724
10725 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10726 if test "x$LINE" != x ; then
10727 eval "DEFAULT_$LINE"
10728 cache=yes
10729 else
10730 cache=no
10731 fi
10732
10733 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10734
10735 fi
10736
10737
10738 eval "$wx_cv_use_metafile"
10739 if test "x$cache" = xyes; then
10740 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10741 fi
10742
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_METAFILE = yes; then
10745 result=no
10746 else
10747 result=yes
10748 fi
10749 else
10750 result=$wxUSE_METAFILE
10751 fi
10752
10753 { echo "$as_me:$LINENO: result: $result" >&5
10754 echo "${ECHO_T}$result" >&6; }
10755
10756
10757
10758 DEFAULT_wxUSE_CONTROLS=none
10759
10760 enablestring=disable
10761 defaultval=
10762 if test -z "$defaultval"; then
10763 if test x"$enablestring" = xdisable; then
10764 defaultval=yes
10765 else
10766 defaultval=no
10767 fi
10768 fi
10769
10770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10771 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10772 # Check whether --enable-controls was given.
10773 if test "${enable_controls+set}" = set; then
10774 enableval=$enable_controls;
10775 if test "$enableval" = yes; then
10776 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10777 else
10778 wx_cv_use_controls='wxUSE_CONTROLS=no'
10779 fi
10780 cache=yes
10781
10782 else
10783
10784 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10785 if test "x$LINE" != x ; then
10786 eval "DEFAULT_$LINE"
10787 cache=yes
10788 else
10789 cache=no
10790 fi
10791
10792 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10793
10794 fi
10795
10796
10797 eval "$wx_cv_use_controls"
10798 if test "x$cache" = xyes; then
10799 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10800 fi
10801
10802 if test x"$enablestring" = xdisable; then
10803 if test $wxUSE_CONTROLS = yes; then
10804 result=no
10805 else
10806 result=yes
10807 fi
10808 else
10809 result=$wxUSE_CONTROLS
10810 fi
10811
10812 { echo "$as_me:$LINENO: result: $result" >&5
10813 echo "${ECHO_T}$result" >&6; }
10814
10815
10816 if test "$wxUSE_CONTROLS" = "yes"; then
10817 DEFAULT_wxUSE_ACCEL=yes
10818 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10819 DEFAULT_wxUSE_BMPBUTTON=yes
10820 DEFAULT_wxUSE_BUTTON=yes
10821 DEFAULT_wxUSE_CALCTRL=yes
10822 DEFAULT_wxUSE_CARET=yes
10823 DEFAULT_wxUSE_COMBOBOX=yes
10824 DEFAULT_wxUSE_CHECKBOX=yes
10825 DEFAULT_wxUSE_CHECKLISTBOX=yes
10826 DEFAULT_wxUSE_CHOICE=yes
10827 DEFAULT_wxUSE_CHOICEBOOK=yes
10828 DEFAULT_wxUSE_COLLPANE=yes
10829 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10830 DEFAULT_wxUSE_COMBOBOX=yes
10831 DEFAULT_wxUSE_DATEPICKCTRL=yes
10832 DEFAULT_wxUSE_DISPLAY=yes
10833 DEFAULT_wxUSE_DETECT_SM=yes
10834 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10835 DEFAULT_wxUSE_FILECTRL=yes
10836 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10837 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10838 DEFAULT_wxUSE_GAUGE=yes
10839 DEFAULT_wxUSE_GRID=yes
10840 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10841 DEFAULT_wxUSE_DATAVIEWCTRL=no
10842 DEFAULT_wxUSE_IMAGLIST=yes
10843 DEFAULT_wxUSE_LISTBOOK=yes
10844 DEFAULT_wxUSE_LISTBOX=yes
10845 DEFAULT_wxUSE_LISTCTRL=yes
10846 DEFAULT_wxUSE_NOTEBOOK=yes
10847 DEFAULT_wxUSE_RADIOBOX=yes
10848 DEFAULT_wxUSE_RADIOBTN=yes
10849 DEFAULT_wxUSE_SASH=yes
10850 DEFAULT_wxUSE_SCROLLBAR=yes
10851 DEFAULT_wxUSE_SEARCHCTRL=yes
10852 DEFAULT_wxUSE_SLIDER=yes
10853 DEFAULT_wxUSE_SPINBTN=yes
10854 DEFAULT_wxUSE_SPINCTRL=yes
10855 DEFAULT_wxUSE_SPLITTER=yes
10856 DEFAULT_wxUSE_STATBMP=yes
10857 DEFAULT_wxUSE_STATBOX=yes
10858 DEFAULT_wxUSE_STATLINE=yes
10859 DEFAULT_wxUSE_STATUSBAR=yes
10860 DEFAULT_wxUSE_TAB_DIALOG=yes
10861 DEFAULT_wxUSE_TOGGLEBTN=yes
10862 DEFAULT_wxUSE_TOOLBAR=yes
10863 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10864 DEFAULT_wxUSE_TOOLTIPS=yes
10865 DEFAULT_wxUSE_TREEBOOK=yes
10866 DEFAULT_wxUSE_TOOLBOOK=yes
10867 DEFAULT_wxUSE_TREECTRL=yes
10868 DEFAULT_wxUSE_POPUPWIN=yes
10869 DEFAULT_wxUSE_TIPWINDOW=yes
10870 elif test "$wxUSE_CONTROLS" = "no"; then
10871 DEFAULT_wxUSE_ACCEL=no
10872 DEFAULT_wxUSE_ANIMATIONCTRL=no
10873 DEFAULT_wxUSE_BMPBUTTON=no
10874 DEFAULT_wxUSE_BUTTON=no
10875 DEFAULT_wxUSE_CALCTRL=no
10876 DEFAULT_wxUSE_CARET=no
10877 DEFAULT_wxUSE_COLLPANE=no
10878 DEFAULT_wxUSE_COMBOBOX=no
10879 DEFAULT_wxUSE_CHECKBOX=no
10880 DEFAULT_wxUSE_CHECKLISTBOX=no
10881 DEFAULT_wxUSE_CHOICE=no
10882 DEFAULT_wxUSE_CHOICEBOOK=no
10883 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10884 DEFAULT_wxUSE_COMBOBOX=no
10885 DEFAULT_wxUSE_DATEPICKCTRL=no
10886 DEFAULT_wxUSE_DISPLAY=no
10887 DEFAULT_wxUSE_DETECT_SM=no
10888 DEFAULT_wxUSE_DIRPICKERCTRL=no
10889 DEFAULT_wxUSE_FILECTRL=no
10890 DEFAULT_wxUSE_FILEPICKERCTRL=no
10891 DEFAULT_wxUSE_FONTPICKERCTRL=no
10892 DEFAULT_wxUSE_GAUGE=no
10893 DEFAULT_wxUSE_GRID=no
10894 DEFAULT_wxUSE_HYPERLINKCTRL=no
10895 DEFAULT_wxUSE_DATAVIEWCTRL=no
10896 DEFAULT_wxUSE_IMAGLIST=no
10897 DEFAULT_wxUSE_LISTBOOK=no
10898 DEFAULT_wxUSE_LISTBOX=no
10899 DEFAULT_wxUSE_LISTCTRL=no
10900 DEFAULT_wxUSE_NOTEBOOK=no
10901 DEFAULT_wxUSE_RADIOBOX=no
10902 DEFAULT_wxUSE_RADIOBTN=no
10903 DEFAULT_wxUSE_SASH=no
10904 DEFAULT_wxUSE_SCROLLBAR=no
10905 DEFAULT_wxUSE_SEARCHCTRL=no
10906 DEFAULT_wxUSE_SLIDER=no
10907 DEFAULT_wxUSE_SPINBTN=no
10908 DEFAULT_wxUSE_SPINCTRL=no
10909 DEFAULT_wxUSE_SPLITTER=no
10910 DEFAULT_wxUSE_STATBMP=no
10911 DEFAULT_wxUSE_STATBOX=no
10912 DEFAULT_wxUSE_STATLINE=no
10913 DEFAULT_wxUSE_STATUSBAR=no
10914 DEFAULT_wxUSE_TAB_DIALOG=no
10915 DEFAULT_wxUSE_TOGGLEBTN=no
10916 DEFAULT_wxUSE_TOOLBAR=no
10917 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10918 DEFAULT_wxUSE_TOOLTIPS=no
10919 DEFAULT_wxUSE_TREEBOOK=no
10920 DEFAULT_wxUSE_TOOLBOOK=no
10921 DEFAULT_wxUSE_TREECTRL=no
10922 DEFAULT_wxUSE_POPUPWIN=no
10923 DEFAULT_wxUSE_TIPWINDOW=no
10924 fi
10925
10926
10927 enablestring=
10928 defaultval=$wxUSE_ALL_FEATURES
10929 if test -z "$defaultval"; then
10930 if test x"$enablestring" = xdisable; then
10931 defaultval=yes
10932 else
10933 defaultval=no
10934 fi
10935 fi
10936
10937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10938 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10939 # Check whether --enable-accel was given.
10940 if test "${enable_accel+set}" = set; then
10941 enableval=$enable_accel;
10942 if test "$enableval" = yes; then
10943 wx_cv_use_accel='wxUSE_ACCEL=yes'
10944 else
10945 wx_cv_use_accel='wxUSE_ACCEL=no'
10946 fi
10947 cache=yes
10948
10949 else
10950
10951 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10952 if test "x$LINE" != x ; then
10953 eval "DEFAULT_$LINE"
10954 cache=yes
10955 else
10956 cache=no
10957 fi
10958
10959 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10960
10961 fi
10962
10963
10964 eval "$wx_cv_use_accel"
10965 if test "x$cache" = xyes; then
10966 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10967 fi
10968
10969 if test x"$enablestring" = xdisable; then
10970 if test $wxUSE_ACCEL = yes; then
10971 result=no
10972 else
10973 result=yes
10974 fi
10975 else
10976 result=$wxUSE_ACCEL
10977 fi
10978
10979 { echo "$as_me:$LINENO: result: $result" >&5
10980 echo "${ECHO_T}$result" >&6; }
10981
10982
10983 enablestring=
10984 defaultval=$wxUSE_ALL_FEATURES
10985 if test -z "$defaultval"; then
10986 if test x"$enablestring" = xdisable; then
10987 defaultval=yes
10988 else
10989 defaultval=no
10990 fi
10991 fi
10992
10993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10995 # Check whether --enable-animatectrl was given.
10996 if test "${enable_animatectrl+set}" = set; then
10997 enableval=$enable_animatectrl;
10998 if test "$enableval" = yes; then
10999 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11000 else
11001 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11002 fi
11003 cache=yes
11004
11005 else
11006
11007 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11008 if test "x$LINE" != x ; then
11009 eval "DEFAULT_$LINE"
11010 cache=yes
11011 else
11012 cache=no
11013 fi
11014
11015 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11016
11017 fi
11018
11019
11020 eval "$wx_cv_use_animatectrl"
11021 if test "x$cache" = xyes; then
11022 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11023 fi
11024
11025 if test x"$enablestring" = xdisable; then
11026 if test $wxUSE_ANIMATIONCTRL = yes; then
11027 result=no
11028 else
11029 result=yes
11030 fi
11031 else
11032 result=$wxUSE_ANIMATIONCTRL
11033 fi
11034
11035 { echo "$as_me:$LINENO: result: $result" >&5
11036 echo "${ECHO_T}$result" >&6; }
11037
11038
11039 enablestring=
11040 defaultval=$wxUSE_ALL_FEATURES
11041 if test -z "$defaultval"; then
11042 if test x"$enablestring" = xdisable; then
11043 defaultval=yes
11044 else
11045 defaultval=no
11046 fi
11047 fi
11048
11049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11050 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11051 # Check whether --enable-button was given.
11052 if test "${enable_button+set}" = set; then
11053 enableval=$enable_button;
11054 if test "$enableval" = yes; then
11055 wx_cv_use_button='wxUSE_BUTTON=yes'
11056 else
11057 wx_cv_use_button='wxUSE_BUTTON=no'
11058 fi
11059 cache=yes
11060
11061 else
11062
11063 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11064 if test "x$LINE" != x ; then
11065 eval "DEFAULT_$LINE"
11066 cache=yes
11067 else
11068 cache=no
11069 fi
11070
11071 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11072
11073 fi
11074
11075
11076 eval "$wx_cv_use_button"
11077 if test "x$cache" = xyes; then
11078 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11079 fi
11080
11081 if test x"$enablestring" = xdisable; then
11082 if test $wxUSE_BUTTON = yes; then
11083 result=no
11084 else
11085 result=yes
11086 fi
11087 else
11088 result=$wxUSE_BUTTON
11089 fi
11090
11091 { echo "$as_me:$LINENO: result: $result" >&5
11092 echo "${ECHO_T}$result" >&6; }
11093
11094
11095 enablestring=
11096 defaultval=$wxUSE_ALL_FEATURES
11097 if test -z "$defaultval"; then
11098 if test x"$enablestring" = xdisable; then
11099 defaultval=yes
11100 else
11101 defaultval=no
11102 fi
11103 fi
11104
11105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11106 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11107 # Check whether --enable-bmpbutton was given.
11108 if test "${enable_bmpbutton+set}" = set; then
11109 enableval=$enable_bmpbutton;
11110 if test "$enableval" = yes; then
11111 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11112 else
11113 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11114 fi
11115 cache=yes
11116
11117 else
11118
11119 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11120 if test "x$LINE" != x ; then
11121 eval "DEFAULT_$LINE"
11122 cache=yes
11123 else
11124 cache=no
11125 fi
11126
11127 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11128
11129 fi
11130
11131
11132 eval "$wx_cv_use_bmpbutton"
11133 if test "x$cache" = xyes; then
11134 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11135 fi
11136
11137 if test x"$enablestring" = xdisable; then
11138 if test $wxUSE_BMPBUTTON = yes; then
11139 result=no
11140 else
11141 result=yes
11142 fi
11143 else
11144 result=$wxUSE_BMPBUTTON
11145 fi
11146
11147 { echo "$as_me:$LINENO: result: $result" >&5
11148 echo "${ECHO_T}$result" >&6; }
11149
11150
11151 enablestring=
11152 defaultval=$wxUSE_ALL_FEATURES
11153 if test -z "$defaultval"; then
11154 if test x"$enablestring" = xdisable; then
11155 defaultval=yes
11156 else
11157 defaultval=no
11158 fi
11159 fi
11160
11161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11162 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11163 # Check whether --enable-bmpcombobox was given.
11164 if test "${enable_bmpcombobox+set}" = set; then
11165 enableval=$enable_bmpcombobox;
11166 if test "$enableval" = yes; then
11167 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11168 else
11169 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11170 fi
11171 cache=yes
11172
11173 else
11174
11175 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x ; then
11177 eval "DEFAULT_$LINE"
11178 cache=yes
11179 else
11180 cache=no
11181 fi
11182
11183 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11184
11185 fi
11186
11187
11188 eval "$wx_cv_use_bmpcombobox"
11189 if test "x$cache" = xyes; then
11190 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11191 fi
11192
11193 if test x"$enablestring" = xdisable; then
11194 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11195 result=no
11196 else
11197 result=yes
11198 fi
11199 else
11200 result=$wxUSE_BITMAPCOMBOBOX
11201 fi
11202
11203 { echo "$as_me:$LINENO: result: $result" >&5
11204 echo "${ECHO_T}$result" >&6; }
11205
11206
11207 enablestring=
11208 defaultval=$wxUSE_ALL_FEATURES
11209 if test -z "$defaultval"; then
11210 if test x"$enablestring" = xdisable; then
11211 defaultval=yes
11212 else
11213 defaultval=no
11214 fi
11215 fi
11216
11217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11218 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11219 # Check whether --enable-calendar was given.
11220 if test "${enable_calendar+set}" = set; then
11221 enableval=$enable_calendar;
11222 if test "$enableval" = yes; then
11223 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11224 else
11225 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11226 fi
11227 cache=yes
11228
11229 else
11230
11231 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11232 if test "x$LINE" != x ; then
11233 eval "DEFAULT_$LINE"
11234 cache=yes
11235 else
11236 cache=no
11237 fi
11238
11239 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11240
11241 fi
11242
11243
11244 eval "$wx_cv_use_calendar"
11245 if test "x$cache" = xyes; then
11246 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11247 fi
11248
11249 if test x"$enablestring" = xdisable; then
11250 if test $wxUSE_CALCTRL = yes; then
11251 result=no
11252 else
11253 result=yes
11254 fi
11255 else
11256 result=$wxUSE_CALCTRL
11257 fi
11258
11259 { echo "$as_me:$LINENO: result: $result" >&5
11260 echo "${ECHO_T}$result" >&6; }
11261
11262
11263 enablestring=
11264 defaultval=$wxUSE_ALL_FEATURES
11265 if test -z "$defaultval"; then
11266 if test x"$enablestring" = xdisable; then
11267 defaultval=yes
11268 else
11269 defaultval=no
11270 fi
11271 fi
11272
11273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11275 # Check whether --enable-caret was given.
11276 if test "${enable_caret+set}" = set; then
11277 enableval=$enable_caret;
11278 if test "$enableval" = yes; then
11279 wx_cv_use_caret='wxUSE_CARET=yes'
11280 else
11281 wx_cv_use_caret='wxUSE_CARET=no'
11282 fi
11283 cache=yes
11284
11285 else
11286
11287 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11288 if test "x$LINE" != x ; then
11289 eval "DEFAULT_$LINE"
11290 cache=yes
11291 else
11292 cache=no
11293 fi
11294
11295 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11296
11297 fi
11298
11299
11300 eval "$wx_cv_use_caret"
11301 if test "x$cache" = xyes; then
11302 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11303 fi
11304
11305 if test x"$enablestring" = xdisable; then
11306 if test $wxUSE_CARET = yes; then
11307 result=no
11308 else
11309 result=yes
11310 fi
11311 else
11312 result=$wxUSE_CARET
11313 fi
11314
11315 { echo "$as_me:$LINENO: result: $result" >&5
11316 echo "${ECHO_T}$result" >&6; }
11317
11318
11319 enablestring=
11320 defaultval=$wxUSE_ALL_FEATURES
11321 if test -z "$defaultval"; then
11322 if test x"$enablestring" = xdisable; then
11323 defaultval=yes
11324 else
11325 defaultval=no
11326 fi
11327 fi
11328
11329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11330 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11331 # Check whether --enable-checkbox was given.
11332 if test "${enable_checkbox+set}" = set; then
11333 enableval=$enable_checkbox;
11334 if test "$enableval" = yes; then
11335 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11336 else
11337 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11338 fi
11339 cache=yes
11340
11341 else
11342
11343 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11344 if test "x$LINE" != x ; then
11345 eval "DEFAULT_$LINE"
11346 cache=yes
11347 else
11348 cache=no
11349 fi
11350
11351 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11352
11353 fi
11354
11355
11356 eval "$wx_cv_use_checkbox"
11357 if test "x$cache" = xyes; then
11358 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11359 fi
11360
11361 if test x"$enablestring" = xdisable; then
11362 if test $wxUSE_CHECKBOX = yes; then
11363 result=no
11364 else
11365 result=yes
11366 fi
11367 else
11368 result=$wxUSE_CHECKBOX
11369 fi
11370
11371 { echo "$as_me:$LINENO: result: $result" >&5
11372 echo "${ECHO_T}$result" >&6; }
11373
11374
11375 enablestring=
11376 defaultval=$wxUSE_ALL_FEATURES
11377 if test -z "$defaultval"; then
11378 if test x"$enablestring" = xdisable; then
11379 defaultval=yes
11380 else
11381 defaultval=no
11382 fi
11383 fi
11384
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11387 # Check whether --enable-checklst was given.
11388 if test "${enable_checklst+set}" = set; then
11389 enableval=$enable_checklst;
11390 if test "$enableval" = yes; then
11391 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11392 else
11393 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11394 fi
11395 cache=yes
11396
11397 else
11398
11399 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11400 if test "x$LINE" != x ; then
11401 eval "DEFAULT_$LINE"
11402 cache=yes
11403 else
11404 cache=no
11405 fi
11406
11407 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11408
11409 fi
11410
11411
11412 eval "$wx_cv_use_checklst"
11413 if test "x$cache" = xyes; then
11414 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11415 fi
11416
11417 if test x"$enablestring" = xdisable; then
11418 if test $wxUSE_CHECKLST = yes; then
11419 result=no
11420 else
11421 result=yes
11422 fi
11423 else
11424 result=$wxUSE_CHECKLST
11425 fi
11426
11427 { echo "$as_me:$LINENO: result: $result" >&5
11428 echo "${ECHO_T}$result" >&6; }
11429
11430
11431 enablestring=
11432 defaultval=$wxUSE_ALL_FEATURES
11433 if test -z "$defaultval"; then
11434 if test x"$enablestring" = xdisable; then
11435 defaultval=yes
11436 else
11437 defaultval=no
11438 fi
11439 fi
11440
11441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11442 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11443 # Check whether --enable-choice was given.
11444 if test "${enable_choice+set}" = set; then
11445 enableval=$enable_choice;
11446 if test "$enableval" = yes; then
11447 wx_cv_use_choice='wxUSE_CHOICE=yes'
11448 else
11449 wx_cv_use_choice='wxUSE_CHOICE=no'
11450 fi
11451 cache=yes
11452
11453 else
11454
11455 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11456 if test "x$LINE" != x ; then
11457 eval "DEFAULT_$LINE"
11458 cache=yes
11459 else
11460 cache=no
11461 fi
11462
11463 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11464
11465 fi
11466
11467
11468 eval "$wx_cv_use_choice"
11469 if test "x$cache" = xyes; then
11470 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11471 fi
11472
11473 if test x"$enablestring" = xdisable; then
11474 if test $wxUSE_CHOICE = yes; then
11475 result=no
11476 else
11477 result=yes
11478 fi
11479 else
11480 result=$wxUSE_CHOICE
11481 fi
11482
11483 { echo "$as_me:$LINENO: result: $result" >&5
11484 echo "${ECHO_T}$result" >&6; }
11485
11486
11487 enablestring=
11488 defaultval=$wxUSE_ALL_FEATURES
11489 if test -z "$defaultval"; then
11490 if test x"$enablestring" = xdisable; then
11491 defaultval=yes
11492 else
11493 defaultval=no
11494 fi
11495 fi
11496
11497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11498 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11499 # Check whether --enable-choicebook was given.
11500 if test "${enable_choicebook+set}" = set; then
11501 enableval=$enable_choicebook;
11502 if test "$enableval" = yes; then
11503 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11504 else
11505 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11506 fi
11507 cache=yes
11508
11509 else
11510
11511 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11512 if test "x$LINE" != x ; then
11513 eval "DEFAULT_$LINE"
11514 cache=yes
11515 else
11516 cache=no
11517 fi
11518
11519 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11520
11521 fi
11522
11523
11524 eval "$wx_cv_use_choicebook"
11525 if test "x$cache" = xyes; then
11526 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11527 fi
11528
11529 if test x"$enablestring" = xdisable; then
11530 if test $wxUSE_CHOICEBOOK = yes; then
11531 result=no
11532 else
11533 result=yes
11534 fi
11535 else
11536 result=$wxUSE_CHOICEBOOK
11537 fi
11538
11539 { echo "$as_me:$LINENO: result: $result" >&5
11540 echo "${ECHO_T}$result" >&6; }
11541
11542
11543 enablestring=
11544 defaultval=$wxUSE_ALL_FEATURES
11545 if test -z "$defaultval"; then
11546 if test x"$enablestring" = xdisable; then
11547 defaultval=yes
11548 else
11549 defaultval=no
11550 fi
11551 fi
11552
11553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11554 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11555 # Check whether --enable-collpane was given.
11556 if test "${enable_collpane+set}" = set; then
11557 enableval=$enable_collpane;
11558 if test "$enableval" = yes; then
11559 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11560 else
11561 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11562 fi
11563 cache=yes
11564
11565 else
11566
11567 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11568 if test "x$LINE" != x ; then
11569 eval "DEFAULT_$LINE"
11570 cache=yes
11571 else
11572 cache=no
11573 fi
11574
11575 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11576
11577 fi
11578
11579
11580 eval "$wx_cv_use_collpane"
11581 if test "x$cache" = xyes; then
11582 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11583 fi
11584
11585 if test x"$enablestring" = xdisable; then
11586 if test $wxUSE_COLLPANE = yes; then
11587 result=no
11588 else
11589 result=yes
11590 fi
11591 else
11592 result=$wxUSE_COLLPANE
11593 fi
11594
11595 { echo "$as_me:$LINENO: result: $result" >&5
11596 echo "${ECHO_T}$result" >&6; }
11597
11598
11599 enablestring=
11600 defaultval=$wxUSE_ALL_FEATURES
11601 if test -z "$defaultval"; then
11602 if test x"$enablestring" = xdisable; then
11603 defaultval=yes
11604 else
11605 defaultval=no
11606 fi
11607 fi
11608
11609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11611 # Check whether --enable-colourpicker was given.
11612 if test "${enable_colourpicker+set}" = set; then
11613 enableval=$enable_colourpicker;
11614 if test "$enableval" = yes; then
11615 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11616 else
11617 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11618 fi
11619 cache=yes
11620
11621 else
11622
11623 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11624 if test "x$LINE" != x ; then
11625 eval "DEFAULT_$LINE"
11626 cache=yes
11627 else
11628 cache=no
11629 fi
11630
11631 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11632
11633 fi
11634
11635
11636 eval "$wx_cv_use_colourpicker"
11637 if test "x$cache" = xyes; then
11638 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11639 fi
11640
11641 if test x"$enablestring" = xdisable; then
11642 if test $wxUSE_COLOURPICKERCTRL = yes; then
11643 result=no
11644 else
11645 result=yes
11646 fi
11647 else
11648 result=$wxUSE_COLOURPICKERCTRL
11649 fi
11650
11651 { echo "$as_me:$LINENO: result: $result" >&5
11652 echo "${ECHO_T}$result" >&6; }
11653
11654
11655 enablestring=
11656 defaultval=$wxUSE_ALL_FEATURES
11657 if test -z "$defaultval"; then
11658 if test x"$enablestring" = xdisable; then
11659 defaultval=yes
11660 else
11661 defaultval=no
11662 fi
11663 fi
11664
11665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11666 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11667 # Check whether --enable-combobox was given.
11668 if test "${enable_combobox+set}" = set; then
11669 enableval=$enable_combobox;
11670 if test "$enableval" = yes; then
11671 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11672 else
11673 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11674 fi
11675 cache=yes
11676
11677 else
11678
11679 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11680 if test "x$LINE" != x ; then
11681 eval "DEFAULT_$LINE"
11682 cache=yes
11683 else
11684 cache=no
11685 fi
11686
11687 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11688
11689 fi
11690
11691
11692 eval "$wx_cv_use_combobox"
11693 if test "x$cache" = xyes; then
11694 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11695 fi
11696
11697 if test x"$enablestring" = xdisable; then
11698 if test $wxUSE_COMBOBOX = yes; then
11699 result=no
11700 else
11701 result=yes
11702 fi
11703 else
11704 result=$wxUSE_COMBOBOX
11705 fi
11706
11707 { echo "$as_me:$LINENO: result: $result" >&5
11708 echo "${ECHO_T}$result" >&6; }
11709
11710
11711 enablestring=
11712 defaultval=$wxUSE_ALL_FEATURES
11713 if test -z "$defaultval"; then
11714 if test x"$enablestring" = xdisable; then
11715 defaultval=yes
11716 else
11717 defaultval=no
11718 fi
11719 fi
11720
11721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11722 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11723 # Check whether --enable-comboctrl was given.
11724 if test "${enable_comboctrl+set}" = set; then
11725 enableval=$enable_comboctrl;
11726 if test "$enableval" = yes; then
11727 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11728 else
11729 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11730 fi
11731 cache=yes
11732
11733 else
11734
11735 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11736 if test "x$LINE" != x ; then
11737 eval "DEFAULT_$LINE"
11738 cache=yes
11739 else
11740 cache=no
11741 fi
11742
11743 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11744
11745 fi
11746
11747
11748 eval "$wx_cv_use_comboctrl"
11749 if test "x$cache" = xyes; then
11750 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11751 fi
11752
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_COMBOCTRL = yes; then
11755 result=no
11756 else
11757 result=yes
11758 fi
11759 else
11760 result=$wxUSE_COMBOCTRL
11761 fi
11762
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11765
11766
11767 enablestring=
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11771 defaultval=yes
11772 else
11773 defaultval=no
11774 fi
11775 fi
11776
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11779 # Check whether --enable-datepick was given.
11780 if test "${enable_datepick+set}" = set; then
11781 enableval=$enable_datepick;
11782 if test "$enableval" = yes; then
11783 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11784 else
11785 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11786 fi
11787 cache=yes
11788
11789 else
11790
11791 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11792 if test "x$LINE" != x ; then
11793 eval "DEFAULT_$LINE"
11794 cache=yes
11795 else
11796 cache=no
11797 fi
11798
11799 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11800
11801 fi
11802
11803
11804 eval "$wx_cv_use_datepick"
11805 if test "x$cache" = xyes; then
11806 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11807 fi
11808
11809 if test x"$enablestring" = xdisable; then
11810 if test $wxUSE_DATEPICKCTRL = yes; then
11811 result=no
11812 else
11813 result=yes
11814 fi
11815 else
11816 result=$wxUSE_DATEPICKCTRL
11817 fi
11818
11819 { echo "$as_me:$LINENO: result: $result" >&5
11820 echo "${ECHO_T}$result" >&6; }
11821
11822
11823 enablestring=
11824 defaultval=$wxUSE_ALL_FEATURES
11825 if test -z "$defaultval"; then
11826 if test x"$enablestring" = xdisable; then
11827 defaultval=yes
11828 else
11829 defaultval=no
11830 fi
11831 fi
11832
11833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11834 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11835 # Check whether --enable-dirpicker was given.
11836 if test "${enable_dirpicker+set}" = set; then
11837 enableval=$enable_dirpicker;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11840 else
11841 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11842 fi
11843 cache=yes
11844
11845 else
11846
11847 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11848 if test "x$LINE" != x ; then
11849 eval "DEFAULT_$LINE"
11850 cache=yes
11851 else
11852 cache=no
11853 fi
11854
11855 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11856
11857 fi
11858
11859
11860 eval "$wx_cv_use_dirpicker"
11861 if test "x$cache" = xyes; then
11862 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11863 fi
11864
11865 if test x"$enablestring" = xdisable; then
11866 if test $wxUSE_DIRPICKERCTRL = yes; then
11867 result=no
11868 else
11869 result=yes
11870 fi
11871 else
11872 result=$wxUSE_DIRPICKERCTRL
11873 fi
11874
11875 { echo "$as_me:$LINENO: result: $result" >&5
11876 echo "${ECHO_T}$result" >&6; }
11877
11878
11879 enablestring=
11880 defaultval=$wxUSE_ALL_FEATURES
11881 if test -z "$defaultval"; then
11882 if test x"$enablestring" = xdisable; then
11883 defaultval=yes
11884 else
11885 defaultval=no
11886 fi
11887 fi
11888
11889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11890 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11891 # Check whether --enable-display was given.
11892 if test "${enable_display+set}" = set; then
11893 enableval=$enable_display;
11894 if test "$enableval" = yes; then
11895 wx_cv_use_display='wxUSE_DISPLAY=yes'
11896 else
11897 wx_cv_use_display='wxUSE_DISPLAY=no'
11898 fi
11899 cache=yes
11900
11901 else
11902
11903 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11904 if test "x$LINE" != x ; then
11905 eval "DEFAULT_$LINE"
11906 cache=yes
11907 else
11908 cache=no
11909 fi
11910
11911 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11912
11913 fi
11914
11915
11916 eval "$wx_cv_use_display"
11917 if test "x$cache" = xyes; then
11918 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11919 fi
11920
11921 if test x"$enablestring" = xdisable; then
11922 if test $wxUSE_DISPLAY = yes; then
11923 result=no
11924 else
11925 result=yes
11926 fi
11927 else
11928 result=$wxUSE_DISPLAY
11929 fi
11930
11931 { echo "$as_me:$LINENO: result: $result" >&5
11932 echo "${ECHO_T}$result" >&6; }
11933
11934
11935 enablestring=
11936 defaultval=$wxUSE_ALL_FEATURES
11937 if test -z "$defaultval"; then
11938 if test x"$enablestring" = xdisable; then
11939 defaultval=yes
11940 else
11941 defaultval=no
11942 fi
11943 fi
11944
11945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11946 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11947 # Check whether --enable-detect_sm was given.
11948 if test "${enable_detect_sm+set}" = set; then
11949 enableval=$enable_detect_sm;
11950 if test "$enableval" = yes; then
11951 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11952 else
11953 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11954 fi
11955 cache=yes
11956
11957 else
11958
11959 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11960 if test "x$LINE" != x ; then
11961 eval "DEFAULT_$LINE"
11962 cache=yes
11963 else
11964 cache=no
11965 fi
11966
11967 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11968
11969 fi
11970
11971
11972 eval "$wx_cv_use_detect_sm"
11973 if test "x$cache" = xyes; then
11974 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11975 fi
11976
11977 if test x"$enablestring" = xdisable; then
11978 if test $wxUSE_DETECT_SM = yes; then
11979 result=no
11980 else
11981 result=yes
11982 fi
11983 else
11984 result=$wxUSE_DETECT_SM
11985 fi
11986
11987 { echo "$as_me:$LINENO: result: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11989
11990
11991 enablestring=
11992 defaultval=$wxUSE_ALL_FEATURES
11993 if test -z "$defaultval"; then
11994 if test x"$enablestring" = xdisable; then
11995 defaultval=yes
11996 else
11997 defaultval=no
11998 fi
11999 fi
12000
12001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12002 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12003 # Check whether --enable-editablebox was given.
12004 if test "${enable_editablebox+set}" = set; then
12005 enableval=$enable_editablebox;
12006 if test "$enableval" = yes; then
12007 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12008 else
12009 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12010 fi
12011 cache=yes
12012
12013 else
12014
12015 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12016 if test "x$LINE" != x ; then
12017 eval "DEFAULT_$LINE"
12018 cache=yes
12019 else
12020 cache=no
12021 fi
12022
12023 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12024
12025 fi
12026
12027
12028 eval "$wx_cv_use_editablebox"
12029 if test "x$cache" = xyes; then
12030 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12031 fi
12032
12033 if test x"$enablestring" = xdisable; then
12034 if test $wxUSE_EDITABLELISTBOX = yes; then
12035 result=no
12036 else
12037 result=yes
12038 fi
12039 else
12040 result=$wxUSE_EDITABLELISTBOX
12041 fi
12042
12043 { echo "$as_me:$LINENO: result: $result" >&5
12044 echo "${ECHO_T}$result" >&6; }
12045
12046
12047 enablestring=
12048 defaultval=$wxUSE_ALL_FEATURES
12049 if test -z "$defaultval"; then
12050 if test x"$enablestring" = xdisable; then
12051 defaultval=yes
12052 else
12053 defaultval=no
12054 fi
12055 fi
12056
12057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12058 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12059 # Check whether --enable-filepicker was given.
12060 if test "${enable_filepicker+set}" = set; then
12061 enableval=$enable_filepicker;
12062 if test "$enableval" = yes; then
12063 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12064 else
12065 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12066 fi
12067 cache=yes
12068
12069 else
12070
12071 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12072 if test "x$LINE" != x ; then
12073 eval "DEFAULT_$LINE"
12074 cache=yes
12075 else
12076 cache=no
12077 fi
12078
12079 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12080
12081 fi
12082
12083
12084 eval "$wx_cv_use_filepicker"
12085 if test "x$cache" = xyes; then
12086 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12087 fi
12088
12089 if test x"$enablestring" = xdisable; then
12090 if test $wxUSE_FILEPICKERCTRL = yes; then
12091 result=no
12092 else
12093 result=yes
12094 fi
12095 else
12096 result=$wxUSE_FILEPICKERCTRL
12097 fi
12098
12099 { echo "$as_me:$LINENO: result: $result" >&5
12100 echo "${ECHO_T}$result" >&6; }
12101
12102
12103 enablestring=
12104 defaultval=$wxUSE_ALL_FEATURES
12105 if test -z "$defaultval"; then
12106 if test x"$enablestring" = xdisable; then
12107 defaultval=yes
12108 else
12109 defaultval=no
12110 fi
12111 fi
12112
12113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12114 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12115 # Check whether --enable-filectrl was given.
12116 if test "${enable_filectrl+set}" = set; then
12117 enableval=$enable_filectrl;
12118 if test "$enableval" = yes; then
12119 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12120 else
12121 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12122 fi
12123 cache=yes
12124
12125 else
12126
12127 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12128 if test "x$LINE" != x ; then
12129 eval "DEFAULT_$LINE"
12130 cache=yes
12131 else
12132 cache=no
12133 fi
12134
12135 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12136
12137 fi
12138
12139
12140 eval "$wx_cv_use_filectrl"
12141 if test "x$cache" = xyes; then
12142 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12143 fi
12144
12145 if test x"$enablestring" = xdisable; then
12146 if test $wxUSE_FILECTRL = yes; then
12147 result=no
12148 else
12149 result=yes
12150 fi
12151 else
12152 result=$wxUSE_FILECTRL
12153 fi
12154
12155 { echo "$as_me:$LINENO: result: $result" >&5
12156 echo "${ECHO_T}$result" >&6; }
12157
12158
12159 enablestring=
12160 defaultval=$wxUSE_ALL_FEATURES
12161 if test -z "$defaultval"; then
12162 if test x"$enablestring" = xdisable; then
12163 defaultval=yes
12164 else
12165 defaultval=no
12166 fi
12167 fi
12168
12169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12170 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12171 # Check whether --enable-fontpicker was given.
12172 if test "${enable_fontpicker+set}" = set; then
12173 enableval=$enable_fontpicker;
12174 if test "$enableval" = yes; then
12175 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12176 else
12177 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12178 fi
12179 cache=yes
12180
12181 else
12182
12183 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12184 if test "x$LINE" != x ; then
12185 eval "DEFAULT_$LINE"
12186 cache=yes
12187 else
12188 cache=no
12189 fi
12190
12191 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12192
12193 fi
12194
12195
12196 eval "$wx_cv_use_fontpicker"
12197 if test "x$cache" = xyes; then
12198 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12199 fi
12200
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_FONTPICKERCTRL = yes; then
12203 result=no
12204 else
12205 result=yes
12206 fi
12207 else
12208 result=$wxUSE_FONTPICKERCTRL
12209 fi
12210
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12213
12214
12215 enablestring=
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12219 defaultval=yes
12220 else
12221 defaultval=no
12222 fi
12223 fi
12224
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12227 # Check whether --enable-gauge was given.
12228 if test "${enable_gauge+set}" = set; then
12229 enableval=$enable_gauge;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12232 else
12233 wx_cv_use_gauge='wxUSE_GAUGE=no'
12234 fi
12235 cache=yes
12236
12237 else
12238
12239 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12240 if test "x$LINE" != x ; then
12241 eval "DEFAULT_$LINE"
12242 cache=yes
12243 else
12244 cache=no
12245 fi
12246
12247 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12248
12249 fi
12250
12251
12252 eval "$wx_cv_use_gauge"
12253 if test "x$cache" = xyes; then
12254 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12255 fi
12256
12257 if test x"$enablestring" = xdisable; then
12258 if test $wxUSE_GAUGE = yes; then
12259 result=no
12260 else
12261 result=yes
12262 fi
12263 else
12264 result=$wxUSE_GAUGE
12265 fi
12266
12267 { echo "$as_me:$LINENO: result: $result" >&5
12268 echo "${ECHO_T}$result" >&6; }
12269
12270
12271 enablestring=
12272 defaultval=$wxUSE_ALL_FEATURES
12273 if test -z "$defaultval"; then
12274 if test x"$enablestring" = xdisable; then
12275 defaultval=yes
12276 else
12277 defaultval=no
12278 fi
12279 fi
12280
12281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12282 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12283 # Check whether --enable-grid was given.
12284 if test "${enable_grid+set}" = set; then
12285 enableval=$enable_grid;
12286 if test "$enableval" = yes; then
12287 wx_cv_use_grid='wxUSE_GRID=yes'
12288 else
12289 wx_cv_use_grid='wxUSE_GRID=no'
12290 fi
12291 cache=yes
12292
12293 else
12294
12295 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12296 if test "x$LINE" != x ; then
12297 eval "DEFAULT_$LINE"
12298 cache=yes
12299 else
12300 cache=no
12301 fi
12302
12303 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12304
12305 fi
12306
12307
12308 eval "$wx_cv_use_grid"
12309 if test "x$cache" = xyes; then
12310 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12311 fi
12312
12313 if test x"$enablestring" = xdisable; then
12314 if test $wxUSE_GRID = yes; then
12315 result=no
12316 else
12317 result=yes
12318 fi
12319 else
12320 result=$wxUSE_GRID
12321 fi
12322
12323 { echo "$as_me:$LINENO: result: $result" >&5
12324 echo "${ECHO_T}$result" >&6; }
12325
12326
12327 enablestring=
12328 defaultval=$wxUSE_ALL_FEATURES
12329 if test -z "$defaultval"; then
12330 if test x"$enablestring" = xdisable; then
12331 defaultval=yes
12332 else
12333 defaultval=no
12334 fi
12335 fi
12336
12337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12338 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12339 # Check whether --enable-dataviewctrl was given.
12340 if test "${enable_dataviewctrl+set}" = set; then
12341 enableval=$enable_dataviewctrl;
12342 if test "$enableval" = yes; then
12343 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12344 else
12345 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12346 fi
12347 cache=yes
12348
12349 else
12350
12351 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12352 if test "x$LINE" != x ; then
12353 eval "DEFAULT_$LINE"
12354 cache=yes
12355 else
12356 cache=no
12357 fi
12358
12359 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12360
12361 fi
12362
12363
12364 eval "$wx_cv_use_dataviewctrl"
12365 if test "x$cache" = xyes; then
12366 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12367 fi
12368
12369 if test x"$enablestring" = xdisable; then
12370 if test $wxUSE_DATAVIEWCTRL = yes; then
12371 result=no
12372 else
12373 result=yes
12374 fi
12375 else
12376 result=$wxUSE_DATAVIEWCTRL
12377 fi
12378
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12381
12382
12383 enablestring=
12384 defaultval=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x"$enablestring" = xdisable; then
12387 defaultval=yes
12388 else
12389 defaultval=no
12390 fi
12391 fi
12392
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12395 # Check whether --enable-hyperlink was given.
12396 if test "${enable_hyperlink+set}" = set; then
12397 enableval=$enable_hyperlink;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12400 else
12401 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12402 fi
12403 cache=yes
12404
12405 else
12406
12407 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12408 if test "x$LINE" != x ; then
12409 eval "DEFAULT_$LINE"
12410 cache=yes
12411 else
12412 cache=no
12413 fi
12414
12415 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12416
12417 fi
12418
12419
12420 eval "$wx_cv_use_hyperlink"
12421 if test "x$cache" = xyes; then
12422 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12423 fi
12424
12425 if test x"$enablestring" = xdisable; then
12426 if test $wxUSE_HYPERLINKCTRL = yes; then
12427 result=no
12428 else
12429 result=yes
12430 fi
12431 else
12432 result=$wxUSE_HYPERLINKCTRL
12433 fi
12434
12435 { echo "$as_me:$LINENO: result: $result" >&5
12436 echo "${ECHO_T}$result" >&6; }
12437
12438
12439 enablestring=
12440 defaultval=$wxUSE_ALL_FEATURES
12441 if test -z "$defaultval"; then
12442 if test x"$enablestring" = xdisable; then
12443 defaultval=yes
12444 else
12445 defaultval=no
12446 fi
12447 fi
12448
12449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12451 # Check whether --enable-imaglist was given.
12452 if test "${enable_imaglist+set}" = set; then
12453 enableval=$enable_imaglist;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12456 else
12457 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12458 fi
12459 cache=yes
12460
12461 else
12462
12463 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12464 if test "x$LINE" != x ; then
12465 eval "DEFAULT_$LINE"
12466 cache=yes
12467 else
12468 cache=no
12469 fi
12470
12471 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12472
12473 fi
12474
12475
12476 eval "$wx_cv_use_imaglist"
12477 if test "x$cache" = xyes; then
12478 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12479 fi
12480
12481 if test x"$enablestring" = xdisable; then
12482 if test $wxUSE_IMAGLIST = yes; then
12483 result=no
12484 else
12485 result=yes
12486 fi
12487 else
12488 result=$wxUSE_IMAGLIST
12489 fi
12490
12491 { echo "$as_me:$LINENO: result: $result" >&5
12492 echo "${ECHO_T}$result" >&6; }
12493
12494
12495 enablestring=
12496 defaultval=$wxUSE_ALL_FEATURES
12497 if test -z "$defaultval"; then
12498 if test x"$enablestring" = xdisable; then
12499 defaultval=yes
12500 else
12501 defaultval=no
12502 fi
12503 fi
12504
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12507 # Check whether --enable-listbook was given.
12508 if test "${enable_listbook+set}" = set; then
12509 enableval=$enable_listbook;
12510 if test "$enableval" = yes; then
12511 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12512 else
12513 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12514 fi
12515 cache=yes
12516
12517 else
12518
12519 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12520 if test "x$LINE" != x ; then
12521 eval "DEFAULT_$LINE"
12522 cache=yes
12523 else
12524 cache=no
12525 fi
12526
12527 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12528
12529 fi
12530
12531
12532 eval "$wx_cv_use_listbook"
12533 if test "x$cache" = xyes; then
12534 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12535 fi
12536
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_LISTBOOK = yes; then
12539 result=no
12540 else
12541 result=yes
12542 fi
12543 else
12544 result=$wxUSE_LISTBOOK
12545 fi
12546
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12549
12550
12551 enablestring=
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12555 defaultval=yes
12556 else
12557 defaultval=no
12558 fi
12559 fi
12560
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12563 # Check whether --enable-listbox was given.
12564 if test "${enable_listbox+set}" = set; then
12565 enableval=$enable_listbox;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12568 else
12569 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12570 fi
12571 cache=yes
12572
12573 else
12574
12575 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12576 if test "x$LINE" != x ; then
12577 eval "DEFAULT_$LINE"
12578 cache=yes
12579 else
12580 cache=no
12581 fi
12582
12583 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12584
12585 fi
12586
12587
12588 eval "$wx_cv_use_listbox"
12589 if test "x$cache" = xyes; then
12590 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12591 fi
12592
12593 if test x"$enablestring" = xdisable; then
12594 if test $wxUSE_LISTBOX = yes; then
12595 result=no
12596 else
12597 result=yes
12598 fi
12599 else
12600 result=$wxUSE_LISTBOX
12601 fi
12602
12603 { echo "$as_me:$LINENO: result: $result" >&5
12604 echo "${ECHO_T}$result" >&6; }
12605
12606
12607 enablestring=
12608 defaultval=$wxUSE_ALL_FEATURES
12609 if test -z "$defaultval"; then
12610 if test x"$enablestring" = xdisable; then
12611 defaultval=yes
12612 else
12613 defaultval=no
12614 fi
12615 fi
12616
12617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12618 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12619 # Check whether --enable-listctrl was given.
12620 if test "${enable_listctrl+set}" = set; then
12621 enableval=$enable_listctrl;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12624 else
12625 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12626 fi
12627 cache=yes
12628
12629 else
12630
12631 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12632 if test "x$LINE" != x ; then
12633 eval "DEFAULT_$LINE"
12634 cache=yes
12635 else
12636 cache=no
12637 fi
12638
12639 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12640
12641 fi
12642
12643
12644 eval "$wx_cv_use_listctrl"
12645 if test "x$cache" = xyes; then
12646 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12647 fi
12648
12649 if test x"$enablestring" = xdisable; then
12650 if test $wxUSE_LISTCTRL = yes; then
12651 result=no
12652 else
12653 result=yes
12654 fi
12655 else
12656 result=$wxUSE_LISTCTRL
12657 fi
12658
12659 { echo "$as_me:$LINENO: result: $result" >&5
12660 echo "${ECHO_T}$result" >&6; }
12661
12662
12663 enablestring=
12664 defaultval=$wxUSE_ALL_FEATURES
12665 if test -z "$defaultval"; then
12666 if test x"$enablestring" = xdisable; then
12667 defaultval=yes
12668 else
12669 defaultval=no
12670 fi
12671 fi
12672
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12675 # Check whether --enable-notebook was given.
12676 if test "${enable_notebook+set}" = set; then
12677 enableval=$enable_notebook;
12678 if test "$enableval" = yes; then
12679 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12680 else
12681 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12682 fi
12683 cache=yes
12684
12685 else
12686
12687 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12688 if test "x$LINE" != x ; then
12689 eval "DEFAULT_$LINE"
12690 cache=yes
12691 else
12692 cache=no
12693 fi
12694
12695 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12696
12697 fi
12698
12699
12700 eval "$wx_cv_use_notebook"
12701 if test "x$cache" = xyes; then
12702 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12703 fi
12704
12705 if test x"$enablestring" = xdisable; then
12706 if test $wxUSE_NOTEBOOK = yes; then
12707 result=no
12708 else
12709 result=yes
12710 fi
12711 else
12712 result=$wxUSE_NOTEBOOK
12713 fi
12714
12715 { echo "$as_me:$LINENO: result: $result" >&5
12716 echo "${ECHO_T}$result" >&6; }
12717
12718
12719 enablestring=
12720 defaultval=$wxUSE_ALL_FEATURES
12721 if test -z "$defaultval"; then
12722 if test x"$enablestring" = xdisable; then
12723 defaultval=yes
12724 else
12725 defaultval=no
12726 fi
12727 fi
12728
12729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12730 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12731 # Check whether --enable-odcombobox was given.
12732 if test "${enable_odcombobox+set}" = set; then
12733 enableval=$enable_odcombobox;
12734 if test "$enableval" = yes; then
12735 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12736 else
12737 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12738 fi
12739 cache=yes
12740
12741 else
12742
12743 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12744 if test "x$LINE" != x ; then
12745 eval "DEFAULT_$LINE"
12746 cache=yes
12747 else
12748 cache=no
12749 fi
12750
12751 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12752
12753 fi
12754
12755
12756 eval "$wx_cv_use_odcombobox"
12757 if test "x$cache" = xyes; then
12758 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12759 fi
12760
12761 if test x"$enablestring" = xdisable; then
12762 if test $wxUSE_ODCOMBOBOX = yes; then
12763 result=no
12764 else
12765 result=yes
12766 fi
12767 else
12768 result=$wxUSE_ODCOMBOBOX
12769 fi
12770
12771 { echo "$as_me:$LINENO: result: $result" >&5
12772 echo "${ECHO_T}$result" >&6; }
12773
12774
12775 enablestring=
12776 defaultval=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x"$enablestring" = xdisable; then
12779 defaultval=yes
12780 else
12781 defaultval=no
12782 fi
12783 fi
12784
12785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12786 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12787 # Check whether --enable-radiobox was given.
12788 if test "${enable_radiobox+set}" = set; then
12789 enableval=$enable_radiobox;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12792 else
12793 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12794 fi
12795 cache=yes
12796
12797 else
12798
12799 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12800 if test "x$LINE" != x ; then
12801 eval "DEFAULT_$LINE"
12802 cache=yes
12803 else
12804 cache=no
12805 fi
12806
12807 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12808
12809 fi
12810
12811
12812 eval "$wx_cv_use_radiobox"
12813 if test "x$cache" = xyes; then
12814 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12815 fi
12816
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_RADIOBOX = yes; then
12819 result=no
12820 else
12821 result=yes
12822 fi
12823 else
12824 result=$wxUSE_RADIOBOX
12825 fi
12826
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12829
12830
12831 enablestring=
12832 defaultval=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x"$enablestring" = xdisable; then
12835 defaultval=yes
12836 else
12837 defaultval=no
12838 fi
12839 fi
12840
12841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12842 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12843 # Check whether --enable-radiobtn was given.
12844 if test "${enable_radiobtn+set}" = set; then
12845 enableval=$enable_radiobtn;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12848 else
12849 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12850 fi
12851 cache=yes
12852
12853 else
12854
12855 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12856 if test "x$LINE" != x ; then
12857 eval "DEFAULT_$LINE"
12858 cache=yes
12859 else
12860 cache=no
12861 fi
12862
12863 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12864
12865 fi
12866
12867
12868 eval "$wx_cv_use_radiobtn"
12869 if test "x$cache" = xyes; then
12870 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12871 fi
12872
12873 if test x"$enablestring" = xdisable; then
12874 if test $wxUSE_RADIOBTN = yes; then
12875 result=no
12876 else
12877 result=yes
12878 fi
12879 else
12880 result=$wxUSE_RADIOBTN
12881 fi
12882
12883 { echo "$as_me:$LINENO: result: $result" >&5
12884 echo "${ECHO_T}$result" >&6; }
12885
12886
12887 enablestring=
12888 defaultval=$wxUSE_ALL_FEATURES
12889 if test -z "$defaultval"; then
12890 if test x"$enablestring" = xdisable; then
12891 defaultval=yes
12892 else
12893 defaultval=no
12894 fi
12895 fi
12896
12897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12898 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12899 # Check whether --enable-sash was given.
12900 if test "${enable_sash+set}" = set; then
12901 enableval=$enable_sash;
12902 if test "$enableval" = yes; then
12903 wx_cv_use_sash='wxUSE_SASH=yes'
12904 else
12905 wx_cv_use_sash='wxUSE_SASH=no'
12906 fi
12907 cache=yes
12908
12909 else
12910
12911 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12912 if test "x$LINE" != x ; then
12913 eval "DEFAULT_$LINE"
12914 cache=yes
12915 else
12916 cache=no
12917 fi
12918
12919 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12920
12921 fi
12922
12923
12924 eval "$wx_cv_use_sash"
12925 if test "x$cache" = xyes; then
12926 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12927 fi
12928
12929 if test x"$enablestring" = xdisable; then
12930 if test $wxUSE_SASH = yes; then
12931 result=no
12932 else
12933 result=yes
12934 fi
12935 else
12936 result=$wxUSE_SASH
12937 fi
12938
12939 { echo "$as_me:$LINENO: result: $result" >&5
12940 echo "${ECHO_T}$result" >&6; }
12941
12942
12943 enablestring=
12944 defaultval=$wxUSE_ALL_FEATURES
12945 if test -z "$defaultval"; then
12946 if test x"$enablestring" = xdisable; then
12947 defaultval=yes
12948 else
12949 defaultval=no
12950 fi
12951 fi
12952
12953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12954 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12955 # Check whether --enable-scrollbar was given.
12956 if test "${enable_scrollbar+set}" = set; then
12957 enableval=$enable_scrollbar;
12958 if test "$enableval" = yes; then
12959 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12960 else
12961 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12962 fi
12963 cache=yes
12964
12965 else
12966
12967 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12968 if test "x$LINE" != x ; then
12969 eval "DEFAULT_$LINE"
12970 cache=yes
12971 else
12972 cache=no
12973 fi
12974
12975 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12976
12977 fi
12978
12979
12980 eval "$wx_cv_use_scrollbar"
12981 if test "x$cache" = xyes; then
12982 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12983 fi
12984
12985 if test x"$enablestring" = xdisable; then
12986 if test $wxUSE_SCROLLBAR = yes; then
12987 result=no
12988 else
12989 result=yes
12990 fi
12991 else
12992 result=$wxUSE_SCROLLBAR
12993 fi
12994
12995 { echo "$as_me:$LINENO: result: $result" >&5
12996 echo "${ECHO_T}$result" >&6; }
12997
12998
12999 enablestring=
13000 defaultval=$wxUSE_ALL_FEATURES
13001 if test -z "$defaultval"; then
13002 if test x"$enablestring" = xdisable; then
13003 defaultval=yes
13004 else
13005 defaultval=no
13006 fi
13007 fi
13008
13009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13010 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13011 # Check whether --enable-searchctrl was given.
13012 if test "${enable_searchctrl+set}" = set; then
13013 enableval=$enable_searchctrl;
13014 if test "$enableval" = yes; then
13015 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13016 else
13017 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13018 fi
13019 cache=yes
13020
13021 else
13022
13023 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13024 if test "x$LINE" != x ; then
13025 eval "DEFAULT_$LINE"
13026 cache=yes
13027 else
13028 cache=no
13029 fi
13030
13031 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13032
13033 fi
13034
13035
13036 eval "$wx_cv_use_searchctrl"
13037 if test "x$cache" = xyes; then
13038 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13039 fi
13040
13041 if test x"$enablestring" = xdisable; then
13042 if test $wxUSE_SEARCHCTRL = yes; then
13043 result=no
13044 else
13045 result=yes
13046 fi
13047 else
13048 result=$wxUSE_SEARCHCTRL
13049 fi
13050
13051 { echo "$as_me:$LINENO: result: $result" >&5
13052 echo "${ECHO_T}$result" >&6; }
13053
13054
13055 enablestring=
13056 defaultval=$wxUSE_ALL_FEATURES
13057 if test -z "$defaultval"; then
13058 if test x"$enablestring" = xdisable; then
13059 defaultval=yes
13060 else
13061 defaultval=no
13062 fi
13063 fi
13064
13065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13066 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13067 # Check whether --enable-slider was given.
13068 if test "${enable_slider+set}" = set; then
13069 enableval=$enable_slider;
13070 if test "$enableval" = yes; then
13071 wx_cv_use_slider='wxUSE_SLIDER=yes'
13072 else
13073 wx_cv_use_slider='wxUSE_SLIDER=no'
13074 fi
13075 cache=yes
13076
13077 else
13078
13079 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13080 if test "x$LINE" != x ; then
13081 eval "DEFAULT_$LINE"
13082 cache=yes
13083 else
13084 cache=no
13085 fi
13086
13087 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13088
13089 fi
13090
13091
13092 eval "$wx_cv_use_slider"
13093 if test "x$cache" = xyes; then
13094 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13095 fi
13096
13097 if test x"$enablestring" = xdisable; then
13098 if test $wxUSE_SLIDER = yes; then
13099 result=no
13100 else
13101 result=yes
13102 fi
13103 else
13104 result=$wxUSE_SLIDER
13105 fi
13106
13107 { echo "$as_me:$LINENO: result: $result" >&5
13108 echo "${ECHO_T}$result" >&6; }
13109
13110
13111 enablestring=
13112 defaultval=$wxUSE_ALL_FEATURES
13113 if test -z "$defaultval"; then
13114 if test x"$enablestring" = xdisable; then
13115 defaultval=yes
13116 else
13117 defaultval=no
13118 fi
13119 fi
13120
13121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13122 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13123 # Check whether --enable-spinbtn was given.
13124 if test "${enable_spinbtn+set}" = set; then
13125 enableval=$enable_spinbtn;
13126 if test "$enableval" = yes; then
13127 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13128 else
13129 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13130 fi
13131 cache=yes
13132
13133 else
13134
13135 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13136 if test "x$LINE" != x ; then
13137 eval "DEFAULT_$LINE"
13138 cache=yes
13139 else
13140 cache=no
13141 fi
13142
13143 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13144
13145 fi
13146
13147
13148 eval "$wx_cv_use_spinbtn"
13149 if test "x$cache" = xyes; then
13150 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13151 fi
13152
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_SPINBTN = yes; then
13155 result=no
13156 else
13157 result=yes
13158 fi
13159 else
13160 result=$wxUSE_SPINBTN
13161 fi
13162
13163 { echo "$as_me:$LINENO: result: $result" >&5
13164 echo "${ECHO_T}$result" >&6; }
13165
13166
13167 enablestring=
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13171 defaultval=yes
13172 else
13173 defaultval=no
13174 fi
13175 fi
13176
13177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13178 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13179 # Check whether --enable-spinctrl was given.
13180 if test "${enable_spinctrl+set}" = set; then
13181 enableval=$enable_spinctrl;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13184 else
13185 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13186 fi
13187 cache=yes
13188
13189 else
13190
13191 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13192 if test "x$LINE" != x ; then
13193 eval "DEFAULT_$LINE"
13194 cache=yes
13195 else
13196 cache=no
13197 fi
13198
13199 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13200
13201 fi
13202
13203
13204 eval "$wx_cv_use_spinctrl"
13205 if test "x$cache" = xyes; then
13206 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13207 fi
13208
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_SPINCTRL = yes; then
13211 result=no
13212 else
13213 result=yes
13214 fi
13215 else
13216 result=$wxUSE_SPINCTRL
13217 fi
13218
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13235 # Check whether --enable-splitter was given.
13236 if test "${enable_splitter+set}" = set; then
13237 enableval=$enable_splitter;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13240 else
13241 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13242 fi
13243 cache=yes
13244
13245 else
13246
13247 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13248 if test "x$LINE" != x ; then
13249 eval "DEFAULT_$LINE"
13250 cache=yes
13251 else
13252 cache=no
13253 fi
13254
13255 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13256
13257 fi
13258
13259
13260 eval "$wx_cv_use_splitter"
13261 if test "x$cache" = xyes; then
13262 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13263 fi
13264
13265 if test x"$enablestring" = xdisable; then
13266 if test $wxUSE_SPLITTER = yes; then
13267 result=no
13268 else
13269 result=yes
13270 fi
13271 else
13272 result=$wxUSE_SPLITTER
13273 fi
13274
13275 { echo "$as_me:$LINENO: result: $result" >&5
13276 echo "${ECHO_T}$result" >&6; }
13277
13278
13279 enablestring=
13280 defaultval=$wxUSE_ALL_FEATURES
13281 if test -z "$defaultval"; then
13282 if test x"$enablestring" = xdisable; then
13283 defaultval=yes
13284 else
13285 defaultval=no
13286 fi
13287 fi
13288
13289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13290 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13291 # Check whether --enable-statbmp was given.
13292 if test "${enable_statbmp+set}" = set; then
13293 enableval=$enable_statbmp;
13294 if test "$enableval" = yes; then
13295 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13296 else
13297 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13298 fi
13299 cache=yes
13300
13301 else
13302
13303 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13304 if test "x$LINE" != x ; then
13305 eval "DEFAULT_$LINE"
13306 cache=yes
13307 else
13308 cache=no
13309 fi
13310
13311 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13312
13313 fi
13314
13315
13316 eval "$wx_cv_use_statbmp"
13317 if test "x$cache" = xyes; then
13318 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13319 fi
13320
13321 if test x"$enablestring" = xdisable; then
13322 if test $wxUSE_STATBMP = yes; then
13323 result=no
13324 else
13325 result=yes
13326 fi
13327 else
13328 result=$wxUSE_STATBMP
13329 fi
13330
13331 { echo "$as_me:$LINENO: result: $result" >&5
13332 echo "${ECHO_T}$result" >&6; }
13333
13334
13335 enablestring=
13336 defaultval=$wxUSE_ALL_FEATURES
13337 if test -z "$defaultval"; then
13338 if test x"$enablestring" = xdisable; then
13339 defaultval=yes
13340 else
13341 defaultval=no
13342 fi
13343 fi
13344
13345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13346 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13347 # Check whether --enable-statbox was given.
13348 if test "${enable_statbox+set}" = set; then
13349 enableval=$enable_statbox;
13350 if test "$enableval" = yes; then
13351 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13352 else
13353 wx_cv_use_statbox='wxUSE_STATBOX=no'
13354 fi
13355 cache=yes
13356
13357 else
13358
13359 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13360 if test "x$LINE" != x ; then
13361 eval "DEFAULT_$LINE"
13362 cache=yes
13363 else
13364 cache=no
13365 fi
13366
13367 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13368
13369 fi
13370
13371
13372 eval "$wx_cv_use_statbox"
13373 if test "x$cache" = xyes; then
13374 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13375 fi
13376
13377 if test x"$enablestring" = xdisable; then
13378 if test $wxUSE_STATBOX = yes; then
13379 result=no
13380 else
13381 result=yes
13382 fi
13383 else
13384 result=$wxUSE_STATBOX
13385 fi
13386
13387 { echo "$as_me:$LINENO: result: $result" >&5
13388 echo "${ECHO_T}$result" >&6; }
13389
13390
13391 enablestring=
13392 defaultval=$wxUSE_ALL_FEATURES
13393 if test -z "$defaultval"; then
13394 if test x"$enablestring" = xdisable; then
13395 defaultval=yes
13396 else
13397 defaultval=no
13398 fi
13399 fi
13400
13401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13402 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13403 # Check whether --enable-statline was given.
13404 if test "${enable_statline+set}" = set; then
13405 enableval=$enable_statline;
13406 if test "$enableval" = yes; then
13407 wx_cv_use_statline='wxUSE_STATLINE=yes'
13408 else
13409 wx_cv_use_statline='wxUSE_STATLINE=no'
13410 fi
13411 cache=yes
13412
13413 else
13414
13415 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13416 if test "x$LINE" != x ; then
13417 eval "DEFAULT_$LINE"
13418 cache=yes
13419 else
13420 cache=no
13421 fi
13422
13423 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13424
13425 fi
13426
13427
13428 eval "$wx_cv_use_statline"
13429 if test "x$cache" = xyes; then
13430 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13431 fi
13432
13433 if test x"$enablestring" = xdisable; then
13434 if test $wxUSE_STATLINE = yes; then
13435 result=no
13436 else
13437 result=yes
13438 fi
13439 else
13440 result=$wxUSE_STATLINE
13441 fi
13442
13443 { echo "$as_me:$LINENO: result: $result" >&5
13444 echo "${ECHO_T}$result" >&6; }
13445
13446
13447 enablestring=
13448 defaultval=$wxUSE_ALL_FEATURES
13449 if test -z "$defaultval"; then
13450 if test x"$enablestring" = xdisable; then
13451 defaultval=yes
13452 else
13453 defaultval=no
13454 fi
13455 fi
13456
13457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13458 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13459 # Check whether --enable-stattext was given.
13460 if test "${enable_stattext+set}" = set; then
13461 enableval=$enable_stattext;
13462 if test "$enableval" = yes; then
13463 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13464 else
13465 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13466 fi
13467 cache=yes
13468
13469 else
13470
13471 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13472 if test "x$LINE" != x ; then
13473 eval "DEFAULT_$LINE"
13474 cache=yes
13475 else
13476 cache=no
13477 fi
13478
13479 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13480
13481 fi
13482
13483
13484 eval "$wx_cv_use_stattext"
13485 if test "x$cache" = xyes; then
13486 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13487 fi
13488
13489 if test x"$enablestring" = xdisable; then
13490 if test $wxUSE_STATTEXT = yes; then
13491 result=no
13492 else
13493 result=yes
13494 fi
13495 else
13496 result=$wxUSE_STATTEXT
13497 fi
13498
13499 { echo "$as_me:$LINENO: result: $result" >&5
13500 echo "${ECHO_T}$result" >&6; }
13501
13502
13503 enablestring=
13504 defaultval=$wxUSE_ALL_FEATURES
13505 if test -z "$defaultval"; then
13506 if test x"$enablestring" = xdisable; then
13507 defaultval=yes
13508 else
13509 defaultval=no
13510 fi
13511 fi
13512
13513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13514 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13515 # Check whether --enable-statusbar was given.
13516 if test "${enable_statusbar+set}" = set; then
13517 enableval=$enable_statusbar;
13518 if test "$enableval" = yes; then
13519 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13520 else
13521 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13522 fi
13523 cache=yes
13524
13525 else
13526
13527 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13528 if test "x$LINE" != x ; then
13529 eval "DEFAULT_$LINE"
13530 cache=yes
13531 else
13532 cache=no
13533 fi
13534
13535 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13536
13537 fi
13538
13539
13540 eval "$wx_cv_use_statusbar"
13541 if test "x$cache" = xyes; then
13542 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13543 fi
13544
13545 if test x"$enablestring" = xdisable; then
13546 if test $wxUSE_STATUSBAR = yes; then
13547 result=no
13548 else
13549 result=yes
13550 fi
13551 else
13552 result=$wxUSE_STATUSBAR
13553 fi
13554
13555 { echo "$as_me:$LINENO: result: $result" >&5
13556 echo "${ECHO_T}$result" >&6; }
13557
13558
13559 enablestring=
13560 defaultval=$wxUSE_ALL_FEATURES
13561 if test -z "$defaultval"; then
13562 if test x"$enablestring" = xdisable; then
13563 defaultval=yes
13564 else
13565 defaultval=no
13566 fi
13567 fi
13568
13569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13570 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13571 # Check whether --enable-tabdialog was given.
13572 if test "${enable_tabdialog+set}" = set; then
13573 enableval=$enable_tabdialog;
13574 if test "$enableval" = yes; then
13575 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13576 else
13577 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13578 fi
13579 cache=yes
13580
13581 else
13582
13583 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13584 if test "x$LINE" != x ; then
13585 eval "DEFAULT_$LINE"
13586 cache=yes
13587 else
13588 cache=no
13589 fi
13590
13591 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13592
13593 fi
13594
13595
13596 eval "$wx_cv_use_tabdialog"
13597 if test "x$cache" = xyes; then
13598 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13599 fi
13600
13601 if test x"$enablestring" = xdisable; then
13602 if test $wxUSE_TAB_DIALOG = yes; then
13603 result=no
13604 else
13605 result=yes
13606 fi
13607 else
13608 result=$wxUSE_TAB_DIALOG
13609 fi
13610
13611 { echo "$as_me:$LINENO: result: $result" >&5
13612 echo "${ECHO_T}$result" >&6; }
13613
13614
13615 enablestring=
13616 defaultval=$wxUSE_ALL_FEATURES
13617 if test -z "$defaultval"; then
13618 if test x"$enablestring" = xdisable; then
13619 defaultval=yes
13620 else
13621 defaultval=no
13622 fi
13623 fi
13624
13625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13626 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13627 # Check whether --enable-taskbaricon was given.
13628 if test "${enable_taskbaricon+set}" = set; then
13629 enableval=$enable_taskbaricon;
13630 if test "$enableval" = yes; then
13631 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13632 else
13633 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13634 fi
13635 cache=yes
13636
13637 else
13638
13639 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13640 if test "x$LINE" != x ; then
13641 eval "DEFAULT_$LINE"
13642 cache=yes
13643 else
13644 cache=no
13645 fi
13646
13647 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13648
13649 fi
13650
13651
13652 eval "$wx_cv_use_taskbaricon"
13653 if test "x$cache" = xyes; then
13654 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13655 fi
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_TASKBARICON = yes; then
13659 result=no
13660 else
13661 result=yes
13662 fi
13663 else
13664 result=$wxUSE_TASKBARICON
13665 fi
13666
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13669
13670
13671 enablestring=
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13675 defaultval=yes
13676 else
13677 defaultval=no
13678 fi
13679 fi
13680
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13683 # Check whether --enable-textctrl was given.
13684 if test "${enable_textctrl+set}" = set; then
13685 enableval=$enable_textctrl;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13688 else
13689 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13690 fi
13691 cache=yes
13692
13693 else
13694
13695 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13696 if test "x$LINE" != x ; then
13697 eval "DEFAULT_$LINE"
13698 cache=yes
13699 else
13700 cache=no
13701 fi
13702
13703 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13704
13705 fi
13706
13707
13708 eval "$wx_cv_use_textctrl"
13709 if test "x$cache" = xyes; then
13710 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13711 fi
13712
13713 if test x"$enablestring" = xdisable; then
13714 if test $wxUSE_TEXTCTRL = yes; then
13715 result=no
13716 else
13717 result=yes
13718 fi
13719 else
13720 result=$wxUSE_TEXTCTRL
13721 fi
13722
13723 { echo "$as_me:$LINENO: result: $result" >&5
13724 echo "${ECHO_T}$result" >&6; }
13725
13726
13727 enablestring=
13728 defaultval=$wxUSE_ALL_FEATURES
13729 if test -z "$defaultval"; then
13730 if test x"$enablestring" = xdisable; then
13731 defaultval=yes
13732 else
13733 defaultval=no
13734 fi
13735 fi
13736
13737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13738 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13739 # Check whether --enable-togglebtn was given.
13740 if test "${enable_togglebtn+set}" = set; then
13741 enableval=$enable_togglebtn;
13742 if test "$enableval" = yes; then
13743 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13744 else
13745 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13746 fi
13747 cache=yes
13748
13749 else
13750
13751 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13752 if test "x$LINE" != x ; then
13753 eval "DEFAULT_$LINE"
13754 cache=yes
13755 else
13756 cache=no
13757 fi
13758
13759 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13760
13761 fi
13762
13763
13764 eval "$wx_cv_use_togglebtn"
13765 if test "x$cache" = xyes; then
13766 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13767 fi
13768
13769 if test x"$enablestring" = xdisable; then
13770 if test $wxUSE_TOGGLEBTN = yes; then
13771 result=no
13772 else
13773 result=yes
13774 fi
13775 else
13776 result=$wxUSE_TOGGLEBTN
13777 fi
13778
13779 { echo "$as_me:$LINENO: result: $result" >&5
13780 echo "${ECHO_T}$result" >&6; }
13781
13782
13783 enablestring=
13784 defaultval=$wxUSE_ALL_FEATURES
13785 if test -z "$defaultval"; then
13786 if test x"$enablestring" = xdisable; then
13787 defaultval=yes
13788 else
13789 defaultval=no
13790 fi
13791 fi
13792
13793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13794 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13795 # Check whether --enable-toolbar was given.
13796 if test "${enable_toolbar+set}" = set; then
13797 enableval=$enable_toolbar;
13798 if test "$enableval" = yes; then
13799 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13800 else
13801 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13802 fi
13803 cache=yes
13804
13805 else
13806
13807 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13808 if test "x$LINE" != x ; then
13809 eval "DEFAULT_$LINE"
13810 cache=yes
13811 else
13812 cache=no
13813 fi
13814
13815 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13816
13817 fi
13818
13819
13820 eval "$wx_cv_use_toolbar"
13821 if test "x$cache" = xyes; then
13822 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13823 fi
13824
13825 if test x"$enablestring" = xdisable; then
13826 if test $wxUSE_TOOLBAR = yes; then
13827 result=no
13828 else
13829 result=yes
13830 fi
13831 else
13832 result=$wxUSE_TOOLBAR
13833 fi
13834
13835 { echo "$as_me:$LINENO: result: $result" >&5
13836 echo "${ECHO_T}$result" >&6; }
13837
13838
13839 enablestring=
13840 defaultval=$wxUSE_ALL_FEATURES
13841 if test -z "$defaultval"; then
13842 if test x"$enablestring" = xdisable; then
13843 defaultval=yes
13844 else
13845 defaultval=no
13846 fi
13847 fi
13848
13849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13850 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13851 # Check whether --enable-tbarnative was given.
13852 if test "${enable_tbarnative+set}" = set; then
13853 enableval=$enable_tbarnative;
13854 if test "$enableval" = yes; then
13855 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13856 else
13857 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13858 fi
13859 cache=yes
13860
13861 else
13862
13863 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13864 if test "x$LINE" != x ; then
13865 eval "DEFAULT_$LINE"
13866 cache=yes
13867 else
13868 cache=no
13869 fi
13870
13871 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13872
13873 fi
13874
13875
13876 eval "$wx_cv_use_tbarnative"
13877 if test "x$cache" = xyes; then
13878 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13879 fi
13880
13881 if test x"$enablestring" = xdisable; then
13882 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13883 result=no
13884 else
13885 result=yes
13886 fi
13887 else
13888 result=$wxUSE_TOOLBAR_NATIVE
13889 fi
13890
13891 { echo "$as_me:$LINENO: result: $result" >&5
13892 echo "${ECHO_T}$result" >&6; }
13893
13894
13895 enablestring=
13896 defaultval=$wxUSE_ALL_FEATURES
13897 if test -z "$defaultval"; then
13898 if test x"$enablestring" = xdisable; then
13899 defaultval=yes
13900 else
13901 defaultval=no
13902 fi
13903 fi
13904
13905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13906 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13907 # Check whether --enable-treebook was given.
13908 if test "${enable_treebook+set}" = set; then
13909 enableval=$enable_treebook;
13910 if test "$enableval" = yes; then
13911 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13912 else
13913 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13914 fi
13915 cache=yes
13916
13917 else
13918
13919 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13920 if test "x$LINE" != x ; then
13921 eval "DEFAULT_$LINE"
13922 cache=yes
13923 else
13924 cache=no
13925 fi
13926
13927 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13928
13929 fi
13930
13931
13932 eval "$wx_cv_use_treebook"
13933 if test "x$cache" = xyes; then
13934 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13935 fi
13936
13937 if test x"$enablestring" = xdisable; then
13938 if test $wxUSE_TREEBOOK = yes; then
13939 result=no
13940 else
13941 result=yes
13942 fi
13943 else
13944 result=$wxUSE_TREEBOOK
13945 fi
13946
13947 { echo "$as_me:$LINENO: result: $result" >&5
13948 echo "${ECHO_T}$result" >&6; }
13949
13950
13951 enablestring=
13952 defaultval=$wxUSE_ALL_FEATURES
13953 if test -z "$defaultval"; then
13954 if test x"$enablestring" = xdisable; then
13955 defaultval=yes
13956 else
13957 defaultval=no
13958 fi
13959 fi
13960
13961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13962 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13963 # Check whether --enable-toolbook was given.
13964 if test "${enable_toolbook+set}" = set; then
13965 enableval=$enable_toolbook;
13966 if test "$enableval" = yes; then
13967 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13968 else
13969 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13970 fi
13971 cache=yes
13972
13973 else
13974
13975 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13976 if test "x$LINE" != x ; then
13977 eval "DEFAULT_$LINE"
13978 cache=yes
13979 else
13980 cache=no
13981 fi
13982
13983 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13984
13985 fi
13986
13987
13988 eval "$wx_cv_use_toolbook"
13989 if test "x$cache" = xyes; then
13990 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13991 fi
13992
13993 if test x"$enablestring" = xdisable; then
13994 if test $wxUSE_TOOLBOOK = yes; then
13995 result=no
13996 else
13997 result=yes
13998 fi
13999 else
14000 result=$wxUSE_TOOLBOOK
14001 fi
14002
14003 { echo "$as_me:$LINENO: result: $result" >&5
14004 echo "${ECHO_T}$result" >&6; }
14005
14006
14007 enablestring=
14008 defaultval=$wxUSE_ALL_FEATURES
14009 if test -z "$defaultval"; then
14010 if test x"$enablestring" = xdisable; then
14011 defaultval=yes
14012 else
14013 defaultval=no
14014 fi
14015 fi
14016
14017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14018 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14019 # Check whether --enable-treectrl was given.
14020 if test "${enable_treectrl+set}" = set; then
14021 enableval=$enable_treectrl;
14022 if test "$enableval" = yes; then
14023 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14024 else
14025 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14026 fi
14027 cache=yes
14028
14029 else
14030
14031 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14032 if test "x$LINE" != x ; then
14033 eval "DEFAULT_$LINE"
14034 cache=yes
14035 else
14036 cache=no
14037 fi
14038
14039 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14040
14041 fi
14042
14043
14044 eval "$wx_cv_use_treectrl"
14045 if test "x$cache" = xyes; then
14046 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14047 fi
14048
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_TREECTRL = yes; then
14051 result=no
14052 else
14053 result=yes
14054 fi
14055 else
14056 result=$wxUSE_TREECTRL
14057 fi
14058
14059 { echo "$as_me:$LINENO: result: $result" >&5
14060 echo "${ECHO_T}$result" >&6; }
14061
14062
14063 enablestring=
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14067 defaultval=yes
14068 else
14069 defaultval=no
14070 fi
14071 fi
14072
14073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14074 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14075 # Check whether --enable-tipwindow was given.
14076 if test "${enable_tipwindow+set}" = set; then
14077 enableval=$enable_tipwindow;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14080 else
14081 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14082 fi
14083 cache=yes
14084
14085 else
14086
14087 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14088 if test "x$LINE" != x ; then
14089 eval "DEFAULT_$LINE"
14090 cache=yes
14091 else
14092 cache=no
14093 fi
14094
14095 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14096
14097 fi
14098
14099
14100 eval "$wx_cv_use_tipwindow"
14101 if test "x$cache" = xyes; then
14102 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14103 fi
14104
14105 if test x"$enablestring" = xdisable; then
14106 if test $wxUSE_TIPWINDOW = yes; then
14107 result=no
14108 else
14109 result=yes
14110 fi
14111 else
14112 result=$wxUSE_TIPWINDOW
14113 fi
14114
14115 { echo "$as_me:$LINENO: result: $result" >&5
14116 echo "${ECHO_T}$result" >&6; }
14117
14118
14119 enablestring=
14120 defaultval=$wxUSE_ALL_FEATURES
14121 if test -z "$defaultval"; then
14122 if test x"$enablestring" = xdisable; then
14123 defaultval=yes
14124 else
14125 defaultval=no
14126 fi
14127 fi
14128
14129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14130 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14131 # Check whether --enable-popupwin was given.
14132 if test "${enable_popupwin+set}" = set; then
14133 enableval=$enable_popupwin;
14134 if test "$enableval" = yes; then
14135 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14136 else
14137 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14138 fi
14139 cache=yes
14140
14141 else
14142
14143 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14144 if test "x$LINE" != x ; then
14145 eval "DEFAULT_$LINE"
14146 cache=yes
14147 else
14148 cache=no
14149 fi
14150
14151 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14152
14153 fi
14154
14155
14156 eval "$wx_cv_use_popupwin"
14157 if test "x$cache" = xyes; then
14158 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14159 fi
14160
14161 if test x"$enablestring" = xdisable; then
14162 if test $wxUSE_POPUPWIN = yes; then
14163 result=no
14164 else
14165 result=yes
14166 fi
14167 else
14168 result=$wxUSE_POPUPWIN
14169 fi
14170
14171 { echo "$as_me:$LINENO: result: $result" >&5
14172 echo "${ECHO_T}$result" >&6; }
14173
14174
14175
14176
14177 enablestring=
14178 defaultval=$wxUSE_ALL_FEATURES
14179 if test -z "$defaultval"; then
14180 if test x"$enablestring" = xdisable; then
14181 defaultval=yes
14182 else
14183 defaultval=no
14184 fi
14185 fi
14186
14187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14188 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14189 # Check whether --enable-commondlg was given.
14190 if test "${enable_commondlg+set}" = set; then
14191 enableval=$enable_commondlg;
14192 if test "$enableval" = yes; then
14193 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14194 else
14195 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14196 fi
14197 cache=yes
14198
14199 else
14200
14201 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14202 if test "x$LINE" != x ; then
14203 eval "DEFAULT_$LINE"
14204 cache=yes
14205 else
14206 cache=no
14207 fi
14208
14209 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14210
14211 fi
14212
14213
14214 eval "$wx_cv_use_commondlg"
14215 if test "x$cache" = xyes; then
14216 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14217 fi
14218
14219 if test x"$enablestring" = xdisable; then
14220 if test $wxUSE_COMMONDLGS = yes; then
14221 result=no
14222 else
14223 result=yes
14224 fi
14225 else
14226 result=$wxUSE_COMMONDLGS
14227 fi
14228
14229 { echo "$as_me:$LINENO: result: $result" >&5
14230 echo "${ECHO_T}$result" >&6; }
14231
14232
14233 enablestring=
14234 defaultval=$wxUSE_ALL_FEATURES
14235 if test -z "$defaultval"; then
14236 if test x"$enablestring" = xdisable; then
14237 defaultval=yes
14238 else
14239 defaultval=no
14240 fi
14241 fi
14242
14243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14244 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14245 # Check whether --enable-aboutdlg was given.
14246 if test "${enable_aboutdlg+set}" = set; then
14247 enableval=$enable_aboutdlg;
14248 if test "$enableval" = yes; then
14249 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14250 else
14251 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14252 fi
14253 cache=yes
14254
14255 else
14256
14257 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14258 if test "x$LINE" != x ; then
14259 eval "DEFAULT_$LINE"
14260 cache=yes
14261 else
14262 cache=no
14263 fi
14264
14265 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14266
14267 fi
14268
14269
14270 eval "$wx_cv_use_aboutdlg"
14271 if test "x$cache" = xyes; then
14272 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14273 fi
14274
14275 if test x"$enablestring" = xdisable; then
14276 if test $wxUSE_ABOUTDLG = yes; then
14277 result=no
14278 else
14279 result=yes
14280 fi
14281 else
14282 result=$wxUSE_ABOUTDLG
14283 fi
14284
14285 { echo "$as_me:$LINENO: result: $result" >&5
14286 echo "${ECHO_T}$result" >&6; }
14287
14288
14289 enablestring=
14290 defaultval=$wxUSE_ALL_FEATURES
14291 if test -z "$defaultval"; then
14292 if test x"$enablestring" = xdisable; then
14293 defaultval=yes
14294 else
14295 defaultval=no
14296 fi
14297 fi
14298
14299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14300 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14301 # Check whether --enable-choicedlg was given.
14302 if test "${enable_choicedlg+set}" = set; then
14303 enableval=$enable_choicedlg;
14304 if test "$enableval" = yes; then
14305 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14306 else
14307 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14308 fi
14309 cache=yes
14310
14311 else
14312
14313 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14314 if test "x$LINE" != x ; then
14315 eval "DEFAULT_$LINE"
14316 cache=yes
14317 else
14318 cache=no
14319 fi
14320
14321 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14322
14323 fi
14324
14325
14326 eval "$wx_cv_use_choicedlg"
14327 if test "x$cache" = xyes; then
14328 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14329 fi
14330
14331 if test x"$enablestring" = xdisable; then
14332 if test $wxUSE_CHOICEDLG = yes; then
14333 result=no
14334 else
14335 result=yes
14336 fi
14337 else
14338 result=$wxUSE_CHOICEDLG
14339 fi
14340
14341 { echo "$as_me:$LINENO: result: $result" >&5
14342 echo "${ECHO_T}$result" >&6; }
14343
14344
14345 enablestring=
14346 defaultval=$wxUSE_ALL_FEATURES
14347 if test -z "$defaultval"; then
14348 if test x"$enablestring" = xdisable; then
14349 defaultval=yes
14350 else
14351 defaultval=no
14352 fi
14353 fi
14354
14355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14356 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14357 # Check whether --enable-coldlg was given.
14358 if test "${enable_coldlg+set}" = set; then
14359 enableval=$enable_coldlg;
14360 if test "$enableval" = yes; then
14361 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14362 else
14363 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14364 fi
14365 cache=yes
14366
14367 else
14368
14369 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14370 if test "x$LINE" != x ; then
14371 eval "DEFAULT_$LINE"
14372 cache=yes
14373 else
14374 cache=no
14375 fi
14376
14377 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14378
14379 fi
14380
14381
14382 eval "$wx_cv_use_coldlg"
14383 if test "x$cache" = xyes; then
14384 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14385 fi
14386
14387 if test x"$enablestring" = xdisable; then
14388 if test $wxUSE_COLOURDLG = yes; then
14389 result=no
14390 else
14391 result=yes
14392 fi
14393 else
14394 result=$wxUSE_COLOURDLG
14395 fi
14396
14397 { echo "$as_me:$LINENO: result: $result" >&5
14398 echo "${ECHO_T}$result" >&6; }
14399
14400
14401 enablestring=
14402 defaultval=$wxUSE_ALL_FEATURES
14403 if test -z "$defaultval"; then
14404 if test x"$enablestring" = xdisable; then
14405 defaultval=yes
14406 else
14407 defaultval=no
14408 fi
14409 fi
14410
14411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14412 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14413 # Check whether --enable-filedlg was given.
14414 if test "${enable_filedlg+set}" = set; then
14415 enableval=$enable_filedlg;
14416 if test "$enableval" = yes; then
14417 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14418 else
14419 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14420 fi
14421 cache=yes
14422
14423 else
14424
14425 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14426 if test "x$LINE" != x ; then
14427 eval "DEFAULT_$LINE"
14428 cache=yes
14429 else
14430 cache=no
14431 fi
14432
14433 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14434
14435 fi
14436
14437
14438 eval "$wx_cv_use_filedlg"
14439 if test "x$cache" = xyes; then
14440 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14441 fi
14442
14443 if test x"$enablestring" = xdisable; then
14444 if test $wxUSE_FILEDLG = yes; then
14445 result=no
14446 else
14447 result=yes
14448 fi
14449 else
14450 result=$wxUSE_FILEDLG
14451 fi
14452
14453 { echo "$as_me:$LINENO: result: $result" >&5
14454 echo "${ECHO_T}$result" >&6; }
14455
14456
14457 enablestring=
14458 defaultval=$wxUSE_ALL_FEATURES
14459 if test -z "$defaultval"; then
14460 if test x"$enablestring" = xdisable; then
14461 defaultval=yes
14462 else
14463 defaultval=no
14464 fi
14465 fi
14466
14467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14468 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14469 # Check whether --enable-finddlg was given.
14470 if test "${enable_finddlg+set}" = set; then
14471 enableval=$enable_finddlg;
14472 if test "$enableval" = yes; then
14473 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14474 else
14475 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14476 fi
14477 cache=yes
14478
14479 else
14480
14481 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14482 if test "x$LINE" != x ; then
14483 eval "DEFAULT_$LINE"
14484 cache=yes
14485 else
14486 cache=no
14487 fi
14488
14489 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14490
14491 fi
14492
14493
14494 eval "$wx_cv_use_finddlg"
14495 if test "x$cache" = xyes; then
14496 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14497 fi
14498
14499 if test x"$enablestring" = xdisable; then
14500 if test $wxUSE_FINDREPLDLG = yes; then
14501 result=no
14502 else
14503 result=yes
14504 fi
14505 else
14506 result=$wxUSE_FINDREPLDLG
14507 fi
14508
14509 { echo "$as_me:$LINENO: result: $result" >&5
14510 echo "${ECHO_T}$result" >&6; }
14511
14512
14513 enablestring=
14514 defaultval=$wxUSE_ALL_FEATURES
14515 if test -z "$defaultval"; then
14516 if test x"$enablestring" = xdisable; then
14517 defaultval=yes
14518 else
14519 defaultval=no
14520 fi
14521 fi
14522
14523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14524 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14525 # Check whether --enable-fontdlg was given.
14526 if test "${enable_fontdlg+set}" = set; then
14527 enableval=$enable_fontdlg;
14528 if test "$enableval" = yes; then
14529 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14530 else
14531 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14532 fi
14533 cache=yes
14534
14535 else
14536
14537 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14538 if test "x$LINE" != x ; then
14539 eval "DEFAULT_$LINE"
14540 cache=yes
14541 else
14542 cache=no
14543 fi
14544
14545 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14546
14547 fi
14548
14549
14550 eval "$wx_cv_use_fontdlg"
14551 if test "x$cache" = xyes; then
14552 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14553 fi
14554
14555 if test x"$enablestring" = xdisable; then
14556 if test $wxUSE_FONTDLG = yes; then
14557 result=no
14558 else
14559 result=yes
14560 fi
14561 else
14562 result=$wxUSE_FONTDLG
14563 fi
14564
14565 { echo "$as_me:$LINENO: result: $result" >&5
14566 echo "${ECHO_T}$result" >&6; }
14567
14568
14569 enablestring=
14570 defaultval=$wxUSE_ALL_FEATURES
14571 if test -z "$defaultval"; then
14572 if test x"$enablestring" = xdisable; then
14573 defaultval=yes
14574 else
14575 defaultval=no
14576 fi
14577 fi
14578
14579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14580 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14581 # Check whether --enable-dirdlg was given.
14582 if test "${enable_dirdlg+set}" = set; then
14583 enableval=$enable_dirdlg;
14584 if test "$enableval" = yes; then
14585 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14586 else
14587 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14588 fi
14589 cache=yes
14590
14591 else
14592
14593 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14594 if test "x$LINE" != x ; then
14595 eval "DEFAULT_$LINE"
14596 cache=yes
14597 else
14598 cache=no
14599 fi
14600
14601 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14602
14603 fi
14604
14605
14606 eval "$wx_cv_use_dirdlg"
14607 if test "x$cache" = xyes; then
14608 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14609 fi
14610
14611 if test x"$enablestring" = xdisable; then
14612 if test $wxUSE_DIRDLG = yes; then
14613 result=no
14614 else
14615 result=yes
14616 fi
14617 else
14618 result=$wxUSE_DIRDLG
14619 fi
14620
14621 { echo "$as_me:$LINENO: result: $result" >&5
14622 echo "${ECHO_T}$result" >&6; }
14623
14624
14625 enablestring=
14626 defaultval=$wxUSE_ALL_FEATURES
14627 if test -z "$defaultval"; then
14628 if test x"$enablestring" = xdisable; then
14629 defaultval=yes
14630 else
14631 defaultval=no
14632 fi
14633 fi
14634
14635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14636 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14637 # Check whether --enable-msgdlg was given.
14638 if test "${enable_msgdlg+set}" = set; then
14639 enableval=$enable_msgdlg;
14640 if test "$enableval" = yes; then
14641 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14642 else
14643 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14644 fi
14645 cache=yes
14646
14647 else
14648
14649 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14650 if test "x$LINE" != x ; then
14651 eval "DEFAULT_$LINE"
14652 cache=yes
14653 else
14654 cache=no
14655 fi
14656
14657 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14658
14659 fi
14660
14661
14662 eval "$wx_cv_use_msgdlg"
14663 if test "x$cache" = xyes; then
14664 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14665 fi
14666
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_MSGDLG = yes; then
14669 result=no
14670 else
14671 result=yes
14672 fi
14673 else
14674 result=$wxUSE_MSGDLG
14675 fi
14676
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14679
14680
14681 enablestring=
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14685 defaultval=yes
14686 else
14687 defaultval=no
14688 fi
14689 fi
14690
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14693 # Check whether --enable-numberdlg was given.
14694 if test "${enable_numberdlg+set}" = set; then
14695 enableval=$enable_numberdlg;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14698 else
14699 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14700 fi
14701 cache=yes
14702
14703 else
14704
14705 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14706 if test "x$LINE" != x ; then
14707 eval "DEFAULT_$LINE"
14708 cache=yes
14709 else
14710 cache=no
14711 fi
14712
14713 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14714
14715 fi
14716
14717
14718 eval "$wx_cv_use_numberdlg"
14719 if test "x$cache" = xyes; then
14720 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14721 fi
14722
14723 if test x"$enablestring" = xdisable; then
14724 if test $wxUSE_NUMBERDLG = yes; then
14725 result=no
14726 else
14727 result=yes
14728 fi
14729 else
14730 result=$wxUSE_NUMBERDLG
14731 fi
14732
14733 { echo "$as_me:$LINENO: result: $result" >&5
14734 echo "${ECHO_T}$result" >&6; }
14735
14736
14737 enablestring=
14738 defaultval=$wxUSE_ALL_FEATURES
14739 if test -z "$defaultval"; then
14740 if test x"$enablestring" = xdisable; then
14741 defaultval=yes
14742 else
14743 defaultval=no
14744 fi
14745 fi
14746
14747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14748 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14749 # Check whether --enable-splash was given.
14750 if test "${enable_splash+set}" = set; then
14751 enableval=$enable_splash;
14752 if test "$enableval" = yes; then
14753 wx_cv_use_splash='wxUSE_SPLASH=yes'
14754 else
14755 wx_cv_use_splash='wxUSE_SPLASH=no'
14756 fi
14757 cache=yes
14758
14759 else
14760
14761 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14762 if test "x$LINE" != x ; then
14763 eval "DEFAULT_$LINE"
14764 cache=yes
14765 else
14766 cache=no
14767 fi
14768
14769 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14770
14771 fi
14772
14773
14774 eval "$wx_cv_use_splash"
14775 if test "x$cache" = xyes; then
14776 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14777 fi
14778
14779 if test x"$enablestring" = xdisable; then
14780 if test $wxUSE_SPLASH = yes; then
14781 result=no
14782 else
14783 result=yes
14784 fi
14785 else
14786 result=$wxUSE_SPLASH
14787 fi
14788
14789 { echo "$as_me:$LINENO: result: $result" >&5
14790 echo "${ECHO_T}$result" >&6; }
14791
14792
14793 enablestring=
14794 defaultval=$wxUSE_ALL_FEATURES
14795 if test -z "$defaultval"; then
14796 if test x"$enablestring" = xdisable; then
14797 defaultval=yes
14798 else
14799 defaultval=no
14800 fi
14801 fi
14802
14803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14804 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14805 # Check whether --enable-textdlg was given.
14806 if test "${enable_textdlg+set}" = set; then
14807 enableval=$enable_textdlg;
14808 if test "$enableval" = yes; then
14809 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14810 else
14811 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14812 fi
14813 cache=yes
14814
14815 else
14816
14817 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14818 if test "x$LINE" != x ; then
14819 eval "DEFAULT_$LINE"
14820 cache=yes
14821 else
14822 cache=no
14823 fi
14824
14825 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14826
14827 fi
14828
14829
14830 eval "$wx_cv_use_textdlg"
14831 if test "x$cache" = xyes; then
14832 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14833 fi
14834
14835 if test x"$enablestring" = xdisable; then
14836 if test $wxUSE_TEXTDLG = yes; then
14837 result=no
14838 else
14839 result=yes
14840 fi
14841 else
14842 result=$wxUSE_TEXTDLG
14843 fi
14844
14845 { echo "$as_me:$LINENO: result: $result" >&5
14846 echo "${ECHO_T}$result" >&6; }
14847
14848
14849 enablestring=
14850 defaultval=$wxUSE_ALL_FEATURES
14851 if test -z "$defaultval"; then
14852 if test x"$enablestring" = xdisable; then
14853 defaultval=yes
14854 else
14855 defaultval=no
14856 fi
14857 fi
14858
14859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14860 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14861 # Check whether --enable-tipdlg was given.
14862 if test "${enable_tipdlg+set}" = set; then
14863 enableval=$enable_tipdlg;
14864 if test "$enableval" = yes; then
14865 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14866 else
14867 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14868 fi
14869 cache=yes
14870
14871 else
14872
14873 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14874 if test "x$LINE" != x ; then
14875 eval "DEFAULT_$LINE"
14876 cache=yes
14877 else
14878 cache=no
14879 fi
14880
14881 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14882
14883 fi
14884
14885
14886 eval "$wx_cv_use_tipdlg"
14887 if test "x$cache" = xyes; then
14888 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14889 fi
14890
14891 if test x"$enablestring" = xdisable; then
14892 if test $wxUSE_STARTUP_TIPS = yes; then
14893 result=no
14894 else
14895 result=yes
14896 fi
14897 else
14898 result=$wxUSE_STARTUP_TIPS
14899 fi
14900
14901 { echo "$as_me:$LINENO: result: $result" >&5
14902 echo "${ECHO_T}$result" >&6; }
14903
14904
14905 enablestring=
14906 defaultval=$wxUSE_ALL_FEATURES
14907 if test -z "$defaultval"; then
14908 if test x"$enablestring" = xdisable; then
14909 defaultval=yes
14910 else
14911 defaultval=no
14912 fi
14913 fi
14914
14915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14916 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14917 # Check whether --enable-progressdlg was given.
14918 if test "${enable_progressdlg+set}" = set; then
14919 enableval=$enable_progressdlg;
14920 if test "$enableval" = yes; then
14921 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14922 else
14923 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14924 fi
14925 cache=yes
14926
14927 else
14928
14929 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14930 if test "x$LINE" != x ; then
14931 eval "DEFAULT_$LINE"
14932 cache=yes
14933 else
14934 cache=no
14935 fi
14936
14937 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14938
14939 fi
14940
14941
14942 eval "$wx_cv_use_progressdlg"
14943 if test "x$cache" = xyes; then
14944 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14945 fi
14946
14947 if test x"$enablestring" = xdisable; then
14948 if test $wxUSE_PROGRESSDLG = yes; then
14949 result=no
14950 else
14951 result=yes
14952 fi
14953 else
14954 result=$wxUSE_PROGRESSDLG
14955 fi
14956
14957 { echo "$as_me:$LINENO: result: $result" >&5
14958 echo "${ECHO_T}$result" >&6; }
14959
14960
14961 enablestring=
14962 defaultval=$wxUSE_ALL_FEATURES
14963 if test -z "$defaultval"; then
14964 if test x"$enablestring" = xdisable; then
14965 defaultval=yes
14966 else
14967 defaultval=no
14968 fi
14969 fi
14970
14971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14972 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14973 # Check whether --enable-wizarddlg was given.
14974 if test "${enable_wizarddlg+set}" = set; then
14975 enableval=$enable_wizarddlg;
14976 if test "$enableval" = yes; then
14977 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14978 else
14979 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14980 fi
14981 cache=yes
14982
14983 else
14984
14985 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14986 if test "x$LINE" != x ; then
14987 eval "DEFAULT_$LINE"
14988 cache=yes
14989 else
14990 cache=no
14991 fi
14992
14993 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14994
14995 fi
14996
14997
14998 eval "$wx_cv_use_wizarddlg"
14999 if test "x$cache" = xyes; then
15000 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15001 fi
15002
15003 if test x"$enablestring" = xdisable; then
15004 if test $wxUSE_WIZARDDLG = yes; then
15005 result=no
15006 else
15007 result=yes
15008 fi
15009 else
15010 result=$wxUSE_WIZARDDLG
15011 fi
15012
15013 { echo "$as_me:$LINENO: result: $result" >&5
15014 echo "${ECHO_T}$result" >&6; }
15015
15016
15017
15018
15019 enablestring=
15020 defaultval=$wxUSE_ALL_FEATURES
15021 if test -z "$defaultval"; then
15022 if test x"$enablestring" = xdisable; then
15023 defaultval=yes
15024 else
15025 defaultval=no
15026 fi
15027 fi
15028
15029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15030 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15031 # Check whether --enable-menus was given.
15032 if test "${enable_menus+set}" = set; then
15033 enableval=$enable_menus;
15034 if test "$enableval" = yes; then
15035 wx_cv_use_menus='wxUSE_MENUS=yes'
15036 else
15037 wx_cv_use_menus='wxUSE_MENUS=no'
15038 fi
15039 cache=yes
15040
15041 else
15042
15043 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15044 if test "x$LINE" != x ; then
15045 eval "DEFAULT_$LINE"
15046 cache=yes
15047 else
15048 cache=no
15049 fi
15050
15051 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15052
15053 fi
15054
15055
15056 eval "$wx_cv_use_menus"
15057 if test "x$cache" = xyes; then
15058 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15059 fi
15060
15061 if test x"$enablestring" = xdisable; then
15062 if test $wxUSE_MENUS = yes; then
15063 result=no
15064 else
15065 result=yes
15066 fi
15067 else
15068 result=$wxUSE_MENUS
15069 fi
15070
15071 { echo "$as_me:$LINENO: result: $result" >&5
15072 echo "${ECHO_T}$result" >&6; }
15073
15074
15075 enablestring=
15076 defaultval=$wxUSE_ALL_FEATURES
15077 if test -z "$defaultval"; then
15078 if test x"$enablestring" = xdisable; then
15079 defaultval=yes
15080 else
15081 defaultval=no
15082 fi
15083 fi
15084
15085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15086 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15087 # Check whether --enable-miniframe was given.
15088 if test "${enable_miniframe+set}" = set; then
15089 enableval=$enable_miniframe;
15090 if test "$enableval" = yes; then
15091 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15092 else
15093 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15094 fi
15095 cache=yes
15096
15097 else
15098
15099 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15100 if test "x$LINE" != x ; then
15101 eval "DEFAULT_$LINE"
15102 cache=yes
15103 else
15104 cache=no
15105 fi
15106
15107 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15108
15109 fi
15110
15111
15112 eval "$wx_cv_use_miniframe"
15113 if test "x$cache" = xyes; then
15114 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15115 fi
15116
15117 if test x"$enablestring" = xdisable; then
15118 if test $wxUSE_MINIFRAME = yes; then
15119 result=no
15120 else
15121 result=yes
15122 fi
15123 else
15124 result=$wxUSE_MINIFRAME
15125 fi
15126
15127 { echo "$as_me:$LINENO: result: $result" >&5
15128 echo "${ECHO_T}$result" >&6; }
15129
15130
15131 enablestring=
15132 defaultval=$wxUSE_ALL_FEATURES
15133 if test -z "$defaultval"; then
15134 if test x"$enablestring" = xdisable; then
15135 defaultval=yes
15136 else
15137 defaultval=no
15138 fi
15139 fi
15140
15141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15142 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15143 # Check whether --enable-tooltips was given.
15144 if test "${enable_tooltips+set}" = set; then
15145 enableval=$enable_tooltips;
15146 if test "$enableval" = yes; then
15147 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15148 else
15149 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15150 fi
15151 cache=yes
15152
15153 else
15154
15155 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15156 if test "x$LINE" != x ; then
15157 eval "DEFAULT_$LINE"
15158 cache=yes
15159 else
15160 cache=no
15161 fi
15162
15163 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15164
15165 fi
15166
15167
15168 eval "$wx_cv_use_tooltips"
15169 if test "x$cache" = xyes; then
15170 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15171 fi
15172
15173 if test x"$enablestring" = xdisable; then
15174 if test $wxUSE_TOOLTIPS = yes; then
15175 result=no
15176 else
15177 result=yes
15178 fi
15179 else
15180 result=$wxUSE_TOOLTIPS
15181 fi
15182
15183 { echo "$as_me:$LINENO: result: $result" >&5
15184 echo "${ECHO_T}$result" >&6; }
15185
15186
15187 enablestring=
15188 defaultval=$wxUSE_ALL_FEATURES
15189 if test -z "$defaultval"; then
15190 if test x"$enablestring" = xdisable; then
15191 defaultval=yes
15192 else
15193 defaultval=no
15194 fi
15195 fi
15196
15197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15198 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15199 # Check whether --enable-splines was given.
15200 if test "${enable_splines+set}" = set; then
15201 enableval=$enable_splines;
15202 if test "$enableval" = yes; then
15203 wx_cv_use_splines='wxUSE_SPLINES=yes'
15204 else
15205 wx_cv_use_splines='wxUSE_SPLINES=no'
15206 fi
15207 cache=yes
15208
15209 else
15210
15211 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15212 if test "x$LINE" != x ; then
15213 eval "DEFAULT_$LINE"
15214 cache=yes
15215 else
15216 cache=no
15217 fi
15218
15219 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15220
15221 fi
15222
15223
15224 eval "$wx_cv_use_splines"
15225 if test "x$cache" = xyes; then
15226 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15227 fi
15228
15229 if test x"$enablestring" = xdisable; then
15230 if test $wxUSE_SPLINES = yes; then
15231 result=no
15232 else
15233 result=yes
15234 fi
15235 else
15236 result=$wxUSE_SPLINES
15237 fi
15238
15239 { echo "$as_me:$LINENO: result: $result" >&5
15240 echo "${ECHO_T}$result" >&6; }
15241
15242
15243 enablestring=
15244 defaultval=$wxUSE_ALL_FEATURES
15245 if test -z "$defaultval"; then
15246 if test x"$enablestring" = xdisable; then
15247 defaultval=yes
15248 else
15249 defaultval=no
15250 fi
15251 fi
15252
15253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15254 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15255 # Check whether --enable-mousewheel was given.
15256 if test "${enable_mousewheel+set}" = set; then
15257 enableval=$enable_mousewheel;
15258 if test "$enableval" = yes; then
15259 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15260 else
15261 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15262 fi
15263 cache=yes
15264
15265 else
15266
15267 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15268 if test "x$LINE" != x ; then
15269 eval "DEFAULT_$LINE"
15270 cache=yes
15271 else
15272 cache=no
15273 fi
15274
15275 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15276
15277 fi
15278
15279
15280 eval "$wx_cv_use_mousewheel"
15281 if test "x$cache" = xyes; then
15282 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15283 fi
15284
15285 if test x"$enablestring" = xdisable; then
15286 if test $wxUSE_MOUSEWHEEL = yes; then
15287 result=no
15288 else
15289 result=yes
15290 fi
15291 else
15292 result=$wxUSE_MOUSEWHEEL
15293 fi
15294
15295 { echo "$as_me:$LINENO: result: $result" >&5
15296 echo "${ECHO_T}$result" >&6; }
15297
15298
15299 enablestring=
15300 defaultval=$wxUSE_ALL_FEATURES
15301 if test -z "$defaultval"; then
15302 if test x"$enablestring" = xdisable; then
15303 defaultval=yes
15304 else
15305 defaultval=no
15306 fi
15307 fi
15308
15309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15310 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15311 # Check whether --enable-validators was given.
15312 if test "${enable_validators+set}" = set; then
15313 enableval=$enable_validators;
15314 if test "$enableval" = yes; then
15315 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15316 else
15317 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15318 fi
15319 cache=yes
15320
15321 else
15322
15323 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15324 if test "x$LINE" != x ; then
15325 eval "DEFAULT_$LINE"
15326 cache=yes
15327 else
15328 cache=no
15329 fi
15330
15331 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15332
15333 fi
15334
15335
15336 eval "$wx_cv_use_validators"
15337 if test "x$cache" = xyes; then
15338 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15339 fi
15340
15341 if test x"$enablestring" = xdisable; then
15342 if test $wxUSE_VALIDATORS = yes; then
15343 result=no
15344 else
15345 result=yes
15346 fi
15347 else
15348 result=$wxUSE_VALIDATORS
15349 fi
15350
15351 { echo "$as_me:$LINENO: result: $result" >&5
15352 echo "${ECHO_T}$result" >&6; }
15353
15354
15355 enablestring=
15356 defaultval=$wxUSE_ALL_FEATURES
15357 if test -z "$defaultval"; then
15358 if test x"$enablestring" = xdisable; then
15359 defaultval=yes
15360 else
15361 defaultval=no
15362 fi
15363 fi
15364
15365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15366 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15367 # Check whether --enable-busyinfo was given.
15368 if test "${enable_busyinfo+set}" = set; then
15369 enableval=$enable_busyinfo;
15370 if test "$enableval" = yes; then
15371 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15372 else
15373 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15374 fi
15375 cache=yes
15376
15377 else
15378
15379 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15380 if test "x$LINE" != x ; then
15381 eval "DEFAULT_$LINE"
15382 cache=yes
15383 else
15384 cache=no
15385 fi
15386
15387 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15388
15389 fi
15390
15391
15392 eval "$wx_cv_use_busyinfo"
15393 if test "x$cache" = xyes; then
15394 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15395 fi
15396
15397 if test x"$enablestring" = xdisable; then
15398 if test $wxUSE_BUSYINFO = yes; then
15399 result=no
15400 else
15401 result=yes
15402 fi
15403 else
15404 result=$wxUSE_BUSYINFO
15405 fi
15406
15407 { echo "$as_me:$LINENO: result: $result" >&5
15408 echo "${ECHO_T}$result" >&6; }
15409
15410
15411 enablestring=
15412 defaultval=$wxUSE_ALL_FEATURES
15413 if test -z "$defaultval"; then
15414 if test x"$enablestring" = xdisable; then
15415 defaultval=yes
15416 else
15417 defaultval=no
15418 fi
15419 fi
15420
15421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15422 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15423 # Check whether --enable-joystick was given.
15424 if test "${enable_joystick+set}" = set; then
15425 enableval=$enable_joystick;
15426 if test "$enableval" = yes; then
15427 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15428 else
15429 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15430 fi
15431 cache=yes
15432
15433 else
15434
15435 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15436 if test "x$LINE" != x ; then
15437 eval "DEFAULT_$LINE"
15438 cache=yes
15439 else
15440 cache=no
15441 fi
15442
15443 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15444
15445 fi
15446
15447
15448 eval "$wx_cv_use_joystick"
15449 if test "x$cache" = xyes; then
15450 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15451 fi
15452
15453 if test x"$enablestring" = xdisable; then
15454 if test $wxUSE_JOYSTICK = yes; then
15455 result=no
15456 else
15457 result=yes
15458 fi
15459 else
15460 result=$wxUSE_JOYSTICK
15461 fi
15462
15463 { echo "$as_me:$LINENO: result: $result" >&5
15464 echo "${ECHO_T}$result" >&6; }
15465
15466
15467 enablestring=
15468 defaultval=$wxUSE_ALL_FEATURES
15469 if test -z "$defaultval"; then
15470 if test x"$enablestring" = xdisable; then
15471 defaultval=yes
15472 else
15473 defaultval=no
15474 fi
15475 fi
15476
15477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15478 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15479 # Check whether --enable-metafile was given.
15480 if test "${enable_metafile+set}" = set; then
15481 enableval=$enable_metafile;
15482 if test "$enableval" = yes; then
15483 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15484 else
15485 wx_cv_use_metafile='wxUSE_METAFILE=no'
15486 fi
15487 cache=yes
15488
15489 else
15490
15491 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15492 if test "x$LINE" != x ; then
15493 eval "DEFAULT_$LINE"
15494 cache=yes
15495 else
15496 cache=no
15497 fi
15498
15499 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15500
15501 fi
15502
15503
15504 eval "$wx_cv_use_metafile"
15505 if test "x$cache" = xyes; then
15506 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15507 fi
15508
15509 if test x"$enablestring" = xdisable; then
15510 if test $wxUSE_METAFILE = yes; then
15511 result=no
15512 else
15513 result=yes
15514 fi
15515 else
15516 result=$wxUSE_METAFILE
15517 fi
15518
15519 { echo "$as_me:$LINENO: result: $result" >&5
15520 echo "${ECHO_T}$result" >&6; }
15521
15522
15523 enablestring=
15524 defaultval=$wxUSE_ALL_FEATURES
15525 if test -z "$defaultval"; then
15526 if test x"$enablestring" = xdisable; then
15527 defaultval=yes
15528 else
15529 defaultval=no
15530 fi
15531 fi
15532
15533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15534 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15535 # Check whether --enable-dragimage was given.
15536 if test "${enable_dragimage+set}" = set; then
15537 enableval=$enable_dragimage;
15538 if test "$enableval" = yes; then
15539 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15540 else
15541 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15542 fi
15543 cache=yes
15544
15545 else
15546
15547 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15548 if test "x$LINE" != x ; then
15549 eval "DEFAULT_$LINE"
15550 cache=yes
15551 else
15552 cache=no
15553 fi
15554
15555 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15556
15557 fi
15558
15559
15560 eval "$wx_cv_use_dragimage"
15561 if test "x$cache" = xyes; then
15562 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15563 fi
15564
15565 if test x"$enablestring" = xdisable; then
15566 if test $wxUSE_DRAGIMAGE = yes; then
15567 result=no
15568 else
15569 result=yes
15570 fi
15571 else
15572 result=$wxUSE_DRAGIMAGE
15573 fi
15574
15575 { echo "$as_me:$LINENO: result: $result" >&5
15576 echo "${ECHO_T}$result" >&6; }
15577
15578
15579 enablestring=
15580 defaultval=$wxUSE_ALL_FEATURES
15581 if test -z "$defaultval"; then
15582 if test x"$enablestring" = xdisable; then
15583 defaultval=yes
15584 else
15585 defaultval=no
15586 fi
15587 fi
15588
15589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15590 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15591 # Check whether --enable-accessibility was given.
15592 if test "${enable_accessibility+set}" = set; then
15593 enableval=$enable_accessibility;
15594 if test "$enableval" = yes; then
15595 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15596 else
15597 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15598 fi
15599 cache=yes
15600
15601 else
15602
15603 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15604 if test "x$LINE" != x ; then
15605 eval "DEFAULT_$LINE"
15606 cache=yes
15607 else
15608 cache=no
15609 fi
15610
15611 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15612
15613 fi
15614
15615
15616 eval "$wx_cv_use_accessibility"
15617 if test "x$cache" = xyes; then
15618 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15619 fi
15620
15621 if test x"$enablestring" = xdisable; then
15622 if test $wxUSE_ACCESSIBILITY = yes; then
15623 result=no
15624 else
15625 result=yes
15626 fi
15627 else
15628 result=$wxUSE_ACCESSIBILITY
15629 fi
15630
15631 { echo "$as_me:$LINENO: result: $result" >&5
15632 echo "${ECHO_T}$result" >&6; }
15633
15634
15635
15636
15637 enablestring=
15638 defaultval=$wxUSE_ALL_FEATURES
15639 if test -z "$defaultval"; then
15640 if test x"$enablestring" = xdisable; then
15641 defaultval=yes
15642 else
15643 defaultval=no
15644 fi
15645 fi
15646
15647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15648 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15649 # Check whether --enable-palette was given.
15650 if test "${enable_palette+set}" = set; then
15651 enableval=$enable_palette;
15652 if test "$enableval" = yes; then
15653 wx_cv_use_palette='wxUSE_PALETTE=yes'
15654 else
15655 wx_cv_use_palette='wxUSE_PALETTE=no'
15656 fi
15657 cache=yes
15658
15659 else
15660
15661 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15662 if test "x$LINE" != x ; then
15663 eval "DEFAULT_$LINE"
15664 cache=yes
15665 else
15666 cache=no
15667 fi
15668
15669 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15670
15671 fi
15672
15673
15674 eval "$wx_cv_use_palette"
15675 if test "x$cache" = xyes; then
15676 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15677 fi
15678
15679 if test x"$enablestring" = xdisable; then
15680 if test $wxUSE_PALETTE = yes; then
15681 result=no
15682 else
15683 result=yes
15684 fi
15685 else
15686 result=$wxUSE_PALETTE
15687 fi
15688
15689 { echo "$as_me:$LINENO: result: $result" >&5
15690 echo "${ECHO_T}$result" >&6; }
15691
15692
15693 enablestring=
15694 defaultval=$wxUSE_ALL_FEATURES
15695 if test -z "$defaultval"; then
15696 if test x"$enablestring" = xdisable; then
15697 defaultval=yes
15698 else
15699 defaultval=no
15700 fi
15701 fi
15702
15703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15704 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15705 # Check whether --enable-image was given.
15706 if test "${enable_image+set}" = set; then
15707 enableval=$enable_image;
15708 if test "$enableval" = yes; then
15709 wx_cv_use_image='wxUSE_IMAGE=yes'
15710 else
15711 wx_cv_use_image='wxUSE_IMAGE=no'
15712 fi
15713 cache=yes
15714
15715 else
15716
15717 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15718 if test "x$LINE" != x ; then
15719 eval "DEFAULT_$LINE"
15720 cache=yes
15721 else
15722 cache=no
15723 fi
15724
15725 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15726
15727 fi
15728
15729
15730 eval "$wx_cv_use_image"
15731 if test "x$cache" = xyes; then
15732 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15733 fi
15734
15735 if test x"$enablestring" = xdisable; then
15736 if test $wxUSE_IMAGE = yes; then
15737 result=no
15738 else
15739 result=yes
15740 fi
15741 else
15742 result=$wxUSE_IMAGE
15743 fi
15744
15745 { echo "$as_me:$LINENO: result: $result" >&5
15746 echo "${ECHO_T}$result" >&6; }
15747
15748
15749 enablestring=
15750 defaultval=$wxUSE_ALL_FEATURES
15751 if test -z "$defaultval"; then
15752 if test x"$enablestring" = xdisable; then
15753 defaultval=yes
15754 else
15755 defaultval=no
15756 fi
15757 fi
15758
15759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15760 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15761 # Check whether --enable-gif was given.
15762 if test "${enable_gif+set}" = set; then
15763 enableval=$enable_gif;
15764 if test "$enableval" = yes; then
15765 wx_cv_use_gif='wxUSE_GIF=yes'
15766 else
15767 wx_cv_use_gif='wxUSE_GIF=no'
15768 fi
15769 cache=yes
15770
15771 else
15772
15773 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15774 if test "x$LINE" != x ; then
15775 eval "DEFAULT_$LINE"
15776 cache=yes
15777 else
15778 cache=no
15779 fi
15780
15781 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15782
15783 fi
15784
15785
15786 eval "$wx_cv_use_gif"
15787 if test "x$cache" = xyes; then
15788 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15789 fi
15790
15791 if test x"$enablestring" = xdisable; then
15792 if test $wxUSE_GIF = yes; then
15793 result=no
15794 else
15795 result=yes
15796 fi
15797 else
15798 result=$wxUSE_GIF
15799 fi
15800
15801 { echo "$as_me:$LINENO: result: $result" >&5
15802 echo "${ECHO_T}$result" >&6; }
15803
15804
15805 enablestring=
15806 defaultval=$wxUSE_ALL_FEATURES
15807 if test -z "$defaultval"; then
15808 if test x"$enablestring" = xdisable; then
15809 defaultval=yes
15810 else
15811 defaultval=no
15812 fi
15813 fi
15814
15815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15816 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15817 # Check whether --enable-pcx was given.
15818 if test "${enable_pcx+set}" = set; then
15819 enableval=$enable_pcx;
15820 if test "$enableval" = yes; then
15821 wx_cv_use_pcx='wxUSE_PCX=yes'
15822 else
15823 wx_cv_use_pcx='wxUSE_PCX=no'
15824 fi
15825 cache=yes
15826
15827 else
15828
15829 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15830 if test "x$LINE" != x ; then
15831 eval "DEFAULT_$LINE"
15832 cache=yes
15833 else
15834 cache=no
15835 fi
15836
15837 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15838
15839 fi
15840
15841
15842 eval "$wx_cv_use_pcx"
15843 if test "x$cache" = xyes; then
15844 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15845 fi
15846
15847 if test x"$enablestring" = xdisable; then
15848 if test $wxUSE_PCX = yes; then
15849 result=no
15850 else
15851 result=yes
15852 fi
15853 else
15854 result=$wxUSE_PCX
15855 fi
15856
15857 { echo "$as_me:$LINENO: result: $result" >&5
15858 echo "${ECHO_T}$result" >&6; }
15859
15860
15861 enablestring=
15862 defaultval=$wxUSE_ALL_FEATURES
15863 if test -z "$defaultval"; then
15864 if test x"$enablestring" = xdisable; then
15865 defaultval=yes
15866 else
15867 defaultval=no
15868 fi
15869 fi
15870
15871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15872 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15873 # Check whether --enable-tga was given.
15874 if test "${enable_tga+set}" = set; then
15875 enableval=$enable_tga;
15876 if test "$enableval" = yes; then
15877 wx_cv_use_tga='wxUSE_TGA=yes'
15878 else
15879 wx_cv_use_tga='wxUSE_TGA=no'
15880 fi
15881 cache=yes
15882
15883 else
15884
15885 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15886 if test "x$LINE" != x ; then
15887 eval "DEFAULT_$LINE"
15888 cache=yes
15889 else
15890 cache=no
15891 fi
15892
15893 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15894
15895 fi
15896
15897
15898 eval "$wx_cv_use_tga"
15899 if test "x$cache" = xyes; then
15900 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15901 fi
15902
15903 if test x"$enablestring" = xdisable; then
15904 if test $wxUSE_TGA = yes; then
15905 result=no
15906 else
15907 result=yes
15908 fi
15909 else
15910 result=$wxUSE_TGA
15911 fi
15912
15913 { echo "$as_me:$LINENO: result: $result" >&5
15914 echo "${ECHO_T}$result" >&6; }
15915
15916
15917 enablestring=
15918 defaultval=$wxUSE_ALL_FEATURES
15919 if test -z "$defaultval"; then
15920 if test x"$enablestring" = xdisable; then
15921 defaultval=yes
15922 else
15923 defaultval=no
15924 fi
15925 fi
15926
15927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15928 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15929 # Check whether --enable-iff was given.
15930 if test "${enable_iff+set}" = set; then
15931 enableval=$enable_iff;
15932 if test "$enableval" = yes; then
15933 wx_cv_use_iff='wxUSE_IFF=yes'
15934 else
15935 wx_cv_use_iff='wxUSE_IFF=no'
15936 fi
15937 cache=yes
15938
15939 else
15940
15941 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15942 if test "x$LINE" != x ; then
15943 eval "DEFAULT_$LINE"
15944 cache=yes
15945 else
15946 cache=no
15947 fi
15948
15949 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15950
15951 fi
15952
15953
15954 eval "$wx_cv_use_iff"
15955 if test "x$cache" = xyes; then
15956 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15957 fi
15958
15959 if test x"$enablestring" = xdisable; then
15960 if test $wxUSE_IFF = yes; then
15961 result=no
15962 else
15963 result=yes
15964 fi
15965 else
15966 result=$wxUSE_IFF
15967 fi
15968
15969 { echo "$as_me:$LINENO: result: $result" >&5
15970 echo "${ECHO_T}$result" >&6; }
15971
15972
15973 enablestring=
15974 defaultval=$wxUSE_ALL_FEATURES
15975 if test -z "$defaultval"; then
15976 if test x"$enablestring" = xdisable; then
15977 defaultval=yes
15978 else
15979 defaultval=no
15980 fi
15981 fi
15982
15983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15984 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15985 # Check whether --enable-pnm was given.
15986 if test "${enable_pnm+set}" = set; then
15987 enableval=$enable_pnm;
15988 if test "$enableval" = yes; then
15989 wx_cv_use_pnm='wxUSE_PNM=yes'
15990 else
15991 wx_cv_use_pnm='wxUSE_PNM=no'
15992 fi
15993 cache=yes
15994
15995 else
15996
15997 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15998 if test "x$LINE" != x ; then
15999 eval "DEFAULT_$LINE"
16000 cache=yes
16001 else
16002 cache=no
16003 fi
16004
16005 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16006
16007 fi
16008
16009
16010 eval "$wx_cv_use_pnm"
16011 if test "x$cache" = xyes; then
16012 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16013 fi
16014
16015 if test x"$enablestring" = xdisable; then
16016 if test $wxUSE_PNM = yes; then
16017 result=no
16018 else
16019 result=yes
16020 fi
16021 else
16022 result=$wxUSE_PNM
16023 fi
16024
16025 { echo "$as_me:$LINENO: result: $result" >&5
16026 echo "${ECHO_T}$result" >&6; }
16027
16028
16029 enablestring=
16030 defaultval=$wxUSE_ALL_FEATURES
16031 if test -z "$defaultval"; then
16032 if test x"$enablestring" = xdisable; then
16033 defaultval=yes
16034 else
16035 defaultval=no
16036 fi
16037 fi
16038
16039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16040 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16041 # Check whether --enable-xpm was given.
16042 if test "${enable_xpm+set}" = set; then
16043 enableval=$enable_xpm;
16044 if test "$enableval" = yes; then
16045 wx_cv_use_xpm='wxUSE_XPM=yes'
16046 else
16047 wx_cv_use_xpm='wxUSE_XPM=no'
16048 fi
16049 cache=yes
16050
16051 else
16052
16053 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16054 if test "x$LINE" != x ; then
16055 eval "DEFAULT_$LINE"
16056 cache=yes
16057 else
16058 cache=no
16059 fi
16060
16061 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16062
16063 fi
16064
16065
16066 eval "$wx_cv_use_xpm"
16067 if test "x$cache" = xyes; then
16068 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16069 fi
16070
16071 if test x"$enablestring" = xdisable; then
16072 if test $wxUSE_XPM = yes; then
16073 result=no
16074 else
16075 result=yes
16076 fi
16077 else
16078 result=$wxUSE_XPM
16079 fi
16080
16081 { echo "$as_me:$LINENO: result: $result" >&5
16082 echo "${ECHO_T}$result" >&6; }
16083
16084
16085 enablestring=
16086 defaultval=$wxUSE_ALL_FEATURES
16087 if test -z "$defaultval"; then
16088 if test x"$enablestring" = xdisable; then
16089 defaultval=yes
16090 else
16091 defaultval=no
16092 fi
16093 fi
16094
16095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16096 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16097 # Check whether --enable-ico_cur was given.
16098 if test "${enable_ico_cur+set}" = set; then
16099 enableval=$enable_ico_cur;
16100 if test "$enableval" = yes; then
16101 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16102 else
16103 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16104 fi
16105 cache=yes
16106
16107 else
16108
16109 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16110 if test "x$LINE" != x ; then
16111 eval "DEFAULT_$LINE"
16112 cache=yes
16113 else
16114 cache=no
16115 fi
16116
16117 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16118
16119 fi
16120
16121
16122 eval "$wx_cv_use_ico_cur"
16123 if test "x$cache" = xyes; then
16124 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16125 fi
16126
16127 if test x"$enablestring" = xdisable; then
16128 if test $wxUSE_ICO_CUR = yes; then
16129 result=no
16130 else
16131 result=yes
16132 fi
16133 else
16134 result=$wxUSE_ICO_CUR
16135 fi
16136
16137 { echo "$as_me:$LINENO: result: $result" >&5
16138 echo "${ECHO_T}$result" >&6; }
16139
16140
16141
16142
16143 enablestring=
16144 defaultval=$wxUSE_ALL_FEATURES
16145 if test -z "$defaultval"; then
16146 if test x"$enablestring" = xdisable; then
16147 defaultval=yes
16148 else
16149 defaultval=no
16150 fi
16151 fi
16152
16153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16154 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16155 # Check whether --enable-dccache was given.
16156 if test "${enable_dccache+set}" = set; then
16157 enableval=$enable_dccache;
16158 if test "$enableval" = yes; then
16159 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16160 else
16161 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16162 fi
16163 cache=yes
16164
16165 else
16166
16167 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16168 if test "x$LINE" != x ; then
16169 eval "DEFAULT_$LINE"
16170 cache=yes
16171 else
16172 cache=no
16173 fi
16174
16175 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16176
16177 fi
16178
16179
16180 eval "$wx_cv_use_dccache"
16181 if test "x$cache" = xyes; then
16182 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16183 fi
16184
16185 if test x"$enablestring" = xdisable; then
16186 if test $wxUSE_DC_CACHEING = yes; then
16187 result=no
16188 else
16189 result=yes
16190 fi
16191 else
16192 result=$wxUSE_DC_CACHEING
16193 fi
16194
16195 { echo "$as_me:$LINENO: result: $result" >&5
16196 echo "${ECHO_T}$result" >&6; }
16197
16198
16199 enablestring=
16200 defaultval=$wxUSE_ALL_FEATURES
16201 if test -z "$defaultval"; then
16202 if test x"$enablestring" = xdisable; then
16203 defaultval=yes
16204 else
16205 defaultval=no
16206 fi
16207 fi
16208
16209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16210 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16211 # Check whether --enable-ps-in-msw was given.
16212 if test "${enable_ps_in_msw+set}" = set; then
16213 enableval=$enable_ps_in_msw;
16214 if test "$enableval" = yes; then
16215 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16216 else
16217 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16218 fi
16219 cache=yes
16220
16221 else
16222
16223 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16224 if test "x$LINE" != x ; then
16225 eval "DEFAULT_$LINE"
16226 cache=yes
16227 else
16228 cache=no
16229 fi
16230
16231 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16232
16233 fi
16234
16235
16236 eval "$wx_cv_use_ps_in_msw"
16237 if test "x$cache" = xyes; then
16238 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16239 fi
16240
16241 if test x"$enablestring" = xdisable; then
16242 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16243 result=no
16244 else
16245 result=yes
16246 fi
16247 else
16248 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16249 fi
16250
16251 { echo "$as_me:$LINENO: result: $result" >&5
16252 echo "${ECHO_T}$result" >&6; }
16253
16254
16255 enablestring=
16256 defaultval=$wxUSE_ALL_FEATURES
16257 if test -z "$defaultval"; then
16258 if test x"$enablestring" = xdisable; then
16259 defaultval=yes
16260 else
16261 defaultval=no
16262 fi
16263 fi
16264
16265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16266 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16267 # Check whether --enable-ownerdrawn was given.
16268 if test "${enable_ownerdrawn+set}" = set; then
16269 enableval=$enable_ownerdrawn;
16270 if test "$enableval" = yes; then
16271 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16272 else
16273 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16274 fi
16275 cache=yes
16276
16277 else
16278
16279 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16280 if test "x$LINE" != x ; then
16281 eval "DEFAULT_$LINE"
16282 cache=yes
16283 else
16284 cache=no
16285 fi
16286
16287 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16288
16289 fi
16290
16291
16292 eval "$wx_cv_use_ownerdrawn"
16293 if test "x$cache" = xyes; then
16294 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16295 fi
16296
16297 if test x"$enablestring" = xdisable; then
16298 if test $wxUSE_OWNER_DRAWN = yes; then
16299 result=no
16300 else
16301 result=yes
16302 fi
16303 else
16304 result=$wxUSE_OWNER_DRAWN
16305 fi
16306
16307 { echo "$as_me:$LINENO: result: $result" >&5
16308 echo "${ECHO_T}$result" >&6; }
16309
16310
16311 enablestring=
16312 defaultval=$wxUSE_ALL_FEATURES
16313 if test -z "$defaultval"; then
16314 if test x"$enablestring" = xdisable; then
16315 defaultval=yes
16316 else
16317 defaultval=no
16318 fi
16319 fi
16320
16321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16322 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16323 # Check whether --enable-uxtheme was given.
16324 if test "${enable_uxtheme+set}" = set; then
16325 enableval=$enable_uxtheme;
16326 if test "$enableval" = yes; then
16327 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16328 else
16329 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16330 fi
16331 cache=yes
16332
16333 else
16334
16335 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16336 if test "x$LINE" != x ; then
16337 eval "DEFAULT_$LINE"
16338 cache=yes
16339 else
16340 cache=no
16341 fi
16342
16343 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16344
16345 fi
16346
16347
16348 eval "$wx_cv_use_uxtheme"
16349 if test "x$cache" = xyes; then
16350 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16351 fi
16352
16353 if test x"$enablestring" = xdisable; then
16354 if test $wxUSE_UXTHEME = yes; then
16355 result=no
16356 else
16357 result=yes
16358 fi
16359 else
16360 result=$wxUSE_UXTHEME
16361 fi
16362
16363 { echo "$as_me:$LINENO: result: $result" >&5
16364 echo "${ECHO_T}$result" >&6; }
16365
16366
16367 enablestring=
16368 defaultval=$wxUSE_ALL_FEATURES
16369 if test -z "$defaultval"; then
16370 if test x"$enablestring" = xdisable; then
16371 defaultval=yes
16372 else
16373 defaultval=no
16374 fi
16375 fi
16376
16377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16378 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16379 # Check whether --enable-wxdib was given.
16380 if test "${enable_wxdib+set}" = set; then
16381 enableval=$enable_wxdib;
16382 if test "$enableval" = yes; then
16383 wx_cv_use_wxdib='wxUSE_DIB=yes'
16384 else
16385 wx_cv_use_wxdib='wxUSE_DIB=no'
16386 fi
16387 cache=yes
16388
16389 else
16390
16391 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16392 if test "x$LINE" != x ; then
16393 eval "DEFAULT_$LINE"
16394 cache=yes
16395 else
16396 cache=no
16397 fi
16398
16399 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16400
16401 fi
16402
16403
16404 eval "$wx_cv_use_wxdib"
16405 if test "x$cache" = xyes; then
16406 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16407 fi
16408
16409 if test x"$enablestring" = xdisable; then
16410 if test $wxUSE_DIB = yes; then
16411 result=no
16412 else
16413 result=yes
16414 fi
16415 else
16416 result=$wxUSE_DIB
16417 fi
16418
16419 { echo "$as_me:$LINENO: result: $result" >&5
16420 echo "${ECHO_T}$result" >&6; }
16421
16422
16423 fi
16424
16425
16426 echo "saving argument cache $wx_arg_cache_file"
16427 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
16428
16429
16430
16431 { echo "$as_me:$LINENO: checking for toolkit" >&5
16432 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16433
16434 # In Wine, we need to default to MSW, not GTK or MOTIF
16435 if test "$wxUSE_WINE" = "yes"; then
16436 DEFAULT_DEFAULT_wxUSE_GTK=0
16437 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16438 DEFAULT_DEFAULT_wxUSE_MSW=1
16439 wxUSE_SHARED=no
16440 CC=${CC:-winegcc}
16441 CXX=${CXX:-wineg++}
16442 fi
16443
16444
16445 if test "$wxUSE_GUI" = "yes"; then
16446
16447 if test "$USE_BEOS" = 1; then
16448 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16449 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16450 { (exit 1); exit 1; }; }
16451 fi
16452
16453 if test "$TOOLKIT_GIVEN" = 1; then
16454 for toolkit in `echo $ALL_TOOLKITS`; do
16455 var=wxUSE_$toolkit
16456 eval "value=\$${var}"
16457 if test "x$value" = "xno"; then
16458 eval "$var=0"
16459 elif test "x$value" != "x"; then
16460 eval "$var=1"
16461 fi
16462
16463 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16464 eval "wx${toolkit}_VERSION=$value"
16465 fi
16466 done
16467 else
16468 for toolkit in `echo $ALL_TOOLKITS`; do
16469 if test "$has_toolkit_in_cache" != 1; then
16470 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16471 else
16472 var=DEFAULT_wxUSE_$toolkit
16473
16474 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
16475 if test "x$version" != "x"; then
16476 eval "wx${toolkit}_VERSION=$version"
16477 fi
16478 fi
16479 eval "wxUSE_$toolkit=\$${var}"
16480 done
16481 fi
16482
16483 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16484 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16485 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16486
16487 case "${host}" in
16488 *-pc-os2_emx | *-pc-os2-emx )
16489 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16490 esac
16491
16492 case "$NUM_TOOLKITS" in
16493 1)
16494 ;;
16495 0)
16496 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16497 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16498 { (exit 1); exit 1; }; }
16499 ;;
16500 *)
16501 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
16502 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
16503 { (exit 1); exit 1; }; }
16504 esac
16505
16506 # to be removed when --disable-gtk2 isn't needed
16507 if test "x$wxUSE_GTK2" = "xyes"; then
16508 wxGTK_VERSION=2
16509 elif test "x$wxUSE_GTK2" = "xno"; then
16510 wxGTK_VERSION=1
16511 fi
16512
16513 for toolkit in `echo $ALL_TOOLKITS`; do
16514 var=wxUSE_$toolkit
16515 eval "value=\$${var}"
16516 if test "x$value" != x; then
16517 cache_var=CACHE_$toolkit
16518 eval "cache=\$${cache_var}"
16519 if test "$cache" = 1; then
16520 echo "$var=$value" >> ${wx_arg_cache_file}
16521 eval "version=\$wx${toolkit}_VERSION"
16522 if test "x$version" != "x"; then
16523 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
16524 fi
16525 fi
16526 if test "$value" = 1; then
16527 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
16528 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16529 echo "${ECHO_T}$toolkit_echo" >&6; }
16530 fi
16531 fi
16532 done
16533 else
16534 if test "x$host_alias" != "x"; then
16535 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16536 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16537 else
16538 { echo "$as_me:$LINENO: result: base only" >&5
16539 echo "${ECHO_T}base only" >&6; }
16540 fi
16541 fi
16542
16543
16544 cat >confcache <<\_ACEOF
16545 # This file is a shell script that caches the results of configure
16546 # tests run on this system so they can be shared between configure
16547 # scripts and configure runs, see configure's option --config-cache.
16548 # It is not useful on other systems. If it contains results you don't
16549 # want to keep, you may remove or edit it.
16550 #
16551 # config.status only pays attention to the cache file if you give it
16552 # the --recheck option to rerun configure.
16553 #
16554 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16555 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16556 # following values.
16557
16558 _ACEOF
16559
16560 # The following way of writing the cache mishandles newlines in values,
16561 # but we know of no workaround that is simple, portable, and efficient.
16562 # So, we kill variables containing newlines.
16563 # Ultrix sh set writes to stderr and can't be redirected directly,
16564 # and sets the high bit in the cache file unless we assign to the vars.
16565 (
16566 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16567 eval ac_val=\$$ac_var
16568 case $ac_val in #(
16569 *${as_nl}*)
16570 case $ac_var in #(
16571 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16572 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16573 esac
16574 case $ac_var in #(
16575 _ | IFS | as_nl) ;; #(
16576 *) $as_unset $ac_var ;;
16577 esac ;;
16578 esac
16579 done
16580
16581 (set) 2>&1 |
16582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16583 *${as_nl}ac_space=\ *)
16584 # `set' does not quote correctly, so add quotes (double-quote
16585 # substitution turns \\\\ into \\, and sed turns \\ into \).
16586 sed -n \
16587 "s/'/'\\\\''/g;
16588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16589 ;; #(
16590 *)
16591 # `set' quotes correctly as required by POSIX, so do not add quotes.
16592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16593 ;;
16594 esac |
16595 sort
16596 ) |
16597 sed '
16598 /^ac_cv_env_/b end
16599 t clear
16600 :clear
16601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16602 t end
16603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16604 :end' >>confcache
16605 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16606 if test -w "$cache_file"; then
16607 test "x$cache_file" != "x/dev/null" &&
16608 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16609 echo "$as_me: updating cache $cache_file" >&6;}
16610 cat confcache >$cache_file
16611 else
16612 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16613 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16614 fi
16615 fi
16616 rm -f confcache
16617
16618 CFLAGS=${CFLAGS:=}
16619
16620
16621
16622 ac_ext=c
16623 ac_cpp='$CPP $CPPFLAGS'
16624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16627 if test -n "$ac_tool_prefix"; then
16628 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16629 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16632 if test "${ac_cv_prog_CC+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16635 if test -n "$CC"; then
16636 ac_cv_prog_CC="$CC" # Let the user override the test.
16637 else
16638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16639 for as_dir in $PATH
16640 do
16641 IFS=$as_save_IFS
16642 test -z "$as_dir" && as_dir=.
16643 for ac_exec_ext in '' $ac_executable_extensions; do
16644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16645 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16647 break 2
16648 fi
16649 done
16650 done
16651 IFS=$as_save_IFS
16652
16653 fi
16654 fi
16655 CC=$ac_cv_prog_CC
16656 if test -n "$CC"; then
16657 { echo "$as_me:$LINENO: result: $CC" >&5
16658 echo "${ECHO_T}$CC" >&6; }
16659 else
16660 { echo "$as_me:$LINENO: result: no" >&5
16661 echo "${ECHO_T}no" >&6; }
16662 fi
16663
16664
16665 fi
16666 if test -z "$ac_cv_prog_CC"; then
16667 ac_ct_CC=$CC
16668 # Extract the first word of "gcc", so it can be a program name with args.
16669 set dummy gcc; ac_word=$2
16670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675 if test -n "$ac_ct_CC"; then
16676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16677 else
16678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16679 for as_dir in $PATH
16680 do
16681 IFS=$as_save_IFS
16682 test -z "$as_dir" && as_dir=.
16683 for ac_exec_ext in '' $ac_executable_extensions; do
16684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16685 ac_cv_prog_ac_ct_CC="gcc"
16686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16687 break 2
16688 fi
16689 done
16690 done
16691 IFS=$as_save_IFS
16692
16693 fi
16694 fi
16695 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16696 if test -n "$ac_ct_CC"; then
16697 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16698 echo "${ECHO_T}$ac_ct_CC" >&6; }
16699 else
16700 { echo "$as_me:$LINENO: result: no" >&5
16701 echo "${ECHO_T}no" >&6; }
16702 fi
16703
16704 if test "x$ac_ct_CC" = x; then
16705 CC=""
16706 else
16707 case $cross_compiling:$ac_tool_warned in
16708 yes:)
16709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16710 whose name does not start with the host triplet. If you think this
16711 configuration is useful to you, please write to autoconf@gnu.org." >&5
16712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16713 whose name does not start with the host triplet. If you think this
16714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16715 ac_tool_warned=yes ;;
16716 esac
16717 CC=$ac_ct_CC
16718 fi
16719 else
16720 CC="$ac_cv_prog_CC"
16721 fi
16722
16723 if test -z "$CC"; then
16724 if test -n "$ac_tool_prefix"; then
16725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16726 set dummy ${ac_tool_prefix}cc; ac_word=$2
16727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16729 if test "${ac_cv_prog_CC+set}" = set; then
16730 echo $ECHO_N "(cached) $ECHO_C" >&6
16731 else
16732 if test -n "$CC"; then
16733 ac_cv_prog_CC="$CC" # Let the user override the test.
16734 else
16735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16736 for as_dir in $PATH
16737 do
16738 IFS=$as_save_IFS
16739 test -z "$as_dir" && as_dir=.
16740 for ac_exec_ext in '' $ac_executable_extensions; do
16741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16742 ac_cv_prog_CC="${ac_tool_prefix}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 fi
16751 fi
16752 CC=$ac_cv_prog_CC
16753 if test -n "$CC"; then
16754 { echo "$as_me:$LINENO: result: $CC" >&5
16755 echo "${ECHO_T}$CC" >&6; }
16756 else
16757 { echo "$as_me:$LINENO: result: no" >&5
16758 echo "${ECHO_T}no" >&6; }
16759 fi
16760
16761
16762 fi
16763 fi
16764 if test -z "$CC"; then
16765 # Extract the first word of "cc", so it can be a program name with args.
16766 set dummy cc; ac_word=$2
16767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16769 if test "${ac_cv_prog_CC+set}" = set; then
16770 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 else
16772 if test -n "$CC"; then
16773 ac_cv_prog_CC="$CC" # Let the user override the test.
16774 else
16775 ac_prog_rejected=no
16776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16777 for as_dir in $PATH
16778 do
16779 IFS=$as_save_IFS
16780 test -z "$as_dir" && as_dir=.
16781 for ac_exec_ext in '' $ac_executable_extensions; do
16782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16784 ac_prog_rejected=yes
16785 continue
16786 fi
16787 ac_cv_prog_CC="cc"
16788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16789 break 2
16790 fi
16791 done
16792 done
16793 IFS=$as_save_IFS
16794
16795 if test $ac_prog_rejected = yes; then
16796 # We found a bogon in the path, so make sure we never use it.
16797 set dummy $ac_cv_prog_CC
16798 shift
16799 if test $# != 0; then
16800 # We chose a different compiler from the bogus one.
16801 # However, it has the same basename, so the bogon will be chosen
16802 # first if we set CC to just the basename; use the full file name.
16803 shift
16804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16805 fi
16806 fi
16807 fi
16808 fi
16809 CC=$ac_cv_prog_CC
16810 if test -n "$CC"; then
16811 { echo "$as_me:$LINENO: result: $CC" >&5
16812 echo "${ECHO_T}$CC" >&6; }
16813 else
16814 { echo "$as_me:$LINENO: result: no" >&5
16815 echo "${ECHO_T}no" >&6; }
16816 fi
16817
16818
16819 fi
16820 if test -z "$CC"; then
16821 if test -n "$ac_tool_prefix"; then
16822 for ac_prog in cl.exe
16823 do
16824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16828 if test "${ac_cv_prog_CC+set}" = set; then
16829 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 else
16831 if test -n "$CC"; then
16832 ac_cv_prog_CC="$CC" # Let the user override the test.
16833 else
16834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16835 for as_dir in $PATH
16836 do
16837 IFS=$as_save_IFS
16838 test -z "$as_dir" && as_dir=.
16839 for ac_exec_ext in '' $ac_executable_extensions; do
16840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16843 break 2
16844 fi
16845 done
16846 done
16847 IFS=$as_save_IFS
16848
16849 fi
16850 fi
16851 CC=$ac_cv_prog_CC
16852 if test -n "$CC"; then
16853 { echo "$as_me:$LINENO: result: $CC" >&5
16854 echo "${ECHO_T}$CC" >&6; }
16855 else
16856 { echo "$as_me:$LINENO: result: no" >&5
16857 echo "${ECHO_T}no" >&6; }
16858 fi
16859
16860
16861 test -n "$CC" && break
16862 done
16863 fi
16864 if test -z "$CC"; then
16865 ac_ct_CC=$CC
16866 for ac_prog in cl.exe
16867 do
16868 # Extract the first word of "$ac_prog", so it can be a program name with args.
16869 set dummy $ac_prog; ac_word=$2
16870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 else
16875 if test -n "$ac_ct_CC"; then
16876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16877 else
16878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16879 for as_dir in $PATH
16880 do
16881 IFS=$as_save_IFS
16882 test -z "$as_dir" && as_dir=.
16883 for ac_exec_ext in '' $ac_executable_extensions; do
16884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16885 ac_cv_prog_ac_ct_CC="$ac_prog"
16886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16887 break 2
16888 fi
16889 done
16890 done
16891 IFS=$as_save_IFS
16892
16893 fi
16894 fi
16895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16896 if test -n "$ac_ct_CC"; then
16897 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16898 echo "${ECHO_T}$ac_ct_CC" >&6; }
16899 else
16900 { echo "$as_me:$LINENO: result: no" >&5
16901 echo "${ECHO_T}no" >&6; }
16902 fi
16903
16904
16905 test -n "$ac_ct_CC" && break
16906 done
16907
16908 if test "x$ac_ct_CC" = x; then
16909 CC=""
16910 else
16911 case $cross_compiling:$ac_tool_warned in
16912 yes:)
16913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16914 whose name does not start with the host triplet. If you think this
16915 configuration is useful to you, please write to autoconf@gnu.org." >&5
16916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16917 whose name does not start with the host triplet. If you think this
16918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16919 ac_tool_warned=yes ;;
16920 esac
16921 CC=$ac_ct_CC
16922 fi
16923 fi
16924
16925 fi
16926
16927
16928 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16929 See \`config.log' for more details." >&5
16930 echo "$as_me: error: no acceptable C compiler found in \$PATH
16931 See \`config.log' for more details." >&2;}
16932 { (exit 1); exit 1; }; }
16933
16934 # Provide some information about the compiler.
16935 echo "$as_me:$LINENO: checking for C compiler version" >&5
16936 ac_compiler=`set X $ac_compile; echo $2`
16937 { (ac_try="$ac_compiler --version >&5"
16938 case "(($ac_try" in
16939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;;
16941 esac
16942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16943 (eval "$ac_compiler --version >&5") 2>&5
16944 ac_status=$?
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }
16947 { (ac_try="$ac_compiler -v >&5"
16948 case "(($ac_try" in
16949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16950 *) ac_try_echo=$ac_try;;
16951 esac
16952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16953 (eval "$ac_compiler -v >&5") 2>&5
16954 ac_status=$?
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }
16957 { (ac_try="$ac_compiler -V >&5"
16958 case "(($ac_try" in
16959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16960 *) ac_try_echo=$ac_try;;
16961 esac
16962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16963 (eval "$ac_compiler -V >&5") 2>&5
16964 ac_status=$?
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }
16967
16968 cat >conftest.$ac_ext <<_ACEOF
16969 /* confdefs.h. */
16970 _ACEOF
16971 cat confdefs.h >>conftest.$ac_ext
16972 cat >>conftest.$ac_ext <<_ACEOF
16973 /* end confdefs.h. */
16974
16975 int
16976 main ()
16977 {
16978
16979 ;
16980 return 0;
16981 }
16982 _ACEOF
16983 ac_clean_files_save=$ac_clean_files
16984 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16985 # Try to create an executable without -o first, disregard a.out.
16986 # It will help us diagnose broken compilers, and finding out an intuition
16987 # of exeext.
16988 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16989 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16990 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16991 #
16992 # List of possible output files, starting from the most likely.
16993 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16994 # only as a last resort. b.out is created by i960 compilers.
16995 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16996 #
16997 # The IRIX 6 linker writes into existing files which may not be
16998 # executable, retaining their permissions. Remove them first so a
16999 # subsequent execution test works.
17000 ac_rmfiles=
17001 for ac_file in $ac_files
17002 do
17003 case $ac_file in
17004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17005 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
17006 esac
17007 done
17008 rm -f $ac_rmfiles
17009
17010 if { (ac_try="$ac_link_default"
17011 case "(($ac_try" in
17012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17013 *) ac_try_echo=$ac_try;;
17014 esac
17015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17016 (eval "$ac_link_default") 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; then
17020 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17021 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17022 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17023 # so that the user can short-circuit this test for compilers unknown to
17024 # Autoconf.
17025 for ac_file in $ac_files ''
17026 do
17027 test -f "$ac_file" || continue
17028 case $ac_file in
17029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17030 ;;
17031 [ab].out )
17032 # We found the default executable, but exeext='' is most
17033 # certainly right.
17034 break;;
17035 *.* )
17036 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17037 then :; else
17038 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17039 fi
17040 # We set ac_cv_exeext here because the later test for it is not
17041 # safe: cross compilers may not add the suffix if given an `-o'
17042 # argument, so we may need to know it at that point already.
17043 # Even if this section looks crufty: it has the advantage of
17044 # actually working.
17045 break;;
17046 * )
17047 break;;
17048 esac
17049 done
17050 test "$ac_cv_exeext" = no && ac_cv_exeext=
17051
17052 else
17053 ac_file=''
17054 fi
17055
17056 { echo "$as_me:$LINENO: result: $ac_file" >&5
17057 echo "${ECHO_T}$ac_file" >&6; }
17058 if test -z "$ac_file"; then
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17061
17062 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17063 See \`config.log' for more details." >&5
17064 echo "$as_me: error: C compiler cannot create executables
17065 See \`config.log' for more details." >&2;}
17066 { (exit 77); exit 77; }; }
17067 fi
17068
17069 ac_exeext=$ac_cv_exeext
17070
17071 # Check that the compiler produces executables we can run. If not, either
17072 # the compiler is broken, or we cross compile.
17073 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17074 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17075 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17076 # If not cross compiling, check that we can run a simple program.
17077 if test "$cross_compiling" != yes; then
17078 if { ac_try='./$ac_file'
17079 { (case "(($ac_try" in
17080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17081 *) ac_try_echo=$ac_try;;
17082 esac
17083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17084 (eval "$ac_try") 2>&5
17085 ac_status=$?
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17088 cross_compiling=no
17089 else
17090 if test "$cross_compiling" = maybe; then
17091 cross_compiling=yes
17092 else
17093 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17094 If you meant to cross compile, use \`--host'.
17095 See \`config.log' for more details." >&5
17096 echo "$as_me: error: cannot run C compiled programs.
17097 If you meant to cross compile, use \`--host'.
17098 See \`config.log' for more details." >&2;}
17099 { (exit 1); exit 1; }; }
17100 fi
17101 fi
17102 fi
17103 { echo "$as_me:$LINENO: result: yes" >&5
17104 echo "${ECHO_T}yes" >&6; }
17105
17106 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17107 ac_clean_files=$ac_clean_files_save
17108 # Check that the compiler produces executables we can run. If not, either
17109 # the compiler is broken, or we cross compile.
17110 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17111 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17112 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17113 echo "${ECHO_T}$cross_compiling" >&6; }
17114
17115 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17116 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17117 if { (ac_try="$ac_link"
17118 case "(($ac_try" in
17119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17120 *) ac_try_echo=$ac_try;;
17121 esac
17122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17123 (eval "$ac_link") 2>&5
17124 ac_status=$?
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; then
17127 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17128 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17129 # work properly (i.e., refer to `conftest.exe'), while it won't with
17130 # `rm'.
17131 for ac_file in conftest.exe conftest conftest.*; do
17132 test -f "$ac_file" || continue
17133 case $ac_file in
17134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17135 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17136 break;;
17137 * ) break;;
17138 esac
17139 done
17140 else
17141 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17142 See \`config.log' for more details." >&5
17143 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17144 See \`config.log' for more details." >&2;}
17145 { (exit 1); exit 1; }; }
17146 fi
17147
17148 rm -f conftest$ac_cv_exeext
17149 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17150 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17151
17152 rm -f conftest.$ac_ext
17153 EXEEXT=$ac_cv_exeext
17154 ac_exeext=$EXEEXT
17155 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17156 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17157 if test "${ac_cv_objext+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 else
17160 cat >conftest.$ac_ext <<_ACEOF
17161 /* confdefs.h. */
17162 _ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166
17167 int
17168 main ()
17169 {
17170
17171 ;
17172 return 0;
17173 }
17174 _ACEOF
17175 rm -f conftest.o conftest.obj
17176 if { (ac_try="$ac_compile"
17177 case "(($ac_try" in
17178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17179 *) ac_try_echo=$ac_try;;
17180 esac
17181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17182 (eval "$ac_compile") 2>&5
17183 ac_status=$?
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; then
17186 for ac_file in conftest.o conftest.obj conftest.*; do
17187 test -f "$ac_file" || continue;
17188 case $ac_file in
17189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17190 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17191 break;;
17192 esac
17193 done
17194 else
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17197
17198 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17199 See \`config.log' for more details." >&5
17200 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17201 See \`config.log' for more details." >&2;}
17202 { (exit 1); exit 1; }; }
17203 fi
17204
17205 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17206 fi
17207 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17208 echo "${ECHO_T}$ac_cv_objext" >&6; }
17209 OBJEXT=$ac_cv_objext
17210 ac_objext=$OBJEXT
17211 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17212 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17213 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17214 echo $ECHO_N "(cached) $ECHO_C" >&6
17215 else
17216 cat >conftest.$ac_ext <<_ACEOF
17217 /* confdefs.h. */
17218 _ACEOF
17219 cat confdefs.h >>conftest.$ac_ext
17220 cat >>conftest.$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222
17223 int
17224 main ()
17225 {
17226 #ifndef __GNUC__
17227 choke me
17228 #endif
17229
17230 ;
17231 return 0;
17232 }
17233 _ACEOF
17234 rm -f conftest.$ac_objext
17235 if { (ac_try="$ac_compile"
17236 case "(($ac_try" in
17237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17238 *) ac_try_echo=$ac_try;;
17239 esac
17240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17241 (eval "$ac_compile") 2>conftest.er1
17242 ac_status=$?
17243 grep -v '^ *+' conftest.er1 >conftest.err
17244 rm -f conftest.er1
17245 cat conftest.err >&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } && {
17248 test -z "$ac_c_werror_flag" ||
17249 test ! -s conftest.err
17250 } && test -s conftest.$ac_objext; then
17251 ac_compiler_gnu=yes
17252 else
17253 echo "$as_me: failed program was:" >&5
17254 sed 's/^/| /' conftest.$ac_ext >&5
17255
17256 ac_compiler_gnu=no
17257 fi
17258
17259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17260 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17261
17262 fi
17263 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17264 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17265 GCC=`test $ac_compiler_gnu = yes && echo yes`
17266 ac_test_CFLAGS=${CFLAGS+set}
17267 ac_save_CFLAGS=$CFLAGS
17268 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17269 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17270 if test "${ac_cv_prog_cc_g+set}" = set; then
17271 echo $ECHO_N "(cached) $ECHO_C" >&6
17272 else
17273 ac_save_c_werror_flag=$ac_c_werror_flag
17274 ac_c_werror_flag=yes
17275 ac_cv_prog_cc_g=no
17276 CFLAGS="-g"
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283
17284 int
17285 main ()
17286 {
17287
17288 ;
17289 return 0;
17290 }
17291 _ACEOF
17292 rm -f conftest.$ac_objext
17293 if { (ac_try="$ac_compile"
17294 case "(($ac_try" in
17295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17296 *) ac_try_echo=$ac_try;;
17297 esac
17298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17299 (eval "$ac_compile") 2>conftest.er1
17300 ac_status=$?
17301 grep -v '^ *+' conftest.er1 >conftest.err
17302 rm -f conftest.er1
17303 cat conftest.err >&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } && {
17306 test -z "$ac_c_werror_flag" ||
17307 test ! -s conftest.err
17308 } && test -s conftest.$ac_objext; then
17309 ac_cv_prog_cc_g=yes
17310 else
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.$ac_ext >&5
17313
17314 CFLAGS=""
17315 cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h. */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321
17322 int
17323 main ()
17324 {
17325
17326 ;
17327 return 0;
17328 }
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (ac_try="$ac_compile"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17335 esac
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_compile") 2>conftest.er1
17338 ac_status=$?
17339 grep -v '^ *+' conftest.er1 >conftest.err
17340 rm -f conftest.er1
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } && {
17344 test -z "$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest.$ac_objext; then
17347 :
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17351
17352 ac_c_werror_flag=$ac_save_c_werror_flag
17353 CFLAGS="-g"
17354 cat >conftest.$ac_ext <<_ACEOF
17355 /* confdefs.h. */
17356 _ACEOF
17357 cat confdefs.h >>conftest.$ac_ext
17358 cat >>conftest.$ac_ext <<_ACEOF
17359 /* end confdefs.h. */
17360
17361 int
17362 main ()
17363 {
17364
17365 ;
17366 return 0;
17367 }
17368 _ACEOF
17369 rm -f conftest.$ac_objext
17370 if { (ac_try="$ac_compile"
17371 case "(($ac_try" in
17372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17373 *) ac_try_echo=$ac_try;;
17374 esac
17375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17376 (eval "$ac_compile") 2>conftest.er1
17377 ac_status=$?
17378 grep -v '^ *+' conftest.er1 >conftest.err
17379 rm -f conftest.er1
17380 cat conftest.err >&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } && {
17383 test -z "$ac_c_werror_flag" ||
17384 test ! -s conftest.err
17385 } && test -s conftest.$ac_objext; then
17386 ac_cv_prog_cc_g=yes
17387 else
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391
17392 fi
17393
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395 fi
17396
17397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17398 fi
17399
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17401 ac_c_werror_flag=$ac_save_c_werror_flag
17402 fi
17403 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17404 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17405 if test "$ac_test_CFLAGS" = set; then
17406 CFLAGS=$ac_save_CFLAGS
17407 elif test $ac_cv_prog_cc_g = yes; then
17408 if test "$GCC" = yes; then
17409 CFLAGS="-g -O2"
17410 else
17411 CFLAGS="-g"
17412 fi
17413 else
17414 if test "$GCC" = yes; then
17415 CFLAGS="-O2"
17416 else
17417 CFLAGS=
17418 fi
17419 fi
17420 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17421 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17422 if test "${ac_cv_prog_cc_c89+set}" = set; then
17423 echo $ECHO_N "(cached) $ECHO_C" >&6
17424 else
17425 ac_cv_prog_cc_c89=no
17426 ac_save_CC=$CC
17427 cat >conftest.$ac_ext <<_ACEOF
17428 /* confdefs.h. */
17429 _ACEOF
17430 cat confdefs.h >>conftest.$ac_ext
17431 cat >>conftest.$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433 #include <stdarg.h>
17434 #include <stdio.h>
17435 #include <sys/types.h>
17436 #include <sys/stat.h>
17437 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17438 struct buf { int x; };
17439 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17440 static char *e (p, i)
17441 char **p;
17442 int i;
17443 {
17444 return p[i];
17445 }
17446 static char *f (char * (*g) (char **, int), char **p, ...)
17447 {
17448 char *s;
17449 va_list v;
17450 va_start (v,p);
17451 s = g (p, va_arg (v,int));
17452 va_end (v);
17453 return s;
17454 }
17455
17456 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17457 function prototypes and stuff, but not '\xHH' hex character constants.
17458 These don't provoke an error unfortunately, instead are silently treated
17459 as 'x'. The following induces an error, until -std is added to get
17460 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17461 array size at least. It's necessary to write '\x00'==0 to get something
17462 that's true only with -std. */
17463 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17464
17465 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17466 inside strings and character constants. */
17467 #define FOO(x) 'x'
17468 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17469
17470 int test (int i, double x);
17471 struct s1 {int (*f) (int a);};
17472 struct s2 {int (*f) (double a);};
17473 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17474 int argc;
17475 char **argv;
17476 int
17477 main ()
17478 {
17479 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17480 ;
17481 return 0;
17482 }
17483 _ACEOF
17484 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17485 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17486 do
17487 CC="$ac_save_CC $ac_arg"
17488 rm -f conftest.$ac_objext
17489 if { (ac_try="$ac_compile"
17490 case "(($ac_try" in
17491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17492 *) ac_try_echo=$ac_try;;
17493 esac
17494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17495 (eval "$ac_compile") 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } && {
17502 test -z "$ac_c_werror_flag" ||
17503 test ! -s conftest.err
17504 } && test -s conftest.$ac_objext; then
17505 ac_cv_prog_cc_c89=$ac_arg
17506 else
17507 echo "$as_me: failed program was:" >&5
17508 sed 's/^/| /' conftest.$ac_ext >&5
17509
17510
17511 fi
17512
17513 rm -f core conftest.err conftest.$ac_objext
17514 test "x$ac_cv_prog_cc_c89" != "xno" && break
17515 done
17516 rm -f conftest.$ac_ext
17517 CC=$ac_save_CC
17518
17519 fi
17520 # AC_CACHE_VAL
17521 case "x$ac_cv_prog_cc_c89" in
17522 x)
17523 { echo "$as_me:$LINENO: result: none needed" >&5
17524 echo "${ECHO_T}none needed" >&6; } ;;
17525 xno)
17526 { echo "$as_me:$LINENO: result: unsupported" >&5
17527 echo "${ECHO_T}unsupported" >&6; } ;;
17528 *)
17529 CC="$CC $ac_cv_prog_cc_c89"
17530 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17531 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17532 esac
17533
17534
17535 ac_ext=c
17536 ac_cpp='$CPP $CPPFLAGS'
17537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17540
17541
17542
17543
17544 ac_ext=c
17545 ac_cpp='$CPP $CPPFLAGS'
17546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17549
17550 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17551 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17552 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17553 echo $ECHO_N "(cached) $ECHO_C" >&6
17554 else
17555 cat >conftest.$ac_ext <<_ACEOF
17556 /* confdefs.h. */
17557 _ACEOF
17558 cat confdefs.h >>conftest.$ac_ext
17559 cat >>conftest.$ac_ext <<_ACEOF
17560 /* end confdefs.h. */
17561
17562 int
17563 main ()
17564 {
17565
17566 #ifndef __INTEL_COMPILER
17567 choke me
17568 #endif
17569
17570 ;
17571 return 0;
17572 }
17573 _ACEOF
17574 rm -f conftest.$ac_objext
17575 if { (ac_try="$ac_compile"
17576 case "(($ac_try" in
17577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17578 *) ac_try_echo=$ac_try;;
17579 esac
17580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17581 (eval "$ac_compile") 2>conftest.er1
17582 ac_status=$?
17583 grep -v '^ *+' conftest.er1 >conftest.err
17584 rm -f conftest.er1
17585 cat conftest.err >&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } && {
17588 test -z "$ac_c_werror_flag" ||
17589 test ! -s conftest.err
17590 } && test -s conftest.$ac_objext; then
17591 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17592 else
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.$ac_ext >&5
17595
17596 bakefile_cv_c_compiler___INTEL_COMPILER=no
17597
17598 fi
17599
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601
17602
17603 fi
17604 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17605 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17606 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17607 :; INTELCC=yes
17608 else
17609 :;
17610 fi
17611 ac_ext=c
17612 ac_cpp='$CPP $CPPFLAGS'
17613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17616
17617
17618
17619
17620 if test "x$GCC" != "xyes"; then
17621 if test "xCC" = "xC"; then
17622 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17623 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17624 if test "${bakefile_cv_c_exto+set}" = set; then
17625 echo $ECHO_N "(cached) $ECHO_C" >&6
17626 else
17627 cat >conftest.$ac_ext <<_ACEOF
17628 /* confdefs.h. */
17629 _ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633
17634 int
17635 main ()
17636 {
17637
17638 ;
17639 return 0;
17640 }
17641 _ACEOF
17642 rm -f conftest.$ac_objext conftest.$ac_ext.o
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644 (eval $ac_compile) 2>&5
17645 ac_status=$?
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; then
17648 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17649 case $ac_file in
17650 conftest.$ac_ext.o)
17651 bakefile_cv_c_exto="-ext o"
17652 ;;
17653 *)
17654 ;;
17655 esac
17656 done
17657 else
17658 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17659 See \`config.log' for more details." >&5
17660 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17661 See \`config.log' for more details." >&2;}
17662 { (exit 1); exit 1; }; }
17663
17664 fi
17665
17666 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17667
17668 fi
17669 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17670 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17671 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17672 if test "c" = "c"; then
17673 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17674 fi
17675 if test "c" = "cxx"; then
17676 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17677 fi
17678 fi
17679
17680 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17681 unset ac_cv_prog_cc_g
17682 ac_test_CFLAGS=${CFLAGS+set}
17683 ac_save_CFLAGS=$CFLAGS
17684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17686 if test "${ac_cv_prog_cc_g+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 else
17689 ac_save_c_werror_flag=$ac_c_werror_flag
17690 ac_c_werror_flag=yes
17691 ac_cv_prog_cc_g=no
17692 CFLAGS="-g"
17693 cat >conftest.$ac_ext <<_ACEOF
17694 /* confdefs.h. */
17695 _ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699
17700 int
17701 main ()
17702 {
17703
17704 ;
17705 return 0;
17706 }
17707 _ACEOF
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17712 *) ac_try_echo=$ac_try;;
17713 esac
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17716 ac_status=$?
17717 grep -v '^ *+' conftest.er1 >conftest.err
17718 rm -f conftest.er1
17719 cat conftest.err >&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_c_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.$ac_objext; then
17725 ac_cv_prog_cc_g=yes
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17729
17730 CFLAGS=""
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737
17738 int
17739 main ()
17740 {
17741
17742 ;
17743 return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_c_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 :
17764 else
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17767
17768 ac_c_werror_flag=$ac_save_c_werror_flag
17769 CFLAGS="-g"
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17776
17777 int
17778 main ()
17779 {
17780
17781 ;
17782 return 0;
17783 }
17784 _ACEOF
17785 rm -f conftest.$ac_objext
17786 if { (ac_try="$ac_compile"
17787 case "(($ac_try" in
17788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17789 *) ac_try_echo=$ac_try;;
17790 esac
17791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17792 (eval "$ac_compile") 2>conftest.er1
17793 ac_status=$?
17794 grep -v '^ *+' conftest.er1 >conftest.err
17795 rm -f conftest.er1
17796 cat conftest.err >&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } && {
17799 test -z "$ac_c_werror_flag" ||
17800 test ! -s conftest.err
17801 } && test -s conftest.$ac_objext; then
17802 ac_cv_prog_cc_g=yes
17803 else
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.$ac_ext >&5
17806
17807
17808 fi
17809
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17811 fi
17812
17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 fi
17815
17816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 ac_c_werror_flag=$ac_save_c_werror_flag
17818 fi
17819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17821 if test "$ac_test_CFLAGS" = set; then
17822 CFLAGS=$ac_save_CFLAGS
17823 elif test $ac_cv_prog_cc_g = yes; then
17824 if test "$GCC" = yes; then
17825 CFLAGS="-g -O2"
17826 else
17827 CFLAGS="-g"
17828 fi
17829 else
17830 if test "$GCC" = yes; then
17831 CFLAGS="-O2"
17832 else
17833 CFLAGS=
17834 fi
17835 fi
17836 fi
17837 fi
17838
17839 case `uname -s` in
17840 AIX*)
17841
17842
17843 ac_ext=c
17844 ac_cpp='$CPP $CPPFLAGS'
17845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17848
17849 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17850 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17851 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17852 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 else
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h. */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860
17861 int
17862 main ()
17863 {
17864
17865 #ifndef __xlC__
17866 choke me
17867 #endif
17868
17869 ;
17870 return 0;
17871 }
17872 _ACEOF
17873 rm -f conftest.$ac_objext
17874 if { (ac_try="$ac_compile"
17875 case "(($ac_try" in
17876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17877 *) ac_try_echo=$ac_try;;
17878 esac
17879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17880 (eval "$ac_compile") 2>conftest.er1
17881 ac_status=$?
17882 grep -v '^ *+' conftest.er1 >conftest.err
17883 rm -f conftest.er1
17884 cat conftest.err >&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_c_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest.$ac_objext; then
17890 bakefile_cv_c_compiler___xlC__=yes
17891 else
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17894
17895 bakefile_cv_c_compiler___xlC__=no
17896
17897 fi
17898
17899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17900
17901
17902 fi
17903 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17904 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17905 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17906 :; XLCC=yes
17907 else
17908 :;
17909 fi
17910 ac_ext=c
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17915
17916
17917
17918 ;;
17919
17920 Darwin)
17921
17922
17923 ac_ext=c
17924 ac_cpp='$CPP $CPPFLAGS'
17925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17928
17929 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17930 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 else
17934 cat >conftest.$ac_ext <<_ACEOF
17935 /* confdefs.h. */
17936 _ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940
17941 int
17942 main ()
17943 {
17944
17945 #ifndef __MWERKS__
17946 choke me
17947 #endif
17948
17949 ;
17950 return 0;
17951 }
17952 _ACEOF
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17958 esac
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17961 ac_status=$?
17962 grep -v '^ *+' conftest.er1 >conftest.err
17963 rm -f conftest.er1
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_c_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_c_compiler___MWERKS__=yes
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 bakefile_cv_c_compiler___MWERKS__=no
17976
17977 fi
17978
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980
17981
17982 fi
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17984 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17985 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17986 :; MWCC=yes
17987 else
17988 :;
17989 fi
17990 ac_ext=c
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17995
17996
17997
17998
17999
18000 ac_ext=c
18001 ac_cpp='$CPP $CPPFLAGS'
18002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18005
18006 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
18007 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
18008 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18010 else
18011 cat >conftest.$ac_ext <<_ACEOF
18012 /* confdefs.h. */
18013 _ACEOF
18014 cat confdefs.h >>conftest.$ac_ext
18015 cat >>conftest.$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017
18018 int
18019 main ()
18020 {
18021
18022 #ifndef __xlC__
18023 choke me
18024 #endif
18025
18026 ;
18027 return 0;
18028 }
18029 _ACEOF
18030 rm -f conftest.$ac_objext
18031 if { (ac_try="$ac_compile"
18032 case "(($ac_try" in
18033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18034 *) ac_try_echo=$ac_try;;
18035 esac
18036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18037 (eval "$ac_compile") 2>conftest.er1
18038 ac_status=$?
18039 grep -v '^ *+' conftest.er1 >conftest.err
18040 rm -f conftest.er1
18041 cat conftest.err >&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } && {
18044 test -z "$ac_c_werror_flag" ||
18045 test ! -s conftest.err
18046 } && test -s conftest.$ac_objext; then
18047 bakefile_cv_c_compiler___xlC__=yes
18048 else
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18051
18052 bakefile_cv_c_compiler___xlC__=no
18053
18054 fi
18055
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057
18058
18059 fi
18060 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18061 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18062 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18063 :; XLCC=yes
18064 else
18065 :;
18066 fi
18067 ac_ext=c
18068 ac_cpp='$CPP $CPPFLAGS'
18069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18072
18073
18074
18075 ;;
18076
18077 IRIX*)
18078
18079
18080 ac_ext=c
18081 ac_cpp='$CPP $CPPFLAGS'
18082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18085
18086 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18087 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18088 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h. */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097
18098 int
18099 main ()
18100 {
18101
18102 #ifndef _SGI_COMPILER_VERSION
18103 choke me
18104 #endif
18105
18106 ;
18107 return 0;
18108 }
18109 _ACEOF
18110 rm -f conftest.$ac_objext
18111 if { (ac_try="$ac_compile"
18112 case "(($ac_try" in
18113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114 *) ac_try_echo=$ac_try;;
18115 esac
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_compile") 2>conftest.er1
18118 ac_status=$?
18119 grep -v '^ *+' conftest.er1 >conftest.err
18120 rm -f conftest.er1
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && {
18124 test -z "$ac_c_werror_flag" ||
18125 test ! -s conftest.err
18126 } && test -s conftest.$ac_objext; then
18127 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18128 else
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18131
18132 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18133
18134 fi
18135
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137
18138
18139 fi
18140 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18141 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18142 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18143 :; SGICC=yes
18144 else
18145 :;
18146 fi
18147 ac_ext=c
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18152
18153
18154
18155 ;;
18156
18157 Linux*)
18158
18159
18160 ac_ext=c
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18165
18166 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18167 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18168 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18171 cat >conftest.$ac_ext <<_ACEOF
18172 /* confdefs.h. */
18173 _ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177
18178 int
18179 main ()
18180 {
18181
18182 #ifndef __SUNPRO_C
18183 choke me
18184 #endif
18185
18186 ;
18187 return 0;
18188 }
18189 _ACEOF
18190 rm -f conftest.$ac_objext
18191 if { (ac_try="$ac_compile"
18192 case "(($ac_try" in
18193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18194 *) ac_try_echo=$ac_try;;
18195 esac
18196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18197 (eval "$ac_compile") 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && {
18204 test -z "$ac_c_werror_flag" ||
18205 test ! -s conftest.err
18206 } && test -s conftest.$ac_objext; then
18207 bakefile_cv_c_compiler___SUNPRO_C=yes
18208 else
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18211
18212 bakefile_cv_c_compiler___SUNPRO_C=no
18213
18214 fi
18215
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217
18218
18219 fi
18220 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18221 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18222 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18223 :; SUNCC=yes
18224 else
18225 :;
18226 fi
18227 ac_ext=c
18228 ac_cpp='$CPP $CPPFLAGS'
18229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18232
18233
18234
18235 ;;
18236
18237 HP-UX*)
18238
18239
18240 ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245
18246 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18247 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18248 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18249 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 else
18251 cat >conftest.$ac_ext <<_ACEOF
18252 /* confdefs.h. */
18253 _ACEOF
18254 cat confdefs.h >>conftest.$ac_ext
18255 cat >>conftest.$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18257
18258 int
18259 main ()
18260 {
18261
18262 #ifndef __HP_cc
18263 choke me
18264 #endif
18265
18266 ;
18267 return 0;
18268 }
18269 _ACEOF
18270 rm -f conftest.$ac_objext
18271 if { (ac_try="$ac_compile"
18272 case "(($ac_try" in
18273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18274 *) ac_try_echo=$ac_try;;
18275 esac
18276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18277 (eval "$ac_compile") 2>conftest.er1
18278 ac_status=$?
18279 grep -v '^ *+' conftest.er1 >conftest.err
18280 rm -f conftest.er1
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } && {
18284 test -z "$ac_c_werror_flag" ||
18285 test ! -s conftest.err
18286 } && test -s conftest.$ac_objext; then
18287 bakefile_cv_c_compiler___HP_cc=yes
18288 else
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.$ac_ext >&5
18291
18292 bakefile_cv_c_compiler___HP_cc=no
18293
18294 fi
18295
18296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18297
18298
18299 fi
18300 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18301 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18302 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18303 :; HPCC=yes
18304 else
18305 :;
18306 fi
18307 ac_ext=c
18308 ac_cpp='$CPP $CPPFLAGS'
18309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18312
18313
18314
18315 ;;
18316
18317 OSF1)
18318
18319
18320 ac_ext=c
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18325
18326 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18327 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18328 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331 cat >conftest.$ac_ext <<_ACEOF
18332 /* confdefs.h. */
18333 _ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337
18338 int
18339 main ()
18340 {
18341
18342 #ifndef __DECC
18343 choke me
18344 #endif
18345
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext
18351 if { (ac_try="$ac_compile"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18355 esac
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_compile") 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest.$ac_objext; then
18367 bakefile_cv_c_compiler___DECC=yes
18368 else
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18371
18372 bakefile_cv_c_compiler___DECC=no
18373
18374 fi
18375
18376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377
18378
18379 fi
18380 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18381 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18382 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18383 :; COMPAQCC=yes
18384 else
18385 :;
18386 fi
18387 ac_ext=c
18388 ac_cpp='$CPP $CPPFLAGS'
18389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18392
18393
18394
18395 ;;
18396
18397 SunOS)
18398
18399
18400 ac_ext=c
18401 ac_cpp='$CPP $CPPFLAGS'
18402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18405
18406 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18407 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18408 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 else
18411 cat >conftest.$ac_ext <<_ACEOF
18412 /* confdefs.h. */
18413 _ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18417
18418 int
18419 main ()
18420 {
18421
18422 #ifndef __SUNPRO_C
18423 choke me
18424 #endif
18425
18426 ;
18427 return 0;
18428 }
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18435 esac
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18438 ac_status=$?
18439 grep -v '^ *+' conftest.er1 >conftest.err
18440 rm -f conftest.er1
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 bakefile_cv_c_compiler___SUNPRO_C=yes
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18451
18452 bakefile_cv_c_compiler___SUNPRO_C=no
18453
18454 fi
18455
18456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457
18458
18459 fi
18460 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18461 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18462 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18463 :; SUNCC=yes
18464 else
18465 :;
18466 fi
18467 ac_ext=c
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18472
18473
18474
18475 ;;
18476 esac
18477 fi
18478
18479
18480
18481 ac_ext=c
18482 ac_cpp='$CPP $CPPFLAGS'
18483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18486 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18487 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18488 # On Suns, sometimes $CPP names a directory.
18489 if test -n "$CPP" && test -d "$CPP"; then
18490 CPP=
18491 fi
18492 if test -z "$CPP"; then
18493 if test "${ac_cv_prog_CPP+set}" = set; then
18494 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 else
18496 # Double quotes because CPP needs to be expanded
18497 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18498 do
18499 ac_preproc_ok=false
18500 for ac_c_preproc_warn_flag in '' yes
18501 do
18502 # Use a header file that comes with gcc, so configuring glibc
18503 # with a fresh cross-compiler works.
18504 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18505 # <limits.h> exists even on freestanding compilers.
18506 # On the NeXT, cc -E runs the code through the compiler's parser,
18507 # not just through cpp. "Syntax error" is here to catch this case.
18508 cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h. */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 #ifdef __STDC__
18515 # include <limits.h>
18516 #else
18517 # include <assert.h>
18518 #endif
18519 Syntax error
18520 _ACEOF
18521 if { (ac_try="$ac_cpp conftest.$ac_ext"
18522 case "(($ac_try" in
18523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18524 *) ac_try_echo=$ac_try;;
18525 esac
18526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18528 ac_status=$?
18529 grep -v '^ *+' conftest.er1 >conftest.err
18530 rm -f conftest.er1
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } >/dev/null && {
18534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18535 test ! -s conftest.err
18536 }; then
18537 :
18538 else
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18541
18542 # Broken: fails on valid input.
18543 continue
18544 fi
18545
18546 rm -f conftest.err conftest.$ac_ext
18547
18548 # OK, works on sane cases. Now check whether nonexistent headers
18549 # can be detected and how.
18550 cat >conftest.$ac_ext <<_ACEOF
18551 /* confdefs.h. */
18552 _ACEOF
18553 cat confdefs.h >>conftest.$ac_ext
18554 cat >>conftest.$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <ac_nonexistent.h>
18557 _ACEOF
18558 if { (ac_try="$ac_cpp conftest.$ac_ext"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18562 esac
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18565 ac_status=$?
18566 grep -v '^ *+' conftest.er1 >conftest.err
18567 rm -f conftest.er1
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } >/dev/null && {
18571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18572 test ! -s conftest.err
18573 }; then
18574 # Broken: success on invalid input.
18575 continue
18576 else
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18579
18580 # Passes both tests.
18581 ac_preproc_ok=:
18582 break
18583 fi
18584
18585 rm -f conftest.err conftest.$ac_ext
18586
18587 done
18588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18589 rm -f conftest.err conftest.$ac_ext
18590 if $ac_preproc_ok; then
18591 break
18592 fi
18593
18594 done
18595 ac_cv_prog_CPP=$CPP
18596
18597 fi
18598 CPP=$ac_cv_prog_CPP
18599 else
18600 ac_cv_prog_CPP=$CPP
18601 fi
18602 { echo "$as_me:$LINENO: result: $CPP" >&5
18603 echo "${ECHO_T}$CPP" >&6; }
18604 ac_preproc_ok=false
18605 for ac_c_preproc_warn_flag in '' yes
18606 do
18607 # Use a header file that comes with gcc, so configuring glibc
18608 # with a fresh cross-compiler works.
18609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18610 # <limits.h> exists even on freestanding compilers.
18611 # On the NeXT, cc -E runs the code through the compiler's parser,
18612 # not just through cpp. "Syntax error" is here to catch this case.
18613 cat >conftest.$ac_ext <<_ACEOF
18614 /* confdefs.h. */
18615 _ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 #ifdef __STDC__
18620 # include <limits.h>
18621 #else
18622 # include <assert.h>
18623 #endif
18624 Syntax error
18625 _ACEOF
18626 if { (ac_try="$ac_cpp conftest.$ac_ext"
18627 case "(($ac_try" in
18628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18629 *) ac_try_echo=$ac_try;;
18630 esac
18631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18633 ac_status=$?
18634 grep -v '^ *+' conftest.er1 >conftest.err
18635 rm -f conftest.er1
18636 cat conftest.err >&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } >/dev/null && {
18639 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18640 test ! -s conftest.err
18641 }; then
18642 :
18643 else
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.$ac_ext >&5
18646
18647 # Broken: fails on valid input.
18648 continue
18649 fi
18650
18651 rm -f conftest.err conftest.$ac_ext
18652
18653 # OK, works on sane cases. Now check whether nonexistent headers
18654 # can be detected and how.
18655 cat >conftest.$ac_ext <<_ACEOF
18656 /* confdefs.h. */
18657 _ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 #include <ac_nonexistent.h>
18662 _ACEOF
18663 if { (ac_try="$ac_cpp conftest.$ac_ext"
18664 case "(($ac_try" in
18665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18666 *) ac_try_echo=$ac_try;;
18667 esac
18668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18670 ac_status=$?
18671 grep -v '^ *+' conftest.er1 >conftest.err
18672 rm -f conftest.er1
18673 cat conftest.err >&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } >/dev/null && {
18676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18677 test ! -s conftest.err
18678 }; then
18679 # Broken: success on invalid input.
18680 continue
18681 else
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18684
18685 # Passes both tests.
18686 ac_preproc_ok=:
18687 break
18688 fi
18689
18690 rm -f conftest.err conftest.$ac_ext
18691
18692 done
18693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18694 rm -f conftest.err conftest.$ac_ext
18695 if $ac_preproc_ok; then
18696 :
18697 else
18698 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18699 See \`config.log' for more details." >&5
18700 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18701 See \`config.log' for more details." >&2;}
18702 { (exit 1); exit 1; }; }
18703 fi
18704
18705 ac_ext=c
18706 ac_cpp='$CPP $CPPFLAGS'
18707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18710
18711
18712 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18713 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18714 if test "${ac_cv_path_GREP+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 # Extract the first word of "grep ggrep" to use in msg output
18718 if test -z "$GREP"; then
18719 set dummy grep ggrep; ac_prog_name=$2
18720 if test "${ac_cv_path_GREP+set}" = set; then
18721 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 else
18723 ac_path_GREP_found=false
18724 # Loop through the user's path and test for each of PROGNAME-LIST
18725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18727 do
18728 IFS=$as_save_IFS
18729 test -z "$as_dir" && as_dir=.
18730 for ac_prog in grep ggrep; do
18731 for ac_exec_ext in '' $ac_executable_extensions; do
18732 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18733 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18734 # Check for GNU ac_path_GREP and select it if it is found.
18735 # Check for GNU $ac_path_GREP
18736 case `"$ac_path_GREP" --version 2>&1` in
18737 *GNU*)
18738 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18739 *)
18740 ac_count=0
18741 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18742 while :
18743 do
18744 cat "conftest.in" "conftest.in" >"conftest.tmp"
18745 mv "conftest.tmp" "conftest.in"
18746 cp "conftest.in" "conftest.nl"
18747 echo 'GREP' >> "conftest.nl"
18748 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18750 ac_count=`expr $ac_count + 1`
18751 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18752 # Best one so far, save it but keep looking for a better one
18753 ac_cv_path_GREP="$ac_path_GREP"
18754 ac_path_GREP_max=$ac_count
18755 fi
18756 # 10*(2^10) chars as input seems more than enough
18757 test $ac_count -gt 10 && break
18758 done
18759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18760 esac
18761
18762
18763 $ac_path_GREP_found && break 3
18764 done
18765 done
18766
18767 done
18768 IFS=$as_save_IFS
18769
18770
18771 fi
18772
18773 GREP="$ac_cv_path_GREP"
18774 if test -z "$GREP"; then
18775 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18776 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18777 { (exit 1); exit 1; }; }
18778 fi
18779
18780 else
18781 ac_cv_path_GREP=$GREP
18782 fi
18783
18784
18785 fi
18786 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18787 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18788 GREP="$ac_cv_path_GREP"
18789
18790
18791 { echo "$as_me:$LINENO: checking for egrep" >&5
18792 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18793 if test "${ac_cv_path_EGREP+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18796 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18797 then ac_cv_path_EGREP="$GREP -E"
18798 else
18799 # Extract the first word of "egrep" to use in msg output
18800 if test -z "$EGREP"; then
18801 set dummy egrep; ac_prog_name=$2
18802 if test "${ac_cv_path_EGREP+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 else
18805 ac_path_EGREP_found=false
18806 # Loop through the user's path and test for each of PROGNAME-LIST
18807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18808 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18809 do
18810 IFS=$as_save_IFS
18811 test -z "$as_dir" && as_dir=.
18812 for ac_prog in egrep; do
18813 for ac_exec_ext in '' $ac_executable_extensions; do
18814 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18815 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18816 # Check for GNU ac_path_EGREP and select it if it is found.
18817 # Check for GNU $ac_path_EGREP
18818 case `"$ac_path_EGREP" --version 2>&1` in
18819 *GNU*)
18820 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18821 *)
18822 ac_count=0
18823 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18824 while :
18825 do
18826 cat "conftest.in" "conftest.in" >"conftest.tmp"
18827 mv "conftest.tmp" "conftest.in"
18828 cp "conftest.in" "conftest.nl"
18829 echo 'EGREP' >> "conftest.nl"
18830 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18831 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18832 ac_count=`expr $ac_count + 1`
18833 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18834 # Best one so far, save it but keep looking for a better one
18835 ac_cv_path_EGREP="$ac_path_EGREP"
18836 ac_path_EGREP_max=$ac_count
18837 fi
18838 # 10*(2^10) chars as input seems more than enough
18839 test $ac_count -gt 10 && break
18840 done
18841 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18842 esac
18843
18844
18845 $ac_path_EGREP_found && break 3
18846 done
18847 done
18848
18849 done
18850 IFS=$as_save_IFS
18851
18852
18853 fi
18854
18855 EGREP="$ac_cv_path_EGREP"
18856 if test -z "$EGREP"; then
18857 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18858 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18859 { (exit 1); exit 1; }; }
18860 fi
18861
18862 else
18863 ac_cv_path_EGREP=$EGREP
18864 fi
18865
18866
18867 fi
18868 fi
18869 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18870 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18871 EGREP="$ac_cv_path_EGREP"
18872
18873
18874 if test $ac_cv_c_compiler_gnu = yes; then
18875 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18876 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18877 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 else
18880 ac_pattern="Autoconf.*'x'"
18881 cat >conftest.$ac_ext <<_ACEOF
18882 /* confdefs.h. */
18883 _ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 #include <sgtty.h>
18888 Autoconf TIOCGETP
18889 _ACEOF
18890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18891 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18892 ac_cv_prog_gcc_traditional=yes
18893 else
18894 ac_cv_prog_gcc_traditional=no
18895 fi
18896 rm -f conftest*
18897
18898
18899 if test $ac_cv_prog_gcc_traditional = no; then
18900 cat >conftest.$ac_ext <<_ACEOF
18901 /* confdefs.h. */
18902 _ACEOF
18903 cat confdefs.h >>conftest.$ac_ext
18904 cat >>conftest.$ac_ext <<_ACEOF
18905 /* end confdefs.h. */
18906 #include <termio.h>
18907 Autoconf TCGETA
18908 _ACEOF
18909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18910 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18911 ac_cv_prog_gcc_traditional=yes
18912 fi
18913 rm -f conftest*
18914
18915 fi
18916 fi
18917 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18918 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18919 if test $ac_cv_prog_gcc_traditional = yes; then
18920 CC="$CC -traditional"
18921 fi
18922 fi
18923
18924
18925 CXXFLAGS=${CXXFLAGS:=}
18926
18927
18928
18929 ac_ext=cpp
18930 ac_cpp='$CXXCPP $CPPFLAGS'
18931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18934 if test -z "$CXX"; then
18935 if test -n "$CCC"; then
18936 CXX=$CCC
18937 else
18938 if test -n "$ac_tool_prefix"; then
18939 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18940 do
18941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18942 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18945 if test "${ac_cv_prog_CXX+set}" = set; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 else
18948 if test -n "$CXX"; then
18949 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18950 else
18951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18952 for as_dir in $PATH
18953 do
18954 IFS=$as_save_IFS
18955 test -z "$as_dir" && as_dir=.
18956 for ac_exec_ext in '' $ac_executable_extensions; do
18957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18958 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18960 break 2
18961 fi
18962 done
18963 done
18964 IFS=$as_save_IFS
18965
18966 fi
18967 fi
18968 CXX=$ac_cv_prog_CXX
18969 if test -n "$CXX"; then
18970 { echo "$as_me:$LINENO: result: $CXX" >&5
18971 echo "${ECHO_T}$CXX" >&6; }
18972 else
18973 { echo "$as_me:$LINENO: result: no" >&5
18974 echo "${ECHO_T}no" >&6; }
18975 fi
18976
18977
18978 test -n "$CXX" && break
18979 done
18980 fi
18981 if test -z "$CXX"; then
18982 ac_ct_CXX=$CXX
18983 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18984 do
18985 # Extract the first word of "$ac_prog", so it can be a program name with args.
18986 set dummy $ac_prog; ac_word=$2
18987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18989 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 else
18992 if test -n "$ac_ct_CXX"; then
18993 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18994 else
18995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18996 for as_dir in $PATH
18997 do
18998 IFS=$as_save_IFS
18999 test -z "$as_dir" && as_dir=.
19000 for ac_exec_ext in '' $ac_executable_extensions; do
19001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19002 ac_cv_prog_ac_ct_CXX="$ac_prog"
19003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19004 break 2
19005 fi
19006 done
19007 done
19008 IFS=$as_save_IFS
19009
19010 fi
19011 fi
19012 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19013 if test -n "$ac_ct_CXX"; then
19014 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19015 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19016 else
19017 { echo "$as_me:$LINENO: result: no" >&5
19018 echo "${ECHO_T}no" >&6; }
19019 fi
19020
19021
19022 test -n "$ac_ct_CXX" && break
19023 done
19024
19025 if test "x$ac_ct_CXX" = x; then
19026 CXX="g++"
19027 else
19028 case $cross_compiling:$ac_tool_warned in
19029 yes:)
19030 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19031 whose name does not start with the host triplet. If you think this
19032 configuration is useful to you, please write to autoconf@gnu.org." >&5
19033 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19034 whose name does not start with the host triplet. If you think this
19035 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19036 ac_tool_warned=yes ;;
19037 esac
19038 CXX=$ac_ct_CXX
19039 fi
19040 fi
19041
19042 fi
19043 fi
19044 # Provide some information about the compiler.
19045 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19046 ac_compiler=`set X $ac_compile; echo $2`
19047 { (ac_try="$ac_compiler --version >&5"
19048 case "(($ac_try" in
19049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19050 *) ac_try_echo=$ac_try;;
19051 esac
19052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19053 (eval "$ac_compiler --version >&5") 2>&5
19054 ac_status=$?
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }
19057 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
19064 ac_status=$?
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }
19067 { (ac_try="$ac_compiler -V >&5"
19068 case "(($ac_try" in
19069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19070 *) ac_try_echo=$ac_try;;
19071 esac
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compiler -V >&5") 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }
19077
19078 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19079 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19080 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 else
19083 cat >conftest.$ac_ext <<_ACEOF
19084 /* confdefs.h. */
19085 _ACEOF
19086 cat confdefs.h >>conftest.$ac_ext
19087 cat >>conftest.$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089
19090 int
19091 main ()
19092 {
19093 #ifndef __GNUC__
19094 choke me
19095 #endif
19096
19097 ;
19098 return 0;
19099 }
19100 _ACEOF
19101 rm -f conftest.$ac_objext
19102 if { (ac_try="$ac_compile"
19103 case "(($ac_try" in
19104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19105 *) ac_try_echo=$ac_try;;
19106 esac
19107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19108 (eval "$ac_compile") 2>conftest.er1
19109 ac_status=$?
19110 grep -v '^ *+' conftest.er1 >conftest.err
19111 rm -f conftest.er1
19112 cat conftest.err >&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } && {
19115 test -z "$ac_cxx_werror_flag" ||
19116 test ! -s conftest.err
19117 } && test -s conftest.$ac_objext; then
19118 ac_compiler_gnu=yes
19119 else
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.$ac_ext >&5
19122
19123 ac_compiler_gnu=no
19124 fi
19125
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19127 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19128
19129 fi
19130 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19131 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19132 GXX=`test $ac_compiler_gnu = yes && echo yes`
19133 ac_test_CXXFLAGS=${CXXFLAGS+set}
19134 ac_save_CXXFLAGS=$CXXFLAGS
19135 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19136 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19137 if test "${ac_cv_prog_cxx_g+set}" = set; then
19138 echo $ECHO_N "(cached) $ECHO_C" >&6
19139 else
19140 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19141 ac_cxx_werror_flag=yes
19142 ac_cv_prog_cxx_g=no
19143 CXXFLAGS="-g"
19144 cat >conftest.$ac_ext <<_ACEOF
19145 /* confdefs.h. */
19146 _ACEOF
19147 cat confdefs.h >>conftest.$ac_ext
19148 cat >>conftest.$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150
19151 int
19152 main ()
19153 {
19154
19155 ;
19156 return 0;
19157 }
19158 _ACEOF
19159 rm -f conftest.$ac_objext
19160 if { (ac_try="$ac_compile"
19161 case "(($ac_try" in
19162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19163 *) ac_try_echo=$ac_try;;
19164 esac
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_compile") 2>conftest.er1
19167 ac_status=$?
19168 grep -v '^ *+' conftest.er1 >conftest.err
19169 rm -f conftest.er1
19170 cat conftest.err >&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } && {
19173 test -z "$ac_cxx_werror_flag" ||
19174 test ! -s conftest.err
19175 } && test -s conftest.$ac_objext; then
19176 ac_cv_prog_cxx_g=yes
19177 else
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19180
19181 CXXFLAGS=""
19182 cat >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h. */
19184 _ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188
19189 int
19190 main ()
19191 {
19192
19193 ;
19194 return 0;
19195 }
19196 _ACEOF
19197 rm -f conftest.$ac_objext
19198 if { (ac_try="$ac_compile"
19199 case "(($ac_try" in
19200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19201 *) ac_try_echo=$ac_try;;
19202 esac
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_compile") 2>conftest.er1
19205 ac_status=$?
19206 grep -v '^ *+' conftest.er1 >conftest.err
19207 rm -f conftest.er1
19208 cat conftest.err >&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } && {
19211 test -z "$ac_cxx_werror_flag" ||
19212 test ! -s conftest.err
19213 } && test -s conftest.$ac_objext; then
19214 :
19215 else
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19218
19219 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19220 CXXFLAGS="-g"
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h. */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227
19228 int
19229 main ()
19230 {
19231
19232 ;
19233 return 0;
19234 }
19235 _ACEOF
19236 rm -f conftest.$ac_objext
19237 if { (ac_try="$ac_compile"
19238 case "(($ac_try" in
19239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19240 *) ac_try_echo=$ac_try;;
19241 esac
19242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19243 (eval "$ac_compile") 2>conftest.er1
19244 ac_status=$?
19245 grep -v '^ *+' conftest.er1 >conftest.err
19246 rm -f conftest.er1
19247 cat conftest.err >&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && {
19250 test -z "$ac_cxx_werror_flag" ||
19251 test ! -s conftest.err
19252 } && test -s conftest.$ac_objext; then
19253 ac_cv_prog_cxx_g=yes
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19257
19258
19259 fi
19260
19261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19262 fi
19263
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265 fi
19266
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19269 fi
19270 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19271 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19272 if test "$ac_test_CXXFLAGS" = set; then
19273 CXXFLAGS=$ac_save_CXXFLAGS
19274 elif test $ac_cv_prog_cxx_g = yes; then
19275 if test "$GXX" = yes; then
19276 CXXFLAGS="-g -O2"
19277 else
19278 CXXFLAGS="-g"
19279 fi
19280 else
19281 if test "$GXX" = yes; then
19282 CXXFLAGS="-O2"
19283 else
19284 CXXFLAGS=
19285 fi
19286 fi
19287 ac_ext=c
19288 ac_cpp='$CPP $CPPFLAGS'
19289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19292
19293
19294
19295
19296 ac_ext=cpp
19297 ac_cpp='$CXXCPP $CPPFLAGS'
19298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19301
19302 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19303 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19304 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 else
19307 cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313
19314 int
19315 main ()
19316 {
19317
19318 #ifndef __INTEL_COMPILER
19319 choke me
19320 #endif
19321
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 rm -f conftest.$ac_objext
19327 if { (ac_try="$ac_compile"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19331 esac
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
19334 ac_status=$?
19335 grep -v '^ *+' conftest.er1 >conftest.err
19336 rm -f conftest.er1
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } && {
19340 test -z "$ac_cxx_werror_flag" ||
19341 test ! -s conftest.err
19342 } && test -s conftest.$ac_objext; then
19343 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19347
19348 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19349
19350 fi
19351
19352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19353
19354
19355 fi
19356 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19357 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19358 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19359 :; INTELCXX=yes
19360 else
19361 :;
19362 fi
19363 ac_ext=c
19364 ac_cpp='$CPP $CPPFLAGS'
19365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19368
19369
19370
19371
19372 if test "x$GCXX" != "xyes"; then
19373 if test "xCXX" = "xC"; then
19374 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19375 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19376 if test "${bakefile_cv_c_exto+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 else
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385
19386 int
19387 main ()
19388 {
19389
19390 ;
19391 return 0;
19392 }
19393 _ACEOF
19394 rm -f conftest.$ac_objext conftest.$ac_ext.o
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>&5
19397 ac_status=$?
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; then
19400 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19401 case $ac_file in
19402 conftest.$ac_ext.o)
19403 bakefile_cv_c_exto="-ext o"
19404 ;;
19405 *)
19406 ;;
19407 esac
19408 done
19409 else
19410 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19411 See \`config.log' for more details." >&5
19412 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19413 See \`config.log' for more details." >&2;}
19414 { (exit 1); exit 1; }; }
19415
19416 fi
19417
19418 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19419
19420 fi
19421 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19422 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19423 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19424 if test "c" = "c"; then
19425 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19426 fi
19427 if test "c" = "cxx"; then
19428 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19429 fi
19430 fi
19431
19432 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19433 unset ac_cv_prog_cc_g
19434 ac_test_CFLAGS=${CFLAGS+set}
19435 ac_save_CFLAGS=$CFLAGS
19436 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19437 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19438 if test "${ac_cv_prog_cc_g+set}" = set; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 else
19441 ac_save_c_werror_flag=$ac_c_werror_flag
19442 ac_c_werror_flag=yes
19443 ac_cv_prog_cc_g=no
19444 CFLAGS="-g"
19445 cat >conftest.$ac_ext <<_ACEOF
19446 /* confdefs.h. */
19447 _ACEOF
19448 cat confdefs.h >>conftest.$ac_ext
19449 cat >>conftest.$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19451
19452 int
19453 main ()
19454 {
19455
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext
19461 if { (ac_try="$ac_compile"
19462 case "(($ac_try" in
19463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19464 *) ac_try_echo=$ac_try;;
19465 esac
19466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19467 (eval "$ac_compile") 2>conftest.er1
19468 ac_status=$?
19469 grep -v '^ *+' conftest.er1 >conftest.err
19470 rm -f conftest.er1
19471 cat conftest.err >&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } && {
19474 test -z "$ac_c_werror_flag" ||
19475 test ! -s conftest.err
19476 } && test -s conftest.$ac_objext; then
19477 ac_cv_prog_cc_g=yes
19478 else
19479 echo "$as_me: failed program was:" >&5
19480 sed 's/^/| /' conftest.$ac_ext >&5
19481
19482 CFLAGS=""
19483 cat >conftest.$ac_ext <<_ACEOF
19484 /* confdefs.h. */
19485 _ACEOF
19486 cat confdefs.h >>conftest.$ac_ext
19487 cat >>conftest.$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489
19490 int
19491 main ()
19492 {
19493
19494 ;
19495 return 0;
19496 }
19497 _ACEOF
19498 rm -f conftest.$ac_objext
19499 if { (ac_try="$ac_compile"
19500 case "(($ac_try" in
19501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19502 *) ac_try_echo=$ac_try;;
19503 esac
19504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19505 (eval "$ac_compile") 2>conftest.er1
19506 ac_status=$?
19507 grep -v '^ *+' conftest.er1 >conftest.err
19508 rm -f conftest.er1
19509 cat conftest.err >&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } && {
19512 test -z "$ac_c_werror_flag" ||
19513 test ! -s conftest.err
19514 } && test -s conftest.$ac_objext; then
19515 :
19516 else
19517 echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.$ac_ext >&5
19519
19520 ac_c_werror_flag=$ac_save_c_werror_flag
19521 CFLAGS="-g"
19522 cat >conftest.$ac_ext <<_ACEOF
19523 /* confdefs.h. */
19524 _ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528
19529 int
19530 main ()
19531 {
19532
19533 ;
19534 return 0;
19535 }
19536 _ACEOF
19537 rm -f conftest.$ac_objext
19538 if { (ac_try="$ac_compile"
19539 case "(($ac_try" in
19540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19541 *) ac_try_echo=$ac_try;;
19542 esac
19543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19544 (eval "$ac_compile") 2>conftest.er1
19545 ac_status=$?
19546 grep -v '^ *+' conftest.er1 >conftest.err
19547 rm -f conftest.er1
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } && {
19551 test -z "$ac_c_werror_flag" ||
19552 test ! -s conftest.err
19553 } && test -s conftest.$ac_objext; then
19554 ac_cv_prog_cc_g=yes
19555 else
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19558
19559
19560 fi
19561
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 fi
19564
19565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566 fi
19567
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 ac_c_werror_flag=$ac_save_c_werror_flag
19570 fi
19571 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19572 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19573 if test "$ac_test_CFLAGS" = set; then
19574 CFLAGS=$ac_save_CFLAGS
19575 elif test $ac_cv_prog_cc_g = yes; then
19576 if test "$GCC" = yes; then
19577 CFLAGS="-g -O2"
19578 else
19579 CFLAGS="-g"
19580 fi
19581 else
19582 if test "$GCC" = yes; then
19583 CFLAGS="-O2"
19584 else
19585 CFLAGS=
19586 fi
19587 fi
19588 fi
19589 fi
19590
19591 case `uname -s` in
19592 AIX*)
19593
19594
19595 ac_ext=cpp
19596 ac_cpp='$CXXCPP $CPPFLAGS'
19597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19600
19601 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19602 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19603 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 else
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612
19613 int
19614 main ()
19615 {
19616
19617 #ifndef __xlC__
19618 choke me
19619 #endif
19620
19621 ;
19622 return 0;
19623 }
19624 _ACEOF
19625 rm -f conftest.$ac_objext
19626 if { (ac_try="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19630 esac
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19633 ac_status=$?
19634 grep -v '^ *+' conftest.er1 >conftest.err
19635 rm -f conftest.er1
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && {
19639 test -z "$ac_cxx_werror_flag" ||
19640 test ! -s conftest.err
19641 } && test -s conftest.$ac_objext; then
19642 bakefile_cv_cxx_compiler___xlC__=yes
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19646
19647 bakefile_cv_cxx_compiler___xlC__=no
19648
19649 fi
19650
19651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19652
19653
19654 fi
19655 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19656 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19657 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19658 :; XLCXX=yes
19659 else
19660 :;
19661 fi
19662 ac_ext=c
19663 ac_cpp='$CPP $CPPFLAGS'
19664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19667
19668
19669
19670 ;;
19671
19672 Darwin)
19673
19674
19675 ac_ext=cpp
19676 ac_cpp='$CXXCPP $CPPFLAGS'
19677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19680
19681 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19682 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19683 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 else
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692
19693 int
19694 main ()
19695 {
19696
19697 #ifndef __MWERKS__
19698 choke me
19699 #endif
19700
19701 ;
19702 return 0;
19703 }
19704 _ACEOF
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19709 *) ac_try_echo=$ac_try;;
19710 esac
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
19713 ac_status=$?
19714 grep -v '^ *+' conftest.er1 >conftest.err
19715 rm -f conftest.er1
19716 cat conftest.err >&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && {
19719 test -z "$ac_cxx_werror_flag" ||
19720 test ! -s conftest.err
19721 } && test -s conftest.$ac_objext; then
19722 bakefile_cv_cxx_compiler___MWERKS__=yes
19723 else
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19726
19727 bakefile_cv_cxx_compiler___MWERKS__=no
19728
19729 fi
19730
19731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19732
19733
19734 fi
19735 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19736 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19737 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19738 :; MWCXX=yes
19739 else
19740 :;
19741 fi
19742 ac_ext=c
19743 ac_cpp='$CPP $CPPFLAGS'
19744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19747
19748
19749
19750
19751
19752 ac_ext=cpp
19753 ac_cpp='$CXXCPP $CPPFLAGS'
19754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19757
19758 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19759 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19760 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19762 else
19763 cat >conftest.$ac_ext <<_ACEOF
19764 /* confdefs.h. */
19765 _ACEOF
19766 cat confdefs.h >>conftest.$ac_ext
19767 cat >>conftest.$ac_ext <<_ACEOF
19768 /* end confdefs.h. */
19769
19770 int
19771 main ()
19772 {
19773
19774 #ifndef __xlC__
19775 choke me
19776 #endif
19777
19778 ;
19779 return 0;
19780 }
19781 _ACEOF
19782 rm -f conftest.$ac_objext
19783 if { (ac_try="$ac_compile"
19784 case "(($ac_try" in
19785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19786 *) ac_try_echo=$ac_try;;
19787 esac
19788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19789 (eval "$ac_compile") 2>conftest.er1
19790 ac_status=$?
19791 grep -v '^ *+' conftest.er1 >conftest.err
19792 rm -f conftest.er1
19793 cat conftest.err >&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } && {
19796 test -z "$ac_cxx_werror_flag" ||
19797 test ! -s conftest.err
19798 } && test -s conftest.$ac_objext; then
19799 bakefile_cv_cxx_compiler___xlC__=yes
19800 else
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19803
19804 bakefile_cv_cxx_compiler___xlC__=no
19805
19806 fi
19807
19808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19809
19810
19811 fi
19812 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19813 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19814 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19815 :; XLCXX=yes
19816 else
19817 :;
19818 fi
19819 ac_ext=c
19820 ac_cpp='$CPP $CPPFLAGS'
19821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19824
19825
19826
19827 ;;
19828
19829 IRIX*)
19830
19831
19832 ac_ext=cpp
19833 ac_cpp='$CXXCPP $CPPFLAGS'
19834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19837
19838 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19839 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19840 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19842 else
19843 cat >conftest.$ac_ext <<_ACEOF
19844 /* confdefs.h. */
19845 _ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849
19850 int
19851 main ()
19852 {
19853
19854 #ifndef _SGI_COMPILER_VERSION
19855 choke me
19856 #endif
19857
19858 ;
19859 return 0;
19860 }
19861 _ACEOF
19862 rm -f conftest.$ac_objext
19863 if { (ac_try="$ac_compile"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19866 *) ac_try_echo=$ac_try;;
19867 esac
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_compile") 2>conftest.er1
19870 ac_status=$?
19871 grep -v '^ *+' conftest.er1 >conftest.err
19872 rm -f conftest.er1
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } && {
19876 test -z "$ac_cxx_werror_flag" ||
19877 test ! -s conftest.err
19878 } && test -s conftest.$ac_objext; then
19879 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19883
19884 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19885
19886 fi
19887
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889
19890
19891 fi
19892 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19893 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19894 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19895 :; SGICXX=yes
19896 else
19897 :;
19898 fi
19899 ac_ext=c
19900 ac_cpp='$CPP $CPPFLAGS'
19901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19904
19905
19906
19907 ;;
19908
19909 Linux*)
19910
19911
19912 ac_ext=cpp
19913 ac_cpp='$CXXCPP $CPPFLAGS'
19914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19917
19918 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19919 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19920 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929
19930 int
19931 main ()
19932 {
19933
19934 #ifndef __SUNPRO_CC
19935 choke me
19936 #endif
19937
19938 ;
19939 return 0;
19940 }
19941 _ACEOF
19942 rm -f conftest.$ac_objext
19943 if { (ac_try="$ac_compile"
19944 case "(($ac_try" in
19945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19947 esac
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_compile") 2>conftest.er1
19950 ac_status=$?
19951 grep -v '^ *+' conftest.er1 >conftest.err
19952 rm -f conftest.er1
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_cxx_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest.$ac_objext; then
19959 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19963
19964 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19965
19966 fi
19967
19968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969
19970
19971 fi
19972 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19973 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19974 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19975 :; SUNCXX=yes
19976 else
19977 :;
19978 fi
19979 ac_ext=c
19980 ac_cpp='$CPP $CPPFLAGS'
19981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19984
19985
19986
19987 ;;
19988
19989 HP-UX*)
19990
19991
19992 ac_ext=cpp
19993 ac_cpp='$CXXCPP $CPPFLAGS'
19994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19997
19998 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19999 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
20000 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 else
20003 cat >conftest.$ac_ext <<_ACEOF
20004 /* confdefs.h. */
20005 _ACEOF
20006 cat confdefs.h >>conftest.$ac_ext
20007 cat >>conftest.$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009
20010 int
20011 main ()
20012 {
20013
20014 #ifndef __HP_aCC
20015 choke me
20016 #endif
20017
20018 ;
20019 return 0;
20020 }
20021 _ACEOF
20022 rm -f conftest.$ac_objext
20023 if { (ac_try="$ac_compile"
20024 case "(($ac_try" in
20025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20026 *) ac_try_echo=$ac_try;;
20027 esac
20028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20029 (eval "$ac_compile") 2>conftest.er1
20030 ac_status=$?
20031 grep -v '^ *+' conftest.er1 >conftest.err
20032 rm -f conftest.er1
20033 cat conftest.err >&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } && {
20036 test -z "$ac_cxx_werror_flag" ||
20037 test ! -s conftest.err
20038 } && test -s conftest.$ac_objext; then
20039 bakefile_cv_cxx_compiler___HP_aCC=yes
20040 else
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.$ac_ext >&5
20043
20044 bakefile_cv_cxx_compiler___HP_aCC=no
20045
20046 fi
20047
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20049
20050
20051 fi
20052 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20053 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20054 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20055 :; HPCXX=yes
20056 else
20057 :;
20058 fi
20059 ac_ext=c
20060 ac_cpp='$CPP $CPPFLAGS'
20061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20064
20065
20066
20067 ;;
20068
20069 OSF1)
20070
20071
20072 ac_ext=cpp
20073 ac_cpp='$CXXCPP $CPPFLAGS'
20074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20077
20078 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20079 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20080 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 else
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089
20090 int
20091 main ()
20092 {
20093
20094 #ifndef __DECCXX
20095 choke me
20096 #endif
20097
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20107 esac
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_cxx_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.$ac_objext; then
20119 bakefile_cv_cxx_compiler___DECCXX=yes
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 bakefile_cv_cxx_compiler___DECCXX=no
20125
20126 fi
20127
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129
20130
20131 fi
20132 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20133 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20134 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20135 :; COMPAQCXX=yes
20136 else
20137 :;
20138 fi
20139 ac_ext=c
20140 ac_cpp='$CPP $CPPFLAGS'
20141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20144
20145
20146
20147 ;;
20148
20149 SunOS)
20150
20151
20152 ac_ext=cpp
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20157
20158 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20159 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20160 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169
20170 int
20171 main ()
20172 {
20173
20174 #ifndef __SUNPRO_CC
20175 choke me
20176 #endif
20177
20178 ;
20179 return 0;
20180 }
20181 _ACEOF
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20187 esac
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_cxx_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20199 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20200 else
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20203
20204 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20205
20206 fi
20207
20208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20209
20210
20211 fi
20212 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20213 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20214 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20215 :; SUNCXX=yes
20216 else
20217 :;
20218 fi
20219 ac_ext=c
20220 ac_cpp='$CPP $CPPFLAGS'
20221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20224
20225
20226
20227 ;;
20228 esac
20229 fi
20230
20231
20232
20233 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20234 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20235 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20236 { (exit 1); exit 1; }; }
20237 fi
20238
20239 if test "x$SUNCXX" != xyes; then
20240 if test -n "$ac_tool_prefix"; then
20241 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20242 set dummy ${ac_tool_prefix}ar; ac_word=$2
20243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20245 if test "${ac_cv_prog_AR+set}" = set; then
20246 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 else
20248 if test -n "$AR"; then
20249 ac_cv_prog_AR="$AR" # Let the user override the test.
20250 else
20251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20252 for as_dir in $PATH
20253 do
20254 IFS=$as_save_IFS
20255 test -z "$as_dir" && as_dir=.
20256 for ac_exec_ext in '' $ac_executable_extensions; do
20257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20258 ac_cv_prog_AR="${ac_tool_prefix}ar"
20259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20260 break 2
20261 fi
20262 done
20263 done
20264 IFS=$as_save_IFS
20265
20266 fi
20267 fi
20268 AR=$ac_cv_prog_AR
20269 if test -n "$AR"; then
20270 { echo "$as_me:$LINENO: result: $AR" >&5
20271 echo "${ECHO_T}$AR" >&6; }
20272 else
20273 { echo "$as_me:$LINENO: result: no" >&5
20274 echo "${ECHO_T}no" >&6; }
20275 fi
20276
20277
20278 fi
20279 if test -z "$ac_cv_prog_AR"; then
20280 ac_ct_AR=$AR
20281 # Extract the first word of "ar", so it can be a program name with args.
20282 set dummy ar; ac_word=$2
20283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20285 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20286 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 else
20288 if test -n "$ac_ct_AR"; then
20289 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20290 else
20291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20292 for as_dir in $PATH
20293 do
20294 IFS=$as_save_IFS
20295 test -z "$as_dir" && as_dir=.
20296 for ac_exec_ext in '' $ac_executable_extensions; do
20297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20298 ac_cv_prog_ac_ct_AR="ar"
20299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20300 break 2
20301 fi
20302 done
20303 done
20304 IFS=$as_save_IFS
20305
20306 fi
20307 fi
20308 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20309 if test -n "$ac_ct_AR"; then
20310 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20311 echo "${ECHO_T}$ac_ct_AR" >&6; }
20312 else
20313 { echo "$as_me:$LINENO: result: no" >&5
20314 echo "${ECHO_T}no" >&6; }
20315 fi
20316
20317 if test "x$ac_ct_AR" = x; then
20318 AR=""
20319 else
20320 case $cross_compiling:$ac_tool_warned in
20321 yes:)
20322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20323 whose name does not start with the host triplet. If you think this
20324 configuration is useful to you, please write to autoconf@gnu.org." >&5
20325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20326 whose name does not start with the host triplet. If you think this
20327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20328 ac_tool_warned=yes ;;
20329 esac
20330 AR=$ac_ct_AR
20331 fi
20332 else
20333 AR="$ac_cv_prog_AR"
20334 fi
20335
20336 if test "x$AR" = "x" ; then
20337 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20338 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20339 { (exit 1); exit 1; }; }
20340 fi
20341 fi
20342
20343 retest_macosx_linking=no
20344
20345 #if test "$wxUSE_MAC" = 1; then
20346 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20347 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20348 # Implicitly turn on the new --with-macosx-sdk using the default
20349 # SDK which provides the behavior this option has always had.
20350 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20351 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20352 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20353 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20354 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20355 wxUSE_MACOSX_SDK=yes
20356 fi
20357 else
20358 # Complain to user if he specified an argument to --enable-universal_binary
20359 # and also 1) specified --with-macosx-sdk using the default (yes) or
20360 # 2) specified --with-macosx-sdk using a path or 3) specified
20361 # --without-macosx-sdk (no).
20362 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20363 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20364 See \`config.log' for more details." >&5
20365 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20366 See \`config.log' for more details." >&2;}
20367 { (exit 1); exit 1; }; }
20368 else
20369 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20370 # special-case the empty string because the below test simply
20371 # converts "no" to the empty string anyway.
20372 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20373 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20374 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20375 fi
20376 fi
20377 OSX_UNIV_OPTS="-arch ppc -arch i386"
20378 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20379 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20380 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20381 retest_macosx_linking=yes
20382
20383 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20384 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20385 bk_use_pch=no
20386 fi
20387 #fi
20388
20389 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20390 wxUSE_MACOSX_SDK=
20391 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20392 # TODO: Search for most recent SDK and use it.
20393 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20394 fi
20395
20396
20397 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20398 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20399 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20400 if ! test -d "$wxUSE_MACOSX_SDK"; then
20401 { { echo "$as_me:$LINENO: error: not found
20402 See \`config.log' for more details." >&5
20403 echo "$as_me: error: not found
20404 See \`config.log' for more details." >&2;}
20405 { (exit 1); exit 1; }; }
20406 else
20407 { echo "$as_me:$LINENO: result: exists" >&5
20408 echo "${ECHO_T}exists" >&6; }
20409 fi
20410 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20411 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20412 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20413 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20414 retest_macosx_linking=yes
20415 fi
20416
20417 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20418 wxUSE_MACOSX_VERSION_MIN=
20419 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20420 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20421 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20422 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20423
20424 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/'`
20425
20426 # If that failed, try again with the new key
20427 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20428
20429 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | 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/'`
20430
20431 fi
20432
20433 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20434 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20435 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20436 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20437 else
20438 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20439 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20440 wxUSE_MACOSX_VERSION_MIN=
20441 fi
20442 else
20443 wxUSE_MACOSX_VERSION_MIN=
20444 fi
20445 fi
20446
20447 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20448 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20449 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20450 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20451 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20452 retest_macosx_linking=yes
20453 fi
20454
20455 if test "x$retest_macosx_linking" = "xyes"; then
20456 ac_ext=c
20457 ac_cpp='$CPP $CPPFLAGS'
20458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20461
20462 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20463 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20464 cat >conftest.$ac_ext <<_ACEOF
20465 /* confdefs.h. */
20466 _ACEOF
20467 cat confdefs.h >>conftest.$ac_ext
20468 cat >>conftest.$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470
20471 int
20472 main ()
20473 {
20474
20475 ;
20476 return 0;
20477 }
20478 _ACEOF
20479 rm -f conftest.$ac_objext conftest$ac_exeext
20480 if { (ac_try="$ac_link"
20481 case "(($ac_try" in
20482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20483 *) ac_try_echo=$ac_try;;
20484 esac
20485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20486 (eval "$ac_link") 2>conftest.er1
20487 ac_status=$?
20488 grep -v '^ *+' conftest.er1 >conftest.err
20489 rm -f conftest.er1
20490 cat conftest.err >&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); } && {
20493 test -z "$ac_c_werror_flag" ||
20494 test ! -s conftest.err
20495 } && test -s conftest$ac_exeext &&
20496 $as_test_x conftest$ac_exeext; then
20497 { echo "$as_me:$LINENO: result: yes" >&5
20498 echo "${ECHO_T}yes" >&6; }
20499 else
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20502
20503 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20504 See \`config.log' for more details." >&5
20505 echo "$as_me: error: no. Try a different SDK
20506 See \`config.log' for more details." >&2;}
20507 { (exit 1); exit 1; }; }; exit 1
20508 fi
20509
20510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20511 conftest$ac_exeext conftest.$ac_ext
20512 ac_ext=c
20513 ac_cpp='$CPP $CPPFLAGS'
20514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20517
20518
20519 ac_ext=cpp
20520 ac_cpp='$CXXCPP $CPPFLAGS'
20521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20524
20525 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20526 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20527 cat >conftest.$ac_ext <<_ACEOF
20528 /* confdefs.h. */
20529 _ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533
20534 int
20535 main ()
20536 {
20537
20538 ;
20539 return 0;
20540 }
20541 _ACEOF
20542 rm -f conftest.$ac_objext conftest$ac_exeext
20543 if { (ac_try="$ac_link"
20544 case "(($ac_try" in
20545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20546 *) ac_try_echo=$ac_try;;
20547 esac
20548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20549 (eval "$ac_link") 2>conftest.er1
20550 ac_status=$?
20551 grep -v '^ *+' conftest.er1 >conftest.err
20552 rm -f conftest.er1
20553 cat conftest.err >&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && {
20556 test -z "$ac_cxx_werror_flag" ||
20557 test ! -s conftest.err
20558 } && test -s conftest$ac_exeext &&
20559 $as_test_x conftest$ac_exeext; then
20560 { echo "$as_me:$LINENO: result: yes" >&5
20561 echo "${ECHO_T}yes" >&6; }
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20567 See \`config.log' for more details." >&5
20568 echo "$as_me: error: no. Try a different SDK
20569 See \`config.log' for more details." >&2;}
20570 { (exit 1); exit 1; }; }; exit 1
20571 fi
20572
20573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20574 conftest$ac_exeext conftest.$ac_ext
20575 ac_ext=c
20576 ac_cpp='$CPP $CPPFLAGS'
20577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20580
20581 fi
20582
20583
20584 case "${host}" in
20585
20586 *-*-darwin* )
20587 INSTALL_PROGRAM="cp -fp"
20588 INSTALL_DATA="cp -fp"
20589 ;;
20590 *)
20591 ;;
20592 esac
20593
20594
20595 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20596 CXXFLAGS="-qunique $CXXFLAGS"
20597 fi
20598
20599 case "${host}" in
20600 powerpc-*-darwin* )
20601 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20602 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20603 cat >conftest.$ac_ext <<_ACEOF
20604 /* confdefs.h. */
20605 _ACEOF
20606 cat confdefs.h >>conftest.$ac_ext
20607 cat >>conftest.$ac_ext <<_ACEOF
20608 /* end confdefs.h. */
20609
20610 int
20611 main ()
20612 {
20613 #ifndef __POWERPC__
20614 choke me for lack of PowerPC
20615 #endif
20616
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 rm -f conftest.$ac_objext
20622 if { (ac_try="$ac_compile"
20623 case "(($ac_try" in
20624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 *) ac_try_echo=$ac_try;;
20626 esac
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_compile") 2>conftest.er1
20629 ac_status=$?
20630 grep -v '^ *+' conftest.er1 >conftest.err
20631 rm -f conftest.er1
20632 cat conftest.err >&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); } && {
20635 test -z "$ac_c_werror_flag" ||
20636 test ! -s conftest.err
20637 } && test -s conftest.$ac_objext; then
20638 { echo "$as_me:$LINENO: result: yes" >&5
20639 echo "${ECHO_T}yes" >&6; }
20640 else
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.$ac_ext >&5
20643
20644 { echo "$as_me:$LINENO: result: no" >&5
20645 echo "${ECHO_T}no" >&6; }
20646 cat >>confdefs.h <<\_ACEOF
20647 #define __POWERPC__ 1
20648 _ACEOF
20649
20650
20651 fi
20652
20653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20654 ;;
20655 esac
20656
20657 case "${host}" in
20658 *-*-darwin* )
20659 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20660 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20661 cat >conftest.$ac_ext <<_ACEOF
20662 /* confdefs.h. */
20663 _ACEOF
20664 cat confdefs.h >>conftest.$ac_ext
20665 cat >>conftest.$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 #include <CoreFoundation/CFBase.h>
20668
20669 int
20670 main ()
20671 {
20672
20673 ;
20674 return 0;
20675 }
20676 _ACEOF
20677 rm -f conftest.$ac_objext
20678 if { (ac_try="$ac_compile"
20679 case "(($ac_try" in
20680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20681 *) ac_try_echo=$ac_try;;
20682 esac
20683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20684 (eval "$ac_compile") 2>conftest.er1
20685 ac_status=$?
20686 grep -v '^ *+' conftest.er1 >conftest.err
20687 rm -f conftest.er1
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } && {
20691 test -z "$ac_c_werror_flag" ||
20692 test ! -s conftest.err
20693 } && test -s conftest.$ac_objext; then
20694 { echo "$as_me:$LINENO: result: yes" >&5
20695 echo "${ECHO_T}yes" >&6; }
20696 else
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.$ac_ext >&5
20699
20700 { echo "$as_me:$LINENO: result: no" >&5
20701 echo "${ECHO_T}no" >&6; }
20702 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20703 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20704 cat >conftest.$ac_ext <<_ACEOF
20705 /* confdefs.h. */
20706 _ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20710 #define __CF_USE_FRAMEWORK_INCLUDES__
20711 #include <CoreFoundation/CFBase.h>
20712
20713 int
20714 main ()
20715 {
20716
20717 ;
20718 return 0;
20719 }
20720 _ACEOF
20721 rm -f conftest.$ac_objext
20722 if { (ac_try="$ac_compile"
20723 case "(($ac_try" in
20724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20725 *) ac_try_echo=$ac_try;;
20726 esac
20727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20728 (eval "$ac_compile") 2>conftest.er1
20729 ac_status=$?
20730 grep -v '^ *+' conftest.er1 >conftest.err
20731 rm -f conftest.er1
20732 cat conftest.err >&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } && {
20735 test -z "$ac_c_werror_flag" ||
20736 test ! -s conftest.err
20737 } && test -s conftest.$ac_objext; then
20738 { echo "$as_me:$LINENO: result: yes" >&5
20739 echo "${ECHO_T}yes" >&6; }
20740 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20741 else
20742 echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.$ac_ext >&5
20744
20745 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20746 See \`config.log' for more details." >&5
20747 echo "$as_me: error: no. CoreFoundation not available.
20748 See \`config.log' for more details." >&2;}
20749 { (exit 1); exit 1; }; }
20750
20751 fi
20752
20753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20754
20755
20756 fi
20757
20758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20759 ;;
20760 esac
20761
20762 wants_win32=0
20763 doesnt_want_win32=0
20764 case "${host}" in
20765 *-*-cygwin*)
20766 if test "$wxUSE_MSW" = 1 ; then
20767 wants_win32=1
20768 else
20769 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20770 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20771 if test "${wx_cv_nocygwin+set}" = set; then
20772 echo $ECHO_N "(cached) $ECHO_C" >&6
20773 else
20774
20775 cat >conftest.$ac_ext <<_ACEOF
20776 /* confdefs.h. */
20777 _ACEOF
20778 cat confdefs.h >>conftest.$ac_ext
20779 cat >>conftest.$ac_ext <<_ACEOF
20780 /* end confdefs.h. */
20781
20782 int
20783 main ()
20784 {
20785
20786 #ifdef __MINGW32__
20787 choke me
20788 #endif
20789
20790 ;
20791 return 0;
20792 }
20793 _ACEOF
20794 rm -f conftest.$ac_objext
20795 if { (ac_try="$ac_compile"
20796 case "(($ac_try" in
20797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20798 *) ac_try_echo=$ac_try;;
20799 esac
20800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20801 (eval "$ac_compile") 2>conftest.er1
20802 ac_status=$?
20803 grep -v '^ *+' conftest.er1 >conftest.err
20804 rm -f conftest.er1
20805 cat conftest.err >&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); } && {
20808 test -z "$ac_c_werror_flag" ||
20809 test ! -s conftest.err
20810 } && test -s conftest.$ac_objext; then
20811 wx_cv_nocygwin=no
20812 else
20813 echo "$as_me: failed program was:" >&5
20814 sed 's/^/| /' conftest.$ac_ext >&5
20815
20816 wx_cv_nocygwin=yes
20817
20818 fi
20819
20820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20821
20822
20823 fi
20824 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20825 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20826
20827 if test "$wx_cv_nocygwin" = "yes"; then
20828 wants_win32=1
20829 else
20830 doesnt_want_win32=1
20831 fi
20832 fi
20833 if test "$wants_win32" = 1 ; then
20834 BAKEFILE_FORCE_PLATFORM=win32
20835 fi
20836 ;;
20837 *-*-mingw*)
20838 wants_win32=1
20839 ;;
20840 esac
20841
20842 if test "$wxUSE_WINE" = "yes"; then
20843 wants_win32=1
20844 LDFLAGS_GUI="-mwindows"
20845 fi
20846
20847 if test "$wants_win32" = 1 ; then
20848 USE_UNIX=0
20849 USE_WIN32=1
20850 cat >>confdefs.h <<\_ACEOF
20851 #define __WIN32__ 1
20852 _ACEOF
20853
20854 cat >>confdefs.h <<\_ACEOF
20855 #define __WIN95__ 1
20856 _ACEOF
20857
20858 cat >>confdefs.h <<\_ACEOF
20859 #define __WINDOWS__ 1
20860 _ACEOF
20861
20862 cat >>confdefs.h <<\_ACEOF
20863 #define __GNUWIN32__ 1
20864 _ACEOF
20865
20866 cat >>confdefs.h <<\_ACEOF
20867 #define STRICT 1
20868 _ACEOF
20869
20870 fi
20871 if test "$doesnt_want_win32" = 1 ; then
20872 USE_UNIX=1
20873 USE_WIN32=0
20874 fi
20875
20876 if test "$USE_UNIX" = 1 ; then
20877 wxUSE_UNIX=yes
20878 cat >>confdefs.h <<\_ACEOF
20879 #define __UNIX__ 1
20880 _ACEOF
20881
20882 fi
20883
20884 case "${host}" in
20885 *-pc-os2_emx | *-pc-os2-emx )
20886 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20887 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20888 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20889 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20890 echo $ECHO_N "(cached) $ECHO_C" >&6
20891 else
20892 ac_check_lib_save_LIBS=$LIBS
20893 LIBS="-lcExt $LIBS"
20894 cat >conftest.$ac_ext <<_ACEOF
20895 /* confdefs.h. */
20896 _ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900
20901 /* Override any GCC internal prototype to avoid an error.
20902 Use char because int might match the return type of a GCC
20903 builtin and then its argument prototype would still apply. */
20904 #ifdef __cplusplus
20905 extern "C"
20906 #endif
20907 char drand48 ();
20908 int
20909 main ()
20910 {
20911 return drand48 ();
20912 ;
20913 return 0;
20914 }
20915 _ACEOF
20916 rm -f conftest.$ac_objext conftest$ac_exeext
20917 if { (ac_try="$ac_link"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20921 esac
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_link") 2>conftest.er1
20924 ac_status=$?
20925 grep -v '^ *+' conftest.er1 >conftest.err
20926 rm -f conftest.er1
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest$ac_exeext &&
20933 $as_test_x conftest$ac_exeext; then
20934 ac_cv_lib_cExt_drand48=yes
20935 else
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20938
20939 ac_cv_lib_cExt_drand48=no
20940 fi
20941
20942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20943 conftest$ac_exeext conftest.$ac_ext
20944 LIBS=$ac_check_lib_save_LIBS
20945 fi
20946 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20947 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20948 if test $ac_cv_lib_cExt_drand48 = yes; then
20949 LIBS="$LIBS -lcExt"
20950 fi
20951
20952 else
20953 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20954 fi
20955 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20956 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20957 if test "${wx_cv_gccversion+set}" = set; then
20958 echo $ECHO_N "(cached) $ECHO_C" >&6
20959 else
20960
20961 if test "$cross_compiling" = yes; then
20962 wx_cv_gccversion="EMX2"
20963
20964 else
20965 cat >conftest.$ac_ext <<_ACEOF
20966 /* confdefs.h. */
20967 _ACEOF
20968 cat confdefs.h >>conftest.$ac_ext
20969 cat >>conftest.$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20971
20972 #include <stdio.h>
20973
20974 int main()
20975 {
20976 FILE *f=fopen("conftestval", "w");
20977 if (!f) exit(1);
20978 fprintf(f,
20979 #if (__GNUC__ < 3)
20980 "EMX2"
20981 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20982 "EMX3"
20983 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20984 "Innotek5"
20985 #else
20986 "Innotek6"
20987 #endif
20988 );
20989 exit(0);
20990 }
20991
20992 _ACEOF
20993 rm -f conftest$ac_exeext
20994 if { (ac_try="$ac_link"
20995 case "(($ac_try" in
20996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20997 *) ac_try_echo=$ac_try;;
20998 esac
20999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21000 (eval "$ac_link") 2>&5
21001 ac_status=$?
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21004 { (case "(($ac_try" in
21005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21006 *) ac_try_echo=$ac_try;;
21007 esac
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_try") 2>&5
21010 ac_status=$?
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); }; }; then
21013 wx_cv_gccversion=`cat conftestval`
21014 else
21015 echo "$as_me: program exited with status $ac_status" >&5
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21018
21019 ( exit $ac_status )
21020 wx_cv_gccversion="EMX2"
21021 fi
21022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21023 fi
21024
21025
21026
21027 fi
21028 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21029 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21030 if test "$wx_cv_gccversion" = "EMX2"; then
21031 LIBS="$LIBS -lstdcpp"
21032 LDFLAGS="$LDFLAGS -Zsysv-signals"
21033 else
21034 if test "$wx_cv_gccversion" = "EMX3"; then
21035 LIBS="$LIBS -lstdcxx -lgcc"
21036 LDFLAGS="$LDFLAGS -Zsysv-signals"
21037 else
21038 LIBS="$LIBS -lstdc++"
21039 fi
21040 fi
21041 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21042 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21043 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21044 wxUSE_OMF=yes
21045 enable_omf=yes
21046 fi
21047 ;;
21048 *)
21049
21050 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21051 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21052 if test "${ac_cv_string_strcasecmp+set}" = set; then
21053 echo $ECHO_N "(cached) $ECHO_C" >&6
21054 else
21055
21056 cat >conftest.$ac_ext <<_ACEOF
21057 /* confdefs.h. */
21058 _ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062
21063 #include <string.h>
21064
21065 int
21066 main ()
21067 {
21068
21069 strcasecmp("foo", "bar");
21070
21071 ;
21072 return 0;
21073 }
21074 _ACEOF
21075 rm -f conftest.$ac_objext conftest$ac_exeext
21076 if { (ac_try="$ac_link"
21077 case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21080 esac
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_link") 2>conftest.er1
21083 ac_status=$?
21084 grep -v '^ *+' conftest.er1 >conftest.err
21085 rm -f conftest.er1
21086 cat conftest.err >&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } && {
21089 test -z "$ac_c_werror_flag" ||
21090 test ! -s conftest.err
21091 } && test -s conftest$ac_exeext &&
21092 $as_test_x conftest$ac_exeext; then
21093 ac_cv_string_strcasecmp=yes
21094 else
21095 echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.$ac_ext >&5
21097
21098 ac_cv_string_strcasecmp=no
21099
21100 fi
21101
21102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21103 conftest$ac_exeext conftest.$ac_ext
21104
21105 fi
21106 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21107 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21108
21109 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21110 cat >>confdefs.h <<\_ACEOF
21111 #define HAVE_STRCASECMP_IN_STRING_H 1
21112 _ACEOF
21113
21114 else
21115 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21116 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21117 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21118 echo $ECHO_N "(cached) $ECHO_C" >&6
21119 else
21120
21121 cat >conftest.$ac_ext <<_ACEOF
21122 /* confdefs.h. */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21127
21128 #include <strings.h>
21129
21130 int
21131 main ()
21132 {
21133
21134 strcasecmp("foo", "bar");
21135
21136 ;
21137 return 0;
21138 }
21139 _ACEOF
21140 rm -f conftest.$ac_objext conftest$ac_exeext
21141 if { (ac_try="$ac_link"
21142 case "(($ac_try" in
21143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21144 *) ac_try_echo=$ac_try;;
21145 esac
21146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21147 (eval "$ac_link") 2>conftest.er1
21148 ac_status=$?
21149 grep -v '^ *+' conftest.er1 >conftest.err
21150 rm -f conftest.er1
21151 cat conftest.err >&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } && {
21154 test -z "$ac_c_werror_flag" ||
21155 test ! -s conftest.err
21156 } && test -s conftest$ac_exeext &&
21157 $as_test_x conftest$ac_exeext; then
21158 ac_cv_strings_strcasecmp=yes
21159 else
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21162
21163 ac_cv_strings_strcasecmp=no
21164
21165 fi
21166
21167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21168 conftest$ac_exeext conftest.$ac_ext
21169
21170 fi
21171 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21172 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21173
21174 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21175 cat >>confdefs.h <<\_ACEOF
21176 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21177 _ACEOF
21178
21179 else
21180 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21181 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21182 { (exit 1); exit 1; }; }
21183 fi
21184 fi
21185
21186 ;;
21187 esac
21188
21189
21190 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21191 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21192 if test "${ac_cv_header_stdc+set}" = set; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 else
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 #include <stdlib.h>
21202 #include <stdarg.h>
21203 #include <string.h>
21204 #include <float.h>
21205
21206 int
21207 main ()
21208 {
21209
21210 ;
21211 return 0;
21212 }
21213 _ACEOF
21214 rm -f conftest.$ac_objext
21215 if { (ac_try="$ac_compile"
21216 case "(($ac_try" in
21217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21218 *) ac_try_echo=$ac_try;;
21219 esac
21220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21221 (eval "$ac_compile") 2>conftest.er1
21222 ac_status=$?
21223 grep -v '^ *+' conftest.er1 >conftest.err
21224 rm -f conftest.er1
21225 cat conftest.err >&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); } && {
21228 test -z "$ac_c_werror_flag" ||
21229 test ! -s conftest.err
21230 } && test -s conftest.$ac_objext; then
21231 ac_cv_header_stdc=yes
21232 else
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21235
21236 ac_cv_header_stdc=no
21237 fi
21238
21239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21240
21241 if test $ac_cv_header_stdc = yes; then
21242 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 #include <string.h>
21250
21251 _ACEOF
21252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21253 $EGREP "memchr" >/dev/null 2>&1; then
21254 :
21255 else
21256 ac_cv_header_stdc=no
21257 fi
21258 rm -f conftest*
21259
21260 fi
21261
21262 if test $ac_cv_header_stdc = yes; then
21263 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21264 cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h. */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 #include <stdlib.h>
21271
21272 _ACEOF
21273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21274 $EGREP "free" >/dev/null 2>&1; then
21275 :
21276 else
21277 ac_cv_header_stdc=no
21278 fi
21279 rm -f conftest*
21280
21281 fi
21282
21283 if test $ac_cv_header_stdc = yes; then
21284 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21285 if test "$cross_compiling" = yes; then
21286 :
21287 else
21288 cat >conftest.$ac_ext <<_ACEOF
21289 /* confdefs.h. */
21290 _ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 #include <ctype.h>
21295 #include <stdlib.h>
21296 #if ((' ' & 0x0FF) == 0x020)
21297 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21298 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21299 #else
21300 # define ISLOWER(c) \
21301 (('a' <= (c) && (c) <= 'i') \
21302 || ('j' <= (c) && (c) <= 'r') \
21303 || ('s' <= (c) && (c) <= 'z'))
21304 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21305 #endif
21306
21307 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21308 int
21309 main ()
21310 {
21311 int i;
21312 for (i = 0; i < 256; i++)
21313 if (XOR (islower (i), ISLOWER (i))
21314 || toupper (i) != TOUPPER (i))
21315 return 2;
21316 return 0;
21317 }
21318 _ACEOF
21319 rm -f conftest$ac_exeext
21320 if { (ac_try="$ac_link"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_link") 2>&5
21327 ac_status=$?
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21330 { (case "(($ac_try" in
21331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21332 *) ac_try_echo=$ac_try;;
21333 esac
21334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21335 (eval "$ac_try") 2>&5
21336 ac_status=$?
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); }; }; then
21339 :
21340 else
21341 echo "$as_me: program exited with status $ac_status" >&5
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.$ac_ext >&5
21344
21345 ( exit $ac_status )
21346 ac_cv_header_stdc=no
21347 fi
21348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21349 fi
21350
21351
21352 fi
21353 fi
21354 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21355 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21356 if test $ac_cv_header_stdc = yes; then
21357
21358 cat >>confdefs.h <<\_ACEOF
21359 #define STDC_HEADERS 1
21360 _ACEOF
21361
21362 fi
21363
21364 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21375 inttypes.h stdint.h unistd.h
21376 do
21377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21381 echo $ECHO_N "(cached) $ECHO_C" >&6
21382 else
21383 cat >conftest.$ac_ext <<_ACEOF
21384 /* confdefs.h. */
21385 _ACEOF
21386 cat confdefs.h >>conftest.$ac_ext
21387 cat >>conftest.$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 $ac_includes_default
21390
21391 #include <$ac_header>
21392 _ACEOF
21393 rm -f conftest.$ac_objext
21394 if { (ac_try="$ac_compile"
21395 case "(($ac_try" in
21396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21397 *) ac_try_echo=$ac_try;;
21398 esac
21399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21400 (eval "$ac_compile") 2>conftest.er1
21401 ac_status=$?
21402 grep -v '^ *+' conftest.er1 >conftest.err
21403 rm -f conftest.er1
21404 cat conftest.err >&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } && {
21407 test -z "$ac_c_werror_flag" ||
21408 test ! -s conftest.err
21409 } && test -s conftest.$ac_objext; then
21410 eval "$as_ac_Header=yes"
21411 else
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 eval "$as_ac_Header=no"
21416 fi
21417
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 fi
21420 ac_res=`eval echo '${'$as_ac_Header'}'`
21421 { echo "$as_me:$LINENO: result: $ac_res" >&5
21422 echo "${ECHO_T}$ac_res" >&6; }
21423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21424 cat >>confdefs.h <<_ACEOF
21425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21426 _ACEOF
21427
21428 fi
21429
21430 done
21431
21432
21433
21434
21435 for ac_header in langinfo.h wchar.h
21436 do
21437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21441 echo $ECHO_N "(cached) $ECHO_C" >&6
21442 else
21443 cat >conftest.$ac_ext <<_ACEOF
21444 /* confdefs.h. */
21445 _ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21450
21451 #include <$ac_header>
21452 _ACEOF
21453 rm -f conftest.$ac_objext
21454 if { (ac_try="$ac_compile"
21455 case "(($ac_try" in
21456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21457 *) ac_try_echo=$ac_try;;
21458 esac
21459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21460 (eval "$ac_compile") 2>conftest.er1
21461 ac_status=$?
21462 grep -v '^ *+' conftest.er1 >conftest.err
21463 rm -f conftest.er1
21464 cat conftest.err >&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } && {
21467 test -z "$ac_c_werror_flag" ||
21468 test ! -s conftest.err
21469 } && test -s conftest.$ac_objext; then
21470 eval "$as_ac_Header=yes"
21471 else
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21474
21475 eval "$as_ac_Header=no"
21476 fi
21477
21478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21479 fi
21480 ac_res=`eval echo '${'$as_ac_Header'}'`
21481 { echo "$as_me:$LINENO: result: $ac_res" >&5
21482 echo "${ECHO_T}$ac_res" >&6; }
21483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21484 cat >>confdefs.h <<_ACEOF
21485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21486 _ACEOF
21487
21488 fi
21489
21490 done
21491
21492
21493 if test "$ac_cv_header_wchar_h" != "yes"; then
21494
21495 for ac_header in wcstr.h
21496 do
21497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21502 else
21503 cat >conftest.$ac_ext <<_ACEOF
21504 /* confdefs.h. */
21505 _ACEOF
21506 cat confdefs.h >>conftest.$ac_ext
21507 cat >>conftest.$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21509 $ac_includes_default
21510
21511 #include <$ac_header>
21512 _ACEOF
21513 rm -f conftest.$ac_objext
21514 if { (ac_try="$ac_compile"
21515 case "(($ac_try" in
21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21518 esac
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_compile") 2>conftest.er1
21521 ac_status=$?
21522 grep -v '^ *+' conftest.er1 >conftest.err
21523 rm -f conftest.er1
21524 cat conftest.err >&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } && {
21527 test -z "$ac_c_werror_flag" ||
21528 test ! -s conftest.err
21529 } && test -s conftest.$ac_objext; then
21530 eval "$as_ac_Header=yes"
21531 else
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.$ac_ext >&5
21534
21535 eval "$as_ac_Header=no"
21536 fi
21537
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 fi
21540 ac_res=`eval echo '${'$as_ac_Header'}'`
21541 { echo "$as_me:$LINENO: result: $ac_res" >&5
21542 echo "${ECHO_T}$ac_res" >&6; }
21543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21544 cat >>confdefs.h <<_ACEOF
21545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21546 _ACEOF
21547
21548 fi
21549
21550 done
21551
21552 fi
21553
21554 case "${host}" in
21555 *-pc-os2_emx | *-pc-os2-emx )
21556 if test $ac_cv_header_langinfo_h = "yes" \
21557 -a \( "$wx_cv_gccversion" = "EMX2" \
21558 -o "$wx_cv_gccversion" = "EMX3" \
21559 -o "$wx_cv_gccversion" = "Innotek5" \); then
21560 LIBS="$LIBS -lintl"
21561 fi
21562 ;;
21563 esac
21564
21565 if test "$USE_UNIX" = 1 ; then
21566
21567 for ac_header in sys/select.h
21568 do
21569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21574 else
21575 cat >conftest.$ac_ext <<_ACEOF
21576 /* confdefs.h. */
21577 _ACEOF
21578 cat confdefs.h >>conftest.$ac_ext
21579 cat >>conftest.$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21582
21583 #include <$ac_header>
21584 _ACEOF
21585 rm -f conftest.$ac_objext
21586 if { (ac_try="$ac_compile"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21590 esac
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_compile") 2>conftest.er1
21593 ac_status=$?
21594 grep -v '^ *+' conftest.er1 >conftest.err
21595 rm -f conftest.er1
21596 cat conftest.err >&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } && {
21599 test -z "$ac_c_werror_flag" ||
21600 test ! -s conftest.err
21601 } && test -s conftest.$ac_objext; then
21602 eval "$as_ac_Header=yes"
21603 else
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.$ac_ext >&5
21606
21607 eval "$as_ac_Header=no"
21608 fi
21609
21610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21611 fi
21612 ac_res=`eval echo '${'$as_ac_Header'}'`
21613 { echo "$as_me:$LINENO: result: $ac_res" >&5
21614 echo "${ECHO_T}$ac_res" >&6; }
21615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21616 cat >>confdefs.h <<_ACEOF
21617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21618 _ACEOF
21619
21620 fi
21621
21622 done
21623
21624 fi
21625
21626
21627 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21628 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21629 if test "${ac_cv_c_const+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 else
21632 cat >conftest.$ac_ext <<_ACEOF
21633 /* confdefs.h. */
21634 _ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21638
21639 int
21640 main ()
21641 {
21642 /* FIXME: Include the comments suggested by Paul. */
21643 #ifndef __cplusplus
21644 /* Ultrix mips cc rejects this. */
21645 typedef int charset[2];
21646 const charset cs;
21647 /* SunOS 4.1.1 cc rejects this. */
21648 char const *const *pcpcc;
21649 char **ppc;
21650 /* NEC SVR4.0.2 mips cc rejects this. */
21651 struct point {int x, y;};
21652 static struct point const zero = {0,0};
21653 /* AIX XL C 1.02.0.0 rejects this.
21654 It does not let you subtract one const X* pointer from another in
21655 an arm of an if-expression whose if-part is not a constant
21656 expression */
21657 const char *g = "string";
21658 pcpcc = &g + (g ? g-g : 0);
21659 /* HPUX 7.0 cc rejects these. */
21660 ++pcpcc;
21661 ppc = (char**) pcpcc;
21662 pcpcc = (char const *const *) ppc;
21663 { /* SCO 3.2v4 cc rejects this. */
21664 char *t;
21665 char const *s = 0 ? (char *) 0 : (char const *) 0;
21666
21667 *t++ = 0;
21668 if (s) return 0;
21669 }
21670 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21671 int x[] = {25, 17};
21672 const int *foo = &x[0];
21673 ++foo;
21674 }
21675 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21676 typedef const int *iptr;
21677 iptr p = 0;
21678 ++p;
21679 }
21680 { /* AIX XL C 1.02.0.0 rejects this saying
21681 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21682 struct s { int j; const int *ap[3]; };
21683 struct s *b; b->j = 5;
21684 }
21685 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21686 const int foo = 10;
21687 if (!foo) return 0;
21688 }
21689 return !cs[0] && !zero.x;
21690 #endif
21691
21692 ;
21693 return 0;
21694 }
21695 _ACEOF
21696 rm -f conftest.$ac_objext
21697 if { (ac_try="$ac_compile"
21698 case "(($ac_try" in
21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21700 *) ac_try_echo=$ac_try;;
21701 esac
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21703 (eval "$ac_compile") 2>conftest.er1
21704 ac_status=$?
21705 grep -v '^ *+' conftest.er1 >conftest.err
21706 rm -f conftest.er1
21707 cat conftest.err >&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); } && {
21710 test -z "$ac_c_werror_flag" ||
21711 test ! -s conftest.err
21712 } && test -s conftest.$ac_objext; then
21713 ac_cv_c_const=yes
21714 else
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.$ac_ext >&5
21717
21718 ac_cv_c_const=no
21719 fi
21720
21721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21722 fi
21723 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21724 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21725 if test $ac_cv_c_const = no; then
21726
21727 cat >>confdefs.h <<\_ACEOF
21728 #define const
21729 _ACEOF
21730
21731 fi
21732
21733 { echo "$as_me:$LINENO: checking for inline" >&5
21734 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21735 if test "${ac_cv_c_inline+set}" = set; then
21736 echo $ECHO_N "(cached) $ECHO_C" >&6
21737 else
21738 ac_cv_c_inline=no
21739 for ac_kw in inline __inline__ __inline; do
21740 cat >conftest.$ac_ext <<_ACEOF
21741 /* confdefs.h. */
21742 _ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 #ifndef __cplusplus
21747 typedef int foo_t;
21748 static $ac_kw foo_t static_foo () {return 0; }
21749 $ac_kw foo_t foo () {return 0; }
21750 #endif
21751
21752 _ACEOF
21753 rm -f conftest.$ac_objext
21754 if { (ac_try="$ac_compile"
21755 case "(($ac_try" in
21756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21757 *) ac_try_echo=$ac_try;;
21758 esac
21759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21760 (eval "$ac_compile") 2>conftest.er1
21761 ac_status=$?
21762 grep -v '^ *+' conftest.er1 >conftest.err
21763 rm -f conftest.er1
21764 cat conftest.err >&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); } && {
21767 test -z "$ac_c_werror_flag" ||
21768 test ! -s conftest.err
21769 } && test -s conftest.$ac_objext; then
21770 ac_cv_c_inline=$ac_kw
21771 else
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.$ac_ext >&5
21774
21775
21776 fi
21777
21778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21779 test "$ac_cv_c_inline" != no && break
21780 done
21781
21782 fi
21783 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21784 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21785
21786
21787 case $ac_cv_c_inline in
21788 inline | yes) ;;
21789 *)
21790 case $ac_cv_c_inline in
21791 no) ac_val=;;
21792 *) ac_val=$ac_cv_c_inline;;
21793 esac
21794 cat >>confdefs.h <<_ACEOF
21795 #ifndef __cplusplus
21796 #define inline $ac_val
21797 #endif
21798 _ACEOF
21799 ;;
21800 esac
21801
21802
21803 { echo "$as_me:$LINENO: checking for short" >&5
21804 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21805 if test "${ac_cv_type_short+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21808 cat >conftest.$ac_ext <<_ACEOF
21809 /* confdefs.h. */
21810 _ACEOF
21811 cat confdefs.h >>conftest.$ac_ext
21812 cat >>conftest.$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814 $ac_includes_default
21815 typedef short ac__type_new_;
21816 int
21817 main ()
21818 {
21819 if ((ac__type_new_ *) 0)
21820 return 0;
21821 if (sizeof (ac__type_new_))
21822 return 0;
21823 ;
21824 return 0;
21825 }
21826 _ACEOF
21827 rm -f conftest.$ac_objext
21828 if { (ac_try="$ac_compile"
21829 case "(($ac_try" in
21830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21831 *) ac_try_echo=$ac_try;;
21832 esac
21833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21834 (eval "$ac_compile") 2>conftest.er1
21835 ac_status=$?
21836 grep -v '^ *+' conftest.er1 >conftest.err
21837 rm -f conftest.er1
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } && {
21841 test -z "$ac_c_werror_flag" ||
21842 test ! -s conftest.err
21843 } && test -s conftest.$ac_objext; then
21844 ac_cv_type_short=yes
21845 else
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.$ac_ext >&5
21848
21849 ac_cv_type_short=no
21850 fi
21851
21852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21853 fi
21854 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21855 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21856
21857 # The cast to long int works around a bug in the HP C Compiler
21858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21860 # This bug is HP SR number 8606223364.
21861 { echo "$as_me:$LINENO: checking size of short" >&5
21862 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21863 if test "${ac_cv_sizeof_short+set}" = set; then
21864 echo $ECHO_N "(cached) $ECHO_C" >&6
21865 else
21866 if test "$cross_compiling" = yes; then
21867 # Depending upon the size, compute the lo and hi bounds.
21868 cat >conftest.$ac_ext <<_ACEOF
21869 /* confdefs.h. */
21870 _ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21874 $ac_includes_default
21875 typedef short ac__type_sizeof_;
21876 int
21877 main ()
21878 {
21879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21880 test_array [0] = 0
21881
21882 ;
21883 return 0;
21884 }
21885 _ACEOF
21886 rm -f conftest.$ac_objext
21887 if { (ac_try="$ac_compile"
21888 case "(($ac_try" in
21889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21890 *) ac_try_echo=$ac_try;;
21891 esac
21892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21893 (eval "$ac_compile") 2>conftest.er1
21894 ac_status=$?
21895 grep -v '^ *+' conftest.er1 >conftest.err
21896 rm -f conftest.er1
21897 cat conftest.err >&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } && {
21900 test -z "$ac_c_werror_flag" ||
21901 test ! -s conftest.err
21902 } && test -s conftest.$ac_objext; then
21903 ac_lo=0 ac_mid=0
21904 while :; do
21905 cat >conftest.$ac_ext <<_ACEOF
21906 /* confdefs.h. */
21907 _ACEOF
21908 cat confdefs.h >>conftest.$ac_ext
21909 cat >>conftest.$ac_ext <<_ACEOF
21910 /* end confdefs.h. */
21911 $ac_includes_default
21912 typedef short ac__type_sizeof_;
21913 int
21914 main ()
21915 {
21916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21917 test_array [0] = 0
21918
21919 ;
21920 return 0;
21921 }
21922 _ACEOF
21923 rm -f conftest.$ac_objext
21924 if { (ac_try="$ac_compile"
21925 case "(($ac_try" in
21926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21927 *) ac_try_echo=$ac_try;;
21928 esac
21929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21930 (eval "$ac_compile") 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } && {
21937 test -z "$ac_c_werror_flag" ||
21938 test ! -s conftest.err
21939 } && test -s conftest.$ac_objext; then
21940 ac_hi=$ac_mid; break
21941 else
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.$ac_ext >&5
21944
21945 ac_lo=`expr $ac_mid + 1`
21946 if test $ac_lo -le $ac_mid; then
21947 ac_lo= ac_hi=
21948 break
21949 fi
21950 ac_mid=`expr 2 '*' $ac_mid + 1`
21951 fi
21952
21953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21954 done
21955 else
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.$ac_ext >&5
21958
21959 cat >conftest.$ac_ext <<_ACEOF
21960 /* confdefs.h. */
21961 _ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 $ac_includes_default
21966 typedef short ac__type_sizeof_;
21967 int
21968 main ()
21969 {
21970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21971 test_array [0] = 0
21972
21973 ;
21974 return 0;
21975 }
21976 _ACEOF
21977 rm -f conftest.$ac_objext
21978 if { (ac_try="$ac_compile"
21979 case "(($ac_try" in
21980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21981 *) ac_try_echo=$ac_try;;
21982 esac
21983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21984 (eval "$ac_compile") 2>conftest.er1
21985 ac_status=$?
21986 grep -v '^ *+' conftest.er1 >conftest.err
21987 rm -f conftest.er1
21988 cat conftest.err >&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } && {
21991 test -z "$ac_c_werror_flag" ||
21992 test ! -s conftest.err
21993 } && test -s conftest.$ac_objext; then
21994 ac_hi=-1 ac_mid=-1
21995 while :; do
21996 cat >conftest.$ac_ext <<_ACEOF
21997 /* confdefs.h. */
21998 _ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 typedef short ac__type_sizeof_;
22004 int
22005 main ()
22006 {
22007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22008 test_array [0] = 0
22009
22010 ;
22011 return 0;
22012 }
22013 _ACEOF
22014 rm -f conftest.$ac_objext
22015 if { (ac_try="$ac_compile"
22016 case "(($ac_try" in
22017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22019 esac
22020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_compile") 2>conftest.er1
22022 ac_status=$?
22023 grep -v '^ *+' conftest.er1 >conftest.err
22024 rm -f conftest.er1
22025 cat conftest.err >&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); } && {
22028 test -z "$ac_c_werror_flag" ||
22029 test ! -s conftest.err
22030 } && test -s conftest.$ac_objext; then
22031 ac_lo=$ac_mid; break
22032 else
22033 echo "$as_me: failed program was:" >&5
22034 sed 's/^/| /' conftest.$ac_ext >&5
22035
22036 ac_hi=`expr '(' $ac_mid ')' - 1`
22037 if test $ac_mid -le $ac_hi; then
22038 ac_lo= ac_hi=
22039 break
22040 fi
22041 ac_mid=`expr 2 '*' $ac_mid`
22042 fi
22043
22044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22045 done
22046 else
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.$ac_ext >&5
22049
22050 ac_lo= ac_hi=
22051 fi
22052
22053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22054 fi
22055
22056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22057 # Binary search between lo and hi bounds.
22058 while test "x$ac_lo" != "x$ac_hi"; do
22059 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22060 cat >conftest.$ac_ext <<_ACEOF
22061 /* confdefs.h. */
22062 _ACEOF
22063 cat confdefs.h >>conftest.$ac_ext
22064 cat >>conftest.$ac_ext <<_ACEOF
22065 /* end confdefs.h. */
22066 $ac_includes_default
22067 typedef short ac__type_sizeof_;
22068 int
22069 main ()
22070 {
22071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22072 test_array [0] = 0
22073
22074 ;
22075 return 0;
22076 }
22077 _ACEOF
22078 rm -f conftest.$ac_objext
22079 if { (ac_try="$ac_compile"
22080 case "(($ac_try" in
22081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22082 *) ac_try_echo=$ac_try;;
22083 esac
22084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22085 (eval "$ac_compile") 2>conftest.er1
22086 ac_status=$?
22087 grep -v '^ *+' conftest.er1 >conftest.err
22088 rm -f conftest.er1
22089 cat conftest.err >&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); } && {
22092 test -z "$ac_c_werror_flag" ||
22093 test ! -s conftest.err
22094 } && test -s conftest.$ac_objext; then
22095 ac_hi=$ac_mid
22096 else
22097 echo "$as_me: failed program was:" >&5
22098 sed 's/^/| /' conftest.$ac_ext >&5
22099
22100 ac_lo=`expr '(' $ac_mid ')' + 1`
22101 fi
22102
22103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22104 done
22105 case $ac_lo in
22106 ?*) ac_cv_sizeof_short=$ac_lo;;
22107 '') if test "$ac_cv_type_short" = yes; then
22108 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22109 See \`config.log' for more details." >&5
22110 echo "$as_me: error: cannot compute sizeof (short)
22111 See \`config.log' for more details." >&2;}
22112 { (exit 77); exit 77; }; }
22113 else
22114 ac_cv_sizeof_short=0
22115 fi ;;
22116 esac
22117 else
22118 cat >conftest.$ac_ext <<_ACEOF
22119 /* confdefs.h. */
22120 _ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 $ac_includes_default
22125 typedef short ac__type_sizeof_;
22126 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22127 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22128 #include <stdio.h>
22129 #include <stdlib.h>
22130 int
22131 main ()
22132 {
22133
22134 FILE *f = fopen ("conftest.val", "w");
22135 if (! f)
22136 return 1;
22137 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22138 {
22139 long int i = longval ();
22140 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22141 return 1;
22142 fprintf (f, "%ld\n", i);
22143 }
22144 else
22145 {
22146 unsigned long int i = ulongval ();
22147 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22148 return 1;
22149 fprintf (f, "%lu\n", i);
22150 }
22151 return ferror (f) || fclose (f) != 0;
22152
22153 ;
22154 return 0;
22155 }
22156 _ACEOF
22157 rm -f conftest$ac_exeext
22158 if { (ac_try="$ac_link"
22159 case "(($ac_try" in
22160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22161 *) ac_try_echo=$ac_try;;
22162 esac
22163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22164 (eval "$ac_link") 2>&5
22165 ac_status=$?
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22168 { (case "(($ac_try" in
22169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22170 *) ac_try_echo=$ac_try;;
22171 esac
22172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22173 (eval "$ac_try") 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 ac_cv_sizeof_short=`cat conftest.val`
22178 else
22179 echo "$as_me: program exited with status $ac_status" >&5
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 ( exit $ac_status )
22184 if test "$ac_cv_type_short" = yes; then
22185 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22186 See \`config.log' for more details." >&5
22187 echo "$as_me: error: cannot compute sizeof (short)
22188 See \`config.log' for more details." >&2;}
22189 { (exit 77); exit 77; }; }
22190 else
22191 ac_cv_sizeof_short=0
22192 fi
22193 fi
22194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22195 fi
22196 rm -f conftest.val
22197 fi
22198 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22199 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22200
22201
22202
22203 cat >>confdefs.h <<_ACEOF
22204 #define SIZEOF_SHORT $ac_cv_sizeof_short
22205 _ACEOF
22206
22207
22208 { echo "$as_me:$LINENO: checking for void *" >&5
22209 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22210 if test "${ac_cv_type_void_p+set}" = set; then
22211 echo $ECHO_N "(cached) $ECHO_C" >&6
22212 else
22213 cat >conftest.$ac_ext <<_ACEOF
22214 /* confdefs.h. */
22215 _ACEOF
22216 cat confdefs.h >>conftest.$ac_ext
22217 cat >>conftest.$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22219 $ac_includes_default
22220 typedef void * ac__type_new_;
22221 int
22222 main ()
22223 {
22224 if ((ac__type_new_ *) 0)
22225 return 0;
22226 if (sizeof (ac__type_new_))
22227 return 0;
22228 ;
22229 return 0;
22230 }
22231 _ACEOF
22232 rm -f conftest.$ac_objext
22233 if { (ac_try="$ac_compile"
22234 case "(($ac_try" in
22235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22236 *) ac_try_echo=$ac_try;;
22237 esac
22238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22239 (eval "$ac_compile") 2>conftest.er1
22240 ac_status=$?
22241 grep -v '^ *+' conftest.er1 >conftest.err
22242 rm -f conftest.er1
22243 cat conftest.err >&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); } && {
22246 test -z "$ac_c_werror_flag" ||
22247 test ! -s conftest.err
22248 } && test -s conftest.$ac_objext; then
22249 ac_cv_type_void_p=yes
22250 else
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22253
22254 ac_cv_type_void_p=no
22255 fi
22256
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22258 fi
22259 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22260 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22261
22262 # The cast to long int works around a bug in the HP C Compiler
22263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22265 # This bug is HP SR number 8606223364.
22266 { echo "$as_me:$LINENO: checking size of void *" >&5
22267 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22268 if test "${ac_cv_sizeof_void_p+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 else
22271 if test "$cross_compiling" = yes; then
22272 # Depending upon the size, compute the lo and hi bounds.
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 $ac_includes_default
22280 typedef void * ac__type_sizeof_;
22281 int
22282 main ()
22283 {
22284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22285 test_array [0] = 0
22286
22287 ;
22288 return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext
22292 if { (ac_try="$ac_compile"
22293 case "(($ac_try" in
22294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22295 *) ac_try_echo=$ac_try;;
22296 esac
22297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22298 (eval "$ac_compile") 2>conftest.er1
22299 ac_status=$?
22300 grep -v '^ *+' conftest.er1 >conftest.err
22301 rm -f conftest.er1
22302 cat conftest.err >&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } && {
22305 test -z "$ac_c_werror_flag" ||
22306 test ! -s conftest.err
22307 } && test -s conftest.$ac_objext; then
22308 ac_lo=0 ac_mid=0
22309 while :; do
22310 cat >conftest.$ac_ext <<_ACEOF
22311 /* confdefs.h. */
22312 _ACEOF
22313 cat confdefs.h >>conftest.$ac_ext
22314 cat >>conftest.$ac_ext <<_ACEOF
22315 /* end confdefs.h. */
22316 $ac_includes_default
22317 typedef void * ac__type_sizeof_;
22318 int
22319 main ()
22320 {
22321 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22322 test_array [0] = 0
22323
22324 ;
22325 return 0;
22326 }
22327 _ACEOF
22328 rm -f conftest.$ac_objext
22329 if { (ac_try="$ac_compile"
22330 case "(($ac_try" in
22331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22332 *) ac_try_echo=$ac_try;;
22333 esac
22334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22335 (eval "$ac_compile") 2>conftest.er1
22336 ac_status=$?
22337 grep -v '^ *+' conftest.er1 >conftest.err
22338 rm -f conftest.er1
22339 cat conftest.err >&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } && {
22342 test -z "$ac_c_werror_flag" ||
22343 test ! -s conftest.err
22344 } && test -s conftest.$ac_objext; then
22345 ac_hi=$ac_mid; break
22346 else
22347 echo "$as_me: failed program was:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22349
22350 ac_lo=`expr $ac_mid + 1`
22351 if test $ac_lo -le $ac_mid; then
22352 ac_lo= ac_hi=
22353 break
22354 fi
22355 ac_mid=`expr 2 '*' $ac_mid + 1`
22356 fi
22357
22358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22359 done
22360 else
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.$ac_ext >&5
22363
22364 cat >conftest.$ac_ext <<_ACEOF
22365 /* confdefs.h. */
22366 _ACEOF
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370 $ac_includes_default
22371 typedef void * ac__type_sizeof_;
22372 int
22373 main ()
22374 {
22375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22376 test_array [0] = 0
22377
22378 ;
22379 return 0;
22380 }
22381 _ACEOF
22382 rm -f conftest.$ac_objext
22383 if { (ac_try="$ac_compile"
22384 case "(($ac_try" in
22385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22386 *) ac_try_echo=$ac_try;;
22387 esac
22388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389 (eval "$ac_compile") 2>conftest.er1
22390 ac_status=$?
22391 grep -v '^ *+' conftest.er1 >conftest.err
22392 rm -f conftest.er1
22393 cat conftest.err >&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } && {
22396 test -z "$ac_c_werror_flag" ||
22397 test ! -s conftest.err
22398 } && test -s conftest.$ac_objext; then
22399 ac_hi=-1 ac_mid=-1
22400 while :; do
22401 cat >conftest.$ac_ext <<_ACEOF
22402 /* confdefs.h. */
22403 _ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 $ac_includes_default
22408 typedef void * ac__type_sizeof_;
22409 int
22410 main ()
22411 {
22412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22413 test_array [0] = 0
22414
22415 ;
22416 return 0;
22417 }
22418 _ACEOF
22419 rm -f conftest.$ac_objext
22420 if { (ac_try="$ac_compile"
22421 case "(($ac_try" in
22422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22423 *) ac_try_echo=$ac_try;;
22424 esac
22425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22426 (eval "$ac_compile") 2>conftest.er1
22427 ac_status=$?
22428 grep -v '^ *+' conftest.er1 >conftest.err
22429 rm -f conftest.er1
22430 cat conftest.err >&5
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); } && {
22433 test -z "$ac_c_werror_flag" ||
22434 test ! -s conftest.err
22435 } && test -s conftest.$ac_objext; then
22436 ac_lo=$ac_mid; break
22437 else
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.$ac_ext >&5
22440
22441 ac_hi=`expr '(' $ac_mid ')' - 1`
22442 if test $ac_mid -le $ac_hi; then
22443 ac_lo= ac_hi=
22444 break
22445 fi
22446 ac_mid=`expr 2 '*' $ac_mid`
22447 fi
22448
22449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22450 done
22451 else
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.$ac_ext >&5
22454
22455 ac_lo= ac_hi=
22456 fi
22457
22458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22459 fi
22460
22461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22462 # Binary search between lo and hi bounds.
22463 while test "x$ac_lo" != "x$ac_hi"; do
22464 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22465 cat >conftest.$ac_ext <<_ACEOF
22466 /* confdefs.h. */
22467 _ACEOF
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h. */
22471 $ac_includes_default
22472 typedef void * ac__type_sizeof_;
22473 int
22474 main ()
22475 {
22476 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22477 test_array [0] = 0
22478
22479 ;
22480 return 0;
22481 }
22482 _ACEOF
22483 rm -f conftest.$ac_objext
22484 if { (ac_try="$ac_compile"
22485 case "(($ac_try" in
22486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22487 *) ac_try_echo=$ac_try;;
22488 esac
22489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22490 (eval "$ac_compile") 2>conftest.er1
22491 ac_status=$?
22492 grep -v '^ *+' conftest.er1 >conftest.err
22493 rm -f conftest.er1
22494 cat conftest.err >&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); } && {
22497 test -z "$ac_c_werror_flag" ||
22498 test ! -s conftest.err
22499 } && test -s conftest.$ac_objext; then
22500 ac_hi=$ac_mid
22501 else
22502 echo "$as_me: failed program was:" >&5
22503 sed 's/^/| /' conftest.$ac_ext >&5
22504
22505 ac_lo=`expr '(' $ac_mid ')' + 1`
22506 fi
22507
22508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22509 done
22510 case $ac_lo in
22511 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22512 '') if test "$ac_cv_type_void_p" = yes; then
22513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22514 See \`config.log' for more details." >&5
22515 echo "$as_me: error: cannot compute sizeof (void *)
22516 See \`config.log' for more details." >&2;}
22517 { (exit 77); exit 77; }; }
22518 else
22519 ac_cv_sizeof_void_p=0
22520 fi ;;
22521 esac
22522 else
22523 cat >conftest.$ac_ext <<_ACEOF
22524 /* confdefs.h. */
22525 _ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 $ac_includes_default
22530 typedef void * ac__type_sizeof_;
22531 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22532 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22533 #include <stdio.h>
22534 #include <stdlib.h>
22535 int
22536 main ()
22537 {
22538
22539 FILE *f = fopen ("conftest.val", "w");
22540 if (! f)
22541 return 1;
22542 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22543 {
22544 long int i = longval ();
22545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22546 return 1;
22547 fprintf (f, "%ld\n", i);
22548 }
22549 else
22550 {
22551 unsigned long int i = ulongval ();
22552 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22553 return 1;
22554 fprintf (f, "%lu\n", i);
22555 }
22556 return ferror (f) || fclose (f) != 0;
22557
22558 ;
22559 return 0;
22560 }
22561 _ACEOF
22562 rm -f conftest$ac_exeext
22563 if { (ac_try="$ac_link"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22567 esac
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_link") 2>&5
22570 ac_status=$?
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22573 { (case "(($ac_try" in
22574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22575 *) ac_try_echo=$ac_try;;
22576 esac
22577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22578 (eval "$ac_try") 2>&5
22579 ac_status=$?
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; }; then
22582 ac_cv_sizeof_void_p=`cat conftest.val`
22583 else
22584 echo "$as_me: program exited with status $ac_status" >&5
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.$ac_ext >&5
22587
22588 ( exit $ac_status )
22589 if test "$ac_cv_type_void_p" = yes; then
22590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22591 See \`config.log' for more details." >&5
22592 echo "$as_me: error: cannot compute sizeof (void *)
22593 See \`config.log' for more details." >&2;}
22594 { (exit 77); exit 77; }; }
22595 else
22596 ac_cv_sizeof_void_p=0
22597 fi
22598 fi
22599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22600 fi
22601 rm -f conftest.val
22602 fi
22603 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22604 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22605
22606
22607
22608 cat >>confdefs.h <<_ACEOF
22609 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22610 _ACEOF
22611
22612
22613 { echo "$as_me:$LINENO: checking for int" >&5
22614 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22615 if test "${ac_cv_type_int+set}" = set; then
22616 echo $ECHO_N "(cached) $ECHO_C" >&6
22617 else
22618 cat >conftest.$ac_ext <<_ACEOF
22619 /* confdefs.h. */
22620 _ACEOF
22621 cat confdefs.h >>conftest.$ac_ext
22622 cat >>conftest.$ac_ext <<_ACEOF
22623 /* end confdefs.h. */
22624 $ac_includes_default
22625 typedef int ac__type_new_;
22626 int
22627 main ()
22628 {
22629 if ((ac__type_new_ *) 0)
22630 return 0;
22631 if (sizeof (ac__type_new_))
22632 return 0;
22633 ;
22634 return 0;
22635 }
22636 _ACEOF
22637 rm -f conftest.$ac_objext
22638 if { (ac_try="$ac_compile"
22639 case "(($ac_try" in
22640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22641 *) ac_try_echo=$ac_try;;
22642 esac
22643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22644 (eval "$ac_compile") 2>conftest.er1
22645 ac_status=$?
22646 grep -v '^ *+' conftest.er1 >conftest.err
22647 rm -f conftest.er1
22648 cat conftest.err >&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } && {
22651 test -z "$ac_c_werror_flag" ||
22652 test ! -s conftest.err
22653 } && test -s conftest.$ac_objext; then
22654 ac_cv_type_int=yes
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22658
22659 ac_cv_type_int=no
22660 fi
22661
22662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22663 fi
22664 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22665 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22666
22667 # The cast to long int works around a bug in the HP C Compiler
22668 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22669 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22670 # This bug is HP SR number 8606223364.
22671 { echo "$as_me:$LINENO: checking size of int" >&5
22672 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22673 if test "${ac_cv_sizeof_int+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 else
22676 if test "$cross_compiling" = yes; then
22677 # Depending upon the size, compute the lo and hi bounds.
22678 cat >conftest.$ac_ext <<_ACEOF
22679 /* confdefs.h. */
22680 _ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22684 $ac_includes_default
22685 typedef int ac__type_sizeof_;
22686 int
22687 main ()
22688 {
22689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22690 test_array [0] = 0
22691
22692 ;
22693 return 0;
22694 }
22695 _ACEOF
22696 rm -f conftest.$ac_objext
22697 if { (ac_try="$ac_compile"
22698 case "(($ac_try" in
22699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22700 *) ac_try_echo=$ac_try;;
22701 esac
22702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22703 (eval "$ac_compile") 2>conftest.er1
22704 ac_status=$?
22705 grep -v '^ *+' conftest.er1 >conftest.err
22706 rm -f conftest.er1
22707 cat conftest.err >&5
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); } && {
22710 test -z "$ac_c_werror_flag" ||
22711 test ! -s conftest.err
22712 } && test -s conftest.$ac_objext; then
22713 ac_lo=0 ac_mid=0
22714 while :; do
22715 cat >conftest.$ac_ext <<_ACEOF
22716 /* confdefs.h. */
22717 _ACEOF
22718 cat confdefs.h >>conftest.$ac_ext
22719 cat >>conftest.$ac_ext <<_ACEOF
22720 /* end confdefs.h. */
22721 $ac_includes_default
22722 typedef int ac__type_sizeof_;
22723 int
22724 main ()
22725 {
22726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22727 test_array [0] = 0
22728
22729 ;
22730 return 0;
22731 }
22732 _ACEOF
22733 rm -f conftest.$ac_objext
22734 if { (ac_try="$ac_compile"
22735 case "(($ac_try" in
22736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22737 *) ac_try_echo=$ac_try;;
22738 esac
22739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22740 (eval "$ac_compile") 2>conftest.er1
22741 ac_status=$?
22742 grep -v '^ *+' conftest.er1 >conftest.err
22743 rm -f conftest.er1
22744 cat conftest.err >&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } && {
22747 test -z "$ac_c_werror_flag" ||
22748 test ! -s conftest.err
22749 } && test -s conftest.$ac_objext; then
22750 ac_hi=$ac_mid; break
22751 else
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22754
22755 ac_lo=`expr $ac_mid + 1`
22756 if test $ac_lo -le $ac_mid; then
22757 ac_lo= ac_hi=
22758 break
22759 fi
22760 ac_mid=`expr 2 '*' $ac_mid + 1`
22761 fi
22762
22763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22764 done
22765 else
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.$ac_ext >&5
22768
22769 cat >conftest.$ac_ext <<_ACEOF
22770 /* confdefs.h. */
22771 _ACEOF
22772 cat confdefs.h >>conftest.$ac_ext
22773 cat >>conftest.$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22775 $ac_includes_default
22776 typedef int ac__type_sizeof_;
22777 int
22778 main ()
22779 {
22780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22781 test_array [0] = 0
22782
22783 ;
22784 return 0;
22785 }
22786 _ACEOF
22787 rm -f conftest.$ac_objext
22788 if { (ac_try="$ac_compile"
22789 case "(($ac_try" in
22790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22791 *) ac_try_echo=$ac_try;;
22792 esac
22793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22794 (eval "$ac_compile") 2>conftest.er1
22795 ac_status=$?
22796 grep -v '^ *+' conftest.er1 >conftest.err
22797 rm -f conftest.er1
22798 cat conftest.err >&5
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); } && {
22801 test -z "$ac_c_werror_flag" ||
22802 test ! -s conftest.err
22803 } && test -s conftest.$ac_objext; then
22804 ac_hi=-1 ac_mid=-1
22805 while :; do
22806 cat >conftest.$ac_ext <<_ACEOF
22807 /* confdefs.h. */
22808 _ACEOF
22809 cat confdefs.h >>conftest.$ac_ext
22810 cat >>conftest.$ac_ext <<_ACEOF
22811 /* end confdefs.h. */
22812 $ac_includes_default
22813 typedef int ac__type_sizeof_;
22814 int
22815 main ()
22816 {
22817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22818 test_array [0] = 0
22819
22820 ;
22821 return 0;
22822 }
22823 _ACEOF
22824 rm -f conftest.$ac_objext
22825 if { (ac_try="$ac_compile"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22829 esac
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_compile") 2>conftest.er1
22832 ac_status=$?
22833 grep -v '^ *+' conftest.er1 >conftest.err
22834 rm -f conftest.er1
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } && {
22838 test -z "$ac_c_werror_flag" ||
22839 test ! -s conftest.err
22840 } && test -s conftest.$ac_objext; then
22841 ac_lo=$ac_mid; break
22842 else
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22845
22846 ac_hi=`expr '(' $ac_mid ')' - 1`
22847 if test $ac_mid -le $ac_hi; then
22848 ac_lo= ac_hi=
22849 break
22850 fi
22851 ac_mid=`expr 2 '*' $ac_mid`
22852 fi
22853
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 done
22856 else
22857 echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.$ac_ext >&5
22859
22860 ac_lo= ac_hi=
22861 fi
22862
22863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22864 fi
22865
22866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22867 # Binary search between lo and hi bounds.
22868 while test "x$ac_lo" != "x$ac_hi"; do
22869 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22870 cat >conftest.$ac_ext <<_ACEOF
22871 /* confdefs.h. */
22872 _ACEOF
22873 cat confdefs.h >>conftest.$ac_ext
22874 cat >>conftest.$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 $ac_includes_default
22877 typedef int ac__type_sizeof_;
22878 int
22879 main ()
22880 {
22881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22882 test_array [0] = 0
22883
22884 ;
22885 return 0;
22886 }
22887 _ACEOF
22888 rm -f conftest.$ac_objext
22889 if { (ac_try="$ac_compile"
22890 case "(($ac_try" in
22891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22892 *) ac_try_echo=$ac_try;;
22893 esac
22894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22895 (eval "$ac_compile") 2>conftest.er1
22896 ac_status=$?
22897 grep -v '^ *+' conftest.er1 >conftest.err
22898 rm -f conftest.er1
22899 cat conftest.err >&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); } && {
22902 test -z "$ac_c_werror_flag" ||
22903 test ! -s conftest.err
22904 } && test -s conftest.$ac_objext; then
22905 ac_hi=$ac_mid
22906 else
22907 echo "$as_me: failed program was:" >&5
22908 sed 's/^/| /' conftest.$ac_ext >&5
22909
22910 ac_lo=`expr '(' $ac_mid ')' + 1`
22911 fi
22912
22913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22914 done
22915 case $ac_lo in
22916 ?*) ac_cv_sizeof_int=$ac_lo;;
22917 '') if test "$ac_cv_type_int" = yes; then
22918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22919 See \`config.log' for more details." >&5
22920 echo "$as_me: error: cannot compute sizeof (int)
22921 See \`config.log' for more details." >&2;}
22922 { (exit 77); exit 77; }; }
22923 else
22924 ac_cv_sizeof_int=0
22925 fi ;;
22926 esac
22927 else
22928 cat >conftest.$ac_ext <<_ACEOF
22929 /* confdefs.h. */
22930 _ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 $ac_includes_default
22935 typedef int ac__type_sizeof_;
22936 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22937 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22938 #include <stdio.h>
22939 #include <stdlib.h>
22940 int
22941 main ()
22942 {
22943
22944 FILE *f = fopen ("conftest.val", "w");
22945 if (! f)
22946 return 1;
22947 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22948 {
22949 long int i = longval ();
22950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22951 return 1;
22952 fprintf (f, "%ld\n", i);
22953 }
22954 else
22955 {
22956 unsigned long int i = ulongval ();
22957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22958 return 1;
22959 fprintf (f, "%lu\n", i);
22960 }
22961 return ferror (f) || fclose (f) != 0;
22962
22963 ;
22964 return 0;
22965 }
22966 _ACEOF
22967 rm -f conftest$ac_exeext
22968 if { (ac_try="$ac_link"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22971 *) ac_try_echo=$ac_try;;
22972 esac
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_link") 2>&5
22975 ac_status=$?
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22978 { (case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22981 esac
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_try") 2>&5
22984 ac_status=$?
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); }; }; then
22987 ac_cv_sizeof_int=`cat conftest.val`
22988 else
22989 echo "$as_me: program exited with status $ac_status" >&5
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.$ac_ext >&5
22992
22993 ( exit $ac_status )
22994 if test "$ac_cv_type_int" = yes; then
22995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22996 See \`config.log' for more details." >&5
22997 echo "$as_me: error: cannot compute sizeof (int)
22998 See \`config.log' for more details." >&2;}
22999 { (exit 77); exit 77; }; }
23000 else
23001 ac_cv_sizeof_int=0
23002 fi
23003 fi
23004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23005 fi
23006 rm -f conftest.val
23007 fi
23008 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23009 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23010
23011
23012
23013 cat >>confdefs.h <<_ACEOF
23014 #define SIZEOF_INT $ac_cv_sizeof_int
23015 _ACEOF
23016
23017
23018 { echo "$as_me:$LINENO: checking for long" >&5
23019 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23020 if test "${ac_cv_type_long+set}" = set; then
23021 echo $ECHO_N "(cached) $ECHO_C" >&6
23022 else
23023 cat >conftest.$ac_ext <<_ACEOF
23024 /* confdefs.h. */
23025 _ACEOF
23026 cat confdefs.h >>conftest.$ac_ext
23027 cat >>conftest.$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23029 $ac_includes_default
23030 typedef long ac__type_new_;
23031 int
23032 main ()
23033 {
23034 if ((ac__type_new_ *) 0)
23035 return 0;
23036 if (sizeof (ac__type_new_))
23037 return 0;
23038 ;
23039 return 0;
23040 }
23041 _ACEOF
23042 rm -f conftest.$ac_objext
23043 if { (ac_try="$ac_compile"
23044 case "(($ac_try" in
23045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23046 *) ac_try_echo=$ac_try;;
23047 esac
23048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23049 (eval "$ac_compile") 2>conftest.er1
23050 ac_status=$?
23051 grep -v '^ *+' conftest.er1 >conftest.err
23052 rm -f conftest.er1
23053 cat conftest.err >&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); } && {
23056 test -z "$ac_c_werror_flag" ||
23057 test ! -s conftest.err
23058 } && test -s conftest.$ac_objext; then
23059 ac_cv_type_long=yes
23060 else
23061 echo "$as_me: failed program was:" >&5
23062 sed 's/^/| /' conftest.$ac_ext >&5
23063
23064 ac_cv_type_long=no
23065 fi
23066
23067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23068 fi
23069 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23070 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23071
23072 # The cast to long int works around a bug in the HP C Compiler
23073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23075 # This bug is HP SR number 8606223364.
23076 { echo "$as_me:$LINENO: checking size of long" >&5
23077 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23078 if test "${ac_cv_sizeof_long+set}" = set; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23080 else
23081 if test "$cross_compiling" = yes; then
23082 # Depending upon the size, compute the lo and hi bounds.
23083 cat >conftest.$ac_ext <<_ACEOF
23084 /* confdefs.h. */
23085 _ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089 $ac_includes_default
23090 typedef long ac__type_sizeof_;
23091 int
23092 main ()
23093 {
23094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23095 test_array [0] = 0
23096
23097 ;
23098 return 0;
23099 }
23100 _ACEOF
23101 rm -f conftest.$ac_objext
23102 if { (ac_try="$ac_compile"
23103 case "(($ac_try" in
23104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23105 *) ac_try_echo=$ac_try;;
23106 esac
23107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23108 (eval "$ac_compile") 2>conftest.er1
23109 ac_status=$?
23110 grep -v '^ *+' conftest.er1 >conftest.err
23111 rm -f conftest.er1
23112 cat conftest.err >&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); } && {
23115 test -z "$ac_c_werror_flag" ||
23116 test ! -s conftest.err
23117 } && test -s conftest.$ac_objext; then
23118 ac_lo=0 ac_mid=0
23119 while :; do
23120 cat >conftest.$ac_ext <<_ACEOF
23121 /* confdefs.h. */
23122 _ACEOF
23123 cat confdefs.h >>conftest.$ac_ext
23124 cat >>conftest.$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 $ac_includes_default
23127 typedef long ac__type_sizeof_;
23128 int
23129 main ()
23130 {
23131 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23132 test_array [0] = 0
23133
23134 ;
23135 return 0;
23136 }
23137 _ACEOF
23138 rm -f conftest.$ac_objext
23139 if { (ac_try="$ac_compile"
23140 case "(($ac_try" in
23141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23142 *) ac_try_echo=$ac_try;;
23143 esac
23144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23145 (eval "$ac_compile") 2>conftest.er1
23146 ac_status=$?
23147 grep -v '^ *+' conftest.er1 >conftest.err
23148 rm -f conftest.er1
23149 cat conftest.err >&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } && {
23152 test -z "$ac_c_werror_flag" ||
23153 test ! -s conftest.err
23154 } && test -s conftest.$ac_objext; then
23155 ac_hi=$ac_mid; break
23156 else
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.$ac_ext >&5
23159
23160 ac_lo=`expr $ac_mid + 1`
23161 if test $ac_lo -le $ac_mid; then
23162 ac_lo= ac_hi=
23163 break
23164 fi
23165 ac_mid=`expr 2 '*' $ac_mid + 1`
23166 fi
23167
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23169 done
23170 else
23171 echo "$as_me: failed program was:" >&5
23172 sed 's/^/| /' conftest.$ac_ext >&5
23173
23174 cat >conftest.$ac_ext <<_ACEOF
23175 /* confdefs.h. */
23176 _ACEOF
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23180 $ac_includes_default
23181 typedef long ac__type_sizeof_;
23182 int
23183 main ()
23184 {
23185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23186 test_array [0] = 0
23187
23188 ;
23189 return 0;
23190 }
23191 _ACEOF
23192 rm -f conftest.$ac_objext
23193 if { (ac_try="$ac_compile"
23194 case "(($ac_try" in
23195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23196 *) ac_try_echo=$ac_try;;
23197 esac
23198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23199 (eval "$ac_compile") 2>conftest.er1
23200 ac_status=$?
23201 grep -v '^ *+' conftest.er1 >conftest.err
23202 rm -f conftest.er1
23203 cat conftest.err >&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } && {
23206 test -z "$ac_c_werror_flag" ||
23207 test ! -s conftest.err
23208 } && test -s conftest.$ac_objext; then
23209 ac_hi=-1 ac_mid=-1
23210 while :; do
23211 cat >conftest.$ac_ext <<_ACEOF
23212 /* confdefs.h. */
23213 _ACEOF
23214 cat confdefs.h >>conftest.$ac_ext
23215 cat >>conftest.$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 $ac_includes_default
23218 typedef long ac__type_sizeof_;
23219 int
23220 main ()
23221 {
23222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23223 test_array [0] = 0
23224
23225 ;
23226 return 0;
23227 }
23228 _ACEOF
23229 rm -f conftest.$ac_objext
23230 if { (ac_try="$ac_compile"
23231 case "(($ac_try" in
23232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23233 *) ac_try_echo=$ac_try;;
23234 esac
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_compile") 2>conftest.er1
23237 ac_status=$?
23238 grep -v '^ *+' conftest.er1 >conftest.err
23239 rm -f conftest.er1
23240 cat conftest.err >&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } && {
23243 test -z "$ac_c_werror_flag" ||
23244 test ! -s conftest.err
23245 } && test -s conftest.$ac_objext; then
23246 ac_lo=$ac_mid; break
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23250
23251 ac_hi=`expr '(' $ac_mid ')' - 1`
23252 if test $ac_mid -le $ac_hi; then
23253 ac_lo= ac_hi=
23254 break
23255 fi
23256 ac_mid=`expr 2 '*' $ac_mid`
23257 fi
23258
23259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 done
23261 else
23262 echo "$as_me: failed program was:" >&5
23263 sed 's/^/| /' conftest.$ac_ext >&5
23264
23265 ac_lo= ac_hi=
23266 fi
23267
23268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23269 fi
23270
23271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 # Binary search between lo and hi bounds.
23273 while test "x$ac_lo" != "x$ac_hi"; do
23274 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23275 cat >conftest.$ac_ext <<_ACEOF
23276 /* confdefs.h. */
23277 _ACEOF
23278 cat confdefs.h >>conftest.$ac_ext
23279 cat >>conftest.$ac_ext <<_ACEOF
23280 /* end confdefs.h. */
23281 $ac_includes_default
23282 typedef long ac__type_sizeof_;
23283 int
23284 main ()
23285 {
23286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23287 test_array [0] = 0
23288
23289 ;
23290 return 0;
23291 }
23292 _ACEOF
23293 rm -f conftest.$ac_objext
23294 if { (ac_try="$ac_compile"
23295 case "(($ac_try" in
23296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23297 *) ac_try_echo=$ac_try;;
23298 esac
23299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23300 (eval "$ac_compile") 2>conftest.er1
23301 ac_status=$?
23302 grep -v '^ *+' conftest.er1 >conftest.err
23303 rm -f conftest.er1
23304 cat conftest.err >&5
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); } && {
23307 test -z "$ac_c_werror_flag" ||
23308 test ! -s conftest.err
23309 } && test -s conftest.$ac_objext; then
23310 ac_hi=$ac_mid
23311 else
23312 echo "$as_me: failed program was:" >&5
23313 sed 's/^/| /' conftest.$ac_ext >&5
23314
23315 ac_lo=`expr '(' $ac_mid ')' + 1`
23316 fi
23317
23318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23319 done
23320 case $ac_lo in
23321 ?*) ac_cv_sizeof_long=$ac_lo;;
23322 '') if test "$ac_cv_type_long" = yes; then
23323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23324 See \`config.log' for more details." >&5
23325 echo "$as_me: error: cannot compute sizeof (long)
23326 See \`config.log' for more details." >&2;}
23327 { (exit 77); exit 77; }; }
23328 else
23329 ac_cv_sizeof_long=0
23330 fi ;;
23331 esac
23332 else
23333 cat >conftest.$ac_ext <<_ACEOF
23334 /* confdefs.h. */
23335 _ACEOF
23336 cat confdefs.h >>conftest.$ac_ext
23337 cat >>conftest.$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 typedef long ac__type_sizeof_;
23341 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23342 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23343 #include <stdio.h>
23344 #include <stdlib.h>
23345 int
23346 main ()
23347 {
23348
23349 FILE *f = fopen ("conftest.val", "w");
23350 if (! f)
23351 return 1;
23352 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23353 {
23354 long int i = longval ();
23355 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23356 return 1;
23357 fprintf (f, "%ld\n", i);
23358 }
23359 else
23360 {
23361 unsigned long int i = ulongval ();
23362 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23363 return 1;
23364 fprintf (f, "%lu\n", i);
23365 }
23366 return ferror (f) || fclose (f) != 0;
23367
23368 ;
23369 return 0;
23370 }
23371 _ACEOF
23372 rm -f conftest$ac_exeext
23373 if { (ac_try="$ac_link"
23374 case "(($ac_try" in
23375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23376 *) ac_try_echo=$ac_try;;
23377 esac
23378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379 (eval "$ac_link") 2>&5
23380 ac_status=$?
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23383 { (case "(($ac_try" in
23384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23385 *) ac_try_echo=$ac_try;;
23386 esac
23387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23388 (eval "$ac_try") 2>&5
23389 ac_status=$?
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; }; then
23392 ac_cv_sizeof_long=`cat conftest.val`
23393 else
23394 echo "$as_me: program exited with status $ac_status" >&5
23395 echo "$as_me: failed program was:" >&5
23396 sed 's/^/| /' conftest.$ac_ext >&5
23397
23398 ( exit $ac_status )
23399 if test "$ac_cv_type_long" = yes; then
23400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23401 See \`config.log' for more details." >&5
23402 echo "$as_me: error: cannot compute sizeof (long)
23403 See \`config.log' for more details." >&2;}
23404 { (exit 77); exit 77; }; }
23405 else
23406 ac_cv_sizeof_long=0
23407 fi
23408 fi
23409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23410 fi
23411 rm -f conftest.val
23412 fi
23413 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23414 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23415
23416
23417
23418 cat >>confdefs.h <<_ACEOF
23419 #define SIZEOF_LONG $ac_cv_sizeof_long
23420 _ACEOF
23421
23422
23423 { echo "$as_me:$LINENO: checking for size_t" >&5
23424 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23425 if test "${ac_cv_type_size_t+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23427 else
23428 cat >conftest.$ac_ext <<_ACEOF
23429 /* confdefs.h. */
23430 _ACEOF
23431 cat confdefs.h >>conftest.$ac_ext
23432 cat >>conftest.$ac_ext <<_ACEOF
23433 /* end confdefs.h. */
23434 $ac_includes_default
23435 typedef size_t ac__type_new_;
23436 int
23437 main ()
23438 {
23439 if ((ac__type_new_ *) 0)
23440 return 0;
23441 if (sizeof (ac__type_new_))
23442 return 0;
23443 ;
23444 return 0;
23445 }
23446 _ACEOF
23447 rm -f conftest.$ac_objext
23448 if { (ac_try="$ac_compile"
23449 case "(($ac_try" in
23450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23451 *) ac_try_echo=$ac_try;;
23452 esac
23453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23454 (eval "$ac_compile") 2>conftest.er1
23455 ac_status=$?
23456 grep -v '^ *+' conftest.er1 >conftest.err
23457 rm -f conftest.er1
23458 cat conftest.err >&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } && {
23461 test -z "$ac_c_werror_flag" ||
23462 test ! -s conftest.err
23463 } && test -s conftest.$ac_objext; then
23464 ac_cv_type_size_t=yes
23465 else
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.$ac_ext >&5
23468
23469 ac_cv_type_size_t=no
23470 fi
23471
23472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 fi
23474 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23475 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23476
23477 # The cast to long int works around a bug in the HP C Compiler
23478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23480 # This bug is HP SR number 8606223364.
23481 { echo "$as_me:$LINENO: checking size of size_t" >&5
23482 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23483 if test "${ac_cv_sizeof_size_t+set}" = set; then
23484 echo $ECHO_N "(cached) $ECHO_C" >&6
23485 else
23486 if test "$cross_compiling" = yes; then
23487 # Depending upon the size, compute the lo and hi bounds.
23488 cat >conftest.$ac_ext <<_ACEOF
23489 /* confdefs.h. */
23490 _ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494 $ac_includes_default
23495 typedef size_t ac__type_sizeof_;
23496 int
23497 main ()
23498 {
23499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23500 test_array [0] = 0
23501
23502 ;
23503 return 0;
23504 }
23505 _ACEOF
23506 rm -f conftest.$ac_objext
23507 if { (ac_try="$ac_compile"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23511 esac
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_compile") 2>conftest.er1
23514 ac_status=$?
23515 grep -v '^ *+' conftest.er1 >conftest.err
23516 rm -f conftest.er1
23517 cat conftest.err >&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); } && {
23520 test -z "$ac_c_werror_flag" ||
23521 test ! -s conftest.err
23522 } && test -s conftest.$ac_objext; then
23523 ac_lo=0 ac_mid=0
23524 while :; do
23525 cat >conftest.$ac_ext <<_ACEOF
23526 /* confdefs.h. */
23527 _ACEOF
23528 cat confdefs.h >>conftest.$ac_ext
23529 cat >>conftest.$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23531 $ac_includes_default
23532 typedef size_t ac__type_sizeof_;
23533 int
23534 main ()
23535 {
23536 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23537 test_array [0] = 0
23538
23539 ;
23540 return 0;
23541 }
23542 _ACEOF
23543 rm -f conftest.$ac_objext
23544 if { (ac_try="$ac_compile"
23545 case "(($ac_try" in
23546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23548 esac
23549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23550 (eval "$ac_compile") 2>conftest.er1
23551 ac_status=$?
23552 grep -v '^ *+' conftest.er1 >conftest.err
23553 rm -f conftest.er1
23554 cat conftest.err >&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } && {
23557 test -z "$ac_c_werror_flag" ||
23558 test ! -s conftest.err
23559 } && test -s conftest.$ac_objext; then
23560 ac_hi=$ac_mid; break
23561 else
23562 echo "$as_me: failed program was:" >&5
23563 sed 's/^/| /' conftest.$ac_ext >&5
23564
23565 ac_lo=`expr $ac_mid + 1`
23566 if test $ac_lo -le $ac_mid; then
23567 ac_lo= ac_hi=
23568 break
23569 fi
23570 ac_mid=`expr 2 '*' $ac_mid + 1`
23571 fi
23572
23573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 done
23575 else
23576 echo "$as_me: failed program was:" >&5
23577 sed 's/^/| /' conftest.$ac_ext >&5
23578
23579 cat >conftest.$ac_ext <<_ACEOF
23580 /* confdefs.h. */
23581 _ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23585 $ac_includes_default
23586 typedef size_t ac__type_sizeof_;
23587 int
23588 main ()
23589 {
23590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23591 test_array [0] = 0
23592
23593 ;
23594 return 0;
23595 }
23596 _ACEOF
23597 rm -f conftest.$ac_objext
23598 if { (ac_try="$ac_compile"
23599 case "(($ac_try" in
23600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23601 *) ac_try_echo=$ac_try;;
23602 esac
23603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23604 (eval "$ac_compile") 2>conftest.er1
23605 ac_status=$?
23606 grep -v '^ *+' conftest.er1 >conftest.err
23607 rm -f conftest.er1
23608 cat conftest.err >&5
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); } && {
23611 test -z "$ac_c_werror_flag" ||
23612 test ! -s conftest.err
23613 } && test -s conftest.$ac_objext; then
23614 ac_hi=-1 ac_mid=-1
23615 while :; do
23616 cat >conftest.$ac_ext <<_ACEOF
23617 /* confdefs.h. */
23618 _ACEOF
23619 cat confdefs.h >>conftest.$ac_ext
23620 cat >>conftest.$ac_ext <<_ACEOF
23621 /* end confdefs.h. */
23622 $ac_includes_default
23623 typedef size_t ac__type_sizeof_;
23624 int
23625 main ()
23626 {
23627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23628 test_array [0] = 0
23629
23630 ;
23631 return 0;
23632 }
23633 _ACEOF
23634 rm -f conftest.$ac_objext
23635 if { (ac_try="$ac_compile"
23636 case "(($ac_try" in
23637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23638 *) ac_try_echo=$ac_try;;
23639 esac
23640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23641 (eval "$ac_compile") 2>conftest.er1
23642 ac_status=$?
23643 grep -v '^ *+' conftest.er1 >conftest.err
23644 rm -f conftest.er1
23645 cat conftest.err >&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); } && {
23648 test -z "$ac_c_werror_flag" ||
23649 test ! -s conftest.err
23650 } && test -s conftest.$ac_objext; then
23651 ac_lo=$ac_mid; break
23652 else
23653 echo "$as_me: failed program was:" >&5
23654 sed 's/^/| /' conftest.$ac_ext >&5
23655
23656 ac_hi=`expr '(' $ac_mid ')' - 1`
23657 if test $ac_mid -le $ac_hi; then
23658 ac_lo= ac_hi=
23659 break
23660 fi
23661 ac_mid=`expr 2 '*' $ac_mid`
23662 fi
23663
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 done
23666 else
23667 echo "$as_me: failed program was:" >&5
23668 sed 's/^/| /' conftest.$ac_ext >&5
23669
23670 ac_lo= ac_hi=
23671 fi
23672
23673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674 fi
23675
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677 # Binary search between lo and hi bounds.
23678 while test "x$ac_lo" != "x$ac_hi"; do
23679 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23680 cat >conftest.$ac_ext <<_ACEOF
23681 /* confdefs.h. */
23682 _ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23686 $ac_includes_default
23687 typedef size_t ac__type_sizeof_;
23688 int
23689 main ()
23690 {
23691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23692 test_array [0] = 0
23693
23694 ;
23695 return 0;
23696 }
23697 _ACEOF
23698 rm -f conftest.$ac_objext
23699 if { (ac_try="$ac_compile"
23700 case "(($ac_try" in
23701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23702 *) ac_try_echo=$ac_try;;
23703 esac
23704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23705 (eval "$ac_compile") 2>conftest.er1
23706 ac_status=$?
23707 grep -v '^ *+' conftest.er1 >conftest.err
23708 rm -f conftest.er1
23709 cat conftest.err >&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } && {
23712 test -z "$ac_c_werror_flag" ||
23713 test ! -s conftest.err
23714 } && test -s conftest.$ac_objext; then
23715 ac_hi=$ac_mid
23716 else
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.$ac_ext >&5
23719
23720 ac_lo=`expr '(' $ac_mid ')' + 1`
23721 fi
23722
23723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23724 done
23725 case $ac_lo in
23726 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23727 '') if test "$ac_cv_type_size_t" = yes; then
23728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23729 See \`config.log' for more details." >&5
23730 echo "$as_me: error: cannot compute sizeof (size_t)
23731 See \`config.log' for more details." >&2;}
23732 { (exit 77); exit 77; }; }
23733 else
23734 ac_cv_sizeof_size_t=0
23735 fi ;;
23736 esac
23737 else
23738 cat >conftest.$ac_ext <<_ACEOF
23739 /* confdefs.h. */
23740 _ACEOF
23741 cat confdefs.h >>conftest.$ac_ext
23742 cat >>conftest.$ac_ext <<_ACEOF
23743 /* end confdefs.h. */
23744 $ac_includes_default
23745 typedef size_t ac__type_sizeof_;
23746 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23747 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23748 #include <stdio.h>
23749 #include <stdlib.h>
23750 int
23751 main ()
23752 {
23753
23754 FILE *f = fopen ("conftest.val", "w");
23755 if (! f)
23756 return 1;
23757 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23758 {
23759 long int i = longval ();
23760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23761 return 1;
23762 fprintf (f, "%ld\n", i);
23763 }
23764 else
23765 {
23766 unsigned long int i = ulongval ();
23767 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23768 return 1;
23769 fprintf (f, "%lu\n", i);
23770 }
23771 return ferror (f) || fclose (f) != 0;
23772
23773 ;
23774 return 0;
23775 }
23776 _ACEOF
23777 rm -f conftest$ac_exeext
23778 if { (ac_try="$ac_link"
23779 case "(($ac_try" in
23780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23781 *) ac_try_echo=$ac_try;;
23782 esac
23783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23784 (eval "$ac_link") 2>&5
23785 ac_status=$?
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23788 { (case "(($ac_try" in
23789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23790 *) ac_try_echo=$ac_try;;
23791 esac
23792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23793 (eval "$ac_try") 2>&5
23794 ac_status=$?
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 ac_cv_sizeof_size_t=`cat conftest.val`
23798 else
23799 echo "$as_me: program exited with status $ac_status" >&5
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23802
23803 ( exit $ac_status )
23804 if test "$ac_cv_type_size_t" = yes; then
23805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23806 See \`config.log' for more details." >&5
23807 echo "$as_me: error: cannot compute sizeof (size_t)
23808 See \`config.log' for more details." >&2;}
23809 { (exit 77); exit 77; }; }
23810 else
23811 ac_cv_sizeof_size_t=0
23812 fi
23813 fi
23814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23815 fi
23816 rm -f conftest.val
23817 fi
23818 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23819 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23820
23821
23822
23823 cat >>confdefs.h <<_ACEOF
23824 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23825 _ACEOF
23826
23827
23828
23829 case "${host}" in
23830 arm-*-linux* )
23831 { echo "$as_me:$LINENO: checking for long long" >&5
23832 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23833 if test "${ac_cv_type_long_long+set}" = set; then
23834 echo $ECHO_N "(cached) $ECHO_C" >&6
23835 else
23836 cat >conftest.$ac_ext <<_ACEOF
23837 /* confdefs.h. */
23838 _ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 typedef long long ac__type_new_;
23844 int
23845 main ()
23846 {
23847 if ((ac__type_new_ *) 0)
23848 return 0;
23849 if (sizeof (ac__type_new_))
23850 return 0;
23851 ;
23852 return 0;
23853 }
23854 _ACEOF
23855 rm -f conftest.$ac_objext
23856 if { (ac_try="$ac_compile"
23857 case "(($ac_try" in
23858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23859 *) ac_try_echo=$ac_try;;
23860 esac
23861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23862 (eval "$ac_compile") 2>conftest.er1
23863 ac_status=$?
23864 grep -v '^ *+' conftest.er1 >conftest.err
23865 rm -f conftest.er1
23866 cat conftest.err >&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); } && {
23869 test -z "$ac_c_werror_flag" ||
23870 test ! -s conftest.err
23871 } && test -s conftest.$ac_objext; then
23872 ac_cv_type_long_long=yes
23873 else
23874 echo "$as_me: failed program was:" >&5
23875 sed 's/^/| /' conftest.$ac_ext >&5
23876
23877 ac_cv_type_long_long=no
23878 fi
23879
23880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23881 fi
23882 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23883 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23884
23885 # The cast to long int works around a bug in the HP C Compiler
23886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23888 # This bug is HP SR number 8606223364.
23889 { echo "$as_me:$LINENO: checking size of long long" >&5
23890 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23891 if test "${ac_cv_sizeof_long_long+set}" = set; then
23892 echo $ECHO_N "(cached) $ECHO_C" >&6
23893 else
23894 if test "$cross_compiling" = yes; then
23895 # Depending upon the size, compute the lo and hi bounds.
23896 cat >conftest.$ac_ext <<_ACEOF
23897 /* confdefs.h. */
23898 _ACEOF
23899 cat confdefs.h >>conftest.$ac_ext
23900 cat >>conftest.$ac_ext <<_ACEOF
23901 /* end confdefs.h. */
23902 $ac_includes_default
23903 typedef long long ac__type_sizeof_;
23904 int
23905 main ()
23906 {
23907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23908 test_array [0] = 0
23909
23910 ;
23911 return 0;
23912 }
23913 _ACEOF
23914 rm -f conftest.$ac_objext
23915 if { (ac_try="$ac_compile"
23916 case "(($ac_try" in
23917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23919 esac
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_compile") 2>conftest.er1
23922 ac_status=$?
23923 grep -v '^ *+' conftest.er1 >conftest.err
23924 rm -f conftest.er1
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_c_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest.$ac_objext; then
23931 ac_lo=0 ac_mid=0
23932 while :; do
23933 cat >conftest.$ac_ext <<_ACEOF
23934 /* confdefs.h. */
23935 _ACEOF
23936 cat confdefs.h >>conftest.$ac_ext
23937 cat >>conftest.$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23939 $ac_includes_default
23940 typedef long long ac__type_sizeof_;
23941 int
23942 main ()
23943 {
23944 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23945 test_array [0] = 0
23946
23947 ;
23948 return 0;
23949 }
23950 _ACEOF
23951 rm -f conftest.$ac_objext
23952 if { (ac_try="$ac_compile"
23953 case "(($ac_try" in
23954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23955 *) ac_try_echo=$ac_try;;
23956 esac
23957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23958 (eval "$ac_compile") 2>conftest.er1
23959 ac_status=$?
23960 grep -v '^ *+' conftest.er1 >conftest.err
23961 rm -f conftest.er1
23962 cat conftest.err >&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } && {
23965 test -z "$ac_c_werror_flag" ||
23966 test ! -s conftest.err
23967 } && test -s conftest.$ac_objext; then
23968 ac_hi=$ac_mid; break
23969 else
23970 echo "$as_me: failed program was:" >&5
23971 sed 's/^/| /' conftest.$ac_ext >&5
23972
23973 ac_lo=`expr $ac_mid + 1`
23974 if test $ac_lo -le $ac_mid; then
23975 ac_lo= ac_hi=
23976 break
23977 fi
23978 ac_mid=`expr 2 '*' $ac_mid + 1`
23979 fi
23980
23981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23982 done
23983 else
23984 echo "$as_me: failed program was:" >&5
23985 sed 's/^/| /' conftest.$ac_ext >&5
23986
23987 cat >conftest.$ac_ext <<_ACEOF
23988 /* confdefs.h. */
23989 _ACEOF
23990 cat confdefs.h >>conftest.$ac_ext
23991 cat >>conftest.$ac_ext <<_ACEOF
23992 /* end confdefs.h. */
23993 $ac_includes_default
23994 typedef long long ac__type_sizeof_;
23995 int
23996 main ()
23997 {
23998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23999 test_array [0] = 0
24000
24001 ;
24002 return 0;
24003 }
24004 _ACEOF
24005 rm -f conftest.$ac_objext
24006 if { (ac_try="$ac_compile"
24007 case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24010 esac
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_compile") 2>conftest.er1
24013 ac_status=$?
24014 grep -v '^ *+' conftest.er1 >conftest.err
24015 rm -f conftest.er1
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } && {
24019 test -z "$ac_c_werror_flag" ||
24020 test ! -s conftest.err
24021 } && test -s conftest.$ac_objext; then
24022 ac_hi=-1 ac_mid=-1
24023 while :; do
24024 cat >conftest.$ac_ext <<_ACEOF
24025 /* confdefs.h. */
24026 _ACEOF
24027 cat confdefs.h >>conftest.$ac_ext
24028 cat >>conftest.$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030 $ac_includes_default
24031 typedef long long ac__type_sizeof_;
24032 int
24033 main ()
24034 {
24035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24036 test_array [0] = 0
24037
24038 ;
24039 return 0;
24040 }
24041 _ACEOF
24042 rm -f conftest.$ac_objext
24043 if { (ac_try="$ac_compile"
24044 case "(($ac_try" in
24045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24046 *) ac_try_echo=$ac_try;;
24047 esac
24048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24049 (eval "$ac_compile") 2>conftest.er1
24050 ac_status=$?
24051 grep -v '^ *+' conftest.er1 >conftest.err
24052 rm -f conftest.er1
24053 cat conftest.err >&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); } && {
24056 test -z "$ac_c_werror_flag" ||
24057 test ! -s conftest.err
24058 } && test -s conftest.$ac_objext; then
24059 ac_lo=$ac_mid; break
24060 else
24061 echo "$as_me: failed program was:" >&5
24062 sed 's/^/| /' conftest.$ac_ext >&5
24063
24064 ac_hi=`expr '(' $ac_mid ')' - 1`
24065 if test $ac_mid -le $ac_hi; then
24066 ac_lo= ac_hi=
24067 break
24068 fi
24069 ac_mid=`expr 2 '*' $ac_mid`
24070 fi
24071
24072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24073 done
24074 else
24075 echo "$as_me: failed program was:" >&5
24076 sed 's/^/| /' conftest.$ac_ext >&5
24077
24078 ac_lo= ac_hi=
24079 fi
24080
24081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24082 fi
24083
24084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24085 # Binary search between lo and hi bounds.
24086 while test "x$ac_lo" != "x$ac_hi"; do
24087 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24088 cat >conftest.$ac_ext <<_ACEOF
24089 /* confdefs.h. */
24090 _ACEOF
24091 cat confdefs.h >>conftest.$ac_ext
24092 cat >>conftest.$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094 $ac_includes_default
24095 typedef long long ac__type_sizeof_;
24096 int
24097 main ()
24098 {
24099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24100 test_array [0] = 0
24101
24102 ;
24103 return 0;
24104 }
24105 _ACEOF
24106 rm -f conftest.$ac_objext
24107 if { (ac_try="$ac_compile"
24108 case "(($ac_try" in
24109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24110 *) ac_try_echo=$ac_try;;
24111 esac
24112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24113 (eval "$ac_compile") 2>conftest.er1
24114 ac_status=$?
24115 grep -v '^ *+' conftest.er1 >conftest.err
24116 rm -f conftest.er1
24117 cat conftest.err >&5
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); } && {
24120 test -z "$ac_c_werror_flag" ||
24121 test ! -s conftest.err
24122 } && test -s conftest.$ac_objext; then
24123 ac_hi=$ac_mid
24124 else
24125 echo "$as_me: failed program was:" >&5
24126 sed 's/^/| /' conftest.$ac_ext >&5
24127
24128 ac_lo=`expr '(' $ac_mid ')' + 1`
24129 fi
24130
24131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24132 done
24133 case $ac_lo in
24134 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24135 '') if test "$ac_cv_type_long_long" = yes; then
24136 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24137 See \`config.log' for more details." >&5
24138 echo "$as_me: error: cannot compute sizeof (long long)
24139 See \`config.log' for more details." >&2;}
24140 { (exit 77); exit 77; }; }
24141 else
24142 ac_cv_sizeof_long_long=0
24143 fi ;;
24144 esac
24145 else
24146 cat >conftest.$ac_ext <<_ACEOF
24147 /* confdefs.h. */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24152 $ac_includes_default
24153 typedef long long ac__type_sizeof_;
24154 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24155 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24156 #include <stdio.h>
24157 #include <stdlib.h>
24158 int
24159 main ()
24160 {
24161
24162 FILE *f = fopen ("conftest.val", "w");
24163 if (! f)
24164 return 1;
24165 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24166 {
24167 long int i = longval ();
24168 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24169 return 1;
24170 fprintf (f, "%ld\n", i);
24171 }
24172 else
24173 {
24174 unsigned long int i = ulongval ();
24175 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24176 return 1;
24177 fprintf (f, "%lu\n", i);
24178 }
24179 return ferror (f) || fclose (f) != 0;
24180
24181 ;
24182 return 0;
24183 }
24184 _ACEOF
24185 rm -f conftest$ac_exeext
24186 if { (ac_try="$ac_link"
24187 case "(($ac_try" in
24188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24189 *) ac_try_echo=$ac_try;;
24190 esac
24191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24192 (eval "$ac_link") 2>&5
24193 ac_status=$?
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24196 { (case "(($ac_try" in
24197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24198 *) ac_try_echo=$ac_try;;
24199 esac
24200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24201 (eval "$ac_try") 2>&5
24202 ac_status=$?
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); }; }; then
24205 ac_cv_sizeof_long_long=`cat conftest.val`
24206 else
24207 echo "$as_me: program exited with status $ac_status" >&5
24208 echo "$as_me: failed program was:" >&5
24209 sed 's/^/| /' conftest.$ac_ext >&5
24210
24211 ( exit $ac_status )
24212 if test "$ac_cv_type_long_long" = yes; then
24213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24214 See \`config.log' for more details." >&5
24215 echo "$as_me: error: cannot compute sizeof (long long)
24216 See \`config.log' for more details." >&2;}
24217 { (exit 77); exit 77; }; }
24218 else
24219 ac_cv_sizeof_long_long=0
24220 fi
24221 fi
24222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24223 fi
24224 rm -f conftest.val
24225 fi
24226 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24227 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24228
24229
24230
24231 cat >>confdefs.h <<_ACEOF
24232 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24233 _ACEOF
24234
24235
24236 ;;
24237 *-hp-hpux* )
24238 { echo "$as_me:$LINENO: checking for long long" >&5
24239 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24240 if test "${ac_cv_type_long_long+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 else
24243 cat >conftest.$ac_ext <<_ACEOF
24244 /* confdefs.h. */
24245 _ACEOF
24246 cat confdefs.h >>conftest.$ac_ext
24247 cat >>conftest.$ac_ext <<_ACEOF
24248 /* end confdefs.h. */
24249 $ac_includes_default
24250 typedef long long ac__type_new_;
24251 int
24252 main ()
24253 {
24254 if ((ac__type_new_ *) 0)
24255 return 0;
24256 if (sizeof (ac__type_new_))
24257 return 0;
24258 ;
24259 return 0;
24260 }
24261 _ACEOF
24262 rm -f conftest.$ac_objext
24263 if { (ac_try="$ac_compile"
24264 case "(($ac_try" in
24265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24266 *) ac_try_echo=$ac_try;;
24267 esac
24268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24269 (eval "$ac_compile") 2>conftest.er1
24270 ac_status=$?
24271 grep -v '^ *+' conftest.er1 >conftest.err
24272 rm -f conftest.er1
24273 cat conftest.err >&5
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); } && {
24276 test -z "$ac_c_werror_flag" ||
24277 test ! -s conftest.err
24278 } && test -s conftest.$ac_objext; then
24279 ac_cv_type_long_long=yes
24280 else
24281 echo "$as_me: failed program was:" >&5
24282 sed 's/^/| /' conftest.$ac_ext >&5
24283
24284 ac_cv_type_long_long=no
24285 fi
24286
24287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24288 fi
24289 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24290 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24291
24292 # The cast to long int works around a bug in the HP C Compiler
24293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24295 # This bug is HP SR number 8606223364.
24296 { echo "$as_me:$LINENO: checking size of long long" >&5
24297 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24298 if test "${ac_cv_sizeof_long_long+set}" = set; then
24299 echo $ECHO_N "(cached) $ECHO_C" >&6
24300 else
24301 if test "$cross_compiling" = yes; then
24302 # Depending upon the size, compute the lo and hi bounds.
24303 cat >conftest.$ac_ext <<_ACEOF
24304 /* confdefs.h. */
24305 _ACEOF
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24309 $ac_includes_default
24310 typedef long long ac__type_sizeof_;
24311 int
24312 main ()
24313 {
24314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24315 test_array [0] = 0
24316
24317 ;
24318 return 0;
24319 }
24320 _ACEOF
24321 rm -f conftest.$ac_objext
24322 if { (ac_try="$ac_compile"
24323 case "(($ac_try" in
24324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24325 *) ac_try_echo=$ac_try;;
24326 esac
24327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24328 (eval "$ac_compile") 2>conftest.er1
24329 ac_status=$?
24330 grep -v '^ *+' conftest.er1 >conftest.err
24331 rm -f conftest.er1
24332 cat conftest.err >&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } && {
24335 test -z "$ac_c_werror_flag" ||
24336 test ! -s conftest.err
24337 } && test -s conftest.$ac_objext; then
24338 ac_lo=0 ac_mid=0
24339 while :; do
24340 cat >conftest.$ac_ext <<_ACEOF
24341 /* confdefs.h. */
24342 _ACEOF
24343 cat confdefs.h >>conftest.$ac_ext
24344 cat >>conftest.$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24346 $ac_includes_default
24347 typedef long long ac__type_sizeof_;
24348 int
24349 main ()
24350 {
24351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24352 test_array [0] = 0
24353
24354 ;
24355 return 0;
24356 }
24357 _ACEOF
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24362 *) ac_try_echo=$ac_try;;
24363 esac
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24366 ac_status=$?
24367 grep -v '^ *+' conftest.er1 >conftest.err
24368 rm -f conftest.er1
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_c_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.$ac_objext; then
24375 ac_hi=$ac_mid; break
24376 else
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.$ac_ext >&5
24379
24380 ac_lo=`expr $ac_mid + 1`
24381 if test $ac_lo -le $ac_mid; then
24382 ac_lo= ac_hi=
24383 break
24384 fi
24385 ac_mid=`expr 2 '*' $ac_mid + 1`
24386 fi
24387
24388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24389 done
24390 else
24391 echo "$as_me: failed program was:" >&5
24392 sed 's/^/| /' conftest.$ac_ext >&5
24393
24394 cat >conftest.$ac_ext <<_ACEOF
24395 /* confdefs.h. */
24396 _ACEOF
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24400 $ac_includes_default
24401 typedef long long ac__type_sizeof_;
24402 int
24403 main ()
24404 {
24405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24406 test_array [0] = 0
24407
24408 ;
24409 return 0;
24410 }
24411 _ACEOF
24412 rm -f conftest.$ac_objext
24413 if { (ac_try="$ac_compile"
24414 case "(($ac_try" in
24415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24416 *) ac_try_echo=$ac_try;;
24417 esac
24418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24419 (eval "$ac_compile") 2>conftest.er1
24420 ac_status=$?
24421 grep -v '^ *+' conftest.er1 >conftest.err
24422 rm -f conftest.er1
24423 cat conftest.err >&5
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } && {
24426 test -z "$ac_c_werror_flag" ||
24427 test ! -s conftest.err
24428 } && test -s conftest.$ac_objext; then
24429 ac_hi=-1 ac_mid=-1
24430 while :; do
24431 cat >conftest.$ac_ext <<_ACEOF
24432 /* confdefs.h. */
24433 _ACEOF
24434 cat confdefs.h >>conftest.$ac_ext
24435 cat >>conftest.$ac_ext <<_ACEOF
24436 /* end confdefs.h. */
24437 $ac_includes_default
24438 typedef long long ac__type_sizeof_;
24439 int
24440 main ()
24441 {
24442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24443 test_array [0] = 0
24444
24445 ;
24446 return 0;
24447 }
24448 _ACEOF
24449 rm -f conftest.$ac_objext
24450 if { (ac_try="$ac_compile"
24451 case "(($ac_try" in
24452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24453 *) ac_try_echo=$ac_try;;
24454 esac
24455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24456 (eval "$ac_compile") 2>conftest.er1
24457 ac_status=$?
24458 grep -v '^ *+' conftest.er1 >conftest.err
24459 rm -f conftest.er1
24460 cat conftest.err >&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); } && {
24463 test -z "$ac_c_werror_flag" ||
24464 test ! -s conftest.err
24465 } && test -s conftest.$ac_objext; then
24466 ac_lo=$ac_mid; break
24467 else
24468 echo "$as_me: failed program was:" >&5
24469 sed 's/^/| /' conftest.$ac_ext >&5
24470
24471 ac_hi=`expr '(' $ac_mid ')' - 1`
24472 if test $ac_mid -le $ac_hi; then
24473 ac_lo= ac_hi=
24474 break
24475 fi
24476 ac_mid=`expr 2 '*' $ac_mid`
24477 fi
24478
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480 done
24481 else
24482 echo "$as_me: failed program was:" >&5
24483 sed 's/^/| /' conftest.$ac_ext >&5
24484
24485 ac_lo= ac_hi=
24486 fi
24487
24488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24489 fi
24490
24491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492 # Binary search between lo and hi bounds.
24493 while test "x$ac_lo" != "x$ac_hi"; do
24494 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24495 cat >conftest.$ac_ext <<_ACEOF
24496 /* confdefs.h. */
24497 _ACEOF
24498 cat confdefs.h >>conftest.$ac_ext
24499 cat >>conftest.$ac_ext <<_ACEOF
24500 /* end confdefs.h. */
24501 $ac_includes_default
24502 typedef long long ac__type_sizeof_;
24503 int
24504 main ()
24505 {
24506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24507 test_array [0] = 0
24508
24509 ;
24510 return 0;
24511 }
24512 _ACEOF
24513 rm -f conftest.$ac_objext
24514 if { (ac_try="$ac_compile"
24515 case "(($ac_try" in
24516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24517 *) ac_try_echo=$ac_try;;
24518 esac
24519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24520 (eval "$ac_compile") 2>conftest.er1
24521 ac_status=$?
24522 grep -v '^ *+' conftest.er1 >conftest.err
24523 rm -f conftest.er1
24524 cat conftest.err >&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); } && {
24527 test -z "$ac_c_werror_flag" ||
24528 test ! -s conftest.err
24529 } && test -s conftest.$ac_objext; then
24530 ac_hi=$ac_mid
24531 else
24532 echo "$as_me: failed program was:" >&5
24533 sed 's/^/| /' conftest.$ac_ext >&5
24534
24535 ac_lo=`expr '(' $ac_mid ')' + 1`
24536 fi
24537
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 done
24540 case $ac_lo in
24541 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24542 '') if test "$ac_cv_type_long_long" = yes; then
24543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24544 See \`config.log' for more details." >&5
24545 echo "$as_me: error: cannot compute sizeof (long long)
24546 See \`config.log' for more details." >&2;}
24547 { (exit 77); exit 77; }; }
24548 else
24549 ac_cv_sizeof_long_long=0
24550 fi ;;
24551 esac
24552 else
24553 cat >conftest.$ac_ext <<_ACEOF
24554 /* confdefs.h. */
24555 _ACEOF
24556 cat confdefs.h >>conftest.$ac_ext
24557 cat >>conftest.$ac_ext <<_ACEOF
24558 /* end confdefs.h. */
24559 $ac_includes_default
24560 typedef long long ac__type_sizeof_;
24561 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24562 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24563 #include <stdio.h>
24564 #include <stdlib.h>
24565 int
24566 main ()
24567 {
24568
24569 FILE *f = fopen ("conftest.val", "w");
24570 if (! f)
24571 return 1;
24572 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24573 {
24574 long int i = longval ();
24575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24576 return 1;
24577 fprintf (f, "%ld\n", i);
24578 }
24579 else
24580 {
24581 unsigned long int i = ulongval ();
24582 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24583 return 1;
24584 fprintf (f, "%lu\n", i);
24585 }
24586 return ferror (f) || fclose (f) != 0;
24587
24588 ;
24589 return 0;
24590 }
24591 _ACEOF
24592 rm -f conftest$ac_exeext
24593 if { (ac_try="$ac_link"
24594 case "(($ac_try" in
24595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24596 *) ac_try_echo=$ac_try;;
24597 esac
24598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24599 (eval "$ac_link") 2>&5
24600 ac_status=$?
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24603 { (case "(($ac_try" in
24604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24605 *) ac_try_echo=$ac_try;;
24606 esac
24607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24608 (eval "$ac_try") 2>&5
24609 ac_status=$?
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); }; }; then
24612 ac_cv_sizeof_long_long=`cat conftest.val`
24613 else
24614 echo "$as_me: program exited with status $ac_status" >&5
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24617
24618 ( exit $ac_status )
24619 if test "$ac_cv_type_long_long" = yes; then
24620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24621 See \`config.log' for more details." >&5
24622 echo "$as_me: error: cannot compute sizeof (long long)
24623 See \`config.log' for more details." >&2;}
24624 { (exit 77); exit 77; }; }
24625 else
24626 ac_cv_sizeof_long_long=0
24627 fi
24628 fi
24629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24630 fi
24631 rm -f conftest.val
24632 fi
24633 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24634 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24635
24636
24637
24638 cat >>confdefs.h <<_ACEOF
24639 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24640 _ACEOF
24641
24642
24643 if test "$ac_cv_sizeof_long_long" != "0"; then
24644 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24645 fi
24646 ;;
24647 * )
24648 { echo "$as_me:$LINENO: checking for long long" >&5
24649 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24650 if test "${ac_cv_type_long_long+set}" = set; then
24651 echo $ECHO_N "(cached) $ECHO_C" >&6
24652 else
24653 cat >conftest.$ac_ext <<_ACEOF
24654 /* confdefs.h. */
24655 _ACEOF
24656 cat confdefs.h >>conftest.$ac_ext
24657 cat >>conftest.$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24659 $ac_includes_default
24660 typedef long long ac__type_new_;
24661 int
24662 main ()
24663 {
24664 if ((ac__type_new_ *) 0)
24665 return 0;
24666 if (sizeof (ac__type_new_))
24667 return 0;
24668 ;
24669 return 0;
24670 }
24671 _ACEOF
24672 rm -f conftest.$ac_objext
24673 if { (ac_try="$ac_compile"
24674 case "(($ac_try" in
24675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24677 esac
24678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_compile") 2>conftest.er1
24680 ac_status=$?
24681 grep -v '^ *+' conftest.er1 >conftest.err
24682 rm -f conftest.er1
24683 cat conftest.err >&5
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); } && {
24686 test -z "$ac_c_werror_flag" ||
24687 test ! -s conftest.err
24688 } && test -s conftest.$ac_objext; then
24689 ac_cv_type_long_long=yes
24690 else
24691 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.$ac_ext >&5
24693
24694 ac_cv_type_long_long=no
24695 fi
24696
24697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24698 fi
24699 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24700 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24701
24702 # The cast to long int works around a bug in the HP C Compiler
24703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24705 # This bug is HP SR number 8606223364.
24706 { echo "$as_me:$LINENO: checking size of long long" >&5
24707 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24708 if test "${ac_cv_sizeof_long_long+set}" = set; then
24709 echo $ECHO_N "(cached) $ECHO_C" >&6
24710 else
24711 if test "$cross_compiling" = yes; then
24712 # Depending upon the size, compute the lo and hi bounds.
24713 cat >conftest.$ac_ext <<_ACEOF
24714 /* confdefs.h. */
24715 _ACEOF
24716 cat confdefs.h >>conftest.$ac_ext
24717 cat >>conftest.$ac_ext <<_ACEOF
24718 /* end confdefs.h. */
24719 $ac_includes_default
24720 typedef long long ac__type_sizeof_;
24721 int
24722 main ()
24723 {
24724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24725 test_array [0] = 0
24726
24727 ;
24728 return 0;
24729 }
24730 _ACEOF
24731 rm -f conftest.$ac_objext
24732 if { (ac_try="$ac_compile"
24733 case "(($ac_try" in
24734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24735 *) ac_try_echo=$ac_try;;
24736 esac
24737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24738 (eval "$ac_compile") 2>conftest.er1
24739 ac_status=$?
24740 grep -v '^ *+' conftest.er1 >conftest.err
24741 rm -f conftest.er1
24742 cat conftest.err >&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } && {
24745 test -z "$ac_c_werror_flag" ||
24746 test ! -s conftest.err
24747 } && test -s conftest.$ac_objext; then
24748 ac_lo=0 ac_mid=0
24749 while :; do
24750 cat >conftest.$ac_ext <<_ACEOF
24751 /* confdefs.h. */
24752 _ACEOF
24753 cat confdefs.h >>conftest.$ac_ext
24754 cat >>conftest.$ac_ext <<_ACEOF
24755 /* end confdefs.h. */
24756 $ac_includes_default
24757 typedef long long ac__type_sizeof_;
24758 int
24759 main ()
24760 {
24761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24762 test_array [0] = 0
24763
24764 ;
24765 return 0;
24766 }
24767 _ACEOF
24768 rm -f conftest.$ac_objext
24769 if { (ac_try="$ac_compile"
24770 case "(($ac_try" in
24771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24772 *) ac_try_echo=$ac_try;;
24773 esac
24774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24775 (eval "$ac_compile") 2>conftest.er1
24776 ac_status=$?
24777 grep -v '^ *+' conftest.er1 >conftest.err
24778 rm -f conftest.er1
24779 cat conftest.err >&5
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); } && {
24782 test -z "$ac_c_werror_flag" ||
24783 test ! -s conftest.err
24784 } && test -s conftest.$ac_objext; then
24785 ac_hi=$ac_mid; break
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790 ac_lo=`expr $ac_mid + 1`
24791 if test $ac_lo -le $ac_mid; then
24792 ac_lo= ac_hi=
24793 break
24794 fi
24795 ac_mid=`expr 2 '*' $ac_mid + 1`
24796 fi
24797
24798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24799 done
24800 else
24801 echo "$as_me: failed program was:" >&5
24802 sed 's/^/| /' conftest.$ac_ext >&5
24803
24804 cat >conftest.$ac_ext <<_ACEOF
24805 /* confdefs.h. */
24806 _ACEOF
24807 cat confdefs.h >>conftest.$ac_ext
24808 cat >>conftest.$ac_ext <<_ACEOF
24809 /* end confdefs.h. */
24810 $ac_includes_default
24811 typedef long long ac__type_sizeof_;
24812 int
24813 main ()
24814 {
24815 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24816 test_array [0] = 0
24817
24818 ;
24819 return 0;
24820 }
24821 _ACEOF
24822 rm -f conftest.$ac_objext
24823 if { (ac_try="$ac_compile"
24824 case "(($ac_try" in
24825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24826 *) ac_try_echo=$ac_try;;
24827 esac
24828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24829 (eval "$ac_compile") 2>conftest.er1
24830 ac_status=$?
24831 grep -v '^ *+' conftest.er1 >conftest.err
24832 rm -f conftest.er1
24833 cat conftest.err >&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && {
24836 test -z "$ac_c_werror_flag" ||
24837 test ! -s conftest.err
24838 } && test -s conftest.$ac_objext; then
24839 ac_hi=-1 ac_mid=-1
24840 while :; do
24841 cat >conftest.$ac_ext <<_ACEOF
24842 /* confdefs.h. */
24843 _ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847 $ac_includes_default
24848 typedef long long ac__type_sizeof_;
24849 int
24850 main ()
24851 {
24852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24853 test_array [0] = 0
24854
24855 ;
24856 return 0;
24857 }
24858 _ACEOF
24859 rm -f conftest.$ac_objext
24860 if { (ac_try="$ac_compile"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24864 esac
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_compile") 2>conftest.er1
24867 ac_status=$?
24868 grep -v '^ *+' conftest.er1 >conftest.err
24869 rm -f conftest.er1
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_c_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest.$ac_objext; then
24876 ac_lo=$ac_mid; break
24877 else
24878 echo "$as_me: failed program was:" >&5
24879 sed 's/^/| /' conftest.$ac_ext >&5
24880
24881 ac_hi=`expr '(' $ac_mid ')' - 1`
24882 if test $ac_mid -le $ac_hi; then
24883 ac_lo= ac_hi=
24884 break
24885 fi
24886 ac_mid=`expr 2 '*' $ac_mid`
24887 fi
24888
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 done
24891 else
24892 echo "$as_me: failed program was:" >&5
24893 sed 's/^/| /' conftest.$ac_ext >&5
24894
24895 ac_lo= ac_hi=
24896 fi
24897
24898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24899 fi
24900
24901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24902 # Binary search between lo and hi bounds.
24903 while test "x$ac_lo" != "x$ac_hi"; do
24904 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24905 cat >conftest.$ac_ext <<_ACEOF
24906 /* confdefs.h. */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911 $ac_includes_default
24912 typedef long long ac__type_sizeof_;
24913 int
24914 main ()
24915 {
24916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24917 test_array [0] = 0
24918
24919 ;
24920 return 0;
24921 }
24922 _ACEOF
24923 rm -f conftest.$ac_objext
24924 if { (ac_try="$ac_compile"
24925 case "(($ac_try" in
24926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24927 *) ac_try_echo=$ac_try;;
24928 esac
24929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24930 (eval "$ac_compile") 2>conftest.er1
24931 ac_status=$?
24932 grep -v '^ *+' conftest.er1 >conftest.err
24933 rm -f conftest.er1
24934 cat conftest.err >&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); } && {
24937 test -z "$ac_c_werror_flag" ||
24938 test ! -s conftest.err
24939 } && test -s conftest.$ac_objext; then
24940 ac_hi=$ac_mid
24941 else
24942 echo "$as_me: failed program was:" >&5
24943 sed 's/^/| /' conftest.$ac_ext >&5
24944
24945 ac_lo=`expr '(' $ac_mid ')' + 1`
24946 fi
24947
24948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24949 done
24950 case $ac_lo in
24951 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24952 '') if test "$ac_cv_type_long_long" = yes; then
24953 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24954 See \`config.log' for more details." >&5
24955 echo "$as_me: error: cannot compute sizeof (long long)
24956 See \`config.log' for more details." >&2;}
24957 { (exit 77); exit 77; }; }
24958 else
24959 ac_cv_sizeof_long_long=0
24960 fi ;;
24961 esac
24962 else
24963 cat >conftest.$ac_ext <<_ACEOF
24964 /* confdefs.h. */
24965 _ACEOF
24966 cat confdefs.h >>conftest.$ac_ext
24967 cat >>conftest.$ac_ext <<_ACEOF
24968 /* end confdefs.h. */
24969 $ac_includes_default
24970 typedef long long ac__type_sizeof_;
24971 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24972 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24973 #include <stdio.h>
24974 #include <stdlib.h>
24975 int
24976 main ()
24977 {
24978
24979 FILE *f = fopen ("conftest.val", "w");
24980 if (! f)
24981 return 1;
24982 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24983 {
24984 long int i = longval ();
24985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24986 return 1;
24987 fprintf (f, "%ld\n", i);
24988 }
24989 else
24990 {
24991 unsigned long int i = ulongval ();
24992 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24993 return 1;
24994 fprintf (f, "%lu\n", i);
24995 }
24996 return ferror (f) || fclose (f) != 0;
24997
24998 ;
24999 return 0;
25000 }
25001 _ACEOF
25002 rm -f conftest$ac_exeext
25003 if { (ac_try="$ac_link"
25004 case "(($ac_try" in
25005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25006 *) ac_try_echo=$ac_try;;
25007 esac
25008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25009 (eval "$ac_link") 2>&5
25010 ac_status=$?
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25013 { (case "(($ac_try" in
25014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25015 *) ac_try_echo=$ac_try;;
25016 esac
25017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25018 (eval "$ac_try") 2>&5
25019 ac_status=$?
25020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25021 (exit $ac_status); }; }; then
25022 ac_cv_sizeof_long_long=`cat conftest.val`
25023 else
25024 echo "$as_me: program exited with status $ac_status" >&5
25025 echo "$as_me: failed program was:" >&5
25026 sed 's/^/| /' conftest.$ac_ext >&5
25027
25028 ( exit $ac_status )
25029 if test "$ac_cv_type_long_long" = yes; then
25030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25031 See \`config.log' for more details." >&5
25032 echo "$as_me: error: cannot compute sizeof (long long)
25033 See \`config.log' for more details." >&2;}
25034 { (exit 77); exit 77; }; }
25035 else
25036 ac_cv_sizeof_long_long=0
25037 fi
25038 fi
25039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25040 fi
25041 rm -f conftest.val
25042 fi
25043 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25044 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25045
25046
25047
25048 cat >>confdefs.h <<_ACEOF
25049 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25050 _ACEOF
25051
25052
25053 esac
25054
25055 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25056 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25057 if test "${ac_cv_type_wchar_t+set}" = set; then
25058 echo $ECHO_N "(cached) $ECHO_C" >&6
25059 else
25060 cat >conftest.$ac_ext <<_ACEOF
25061 /* confdefs.h. */
25062 _ACEOF
25063 cat confdefs.h >>conftest.$ac_ext
25064 cat >>conftest.$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25066
25067 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25068 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25069 # error "fake wchar_t"
25070 #endif
25071 #ifdef HAVE_WCHAR_H
25072 # ifdef __CYGWIN__
25073 # include <stddef.h>
25074 # endif
25075 # include <wchar.h>
25076 #endif
25077 #ifdef HAVE_STDLIB_H
25078 # include <stdlib.h>
25079 #endif
25080 #include <stdio.h>
25081
25082
25083
25084 typedef wchar_t ac__type_new_;
25085 int
25086 main ()
25087 {
25088 if ((ac__type_new_ *) 0)
25089 return 0;
25090 if (sizeof (ac__type_new_))
25091 return 0;
25092 ;
25093 return 0;
25094 }
25095 _ACEOF
25096 rm -f conftest.$ac_objext
25097 if { (ac_try="$ac_compile"
25098 case "(($ac_try" in
25099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25100 *) ac_try_echo=$ac_try;;
25101 esac
25102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25103 (eval "$ac_compile") 2>conftest.er1
25104 ac_status=$?
25105 grep -v '^ *+' conftest.er1 >conftest.err
25106 rm -f conftest.er1
25107 cat conftest.err >&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); } && {
25110 test -z "$ac_c_werror_flag" ||
25111 test ! -s conftest.err
25112 } && test -s conftest.$ac_objext; then
25113 ac_cv_type_wchar_t=yes
25114 else
25115 echo "$as_me: failed program was:" >&5
25116 sed 's/^/| /' conftest.$ac_ext >&5
25117
25118 ac_cv_type_wchar_t=no
25119 fi
25120
25121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25122 fi
25123 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25124 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25125
25126 # The cast to long int works around a bug in the HP C Compiler
25127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25129 # This bug is HP SR number 8606223364.
25130 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25131 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25132 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25134 else
25135 if test "$cross_compiling" = yes; then
25136 # Depending upon the size, compute the lo and hi bounds.
25137 cat >conftest.$ac_ext <<_ACEOF
25138 /* confdefs.h. */
25139 _ACEOF
25140 cat confdefs.h >>conftest.$ac_ext
25141 cat >>conftest.$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25143
25144 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25145 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25146 # error "fake wchar_t"
25147 #endif
25148 #ifdef HAVE_WCHAR_H
25149 # ifdef __CYGWIN__
25150 # include <stddef.h>
25151 # endif
25152 # include <wchar.h>
25153 #endif
25154 #ifdef HAVE_STDLIB_H
25155 # include <stdlib.h>
25156 #endif
25157 #include <stdio.h>
25158
25159
25160
25161 typedef wchar_t ac__type_sizeof_;
25162 int
25163 main ()
25164 {
25165 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25166 test_array [0] = 0
25167
25168 ;
25169 return 0;
25170 }
25171 _ACEOF
25172 rm -f conftest.$ac_objext
25173 if { (ac_try="$ac_compile"
25174 case "(($ac_try" in
25175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25176 *) ac_try_echo=$ac_try;;
25177 esac
25178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25179 (eval "$ac_compile") 2>conftest.er1
25180 ac_status=$?
25181 grep -v '^ *+' conftest.er1 >conftest.err
25182 rm -f conftest.er1
25183 cat conftest.err >&5
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); } && {
25186 test -z "$ac_c_werror_flag" ||
25187 test ! -s conftest.err
25188 } && test -s conftest.$ac_objext; then
25189 ac_lo=0 ac_mid=0
25190 while :; do
25191 cat >conftest.$ac_ext <<_ACEOF
25192 /* confdefs.h. */
25193 _ACEOF
25194 cat confdefs.h >>conftest.$ac_ext
25195 cat >>conftest.$ac_ext <<_ACEOF
25196 /* end confdefs.h. */
25197
25198 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25199 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25200 # error "fake wchar_t"
25201 #endif
25202 #ifdef HAVE_WCHAR_H
25203 # ifdef __CYGWIN__
25204 # include <stddef.h>
25205 # endif
25206 # include <wchar.h>
25207 #endif
25208 #ifdef HAVE_STDLIB_H
25209 # include <stdlib.h>
25210 #endif
25211 #include <stdio.h>
25212
25213
25214
25215 typedef wchar_t ac__type_sizeof_;
25216 int
25217 main ()
25218 {
25219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25220 test_array [0] = 0
25221
25222 ;
25223 return 0;
25224 }
25225 _ACEOF
25226 rm -f conftest.$ac_objext
25227 if { (ac_try="$ac_compile"
25228 case "(($ac_try" in
25229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25230 *) ac_try_echo=$ac_try;;
25231 esac
25232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25233 (eval "$ac_compile") 2>conftest.er1
25234 ac_status=$?
25235 grep -v '^ *+' conftest.er1 >conftest.err
25236 rm -f conftest.er1
25237 cat conftest.err >&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); } && {
25240 test -z "$ac_c_werror_flag" ||
25241 test ! -s conftest.err
25242 } && test -s conftest.$ac_objext; then
25243 ac_hi=$ac_mid; break
25244 else
25245 echo "$as_me: failed program was:" >&5
25246 sed 's/^/| /' conftest.$ac_ext >&5
25247
25248 ac_lo=`expr $ac_mid + 1`
25249 if test $ac_lo -le $ac_mid; then
25250 ac_lo= ac_hi=
25251 break
25252 fi
25253 ac_mid=`expr 2 '*' $ac_mid + 1`
25254 fi
25255
25256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257 done
25258 else
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.$ac_ext >&5
25261
25262 cat >conftest.$ac_ext <<_ACEOF
25263 /* confdefs.h. */
25264 _ACEOF
25265 cat confdefs.h >>conftest.$ac_ext
25266 cat >>conftest.$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25268
25269 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25270 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25271 # error "fake wchar_t"
25272 #endif
25273 #ifdef HAVE_WCHAR_H
25274 # ifdef __CYGWIN__
25275 # include <stddef.h>
25276 # endif
25277 # include <wchar.h>
25278 #endif
25279 #ifdef HAVE_STDLIB_H
25280 # include <stdlib.h>
25281 #endif
25282 #include <stdio.h>
25283
25284
25285
25286 typedef wchar_t ac__type_sizeof_;
25287 int
25288 main ()
25289 {
25290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25291 test_array [0] = 0
25292
25293 ;
25294 return 0;
25295 }
25296 _ACEOF
25297 rm -f conftest.$ac_objext
25298 if { (ac_try="$ac_compile"
25299 case "(($ac_try" in
25300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25301 *) ac_try_echo=$ac_try;;
25302 esac
25303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25304 (eval "$ac_compile") 2>conftest.er1
25305 ac_status=$?
25306 grep -v '^ *+' conftest.er1 >conftest.err
25307 rm -f conftest.er1
25308 cat conftest.err >&5
25309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310 (exit $ac_status); } && {
25311 test -z "$ac_c_werror_flag" ||
25312 test ! -s conftest.err
25313 } && test -s conftest.$ac_objext; then
25314 ac_hi=-1 ac_mid=-1
25315 while :; do
25316 cat >conftest.$ac_ext <<_ACEOF
25317 /* confdefs.h. */
25318 _ACEOF
25319 cat confdefs.h >>conftest.$ac_ext
25320 cat >>conftest.$ac_ext <<_ACEOF
25321 /* end confdefs.h. */
25322
25323 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25324 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25325 # error "fake wchar_t"
25326 #endif
25327 #ifdef HAVE_WCHAR_H
25328 # ifdef __CYGWIN__
25329 # include <stddef.h>
25330 # endif
25331 # include <wchar.h>
25332 #endif
25333 #ifdef HAVE_STDLIB_H
25334 # include <stdlib.h>
25335 #endif
25336 #include <stdio.h>
25337
25338
25339
25340 typedef wchar_t ac__type_sizeof_;
25341 int
25342 main ()
25343 {
25344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25345 test_array [0] = 0
25346
25347 ;
25348 return 0;
25349 }
25350 _ACEOF
25351 rm -f conftest.$ac_objext
25352 if { (ac_try="$ac_compile"
25353 case "(($ac_try" in
25354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25355 *) ac_try_echo=$ac_try;;
25356 esac
25357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25358 (eval "$ac_compile") 2>conftest.er1
25359 ac_status=$?
25360 grep -v '^ *+' conftest.er1 >conftest.err
25361 rm -f conftest.er1
25362 cat conftest.err >&5
25363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25364 (exit $ac_status); } && {
25365 test -z "$ac_c_werror_flag" ||
25366 test ! -s conftest.err
25367 } && test -s conftest.$ac_objext; then
25368 ac_lo=$ac_mid; break
25369 else
25370 echo "$as_me: failed program was:" >&5
25371 sed 's/^/| /' conftest.$ac_ext >&5
25372
25373 ac_hi=`expr '(' $ac_mid ')' - 1`
25374 if test $ac_mid -le $ac_hi; then
25375 ac_lo= ac_hi=
25376 break
25377 fi
25378 ac_mid=`expr 2 '*' $ac_mid`
25379 fi
25380
25381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25382 done
25383 else
25384 echo "$as_me: failed program was:" >&5
25385 sed 's/^/| /' conftest.$ac_ext >&5
25386
25387 ac_lo= ac_hi=
25388 fi
25389
25390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25391 fi
25392
25393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25394 # Binary search between lo and hi bounds.
25395 while test "x$ac_lo" != "x$ac_hi"; do
25396 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25397 cat >conftest.$ac_ext <<_ACEOF
25398 /* confdefs.h. */
25399 _ACEOF
25400 cat confdefs.h >>conftest.$ac_ext
25401 cat >>conftest.$ac_ext <<_ACEOF
25402 /* end confdefs.h. */
25403
25404 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25405 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25406 # error "fake wchar_t"
25407 #endif
25408 #ifdef HAVE_WCHAR_H
25409 # ifdef __CYGWIN__
25410 # include <stddef.h>
25411 # endif
25412 # include <wchar.h>
25413 #endif
25414 #ifdef HAVE_STDLIB_H
25415 # include <stdlib.h>
25416 #endif
25417 #include <stdio.h>
25418
25419
25420
25421 typedef wchar_t ac__type_sizeof_;
25422 int
25423 main ()
25424 {
25425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25426 test_array [0] = 0
25427
25428 ;
25429 return 0;
25430 }
25431 _ACEOF
25432 rm -f conftest.$ac_objext
25433 if { (ac_try="$ac_compile"
25434 case "(($ac_try" in
25435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25436 *) ac_try_echo=$ac_try;;
25437 esac
25438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25439 (eval "$ac_compile") 2>conftest.er1
25440 ac_status=$?
25441 grep -v '^ *+' conftest.er1 >conftest.err
25442 rm -f conftest.er1
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_c_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest.$ac_objext; then
25449 ac_hi=$ac_mid
25450 else
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25453
25454 ac_lo=`expr '(' $ac_mid ')' + 1`
25455 fi
25456
25457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25458 done
25459 case $ac_lo in
25460 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25461 '') if test "$ac_cv_type_wchar_t" = yes; then
25462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25463 See \`config.log' for more details." >&5
25464 echo "$as_me: error: cannot compute sizeof (wchar_t)
25465 See \`config.log' for more details." >&2;}
25466 { (exit 77); exit 77; }; }
25467 else
25468 ac_cv_sizeof_wchar_t=0
25469 fi ;;
25470 esac
25471 else
25472 cat >conftest.$ac_ext <<_ACEOF
25473 /* confdefs.h. */
25474 _ACEOF
25475 cat confdefs.h >>conftest.$ac_ext
25476 cat >>conftest.$ac_ext <<_ACEOF
25477 /* end confdefs.h. */
25478
25479 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25480 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25481 # error "fake wchar_t"
25482 #endif
25483 #ifdef HAVE_WCHAR_H
25484 # ifdef __CYGWIN__
25485 # include <stddef.h>
25486 # endif
25487 # include <wchar.h>
25488 #endif
25489 #ifdef HAVE_STDLIB_H
25490 # include <stdlib.h>
25491 #endif
25492 #include <stdio.h>
25493
25494
25495
25496 typedef wchar_t ac__type_sizeof_;
25497 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25498 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25499 #include <stdio.h>
25500 #include <stdlib.h>
25501 int
25502 main ()
25503 {
25504
25505 FILE *f = fopen ("conftest.val", "w");
25506 if (! f)
25507 return 1;
25508 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25509 {
25510 long int i = longval ();
25511 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25512 return 1;
25513 fprintf (f, "%ld\n", i);
25514 }
25515 else
25516 {
25517 unsigned long int i = ulongval ();
25518 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25519 return 1;
25520 fprintf (f, "%lu\n", i);
25521 }
25522 return ferror (f) || fclose (f) != 0;
25523
25524 ;
25525 return 0;
25526 }
25527 _ACEOF
25528 rm -f conftest$ac_exeext
25529 if { (ac_try="$ac_link"
25530 case "(($ac_try" in
25531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25532 *) ac_try_echo=$ac_try;;
25533 esac
25534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25535 (eval "$ac_link") 2>&5
25536 ac_status=$?
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25539 { (case "(($ac_try" in
25540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25541 *) ac_try_echo=$ac_try;;
25542 esac
25543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25544 (eval "$ac_try") 2>&5
25545 ac_status=$?
25546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547 (exit $ac_status); }; }; then
25548 ac_cv_sizeof_wchar_t=`cat conftest.val`
25549 else
25550 echo "$as_me: program exited with status $ac_status" >&5
25551 echo "$as_me: failed program was:" >&5
25552 sed 's/^/| /' conftest.$ac_ext >&5
25553
25554 ( exit $ac_status )
25555 if test "$ac_cv_type_wchar_t" = yes; then
25556 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25557 See \`config.log' for more details." >&5
25558 echo "$as_me: error: cannot compute sizeof (wchar_t)
25559 See \`config.log' for more details." >&2;}
25560 { (exit 77); exit 77; }; }
25561 else
25562 ac_cv_sizeof_wchar_t=0
25563 fi
25564 fi
25565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25566 fi
25567 rm -f conftest.val
25568 fi
25569 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25570 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25571
25572
25573
25574 cat >>confdefs.h <<_ACEOF
25575 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25576 _ACEOF
25577
25578
25579 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25580 wxUSE_WCHAR_T=yes
25581 else
25582 wxUSE_WCHAR_T=no
25583 fi
25584
25585 { echo "$as_me:$LINENO: checking for va_copy" >&5
25586 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25587 if test "${wx_cv_func_va_copy+set}" = set; then
25588 echo $ECHO_N "(cached) $ECHO_C" >&6
25589 else
25590
25591 ac_ext=cpp
25592 ac_cpp='$CXXCPP $CPPFLAGS'
25593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25596
25597 cat >conftest.$ac_ext <<_ACEOF
25598
25599 #include <stdarg.h>
25600 void foo(char *f, ...)
25601 {
25602 va_list ap1, ap2;
25603 va_start(ap1, f);
25604 va_copy(ap2, ap1);
25605 va_end(ap2);
25606 va_end(ap1);
25607 }
25608 int main()
25609 {
25610 foo("hi", 17);
25611 return 0;
25612 }
25613 _ACEOF
25614 rm -f conftest.$ac_objext conftest$ac_exeext
25615 if { (ac_try="$ac_link"
25616 case "(($ac_try" in
25617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25618 *) ac_try_echo=$ac_try;;
25619 esac
25620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25621 (eval "$ac_link") 2>conftest.er1
25622 ac_status=$?
25623 grep -v '^ *+' conftest.er1 >conftest.err
25624 rm -f conftest.er1
25625 cat conftest.err >&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); } && {
25628 test -z "$ac_cxx_werror_flag" ||
25629 test ! -s conftest.err
25630 } && test -s conftest$ac_exeext &&
25631 $as_test_x conftest$ac_exeext; then
25632 wx_cv_func_va_copy=yes
25633 else
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.$ac_ext >&5
25636
25637 wx_cv_func_va_copy=no
25638
25639 fi
25640
25641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25642 conftest$ac_exeext conftest.$ac_ext
25643 ac_ext=c
25644 ac_cpp='$CPP $CPPFLAGS'
25645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25648
25649
25650
25651 fi
25652 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25653 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25654
25655 if test $wx_cv_func_va_copy = "yes"; then
25656 cat >>confdefs.h <<\_ACEOF
25657 #define HAVE_VA_COPY 1
25658 _ACEOF
25659
25660 else
25661 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25662 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25663 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25664 echo $ECHO_N "(cached) $ECHO_C" >&6
25665 else
25666
25667 if test "$cross_compiling" = yes; then
25668 wx_cv_type_va_list_lvalue=yes
25669
25670 else
25671 cat >conftest.$ac_ext <<_ACEOF
25672
25673 #include <stdarg.h>
25674 int foo(char *f, ...)
25675 {
25676 va_list ap1, ap2;
25677 va_start(ap1, f);
25678 ap2 = ap1;
25679 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25680 return 1;
25681 va_end(ap2);
25682 va_end(ap1);
25683 return 0;
25684 }
25685 int main()
25686 {
25687 return foo("hi", 17);
25688 }
25689 _ACEOF
25690 rm -f conftest$ac_exeext
25691 if { (ac_try="$ac_link"
25692 case "(($ac_try" in
25693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25694 *) ac_try_echo=$ac_try;;
25695 esac
25696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25697 (eval "$ac_link") 2>&5
25698 ac_status=$?
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25701 { (case "(($ac_try" in
25702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25704 esac
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_try") 2>&5
25707 ac_status=$?
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; }; then
25710 wx_cv_type_va_list_lvalue=yes
25711 else
25712 echo "$as_me: program exited with status $ac_status" >&5
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25715
25716 ( exit $ac_status )
25717 wx_cv_type_va_list_lvalue=no
25718 fi
25719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25720 fi
25721
25722
25723
25724
25725 fi
25726 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25727 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25728
25729 if test $wx_cv_type_va_list_lvalue != "yes"; then
25730 cat >>confdefs.h <<\_ACEOF
25731 #define VA_LIST_IS_ARRAY 1
25732 _ACEOF
25733
25734 fi
25735 fi
25736
25737 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25738
25739 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25740 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25741 if test "${wx_cv_have_variadic_macros+set}" = set; then
25742 echo $ECHO_N "(cached) $ECHO_C" >&6
25743 else
25744
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25750
25751 cat >conftest.$ac_ext <<_ACEOF
25752 /* confdefs.h. */
25753 _ACEOF
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25757
25758 #include <stdio.h>
25759 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25760
25761 int
25762 main ()
25763 {
25764
25765 test("%s %d %p", "test", 1, 0);
25766
25767
25768 ;
25769 return 0;
25770 }
25771 _ACEOF
25772 rm -f conftest.$ac_objext
25773 if { (ac_try="$ac_compile"
25774 case "(($ac_try" in
25775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25776 *) ac_try_echo=$ac_try;;
25777 esac
25778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25779 (eval "$ac_compile") 2>conftest.er1
25780 ac_status=$?
25781 grep -v '^ *+' conftest.er1 >conftest.err
25782 rm -f conftest.er1
25783 cat conftest.err >&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } && {
25786 test -z "$ac_cxx_werror_flag" ||
25787 test ! -s conftest.err
25788 } && test -s conftest.$ac_objext; then
25789 wx_cv_have_variadic_macros=yes
25790 else
25791 echo "$as_me: failed program was:" >&5
25792 sed 's/^/| /' conftest.$ac_ext >&5
25793
25794 wx_cv_have_variadic_macros=no
25795
25796 fi
25797
25798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25799 ac_ext=c
25800 ac_cpp='$CPP $CPPFLAGS'
25801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25804
25805
25806
25807 fi
25808 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25809 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25810
25811 if test $wx_cv_have_variadic_macros = "yes"; then
25812 cat >>confdefs.h <<\_ACEOF
25813 #define HAVE_VARIADIC_MACROS 1
25814 _ACEOF
25815
25816 fi
25817
25818 fi
25819 # Check whether --enable-largefile was given.
25820 if test "${enable_largefile+set}" = set; then
25821 enableval=$enable_largefile;
25822 fi
25823
25824 if test "$enable_largefile" != no; then
25825 wx_largefile=no
25826
25827 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25828 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25829 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25830 echo $ECHO_N "(cached) $ECHO_C" >&6
25831 else
25832
25833 cat >conftest.$ac_ext <<_ACEOF
25834 /* confdefs.h. */
25835 _ACEOF
25836 cat confdefs.h >>conftest.$ac_ext
25837 cat >>conftest.$ac_ext <<_ACEOF
25838 /* end confdefs.h. */
25839 #define _FILE_OFFSET_BITS 64
25840 #include <sys/types.h>
25841 int
25842 main ()
25843 {
25844 typedef struct {
25845 unsigned int field: sizeof(off_t) == 8;
25846 } wxlf;
25847
25848 ;
25849 return 0;
25850 }
25851 _ACEOF
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25857 esac
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25860 ac_status=$?
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_c_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 ac_cv_sys_file_offset_bits=64
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25873
25874 ac_cv_sys_file_offset_bits=no
25875 fi
25876
25877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25878
25879
25880 fi
25881 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25882 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25883
25884 if test "$ac_cv_sys_file_offset_bits" != no; then
25885 wx_largefile=yes
25886 cat >>confdefs.h <<_ACEOF
25887 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25888 _ACEOF
25889
25890 fi
25891
25892 if test "x$wx_largefile" != "xyes"; then
25893
25894 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25895 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25896 if test "${ac_cv_sys_large_files+set}" = set; then
25897 echo $ECHO_N "(cached) $ECHO_C" >&6
25898 else
25899
25900 cat >conftest.$ac_ext <<_ACEOF
25901 /* confdefs.h. */
25902 _ACEOF
25903 cat confdefs.h >>conftest.$ac_ext
25904 cat >>conftest.$ac_ext <<_ACEOF
25905 /* end confdefs.h. */
25906 #define _LARGE_FILES 1
25907 #include <sys/types.h>
25908 int
25909 main ()
25910 {
25911 typedef struct {
25912 unsigned int field: sizeof(off_t) == 8;
25913 } wxlf;
25914
25915 ;
25916 return 0;
25917 }
25918 _ACEOF
25919 rm -f conftest.$ac_objext
25920 if { (ac_try="$ac_compile"
25921 case "(($ac_try" in
25922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25923 *) ac_try_echo=$ac_try;;
25924 esac
25925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25926 (eval "$ac_compile") 2>conftest.er1
25927 ac_status=$?
25928 grep -v '^ *+' conftest.er1 >conftest.err
25929 rm -f conftest.er1
25930 cat conftest.err >&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } && {
25933 test -z "$ac_c_werror_flag" ||
25934 test ! -s conftest.err
25935 } && test -s conftest.$ac_objext; then
25936 ac_cv_sys_large_files=1
25937 else
25938 echo "$as_me: failed program was:" >&5
25939 sed 's/^/| /' conftest.$ac_ext >&5
25940
25941 ac_cv_sys_large_files=no
25942 fi
25943
25944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25945
25946
25947 fi
25948 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25949 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25950
25951 if test "$ac_cv_sys_large_files" != no; then
25952 wx_largefile=yes
25953 cat >>confdefs.h <<_ACEOF
25954 #define _LARGE_FILES $ac_cv_sys_large_files
25955 _ACEOF
25956
25957 fi
25958
25959 fi
25960
25961 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25962 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25963 if test "x$wx_largefile" = "xyes"; then
25964 cat >>confdefs.h <<\_ACEOF
25965 #define HAVE_LARGEFILE_SUPPORT 1
25966 _ACEOF
25967
25968 fi
25969 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25970 echo "${ECHO_T}$wx_largefile" >&6; }
25971 fi
25972
25973
25974 if test "x$wx_largefile" = "xyes"; then
25975 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25976 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25977
25978 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25979 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25980 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25981 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25982 echo $ECHO_N "(cached) $ECHO_C" >&6
25983 else
25984
25985 ac_ext=cpp
25986 ac_cpp='$CXXCPP $CPPFLAGS'
25987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25990
25991 cat >conftest.$ac_ext <<_ACEOF
25992 /* confdefs.h. */
25993 _ACEOF
25994 cat confdefs.h >>conftest.$ac_ext
25995 cat >>conftest.$ac_ext <<_ACEOF
25996 /* end confdefs.h. */
25997
25998 int
25999 main ()
26000 {
26001
26002 #ifndef __STDC_EXT__
26003 choke me
26004 #endif
26005
26006 ;
26007 return 0;
26008 }
26009 _ACEOF
26010 rm -f conftest.$ac_objext
26011 if { (ac_try="$ac_compile"
26012 case "(($ac_try" in
26013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26014 *) ac_try_echo=$ac_try;;
26015 esac
26016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26017 (eval "$ac_compile") 2>conftest.er1
26018 ac_status=$?
26019 grep -v '^ *+' conftest.er1 >conftest.err
26020 rm -f conftest.er1
26021 cat conftest.err >&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } && {
26024 test -z "$ac_cxx_werror_flag" ||
26025 test ! -s conftest.err
26026 } && test -s conftest.$ac_objext; then
26027 wx_cv_STDC_EXT_required=no
26028 else
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032 wx_cv_STDC_EXT_required=yes
26033
26034 fi
26035
26036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26037 ac_ext=c
26038 ac_cpp='$CPP $CPPFLAGS'
26039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26042
26043
26044
26045 fi
26046 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26047 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26048 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26049 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26050 fi
26051 fi
26052 else
26053 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26054 fi
26055 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26056 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26057 if test "${ac_cv_sys_largefile_source+set}" = set; then
26058 echo $ECHO_N "(cached) $ECHO_C" >&6
26059 else
26060 while :; do
26061 cat >conftest.$ac_ext <<_ACEOF
26062 /* confdefs.h. */
26063 _ACEOF
26064 cat confdefs.h >>conftest.$ac_ext
26065 cat >>conftest.$ac_ext <<_ACEOF
26066 /* end confdefs.h. */
26067 #include <sys/types.h> /* for off_t */
26068 #include <stdio.h>
26069 int
26070 main ()
26071 {
26072 int (*fp) (FILE *, off_t, int) = fseeko;
26073 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 rm -f conftest.$ac_objext conftest$ac_exeext
26079 if { (ac_try="$ac_link"
26080 case "(($ac_try" in
26081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26082 *) ac_try_echo=$ac_try;;
26083 esac
26084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26085 (eval "$ac_link") 2>conftest.er1
26086 ac_status=$?
26087 grep -v '^ *+' conftest.er1 >conftest.err
26088 rm -f conftest.er1
26089 cat conftest.err >&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); } && {
26092 test -z "$ac_c_werror_flag" ||
26093 test ! -s conftest.err
26094 } && test -s conftest$ac_exeext &&
26095 $as_test_x conftest$ac_exeext; then
26096 ac_cv_sys_largefile_source=no; break
26097 else
26098 echo "$as_me: failed program was:" >&5
26099 sed 's/^/| /' conftest.$ac_ext >&5
26100
26101
26102 fi
26103
26104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26105 conftest$ac_exeext conftest.$ac_ext
26106 cat >conftest.$ac_ext <<_ACEOF
26107 /* confdefs.h. */
26108 _ACEOF
26109 cat confdefs.h >>conftest.$ac_ext
26110 cat >>conftest.$ac_ext <<_ACEOF
26111 /* end confdefs.h. */
26112 #define _LARGEFILE_SOURCE 1
26113 #include <sys/types.h> /* for off_t */
26114 #include <stdio.h>
26115 int
26116 main ()
26117 {
26118 int (*fp) (FILE *, off_t, int) = fseeko;
26119 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26120 ;
26121 return 0;
26122 }
26123 _ACEOF
26124 rm -f conftest.$ac_objext conftest$ac_exeext
26125 if { (ac_try="$ac_link"
26126 case "(($ac_try" in
26127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26128 *) ac_try_echo=$ac_try;;
26129 esac
26130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26131 (eval "$ac_link") 2>conftest.er1
26132 ac_status=$?
26133 grep -v '^ *+' conftest.er1 >conftest.err
26134 rm -f conftest.er1
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } && {
26138 test -z "$ac_c_werror_flag" ||
26139 test ! -s conftest.err
26140 } && test -s conftest$ac_exeext &&
26141 $as_test_x conftest$ac_exeext; then
26142 ac_cv_sys_largefile_source=1; break
26143 else
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26146
26147
26148 fi
26149
26150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26151 conftest$ac_exeext conftest.$ac_ext
26152 ac_cv_sys_largefile_source=unknown
26153 break
26154 done
26155 fi
26156 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26157 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26158 case $ac_cv_sys_largefile_source in #(
26159 no | unknown) ;;
26160 *)
26161 cat >>confdefs.h <<_ACEOF
26162 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26163 _ACEOF
26164 ;;
26165 esac
26166 rm -f conftest*
26167
26168 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26169 # in glibc 2.1.3, but that breaks too many other things.
26170 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26171 if test $ac_cv_sys_largefile_source != unknown; then
26172
26173 cat >>confdefs.h <<\_ACEOF
26174 #define HAVE_FSEEKO 1
26175 _ACEOF
26176
26177 fi
26178
26179 if test "$ac_cv_sys_largefile_source" != no; then
26180 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26181 fi
26182 fi
26183
26184 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26185 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26186 if test "${ac_cv_c_bigendian+set}" = set; then
26187 echo $ECHO_N "(cached) $ECHO_C" >&6
26188 else
26189 ac_cv_c_bigendian=unknown
26190 # See if sys/param.h defines the BYTE_ORDER macro.
26191 cat >conftest.$ac_ext <<_ACEOF
26192 /* confdefs.h. */
26193 _ACEOF
26194 cat confdefs.h >>conftest.$ac_ext
26195 cat >>conftest.$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26197 #include <sys/types.h>
26198 #include <sys/param.h>
26199 int
26200 main ()
26201 {
26202
26203 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26204 bogus endian macros
26205 #endif
26206 ;
26207 return 0;
26208 }
26209 _ACEOF
26210 rm -f conftest.$ac_objext
26211 if { (ac_try="$ac_compile"
26212 case "(($ac_try" in
26213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26214 *) ac_try_echo=$ac_try;;
26215 esac
26216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26217 (eval "$ac_compile") 2>conftest.er1
26218 ac_status=$?
26219 grep -v '^ *+' conftest.er1 >conftest.err
26220 rm -f conftest.er1
26221 cat conftest.err >&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } && {
26224 test -z "$ac_c_werror_flag" ||
26225 test ! -s conftest.err
26226 } && test -s conftest.$ac_objext; then
26227 # It does; now see whether it defined to BIG_ENDIAN or not.
26228 cat >conftest.$ac_ext <<_ACEOF
26229 /* confdefs.h. */
26230 _ACEOF
26231 cat confdefs.h >>conftest.$ac_ext
26232 cat >>conftest.$ac_ext <<_ACEOF
26233 /* end confdefs.h. */
26234 #include <sys/types.h>
26235 #include <sys/param.h>
26236 int
26237 main ()
26238 {
26239
26240 #if BYTE_ORDER != BIG_ENDIAN
26241 not big endian
26242 #endif
26243 ;
26244 return 0;
26245 }
26246 _ACEOF
26247 rm -f conftest.$ac_objext
26248 if { (ac_try="$ac_compile"
26249 case "(($ac_try" in
26250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26251 *) ac_try_echo=$ac_try;;
26252 esac
26253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26254 (eval "$ac_compile") 2>conftest.er1
26255 ac_status=$?
26256 grep -v '^ *+' conftest.er1 >conftest.err
26257 rm -f conftest.er1
26258 cat conftest.err >&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); } && {
26261 test -z "$ac_c_werror_flag" ||
26262 test ! -s conftest.err
26263 } && test -s conftest.$ac_objext; then
26264 ac_cv_c_bigendian=yes
26265 else
26266 echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.$ac_ext >&5
26268
26269 ac_cv_c_bigendian=no
26270 fi
26271
26272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26273 else
26274 echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.$ac_ext >&5
26276
26277
26278 fi
26279
26280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26281 if test $ac_cv_c_bigendian = unknown; then
26282 if test "$cross_compiling" = yes; then
26283 ac_cv_c_bigendian=unknown
26284 else
26285 cat >conftest.$ac_ext <<_ACEOF
26286 /* confdefs.h. */
26287 _ACEOF
26288 cat confdefs.h >>conftest.$ac_ext
26289 cat >>conftest.$ac_ext <<_ACEOF
26290 /* end confdefs.h. */
26291 main () {
26292 /* Are we little or big endian? From Harbison&Steele. */
26293 union
26294 {
26295 long l;
26296 char c[sizeof (long)];
26297 } u;
26298 u.l = 1;
26299 exit (u.c[sizeof (long) - 1] == 1);
26300 }
26301 _ACEOF
26302 rm -f conftest$ac_exeext
26303 if { (ac_try="$ac_link"
26304 case "(($ac_try" in
26305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26306 *) ac_try_echo=$ac_try;;
26307 esac
26308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26309 (eval "$ac_link") 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26313 { (case "(($ac_try" in
26314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26315 *) ac_try_echo=$ac_try;;
26316 esac
26317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26318 (eval "$ac_try") 2>&5
26319 ac_status=$?
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); }; }; then
26322 ac_cv_c_bigendian=no
26323 else
26324 echo "$as_me: program exited with status $ac_status" >&5
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.$ac_ext >&5
26327
26328 ( exit $ac_status )
26329 ac_cv_c_bigendian=yes
26330 fi
26331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26332 fi
26333
26334
26335 fi
26336 fi
26337 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26338 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26339 if test $ac_cv_c_bigendian = unknown; then
26340 { 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
26341 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;}
26342 fi
26343 if test $ac_cv_c_bigendian = yes; then
26344 cat >>confdefs.h <<\_ACEOF
26345 #define WORDS_BIGENDIAN 1
26346 _ACEOF
26347
26348 fi
26349
26350
26351
26352
26353 ac_ext=cpp
26354 ac_cpp='$CXXCPP $CPPFLAGS'
26355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26358
26359
26360
26361 for ac_header in iostream
26362 do
26363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26367 echo $ECHO_N "(cached) $ECHO_C" >&6
26368 else
26369 cat >conftest.$ac_ext <<_ACEOF
26370 /* confdefs.h. */
26371 _ACEOF
26372 cat confdefs.h >>conftest.$ac_ext
26373 cat >>conftest.$ac_ext <<_ACEOF
26374 /* end confdefs.h. */
26375
26376
26377 #include <$ac_header>
26378 _ACEOF
26379 rm -f conftest.$ac_objext
26380 if { (ac_try="$ac_compile"
26381 case "(($ac_try" in
26382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26383 *) ac_try_echo=$ac_try;;
26384 esac
26385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26386 (eval "$ac_compile") 2>conftest.er1
26387 ac_status=$?
26388 grep -v '^ *+' conftest.er1 >conftest.err
26389 rm -f conftest.er1
26390 cat conftest.err >&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } && {
26393 test -z "$ac_cxx_werror_flag" ||
26394 test ! -s conftest.err
26395 } && test -s conftest.$ac_objext; then
26396 eval "$as_ac_Header=yes"
26397 else
26398 echo "$as_me: failed program was:" >&5
26399 sed 's/^/| /' conftest.$ac_ext >&5
26400
26401 eval "$as_ac_Header=no"
26402 fi
26403
26404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26405 fi
26406 ac_res=`eval echo '${'$as_ac_Header'}'`
26407 { echo "$as_me:$LINENO: result: $ac_res" >&5
26408 echo "${ECHO_T}$ac_res" >&6; }
26409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26410 cat >>confdefs.h <<_ACEOF
26411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26412 _ACEOF
26413
26414 fi
26415
26416 done
26417
26418
26419 if test "$ac_cv_header_iostream" = "yes" ; then
26420 :
26421 else
26422 cat >>confdefs.h <<\_ACEOF
26423 #define wxUSE_IOSTREAMH 1
26424 _ACEOF
26425
26426 fi
26427
26428 ac_ext=c
26429 ac_cpp='$CPP $CPPFLAGS'
26430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26433
26434
26435
26436
26437 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26438 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26439 if test "${wx_cv_cpp_bool+set}" = set; then
26440 echo $ECHO_N "(cached) $ECHO_C" >&6
26441 else
26442
26443
26444 ac_ext=cpp
26445 ac_cpp='$CXXCPP $CPPFLAGS'
26446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26449
26450
26451 cat >conftest.$ac_ext <<_ACEOF
26452 /* confdefs.h. */
26453 _ACEOF
26454 cat confdefs.h >>conftest.$ac_ext
26455 cat >>conftest.$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26457
26458
26459 int
26460 main ()
26461 {
26462
26463 bool b = true;
26464
26465 return 0;
26466
26467 ;
26468 return 0;
26469 }
26470 _ACEOF
26471 rm -f conftest.$ac_objext
26472 if { (ac_try="$ac_compile"
26473 case "(($ac_try" in
26474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26475 *) ac_try_echo=$ac_try;;
26476 esac
26477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26478 (eval "$ac_compile") 2>conftest.er1
26479 ac_status=$?
26480 grep -v '^ *+' conftest.er1 >conftest.err
26481 rm -f conftest.er1
26482 cat conftest.err >&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } && {
26485 test -z "$ac_cxx_werror_flag" ||
26486 test ! -s conftest.err
26487 } && test -s conftest.$ac_objext; then
26488
26489 wx_cv_cpp_bool=yes
26490
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495
26496 wx_cv_cpp_bool=no
26497
26498
26499 fi
26500
26501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26502
26503 ac_ext=c
26504 ac_cpp='$CPP $CPPFLAGS'
26505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26508
26509
26510 fi
26511 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26512 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26513
26514 if test "$wx_cv_cpp_bool" = "yes"; then
26515 cat >>confdefs.h <<\_ACEOF
26516 #define HAVE_BOOL 1
26517 _ACEOF
26518
26519 fi
26520
26521
26522
26523 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26524 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26525 if test "${wx_cv_explicit+set}" = set; then
26526 echo $ECHO_N "(cached) $ECHO_C" >&6
26527 else
26528
26529
26530 ac_ext=cpp
26531 ac_cpp='$CXXCPP $CPPFLAGS'
26532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26535
26536
26537 cat >conftest.$ac_ext <<_ACEOF
26538 /* confdefs.h. */
26539 _ACEOF
26540 cat confdefs.h >>conftest.$ac_ext
26541 cat >>conftest.$ac_ext <<_ACEOF
26542 /* end confdefs.h. */
26543
26544 class Foo { public: explicit Foo(int) {} };
26545
26546 int
26547 main ()
26548 {
26549
26550 return 0;
26551
26552 ;
26553 return 0;
26554 }
26555 _ACEOF
26556 rm -f conftest.$ac_objext
26557 if { (ac_try="$ac_compile"
26558 case "(($ac_try" in
26559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26560 *) ac_try_echo=$ac_try;;
26561 esac
26562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26563 (eval "$ac_compile") 2>conftest.er1
26564 ac_status=$?
26565 grep -v '^ *+' conftest.er1 >conftest.err
26566 rm -f conftest.er1
26567 cat conftest.err >&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); } && {
26570 test -z "$ac_cxx_werror_flag" ||
26571 test ! -s conftest.err
26572 } && test -s conftest.$ac_objext; then
26573
26574 cat >conftest.$ac_ext <<_ACEOF
26575 /* confdefs.h. */
26576 _ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h. */
26580
26581 class Foo { public: explicit Foo(int) {} };
26582 static void TakeFoo(const Foo& foo) { }
26583
26584 int
26585 main ()
26586 {
26587
26588 TakeFoo(17);
26589 return 0;
26590
26591 ;
26592 return 0;
26593 }
26594 _ACEOF
26595 rm -f conftest.$ac_objext
26596 if { (ac_try="$ac_compile"
26597 case "(($ac_try" in
26598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26599 *) ac_try_echo=$ac_try;;
26600 esac
26601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26602 (eval "$ac_compile") 2>conftest.er1
26603 ac_status=$?
26604 grep -v '^ *+' conftest.er1 >conftest.err
26605 rm -f conftest.er1
26606 cat conftest.err >&5
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); } && {
26609 test -z "$ac_cxx_werror_flag" ||
26610 test ! -s conftest.err
26611 } && test -s conftest.$ac_objext; then
26612 wx_cv_explicit=no
26613 else
26614 echo "$as_me: failed program was:" >&5
26615 sed 's/^/| /' conftest.$ac_ext >&5
26616
26617 wx_cv_explicit=yes
26618
26619 fi
26620
26621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26622
26623 else
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.$ac_ext >&5
26626
26627 wx_cv_explicit=no
26628
26629 fi
26630
26631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26632
26633 ac_ext=c
26634 ac_cpp='$CPP $CPPFLAGS'
26635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26638
26639
26640 fi
26641 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26642 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26643
26644 if test "$wx_cv_explicit" = "yes"; then
26645 cat >>confdefs.h <<\_ACEOF
26646 #define HAVE_EXPLICIT 1
26647 _ACEOF
26648
26649 fi
26650
26651
26652 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26653 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26654 if test "${ac_cv_cxx_const_cast+set}" = set; then
26655 echo $ECHO_N "(cached) $ECHO_C" >&6
26656 else
26657
26658 ac_ext=cpp
26659 ac_cpp='$CXXCPP $CPPFLAGS'
26660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26663
26664 cat >conftest.$ac_ext <<_ACEOF
26665 /* confdefs.h. */
26666 _ACEOF
26667 cat confdefs.h >>conftest.$ac_ext
26668 cat >>conftest.$ac_ext <<_ACEOF
26669 /* end confdefs.h. */
26670
26671 int
26672 main ()
26673 {
26674 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26675 ;
26676 return 0;
26677 }
26678 _ACEOF
26679 rm -f conftest.$ac_objext
26680 if { (ac_try="$ac_compile"
26681 case "(($ac_try" in
26682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26683 *) ac_try_echo=$ac_try;;
26684 esac
26685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26686 (eval "$ac_compile") 2>conftest.er1
26687 ac_status=$?
26688 grep -v '^ *+' conftest.er1 >conftest.err
26689 rm -f conftest.er1
26690 cat conftest.err >&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } && {
26693 test -z "$ac_cxx_werror_flag" ||
26694 test ! -s conftest.err
26695 } && test -s conftest.$ac_objext; then
26696 ac_cv_cxx_const_cast=yes
26697 else
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26700
26701 ac_cv_cxx_const_cast=no
26702 fi
26703
26704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26705 ac_ext=c
26706 ac_cpp='$CPP $CPPFLAGS'
26707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26710
26711
26712 fi
26713 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26714 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26715 if test "$ac_cv_cxx_const_cast" = yes; then
26716
26717 cat >>confdefs.h <<\_ACEOF
26718 #define HAVE_CONST_CAST
26719 _ACEOF
26720
26721 fi
26722
26723 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26724 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26725 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26726 echo $ECHO_N "(cached) $ECHO_C" >&6
26727 else
26728
26729 ac_ext=cpp
26730 ac_cpp='$CXXCPP $CPPFLAGS'
26731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26734
26735 cat >conftest.$ac_ext <<_ACEOF
26736 /* confdefs.h. */
26737 _ACEOF
26738 cat confdefs.h >>conftest.$ac_ext
26739 cat >>conftest.$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26741 #include <typeinfo>
26742 class Base { public : Base () {} virtual void f () = 0;};
26743 class Derived : public Base { public : Derived () {} virtual void f () {} };
26744 class Unrelated { public : Unrelated () {} };
26745 int g (Unrelated&) { return 0; }
26746 int
26747 main ()
26748 {
26749
26750 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26751 ;
26752 return 0;
26753 }
26754 _ACEOF
26755 rm -f conftest.$ac_objext
26756 if { (ac_try="$ac_compile"
26757 case "(($ac_try" in
26758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26759 *) ac_try_echo=$ac_try;;
26760 esac
26761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26762 (eval "$ac_compile") 2>conftest.er1
26763 ac_status=$?
26764 grep -v '^ *+' conftest.er1 >conftest.err
26765 rm -f conftest.er1
26766 cat conftest.err >&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); } && {
26769 test -z "$ac_cxx_werror_flag" ||
26770 test ! -s conftest.err
26771 } && test -s conftest.$ac_objext; then
26772 ac_cv_cxx_reinterpret_cast=yes
26773 else
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.$ac_ext >&5
26776
26777 ac_cv_cxx_reinterpret_cast=no
26778 fi
26779
26780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26781 ac_ext=c
26782 ac_cpp='$CPP $CPPFLAGS'
26783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26786
26787
26788 fi
26789 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26790 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26791 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26792
26793 cat >>confdefs.h <<\_ACEOF
26794 #define HAVE_REINTERPRET_CAST
26795 _ACEOF
26796
26797 fi
26798
26799 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26800 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26801 if test "${ac_cv_cxx_static_cast+set}" = set; then
26802 echo $ECHO_N "(cached) $ECHO_C" >&6
26803 else
26804
26805 ac_ext=cpp
26806 ac_cpp='$CXXCPP $CPPFLAGS'
26807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26810
26811 cat >conftest.$ac_ext <<_ACEOF
26812 /* confdefs.h. */
26813 _ACEOF
26814 cat confdefs.h >>conftest.$ac_ext
26815 cat >>conftest.$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817 #include <typeinfo>
26818 class Base { public : Base () {} virtual void f () = 0; };
26819 class Derived : public Base { public : Derived () {} virtual void f () {} };
26820 int g (Derived&) { return 0; }
26821 int
26822 main ()
26823 {
26824
26825 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26826 ;
26827 return 0;
26828 }
26829 _ACEOF
26830 rm -f conftest.$ac_objext
26831 if { (ac_try="$ac_compile"
26832 case "(($ac_try" in
26833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26834 *) ac_try_echo=$ac_try;;
26835 esac
26836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26837 (eval "$ac_compile") 2>conftest.er1
26838 ac_status=$?
26839 grep -v '^ *+' conftest.er1 >conftest.err
26840 rm -f conftest.er1
26841 cat conftest.err >&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); } && {
26844 test -z "$ac_cxx_werror_flag" ||
26845 test ! -s conftest.err
26846 } && test -s conftest.$ac_objext; then
26847 ac_cv_cxx_static_cast=yes
26848 else
26849 echo "$as_me: failed program was:" >&5
26850 sed 's/^/| /' conftest.$ac_ext >&5
26851
26852 ac_cv_cxx_static_cast=no
26853 fi
26854
26855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26856 ac_ext=c
26857 ac_cpp='$CPP $CPPFLAGS'
26858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26861
26862
26863 fi
26864 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26865 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26866 if test "$ac_cv_cxx_static_cast" = yes; then
26867
26868 cat >>confdefs.h <<\_ACEOF
26869 #define HAVE_STATIC_CAST
26870 _ACEOF
26871
26872 fi
26873
26874
26875 if test "x$SUNCXX" = xyes; then
26876 CXXFLAGS="-features=tmplife $CXXFLAGS"
26877 fi
26878
26879 if test "x$SUNCC" = xyes; then
26880 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26881 fi
26882
26883 if test "x$SGICC" = "xyes"; then
26884 CFLAGS="-woff 3970 $CFLAGS"
26885 fi
26886 if test "x$SGICXX" = "xyes"; then
26887 CXXFLAGS="-woff 3970 $CXXFLAGS"
26888 fi
26889
26890 if test "x$HPCC" = "xyes"; then
26891 CFLAGS="+W 2011,2450 $CFLAGS"
26892 fi
26893 if test "x$HPCXX" = "xyes"; then
26894 CXXFLAGS="+W 2340 $CXXFLAGS"
26895 fi
26896
26897 if test "x$COMPAQCXX" = "xyes"; then
26898 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26899 fi
26900
26901 ac_ext=cpp
26902 ac_cpp='$CXXCPP $CPPFLAGS'
26903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26906
26907
26908 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26909 if test "$wxUSE_UNICODE" = "yes"; then
26910 std_string="std::wstring"
26911 char_type="wchar_t"
26912 else
26913 std_string="std::string"
26914 char_type="char"
26915 fi
26916
26917 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26918 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26919 if test "${wx_cv_class_stdstring+set}" = set; then
26920 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 else
26922
26923 cat >conftest.$ac_ext <<_ACEOF
26924 /* confdefs.h. */
26925 _ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 #include <string>
26930 int
26931 main ()
26932 {
26933 $std_string foo;
26934 ;
26935 return 0;
26936 }
26937 _ACEOF
26938 rm -f conftest.$ac_objext
26939 if { (ac_try="$ac_compile"
26940 case "(($ac_try" in
26941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26942 *) ac_try_echo=$ac_try;;
26943 esac
26944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_compile") 2>conftest.er1
26946 ac_status=$?
26947 grep -v '^ *+' conftest.er1 >conftest.err
26948 rm -f conftest.er1
26949 cat conftest.err >&5
26950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951 (exit $ac_status); } && {
26952 test -z "$ac_cxx_werror_flag" ||
26953 test ! -s conftest.err
26954 } && test -s conftest.$ac_objext; then
26955 wx_cv_class_stdstring=yes
26956 else
26957 echo "$as_me: failed program was:" >&5
26958 sed 's/^/| /' conftest.$ac_ext >&5
26959
26960 wx_cv_class_stdstring=no
26961
26962 fi
26963
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965
26966
26967 fi
26968 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26969 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26970
26971 if test "$wx_cv_class_stdstring" = yes; then
26972 if test "$wxUSE_UNICODE" = "yes"; then
26973 cat >>confdefs.h <<\_ACEOF
26974 #define HAVE_STD_WSTRING 1
26975 _ACEOF
26976
26977 fi
26978 else
26979 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26980 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26981 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26982 echo $ECHO_N "(cached) $ECHO_C" >&6
26983 else
26984
26985 cat >conftest.$ac_ext <<_ACEOF
26986 /* confdefs.h. */
26987 _ACEOF
26988 cat confdefs.h >>conftest.$ac_ext
26989 cat >>conftest.$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26991
26992 #ifdef HAVE_WCHAR_H
26993 # ifdef __CYGWIN__
26994 # include <stddef.h>
26995 # endif
26996 # include <wchar.h>
26997 #endif
26998 #ifdef HAVE_STDLIB_H
26999 # include <stdlib.h>
27000 #endif
27001 #include <stdio.h>
27002 #include <string>
27003
27004 int
27005 main ()
27006 {
27007 std::basic_string<$char_type> foo;
27008 const $char_type* dummy = foo.c_str();
27009 ;
27010 return 0;
27011 }
27012 _ACEOF
27013 rm -f conftest.$ac_objext
27014 if { (ac_try="$ac_compile"
27015 case "(($ac_try" in
27016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27017 *) ac_try_echo=$ac_try;;
27018 esac
27019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27020 (eval "$ac_compile") 2>conftest.er1
27021 ac_status=$?
27022 grep -v '^ *+' conftest.er1 >conftest.err
27023 rm -f conftest.er1
27024 cat conftest.err >&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } && {
27027 test -z "$ac_cxx_werror_flag" ||
27028 test ! -s conftest.err
27029 } && test -s conftest.$ac_objext; then
27030 wx_cv_class_stdbasicstring=yes
27031 else
27032 echo "$as_me: failed program was:" >&5
27033 sed 's/^/| /' conftest.$ac_ext >&5
27034
27035 wx_cv_class_stdbasicstring=no
27036
27037 fi
27038
27039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27040
27041
27042 fi
27043 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27044 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27045
27046 if test "$wx_cv_class_stdbasicstring" != yes; then
27047 if test "$wxUSE_STL" = "yes"; then
27048 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27049 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27050 { (exit 1); exit 1; }; }
27051 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
27052 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27053 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27054 { (exit 1); exit 1; }; }
27055 else
27056 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27057 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27058 wxUSE_STD_STRING=no
27059 fi
27060 fi
27061 fi
27062 fi
27063
27064 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27065 { echo "$as_me:$LINENO: checking for std::istream" >&5
27066 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27067 if test "${ac_cv_type_std__istream+set}" = set; then
27068 echo $ECHO_N "(cached) $ECHO_C" >&6
27069 else
27070 cat >conftest.$ac_ext <<_ACEOF
27071 /* confdefs.h. */
27072 _ACEOF
27073 cat confdefs.h >>conftest.$ac_ext
27074 cat >>conftest.$ac_ext <<_ACEOF
27075 /* end confdefs.h. */
27076 #include <iostream>
27077
27078 typedef std::istream ac__type_new_;
27079 int
27080 main ()
27081 {
27082 if ((ac__type_new_ *) 0)
27083 return 0;
27084 if (sizeof (ac__type_new_))
27085 return 0;
27086 ;
27087 return 0;
27088 }
27089 _ACEOF
27090 rm -f conftest.$ac_objext
27091 if { (ac_try="$ac_compile"
27092 case "(($ac_try" in
27093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27094 *) ac_try_echo=$ac_try;;
27095 esac
27096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27097 (eval "$ac_compile") 2>conftest.er1
27098 ac_status=$?
27099 grep -v '^ *+' conftest.er1 >conftest.err
27100 rm -f conftest.er1
27101 cat conftest.err >&5
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); } && {
27104 test -z "$ac_cxx_werror_flag" ||
27105 test ! -s conftest.err
27106 } && test -s conftest.$ac_objext; then
27107 ac_cv_type_std__istream=yes
27108 else
27109 echo "$as_me: failed program was:" >&5
27110 sed 's/^/| /' conftest.$ac_ext >&5
27111
27112 ac_cv_type_std__istream=no
27113 fi
27114
27115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27116 fi
27117 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27118 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27119 if test $ac_cv_type_std__istream = yes; then
27120
27121 cat >>confdefs.h <<_ACEOF
27122 #define HAVE_STD__ISTREAM 1
27123 _ACEOF
27124
27125
27126 else
27127 wxUSE_STD_IOSTREAM=no
27128 fi
27129 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27130 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27131 if test "${ac_cv_type_std__ostream+set}" = set; then
27132 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 else
27134 cat >conftest.$ac_ext <<_ACEOF
27135 /* confdefs.h. */
27136 _ACEOF
27137 cat confdefs.h >>conftest.$ac_ext
27138 cat >>conftest.$ac_ext <<_ACEOF
27139 /* end confdefs.h. */
27140 #include <iostream>
27141
27142 typedef std::ostream ac__type_new_;
27143 int
27144 main ()
27145 {
27146 if ((ac__type_new_ *) 0)
27147 return 0;
27148 if (sizeof (ac__type_new_))
27149 return 0;
27150 ;
27151 return 0;
27152 }
27153 _ACEOF
27154 rm -f conftest.$ac_objext
27155 if { (ac_try="$ac_compile"
27156 case "(($ac_try" in
27157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27158 *) ac_try_echo=$ac_try;;
27159 esac
27160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27161 (eval "$ac_compile") 2>conftest.er1
27162 ac_status=$?
27163 grep -v '^ *+' conftest.er1 >conftest.err
27164 rm -f conftest.er1
27165 cat conftest.err >&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } && {
27168 test -z "$ac_cxx_werror_flag" ||
27169 test ! -s conftest.err
27170 } && test -s conftest.$ac_objext; then
27171 ac_cv_type_std__ostream=yes
27172 else
27173 echo "$as_me: failed program was:" >&5
27174 sed 's/^/| /' conftest.$ac_ext >&5
27175
27176 ac_cv_type_std__ostream=no
27177 fi
27178
27179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27180 fi
27181 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27182 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27183 if test $ac_cv_type_std__ostream = yes; then
27184
27185 cat >>confdefs.h <<_ACEOF
27186 #define HAVE_STD__OSTREAM 1
27187 _ACEOF
27188
27189
27190 else
27191 wxUSE_STD_IOSTREAM=no
27192 fi
27193
27194
27195 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27196 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27197 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27198 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27199 { (exit 1); exit 1; }; }
27200 else
27201 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27202 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27203 fi
27204 fi
27205 fi
27206
27207 if test "$wxUSE_STL" = "yes"; then
27208 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27209 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27210 if test "${wx_cv_lib_stl+set}" = set; then
27211 echo $ECHO_N "(cached) $ECHO_C" >&6
27212 else
27213 cat >conftest.$ac_ext <<_ACEOF
27214 /* confdefs.h. */
27215 _ACEOF
27216 cat confdefs.h >>conftest.$ac_ext
27217 cat >>conftest.$ac_ext <<_ACEOF
27218 /* end confdefs.h. */
27219 #include <string>
27220 #include <functional>
27221 #include <algorithm>
27222 #include <vector>
27223 #include <list>
27224 int
27225 main ()
27226 {
27227 std::vector<int> moo;
27228 std::list<int> foo;
27229 std::vector<int>::iterator it =
27230 std::find_if(moo.begin(), moo.end(),
27231 std::bind2nd(std::less<int>(), 3));
27232 ;
27233 return 0;
27234 }
27235 _ACEOF
27236 rm -f conftest.$ac_objext
27237 if { (ac_try="$ac_compile"
27238 case "(($ac_try" in
27239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27240 *) ac_try_echo=$ac_try;;
27241 esac
27242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27243 (eval "$ac_compile") 2>conftest.er1
27244 ac_status=$?
27245 grep -v '^ *+' conftest.er1 >conftest.err
27246 rm -f conftest.er1
27247 cat conftest.err >&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); } && {
27250 test -z "$ac_cxx_werror_flag" ||
27251 test ! -s conftest.err
27252 } && test -s conftest.$ac_objext; then
27253 wx_cv_lib_stl=yes
27254 else
27255 echo "$as_me: failed program was:" >&5
27256 sed 's/^/| /' conftest.$ac_ext >&5
27257
27258 wx_cv_lib_stl=no
27259
27260 fi
27261
27262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27263
27264 fi
27265 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27266 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27267
27268 if test "$wx_cv_lib_stl" != yes; then
27269 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27270 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27271 { (exit 1); exit 1; }; }
27272 fi
27273
27274 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27275 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27276 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27277 echo $ECHO_N "(cached) $ECHO_C" >&6
27278 else
27279 cat >conftest.$ac_ext <<_ACEOF
27280 /* confdefs.h. */
27281 _ACEOF
27282 cat confdefs.h >>conftest.$ac_ext
27283 cat >>conftest.$ac_ext <<_ACEOF
27284 /* end confdefs.h. */
27285 #include <string>
27286 int
27287 main ()
27288 {
27289 std::string foo, bar;
27290 foo.compare(bar);
27291 foo.compare(1, 1, bar);
27292 foo.compare(1, 1, bar, 1, 1);
27293 foo.compare("");
27294 foo.compare(1, 1, "");
27295 foo.compare(1, 1, "", 2);
27296 ;
27297 return 0;
27298 }
27299 _ACEOF
27300 rm -f conftest.$ac_objext
27301 if { (ac_try="$ac_compile"
27302 case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27305 esac
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_compile") 2>conftest.er1
27308 ac_status=$?
27309 grep -v '^ *+' conftest.er1 >conftest.err
27310 rm -f conftest.er1
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_cxx_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest.$ac_objext; then
27317 wx_cv_func_stdstring_compare=yes
27318 else
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.$ac_ext >&5
27321
27322 wx_cv_func_stdstring_compare=no
27323
27324 fi
27325
27326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27327
27328 fi
27329 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27330 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27331
27332 if test "$wx_cv_func_stdstring_compare" = yes; then
27333 cat >>confdefs.h <<\_ACEOF
27334 #define HAVE_STD_STRING_COMPARE 1
27335 _ACEOF
27336
27337 fi
27338
27339 { echo "$as_me:$LINENO: checking for hash_map" >&5
27340 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27341 if test "${ac_cv_header_hash_map+set}" = set; then
27342 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 else
27344 cat >conftest.$ac_ext <<_ACEOF
27345 /* confdefs.h. */
27346 _ACEOF
27347 cat confdefs.h >>conftest.$ac_ext
27348 cat >>conftest.$ac_ext <<_ACEOF
27349 /* end confdefs.h. */
27350
27351
27352
27353 #include <hash_map>
27354 _ACEOF
27355 rm -f conftest.$ac_objext
27356 if { (ac_try="$ac_compile"
27357 case "(($ac_try" in
27358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27359 *) ac_try_echo=$ac_try;;
27360 esac
27361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27362 (eval "$ac_compile") 2>conftest.er1
27363 ac_status=$?
27364 grep -v '^ *+' conftest.er1 >conftest.err
27365 rm -f conftest.er1
27366 cat conftest.err >&5
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); } && {
27369 test -z "$ac_cxx_werror_flag" ||
27370 test ! -s conftest.err
27371 } && test -s conftest.$ac_objext; then
27372 ac_cv_header_hash_map=yes
27373 else
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.$ac_ext >&5
27376
27377 ac_cv_header_hash_map=no
27378 fi
27379
27380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27381 fi
27382 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27383 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27384 if test $ac_cv_header_hash_map = yes; then
27385 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27386 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27387 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 else
27390 cat >conftest.$ac_ext <<_ACEOF
27391 /* confdefs.h. */
27392 _ACEOF
27393 cat confdefs.h >>conftest.$ac_ext
27394 cat >>conftest.$ac_ext <<_ACEOF
27395 /* end confdefs.h. */
27396 #include <hash_map>
27397 #include <hash_set>
27398 int
27399 main ()
27400 {
27401 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27402 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27403 ;
27404 return 0;
27405 }
27406 _ACEOF
27407 rm -f conftest.$ac_objext
27408 if { (ac_try="$ac_compile"
27409 case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27412 esac
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_compile") 2>conftest.er1
27415 ac_status=$?
27416 grep -v '^ *+' conftest.er1 >conftest.err
27417 rm -f conftest.er1
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_cxx_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest.$ac_objext; then
27424 wx_cv_class_stdhashmapset=yes
27425 else
27426 echo "$as_me: failed program was:" >&5
27427 sed 's/^/| /' conftest.$ac_ext >&5
27428
27429 wx_cv_class_stdhashmapset=no
27430 fi
27431
27432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27433
27434
27435 fi
27436 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27437 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27438 fi
27439
27440
27441
27442 if test "$wx_cv_class_stdhashmapset" = yes; then
27443 cat >>confdefs.h <<\_ACEOF
27444 #define HAVE_HASH_MAP 1
27445 _ACEOF
27446
27447 cat >>confdefs.h <<\_ACEOF
27448 #define HAVE_STD_HASH_MAP 1
27449 _ACEOF
27450
27451 fi
27452
27453 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27454 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27455 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27456 echo $ECHO_N "(cached) $ECHO_C" >&6
27457 else
27458 cat >conftest.$ac_ext <<_ACEOF
27459 /* confdefs.h. */
27460 _ACEOF
27461 cat confdefs.h >>conftest.$ac_ext
27462 cat >>conftest.$ac_ext <<_ACEOF
27463 /* end confdefs.h. */
27464
27465
27466
27467 #include <ext/hash_map>
27468 _ACEOF
27469 rm -f conftest.$ac_objext
27470 if { (ac_try="$ac_compile"
27471 case "(($ac_try" in
27472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27473 *) ac_try_echo=$ac_try;;
27474 esac
27475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27476 (eval "$ac_compile") 2>conftest.er1
27477 ac_status=$?
27478 grep -v '^ *+' conftest.er1 >conftest.err
27479 rm -f conftest.er1
27480 cat conftest.err >&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); } && {
27483 test -z "$ac_cxx_werror_flag" ||
27484 test ! -s conftest.err
27485 } && test -s conftest.$ac_objext; then
27486 ac_cv_header_ext_hash_map=yes
27487 else
27488 echo "$as_me: failed program was:" >&5
27489 sed 's/^/| /' conftest.$ac_ext >&5
27490
27491 ac_cv_header_ext_hash_map=no
27492 fi
27493
27494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27495 fi
27496 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27497 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27498 if test $ac_cv_header_ext_hash_map = yes; then
27499 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27500 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27501 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27502 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 else
27504 cat >conftest.$ac_ext <<_ACEOF
27505 /* confdefs.h. */
27506 _ACEOF
27507 cat confdefs.h >>conftest.$ac_ext
27508 cat >>conftest.$ac_ext <<_ACEOF
27509 /* end confdefs.h. */
27510 #include <ext/hash_map>
27511 #include <ext/hash_set>
27512 int
27513 main ()
27514 {
27515 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27516 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27517 ;
27518 return 0;
27519 }
27520 _ACEOF
27521 rm -f conftest.$ac_objext
27522 if { (ac_try="$ac_compile"
27523 case "(($ac_try" in
27524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27525 *) ac_try_echo=$ac_try;;
27526 esac
27527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27528 (eval "$ac_compile") 2>conftest.er1
27529 ac_status=$?
27530 grep -v '^ *+' conftest.er1 >conftest.err
27531 rm -f conftest.er1
27532 cat conftest.err >&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } && {
27535 test -z "$ac_cxx_werror_flag" ||
27536 test ! -s conftest.err
27537 } && test -s conftest.$ac_objext; then
27538 wx_cv_class_gnuhashmapset=yes
27539 else
27540 echo "$as_me: failed program was:" >&5
27541 sed 's/^/| /' conftest.$ac_ext >&5
27542
27543 wx_cv_class_gnuhashmapset=no
27544 fi
27545
27546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27547
27548
27549 fi
27550 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27551 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27552 fi
27553
27554
27555
27556 if test "$wx_cv_class_gnuhashmapset" = yes; then
27557 cat >>confdefs.h <<\_ACEOF
27558 #define HAVE_EXT_HASH_MAP 1
27559 _ACEOF
27560
27561 cat >>confdefs.h <<\_ACEOF
27562 #define HAVE_GNU_CXX_HASH_MAP 1
27563 _ACEOF
27564
27565 fi
27566 fi
27567
27568
27569
27570 if test -n "$GCC"; then
27571 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27572 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27573 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27574 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 else
27576
27577 cat >conftest.$ac_ext <<_ACEOF
27578 /* confdefs.h. */
27579 _ACEOF
27580 cat confdefs.h >>conftest.$ac_ext
27581 cat >>conftest.$ac_ext <<_ACEOF
27582 /* end confdefs.h. */
27583
27584 int
27585 main ()
27586 {
27587
27588 int value=0;
27589 __sync_fetch_and_add(&value, 1);
27590 __sync_sub_and_fetch(&value, 1);
27591
27592 ;
27593 return 0;
27594 }
27595 _ACEOF
27596 rm -f conftest.$ac_objext
27597 if { (ac_try="$ac_compile"
27598 case "(($ac_try" in
27599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27600 *) ac_try_echo=$ac_try;;
27601 esac
27602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27603 (eval "$ac_compile") 2>conftest.er1
27604 ac_status=$?
27605 grep -v '^ *+' conftest.er1 >conftest.err
27606 rm -f conftest.er1
27607 cat conftest.err >&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); } && {
27610 test -z "$ac_cxx_werror_flag" ||
27611 test ! -s conftest.err
27612 } && test -s conftest.$ac_objext; then
27613 wx_cv_cc_gcc_atomic_builtins=yes
27614 else
27615 echo "$as_me: failed program was:" >&5
27616 sed 's/^/| /' conftest.$ac_ext >&5
27617
27618 wx_cv_cc_gcc_atomic_builtins=no
27619 fi
27620
27621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27622
27623 fi
27624
27625 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27626 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27627 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27628 cat >>confdefs.h <<\_ACEOF
27629 #define HAVE_GCC_ATOMIC_BUILTINS 1
27630 _ACEOF
27631
27632 fi
27633 fi
27634
27635
27636 ac_ext=c
27637 ac_cpp='$CPP $CPPFLAGS'
27638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27641
27642
27643
27644 SEARCH_INCLUDE="\
27645 /usr/local/include \
27646 \
27647 /usr/Motif-2.1/include \
27648 /usr/Motif-1.2/include \
27649 /usr/include/Motif1.2 \
27650 \
27651 /usr/dt/include \
27652 /usr/openwin/include \
27653 \
27654 /usr/include/Xm \
27655 \
27656 /usr/X11R6/include \
27657 /usr/X11R6.4/include \
27658 /usr/X11R5/include \
27659 /usr/X11R4/include \
27660 \
27661 /usr/include/X11R6 \
27662 /usr/include/X11R5 \
27663 /usr/include/X11R4 \
27664 \
27665 /usr/local/X11R6/include \
27666 /usr/local/X11R5/include \
27667 /usr/local/X11R4/include \
27668 \
27669 /usr/local/include/X11R6 \
27670 /usr/local/include/X11R5 \
27671 /usr/local/include/X11R4 \
27672 \
27673 /usr/X11/include \
27674 /usr/include/X11 \
27675 /usr/local/X11/include \
27676 /usr/local/include/X11 \
27677 \
27678 /usr/XFree86/include/X11 \
27679 /usr/pkg/include \
27680 \
27681 /usr/openwin/share/include"
27682
27683 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27684 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27685
27686 case "${host}" in
27687 *-*-irix6* )
27688 if test "${wx_cv_std_libpath+set}" = set; then
27689 echo $ECHO_N "(cached) $ECHO_C" >&6
27690 else
27691
27692 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27693 for e in a so sl dylib dll.a; do
27694 libc="$d/libc.$e"
27695 if test -f $libc; then
27696 save_LIBS="$LIBS"
27697 LIBS="$libc"
27698 cat >conftest.$ac_ext <<_ACEOF
27699 int main() { return 0; }
27700 _ACEOF
27701 rm -f conftest.$ac_objext conftest$ac_exeext
27702 if { (ac_try="$ac_link"
27703 case "(($ac_try" in
27704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27705 *) ac_try_echo=$ac_try;;
27706 esac
27707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27708 (eval "$ac_link") 2>conftest.er1
27709 ac_status=$?
27710 grep -v '^ *+' conftest.er1 >conftest.err
27711 rm -f conftest.er1
27712 cat conftest.err >&5
27713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27714 (exit $ac_status); } && {
27715 test -z "$ac_c_werror_flag" ||
27716 test ! -s conftest.err
27717 } && test -s conftest$ac_exeext &&
27718 $as_test_x conftest$ac_exeext; then
27719 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27720 else
27721 echo "$as_me: failed program was:" >&5
27722 sed 's/^/| /' conftest.$ac_ext >&5
27723
27724
27725 fi
27726
27727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27728 conftest$ac_exeext conftest.$ac_ext
27729 LIBS="$save_LIBS"
27730 if test "x$wx_cv_std_libpath" != "x"; then
27731 break 2
27732 fi
27733 fi
27734 done
27735 done
27736 if test "x$wx_cv_std_libpath" = "x"; then
27737 wx_cv_std_libpath="lib"
27738 fi
27739
27740
27741 fi
27742
27743 ;;
27744
27745 *-*-solaris2* )
27746 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27747 wx_cv_std_libpath="lib/64"
27748 else
27749 wx_cv_std_libpath="lib"
27750 fi
27751 ;;
27752
27753 *-*-linux* )
27754 if test "$ac_cv_sizeof_void_p" = 8 -a \
27755 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27756 wx_cv_std_libpath="lib64"
27757 else
27758 wx_cv_std_libpath="lib"
27759 fi
27760 ;;
27761
27762 *)
27763 wx_cv_std_libpath="lib";
27764 ;;
27765 esac
27766
27767 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27768 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27769
27770 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27771
27772 if test "$build" != "$host" -a "$GCC" = yes; then
27773 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27774 cross_root=`dirname $cross_root`
27775 cross_root=`dirname $cross_root`
27776
27777 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27778 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27779 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27780
27781 if test -z "$PKG_CONFIG_PATH"; then
27782 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27783 export PKG_CONFIG_PATH
27784 fi
27785
27786 if test -z "$x_includes" -o "$x_includes" = NONE; then
27787
27788 ac_find_includes=
27789 for ac_dir in $SEARCH_INCLUDE /usr/include;
27790 do
27791 if test -f "$ac_dir/X11/Intrinsic.h"; then
27792 ac_find_includes=$ac_dir
27793 break
27794 fi
27795 done
27796
27797 x_includes=$ac_find_includes
27798 fi
27799 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27800
27801 ac_find_libraries=
27802 for ac_dir in $SEARCH_LIB;
27803 do
27804 for ac_extension in a so sl dylib dll.a; do
27805 if test -f "$ac_dir/libXt.$ac_extension"; then
27806 ac_find_libraries=$ac_dir
27807 break 2
27808 fi
27809 done
27810 done
27811
27812 x_libraries=$ac_find_libraries
27813 fi
27814 fi
27815 fi
27816
27817
27818 cat >confcache <<\_ACEOF
27819 # This file is a shell script that caches the results of configure
27820 # tests run on this system so they can be shared between configure
27821 # scripts and configure runs, see configure's option --config-cache.
27822 # It is not useful on other systems. If it contains results you don't
27823 # want to keep, you may remove or edit it.
27824 #
27825 # config.status only pays attention to the cache file if you give it
27826 # the --recheck option to rerun configure.
27827 #
27828 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27829 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27830 # following values.
27831
27832 _ACEOF
27833
27834 # The following way of writing the cache mishandles newlines in values,
27835 # but we know of no workaround that is simple, portable, and efficient.
27836 # So, we kill variables containing newlines.
27837 # Ultrix sh set writes to stderr and can't be redirected directly,
27838 # and sets the high bit in the cache file unless we assign to the vars.
27839 (
27840 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27841 eval ac_val=\$$ac_var
27842 case $ac_val in #(
27843 *${as_nl}*)
27844 case $ac_var in #(
27845 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27846 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27847 esac
27848 case $ac_var in #(
27849 _ | IFS | as_nl) ;; #(
27850 *) $as_unset $ac_var ;;
27851 esac ;;
27852 esac
27853 done
27854
27855 (set) 2>&1 |
27856 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27857 *${as_nl}ac_space=\ *)
27858 # `set' does not quote correctly, so add quotes (double-quote
27859 # substitution turns \\\\ into \\, and sed turns \\ into \).
27860 sed -n \
27861 "s/'/'\\\\''/g;
27862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27863 ;; #(
27864 *)
27865 # `set' quotes correctly as required by POSIX, so do not add quotes.
27866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27867 ;;
27868 esac |
27869 sort
27870 ) |
27871 sed '
27872 /^ac_cv_env_/b end
27873 t clear
27874 :clear
27875 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27876 t end
27877 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27878 :end' >>confcache
27879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27880 if test -w "$cache_file"; then
27881 test "x$cache_file" != "x/dev/null" &&
27882 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27883 echo "$as_me: updating cache $cache_file" >&6;}
27884 cat confcache >$cache_file
27885 else
27886 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27887 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27888 fi
27889 fi
27890 rm -f confcache
27891
27892 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27893 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27894 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27895 if test "${wx_cv_lib_glibc21+set}" = set; then
27896 echo $ECHO_N "(cached) $ECHO_C" >&6
27897 else
27898
27899 cat >conftest.$ac_ext <<_ACEOF
27900 /* confdefs.h. */
27901 _ACEOF
27902 cat confdefs.h >>conftest.$ac_ext
27903 cat >>conftest.$ac_ext <<_ACEOF
27904 /* end confdefs.h. */
27905 #include <features.h>
27906 int
27907 main ()
27908 {
27909
27910 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27911 not glibc 2.1
27912 #endif
27913
27914 ;
27915 return 0;
27916 }
27917 _ACEOF
27918 rm -f conftest.$ac_objext
27919 if { (ac_try="$ac_compile"
27920 case "(($ac_try" in
27921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27922 *) ac_try_echo=$ac_try;;
27923 esac
27924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27925 (eval "$ac_compile") 2>conftest.er1
27926 ac_status=$?
27927 grep -v '^ *+' conftest.er1 >conftest.err
27928 rm -f conftest.er1
27929 cat conftest.err >&5
27930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931 (exit $ac_status); } && {
27932 test -z "$ac_c_werror_flag" ||
27933 test ! -s conftest.err
27934 } && test -s conftest.$ac_objext; then
27935
27936 wx_cv_lib_glibc21=yes
27937
27938 else
27939 echo "$as_me: failed program was:" >&5
27940 sed 's/^/| /' conftest.$ac_ext >&5
27941
27942
27943 wx_cv_lib_glibc21=no
27944
27945
27946 fi
27947
27948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27949
27950 fi
27951 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27952 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27953 if test "$wx_cv_lib_glibc21" = "yes"; then
27954 cat >>confdefs.h <<\_ACEOF
27955 #define wxHAVE_GLIBC2 1
27956 _ACEOF
27957
27958 fi
27959 fi
27960
27961 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27962 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27963 cat >>confdefs.h <<\_ACEOF
27964 #define _GNU_SOURCE 1
27965 _ACEOF
27966
27967 fi
27968 fi
27969
27970 have_cos=0
27971 have_floor=0
27972
27973 for ac_func in cos
27974 do
27975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27976 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27978 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27979 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 else
27981 cat >conftest.$ac_ext <<_ACEOF
27982 /* confdefs.h. */
27983 _ACEOF
27984 cat confdefs.h >>conftest.$ac_ext
27985 cat >>conftest.$ac_ext <<_ACEOF
27986 /* end confdefs.h. */
27987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27989 #define $ac_func innocuous_$ac_func
27990
27991 /* System header to define __stub macros and hopefully few prototypes,
27992 which can conflict with char $ac_func (); below.
27993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27994 <limits.h> exists even on freestanding compilers. */
27995
27996 #ifdef __STDC__
27997 # include <limits.h>
27998 #else
27999 # include <assert.h>
28000 #endif
28001
28002 #undef $ac_func
28003
28004 /* Override any GCC internal prototype to avoid an error.
28005 Use char because int might match the return type of a GCC
28006 builtin and then its argument prototype would still apply. */
28007 #ifdef __cplusplus
28008 extern "C"
28009 #endif
28010 char $ac_func ();
28011 /* The GNU C library defines this for functions which it implements
28012 to always fail with ENOSYS. Some functions are actually named
28013 something starting with __ and the normal name is an alias. */
28014 #if defined __stub_$ac_func || defined __stub___$ac_func
28015 choke me
28016 #endif
28017
28018 int
28019 main ()
28020 {
28021 return $ac_func ();
28022 ;
28023 return 0;
28024 }
28025 _ACEOF
28026 rm -f conftest.$ac_objext conftest$ac_exeext
28027 if { (ac_try="$ac_link"
28028 case "(($ac_try" in
28029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28030 *) ac_try_echo=$ac_try;;
28031 esac
28032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_link") 2>conftest.er1
28034 ac_status=$?
28035 grep -v '^ *+' conftest.er1 >conftest.err
28036 rm -f conftest.er1
28037 cat conftest.err >&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } && {
28040 test -z "$ac_c_werror_flag" ||
28041 test ! -s conftest.err
28042 } && test -s conftest$ac_exeext &&
28043 $as_test_x conftest$ac_exeext; then
28044 eval "$as_ac_var=yes"
28045 else
28046 echo "$as_me: failed program was:" >&5
28047 sed 's/^/| /' conftest.$ac_ext >&5
28048
28049 eval "$as_ac_var=no"
28050 fi
28051
28052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28053 conftest$ac_exeext conftest.$ac_ext
28054 fi
28055 ac_res=`eval echo '${'$as_ac_var'}'`
28056 { echo "$as_me:$LINENO: result: $ac_res" >&5
28057 echo "${ECHO_T}$ac_res" >&6; }
28058 if test `eval echo '${'$as_ac_var'}'` = yes; then
28059 cat >>confdefs.h <<_ACEOF
28060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28061 _ACEOF
28062 have_cos=1
28063 fi
28064 done
28065
28066
28067 for ac_func in floor
28068 do
28069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28070 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28072 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28073 echo $ECHO_N "(cached) $ECHO_C" >&6
28074 else
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h. */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28083 #define $ac_func innocuous_$ac_func
28084
28085 /* System header to define __stub macros and hopefully few prototypes,
28086 which can conflict with char $ac_func (); below.
28087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28088 <limits.h> exists even on freestanding compilers. */
28089
28090 #ifdef __STDC__
28091 # include <limits.h>
28092 #else
28093 # include <assert.h>
28094 #endif
28095
28096 #undef $ac_func
28097
28098 /* Override any GCC internal prototype to avoid an error.
28099 Use char because int might match the return type of a GCC
28100 builtin and then its argument prototype would still apply. */
28101 #ifdef __cplusplus
28102 extern "C"
28103 #endif
28104 char $ac_func ();
28105 /* The GNU C library defines this for functions which it implements
28106 to always fail with ENOSYS. Some functions are actually named
28107 something starting with __ and the normal name is an alias. */
28108 #if defined __stub_$ac_func || defined __stub___$ac_func
28109 choke me
28110 #endif
28111
28112 int
28113 main ()
28114 {
28115 return $ac_func ();
28116 ;
28117 return 0;
28118 }
28119 _ACEOF
28120 rm -f conftest.$ac_objext conftest$ac_exeext
28121 if { (ac_try="$ac_link"
28122 case "(($ac_try" in
28123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28124 *) ac_try_echo=$ac_try;;
28125 esac
28126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28127 (eval "$ac_link") 2>conftest.er1
28128 ac_status=$?
28129 grep -v '^ *+' conftest.er1 >conftest.err
28130 rm -f conftest.er1
28131 cat conftest.err >&5
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); } && {
28134 test -z "$ac_c_werror_flag" ||
28135 test ! -s conftest.err
28136 } && test -s conftest$ac_exeext &&
28137 $as_test_x conftest$ac_exeext; then
28138 eval "$as_ac_var=yes"
28139 else
28140 echo "$as_me: failed program was:" >&5
28141 sed 's/^/| /' conftest.$ac_ext >&5
28142
28143 eval "$as_ac_var=no"
28144 fi
28145
28146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28147 conftest$ac_exeext conftest.$ac_ext
28148 fi
28149 ac_res=`eval echo '${'$as_ac_var'}'`
28150 { echo "$as_me:$LINENO: result: $ac_res" >&5
28151 echo "${ECHO_T}$ac_res" >&6; }
28152 if test `eval echo '${'$as_ac_var'}'` = yes; then
28153 cat >>confdefs.h <<_ACEOF
28154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28155 _ACEOF
28156 have_floor=1
28157 fi
28158 done
28159
28160 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28161 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28162 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28163 { echo "$as_me:$LINENO: result: yes" >&5
28164 echo "${ECHO_T}yes" >&6; }
28165 else
28166 { echo "$as_me:$LINENO: result: no" >&5
28167 echo "${ECHO_T}no" >&6; }
28168 LIBS="$LIBS -lm"
28169 # use different functions to avoid configure caching
28170 have_sin=0
28171 have_ceil=0
28172
28173 for ac_func in sin
28174 do
28175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28176 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28178 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28179 echo $ECHO_N "(cached) $ECHO_C" >&6
28180 else
28181 cat >conftest.$ac_ext <<_ACEOF
28182 /* confdefs.h. */
28183 _ACEOF
28184 cat confdefs.h >>conftest.$ac_ext
28185 cat >>conftest.$ac_ext <<_ACEOF
28186 /* end confdefs.h. */
28187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28189 #define $ac_func innocuous_$ac_func
28190
28191 /* System header to define __stub macros and hopefully few prototypes,
28192 which can conflict with char $ac_func (); below.
28193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28194 <limits.h> exists even on freestanding compilers. */
28195
28196 #ifdef __STDC__
28197 # include <limits.h>
28198 #else
28199 # include <assert.h>
28200 #endif
28201
28202 #undef $ac_func
28203
28204 /* Override any GCC internal prototype to avoid an error.
28205 Use char because int might match the return type of a GCC
28206 builtin and then its argument prototype would still apply. */
28207 #ifdef __cplusplus
28208 extern "C"
28209 #endif
28210 char $ac_func ();
28211 /* The GNU C library defines this for functions which it implements
28212 to always fail with ENOSYS. Some functions are actually named
28213 something starting with __ and the normal name is an alias. */
28214 #if defined __stub_$ac_func || defined __stub___$ac_func
28215 choke me
28216 #endif
28217
28218 int
28219 main ()
28220 {
28221 return $ac_func ();
28222 ;
28223 return 0;
28224 }
28225 _ACEOF
28226 rm -f conftest.$ac_objext conftest$ac_exeext
28227 if { (ac_try="$ac_link"
28228 case "(($ac_try" in
28229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28230 *) ac_try_echo=$ac_try;;
28231 esac
28232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28233 (eval "$ac_link") 2>conftest.er1
28234 ac_status=$?
28235 grep -v '^ *+' conftest.er1 >conftest.err
28236 rm -f conftest.er1
28237 cat conftest.err >&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); } && {
28240 test -z "$ac_c_werror_flag" ||
28241 test ! -s conftest.err
28242 } && test -s conftest$ac_exeext &&
28243 $as_test_x conftest$ac_exeext; then
28244 eval "$as_ac_var=yes"
28245 else
28246 echo "$as_me: failed program was:" >&5
28247 sed 's/^/| /' conftest.$ac_ext >&5
28248
28249 eval "$as_ac_var=no"
28250 fi
28251
28252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28253 conftest$ac_exeext conftest.$ac_ext
28254 fi
28255 ac_res=`eval echo '${'$as_ac_var'}'`
28256 { echo "$as_me:$LINENO: result: $ac_res" >&5
28257 echo "${ECHO_T}$ac_res" >&6; }
28258 if test `eval echo '${'$as_ac_var'}'` = yes; then
28259 cat >>confdefs.h <<_ACEOF
28260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28261 _ACEOF
28262 have_sin=1
28263 fi
28264 done
28265
28266
28267 for ac_func in ceil
28268 do
28269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28273 echo $ECHO_N "(cached) $ECHO_C" >&6
28274 else
28275 cat >conftest.$ac_ext <<_ACEOF
28276 /* confdefs.h. */
28277 _ACEOF
28278 cat confdefs.h >>conftest.$ac_ext
28279 cat >>conftest.$ac_ext <<_ACEOF
28280 /* end confdefs.h. */
28281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28283 #define $ac_func innocuous_$ac_func
28284
28285 /* System header to define __stub macros and hopefully few prototypes,
28286 which can conflict with char $ac_func (); below.
28287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28288 <limits.h> exists even on freestanding compilers. */
28289
28290 #ifdef __STDC__
28291 # include <limits.h>
28292 #else
28293 # include <assert.h>
28294 #endif
28295
28296 #undef $ac_func
28297
28298 /* Override any GCC internal prototype to avoid an error.
28299 Use char because int might match the return type of a GCC
28300 builtin and then its argument prototype would still apply. */
28301 #ifdef __cplusplus
28302 extern "C"
28303 #endif
28304 char $ac_func ();
28305 /* The GNU C library defines this for functions which it implements
28306 to always fail with ENOSYS. Some functions are actually named
28307 something starting with __ and the normal name is an alias. */
28308 #if defined __stub_$ac_func || defined __stub___$ac_func
28309 choke me
28310 #endif
28311
28312 int
28313 main ()
28314 {
28315 return $ac_func ();
28316 ;
28317 return 0;
28318 }
28319 _ACEOF
28320 rm -f conftest.$ac_objext conftest$ac_exeext
28321 if { (ac_try="$ac_link"
28322 case "(($ac_try" in
28323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28324 *) ac_try_echo=$ac_try;;
28325 esac
28326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28327 (eval "$ac_link") 2>conftest.er1
28328 ac_status=$?
28329 grep -v '^ *+' conftest.er1 >conftest.err
28330 rm -f conftest.er1
28331 cat conftest.err >&5
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); } && {
28334 test -z "$ac_c_werror_flag" ||
28335 test ! -s conftest.err
28336 } && test -s conftest$ac_exeext &&
28337 $as_test_x conftest$ac_exeext; then
28338 eval "$as_ac_var=yes"
28339 else
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.$ac_ext >&5
28342
28343 eval "$as_ac_var=no"
28344 fi
28345
28346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28347 conftest$ac_exeext conftest.$ac_ext
28348 fi
28349 ac_res=`eval echo '${'$as_ac_var'}'`
28350 { echo "$as_me:$LINENO: result: $ac_res" >&5
28351 echo "${ECHO_T}$ac_res" >&6; }
28352 if test `eval echo '${'$as_ac_var'}'` = yes; then
28353 cat >>confdefs.h <<_ACEOF
28354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28355 _ACEOF
28356 have_ceil=1
28357 fi
28358 done
28359
28360 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28361 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28362 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28363 { echo "$as_me:$LINENO: result: yes" >&5
28364 echo "${ECHO_T}yes" >&6; }
28365 else
28366 { echo "$as_me:$LINENO: result: no" >&5
28367 echo "${ECHO_T}no" >&6; }
28368 # not sure we should warn the user, crash, etc.
28369 fi
28370 fi
28371
28372 ac_ext=cpp
28373 ac_cpp='$CXXCPP $CPPFLAGS'
28374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28377
28378 if test "wxUSE_UNICODE" = "yes"; then
28379
28380 for wx_func in wcstoull
28381 do
28382 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28383 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28384 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28385 echo $ECHO_N "(cached) $ECHO_C" >&6
28386 else
28387
28388 cat >conftest.$ac_ext <<_ACEOF
28389
28390 /* confdefs.h. */
28391 _ACEOF
28392 cat confdefs.h >>conftest.$ac_ext
28393 cat >>conftest.$ac_ext <<_ACEOF
28394 /* end confdefs.h. */
28395
28396
28397 $ac_includes_default
28398
28399 int
28400 main ()
28401 {
28402
28403 #ifndef $wx_func
28404 &$wx_func;
28405 #endif
28406
28407
28408 ;
28409 return 0;
28410 }
28411
28412 _ACEOF
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (ac_try="$ac_link"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28418 esac
28419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_link") 2>conftest.er1
28421 ac_status=$?
28422 grep -v '^ *+' conftest.er1 >conftest.err
28423 rm -f conftest.er1
28424 cat conftest.err >&5
28425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28426 (exit $ac_status); } && {
28427 test -z "$ac_cxx_werror_flag" ||
28428 test ! -s conftest.err
28429 } && test -s conftest$ac_exeext &&
28430 $as_test_x conftest$ac_exeext; then
28431 eval wx_cv_func_$wx_func=yes
28432 else
28433 echo "$as_me: failed program was:" >&5
28434 sed 's/^/| /' conftest.$ac_ext >&5
28435
28436 eval wx_cv_func_$wx_func=no
28437 fi
28438
28439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28440 conftest$ac_exeext conftest.$ac_ext
28441
28442 fi
28443 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28444 { echo "$as_me:$LINENO: result: $ac_res" >&5
28445 echo "${ECHO_T}$ac_res" >&6; }
28446
28447 if eval test \$wx_cv_func_$wx_func = yes
28448 then
28449 cat >>confdefs.h <<_ACEOF
28450 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28451 _ACEOF
28452
28453
28454 else
28455 :
28456
28457 fi
28458 done
28459
28460 else
28461
28462 for wx_func in strtoull
28463 do
28464 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28465 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28466 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28467 echo $ECHO_N "(cached) $ECHO_C" >&6
28468 else
28469
28470 cat >conftest.$ac_ext <<_ACEOF
28471
28472 /* confdefs.h. */
28473 _ACEOF
28474 cat confdefs.h >>conftest.$ac_ext
28475 cat >>conftest.$ac_ext <<_ACEOF
28476 /* end confdefs.h. */
28477
28478
28479 $ac_includes_default
28480
28481 int
28482 main ()
28483 {
28484
28485 #ifndef $wx_func
28486 &$wx_func;
28487 #endif
28488
28489
28490 ;
28491 return 0;
28492 }
28493
28494 _ACEOF
28495 rm -f conftest.$ac_objext conftest$ac_exeext
28496 if { (ac_try="$ac_link"
28497 case "(($ac_try" in
28498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28499 *) ac_try_echo=$ac_try;;
28500 esac
28501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28502 (eval "$ac_link") 2>conftest.er1
28503 ac_status=$?
28504 grep -v '^ *+' conftest.er1 >conftest.err
28505 rm -f conftest.er1
28506 cat conftest.err >&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } && {
28509 test -z "$ac_cxx_werror_flag" ||
28510 test ! -s conftest.err
28511 } && test -s conftest$ac_exeext &&
28512 $as_test_x conftest$ac_exeext; then
28513 eval wx_cv_func_$wx_func=yes
28514 else
28515 echo "$as_me: failed program was:" >&5
28516 sed 's/^/| /' conftest.$ac_ext >&5
28517
28518 eval wx_cv_func_$wx_func=no
28519 fi
28520
28521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28522 conftest$ac_exeext conftest.$ac_ext
28523
28524 fi
28525 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28526 { echo "$as_me:$LINENO: result: $ac_res" >&5
28527 echo "${ECHO_T}$ac_res" >&6; }
28528
28529 if eval test \$wx_cv_func_$wx_func = yes
28530 then
28531 cat >>confdefs.h <<_ACEOF
28532 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28533 _ACEOF
28534
28535
28536 else
28537 :
28538
28539 fi
28540 done
28541
28542 fi
28543 ac_ext=c
28544 ac_cpp='$CPP $CPPFLAGS'
28545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28548
28549
28550
28551
28552 if test "$wxUSE_REGEX" != "no"; then
28553 cat >>confdefs.h <<\_ACEOF
28554 #define wxUSE_REGEX 1
28555 _ACEOF
28556
28557
28558 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28559 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28560 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28561 wxUSE_REGEX=builtin
28562 fi
28563
28564 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28565 { echo "$as_me:$LINENO: checking for regex.h" >&5
28566 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28567 if test "${ac_cv_header_regex_h+set}" = set; then
28568 echo $ECHO_N "(cached) $ECHO_C" >&6
28569 else
28570 cat >conftest.$ac_ext <<_ACEOF
28571 /* confdefs.h. */
28572 _ACEOF
28573 cat confdefs.h >>conftest.$ac_ext
28574 cat >>conftest.$ac_ext <<_ACEOF
28575 /* end confdefs.h. */
28576
28577
28578 #include <regex.h>
28579 _ACEOF
28580 rm -f conftest.$ac_objext
28581 if { (ac_try="$ac_compile"
28582 case "(($ac_try" in
28583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28584 *) ac_try_echo=$ac_try;;
28585 esac
28586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28587 (eval "$ac_compile") 2>conftest.er1
28588 ac_status=$?
28589 grep -v '^ *+' conftest.er1 >conftest.err
28590 rm -f conftest.er1
28591 cat conftest.err >&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); } && {
28594 test -z "$ac_c_werror_flag" ||
28595 test ! -s conftest.err
28596 } && test -s conftest.$ac_objext; then
28597 ac_cv_header_regex_h=yes
28598 else
28599 echo "$as_me: failed program was:" >&5
28600 sed 's/^/| /' conftest.$ac_ext >&5
28601
28602 ac_cv_header_regex_h=no
28603 fi
28604
28605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28606 fi
28607 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28608 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28609 if test $ac_cv_header_regex_h = yes; then
28610
28611
28612 for ac_func in regcomp re_search
28613 do
28614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28615 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28617 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28618 echo $ECHO_N "(cached) $ECHO_C" >&6
28619 else
28620 cat >conftest.$ac_ext <<_ACEOF
28621 /* confdefs.h. */
28622 _ACEOF
28623 cat confdefs.h >>conftest.$ac_ext
28624 cat >>conftest.$ac_ext <<_ACEOF
28625 /* end confdefs.h. */
28626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28628 #define $ac_func innocuous_$ac_func
28629
28630 /* System header to define __stub macros and hopefully few prototypes,
28631 which can conflict with char $ac_func (); below.
28632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28633 <limits.h> exists even on freestanding compilers. */
28634
28635 #ifdef __STDC__
28636 # include <limits.h>
28637 #else
28638 # include <assert.h>
28639 #endif
28640
28641 #undef $ac_func
28642
28643 /* Override any GCC internal prototype to avoid an error.
28644 Use char because int might match the return type of a GCC
28645 builtin and then its argument prototype would still apply. */
28646 #ifdef __cplusplus
28647 extern "C"
28648 #endif
28649 char $ac_func ();
28650 /* The GNU C library defines this for functions which it implements
28651 to always fail with ENOSYS. Some functions are actually named
28652 something starting with __ and the normal name is an alias. */
28653 #if defined __stub_$ac_func || defined __stub___$ac_func
28654 choke me
28655 #endif
28656
28657 int
28658 main ()
28659 {
28660 return $ac_func ();
28661 ;
28662 return 0;
28663 }
28664 _ACEOF
28665 rm -f conftest.$ac_objext conftest$ac_exeext
28666 if { (ac_try="$ac_link"
28667 case "(($ac_try" in
28668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28669 *) ac_try_echo=$ac_try;;
28670 esac
28671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28672 (eval "$ac_link") 2>conftest.er1
28673 ac_status=$?
28674 grep -v '^ *+' conftest.er1 >conftest.err
28675 rm -f conftest.er1
28676 cat conftest.err >&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } && {
28679 test -z "$ac_c_werror_flag" ||
28680 test ! -s conftest.err
28681 } && test -s conftest$ac_exeext &&
28682 $as_test_x conftest$ac_exeext; then
28683 eval "$as_ac_var=yes"
28684 else
28685 echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28687
28688 eval "$as_ac_var=no"
28689 fi
28690
28691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28692 conftest$ac_exeext conftest.$ac_ext
28693 fi
28694 ac_res=`eval echo '${'$as_ac_var'}'`
28695 { echo "$as_me:$LINENO: result: $ac_res" >&5
28696 echo "${ECHO_T}$ac_res" >&6; }
28697 if test `eval echo '${'$as_ac_var'}'` = yes; then
28698 cat >>confdefs.h <<_ACEOF
28699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28700 _ACEOF
28701
28702 fi
28703 done
28704
28705 fi
28706
28707
28708
28709 if test "x$ac_cv_func_regcomp" != "xyes"; then
28710 if test "$wxUSE_REGEX" = "sys" ; then
28711 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28712 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28713 { (exit 1); exit 1; }; }
28714 else
28715 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28716 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28717 wxUSE_REGEX=builtin
28718 fi
28719 else
28720 wxUSE_REGEX=sys
28721 cat >>confdefs.h <<\_ACEOF
28722 #define WX_NO_REGEX_ADVANCED 1
28723 _ACEOF
28724
28725 fi
28726 fi
28727 fi
28728
28729
28730 ZLIB_LINK=
28731 if test "$wxUSE_ZLIB" != "no" ; then
28732 cat >>confdefs.h <<\_ACEOF
28733 #define wxUSE_ZLIB 1
28734 _ACEOF
28735
28736
28737 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28738 if test "$USE_DARWIN" = 1; then
28739 system_zlib_h_ok="yes"
28740 else
28741 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28742 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28743 if test "${ac_cv_header_zlib_h+set}" = set; then
28744 echo $ECHO_N "(cached) $ECHO_C" >&6
28745 else
28746 if test "$cross_compiling" = yes; then
28747 unset ac_cv_header_zlib_h
28748
28749 else
28750 cat >conftest.$ac_ext <<_ACEOF
28751 /* confdefs.h. */
28752 _ACEOF
28753 cat confdefs.h >>conftest.$ac_ext
28754 cat >>conftest.$ac_ext <<_ACEOF
28755 /* end confdefs.h. */
28756
28757 #include <zlib.h>
28758 #include <stdio.h>
28759
28760 int main()
28761 {
28762 FILE *f=fopen("conftestval", "w");
28763 if (!f) exit(1);
28764 fprintf(f, "%s",
28765 ZLIB_VERSION[0] == '1' &&
28766 (ZLIB_VERSION[2] > '1' ||
28767 (ZLIB_VERSION[2] == '1' &&
28768 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28769 exit(0);
28770 }
28771
28772 _ACEOF
28773 rm -f conftest$ac_exeext
28774 if { (ac_try="$ac_link"
28775 case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28778 esac
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_link") 2>&5
28781 ac_status=$?
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28784 { (case "(($ac_try" in
28785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28786 *) ac_try_echo=$ac_try;;
28787 esac
28788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28789 (eval "$ac_try") 2>&5
28790 ac_status=$?
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); }; }; then
28793 ac_cv_header_zlib_h=`cat conftestval`
28794 else
28795 echo "$as_me: program exited with status $ac_status" >&5
28796 echo "$as_me: failed program was:" >&5
28797 sed 's/^/| /' conftest.$ac_ext >&5
28798
28799 ( exit $ac_status )
28800 ac_cv_header_zlib_h=no
28801 fi
28802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28803 fi
28804
28805
28806
28807 fi
28808 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28809 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28810 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28811 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28812 if test "${ac_cv_header_zlib_h+set}" = set; then
28813 echo $ECHO_N "(cached) $ECHO_C" >&6
28814 else
28815 cat >conftest.$ac_ext <<_ACEOF
28816 /* confdefs.h. */
28817 _ACEOF
28818 cat confdefs.h >>conftest.$ac_ext
28819 cat >>conftest.$ac_ext <<_ACEOF
28820 /* end confdefs.h. */
28821
28822
28823 #include <zlib.h>
28824 _ACEOF
28825 rm -f conftest.$ac_objext
28826 if { (ac_try="$ac_compile"
28827 case "(($ac_try" in
28828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28829 *) ac_try_echo=$ac_try;;
28830 esac
28831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28832 (eval "$ac_compile") 2>conftest.er1
28833 ac_status=$?
28834 grep -v '^ *+' conftest.er1 >conftest.err
28835 rm -f conftest.er1
28836 cat conftest.err >&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); } && {
28839 test -z "$ac_c_werror_flag" ||
28840 test ! -s conftest.err
28841 } && test -s conftest.$ac_objext; then
28842 ac_cv_header_zlib_h=yes
28843 else
28844 echo "$as_me: failed program was:" >&5
28845 sed 's/^/| /' conftest.$ac_ext >&5
28846
28847 ac_cv_header_zlib_h=no
28848 fi
28849
28850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28851 fi
28852 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28853 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28854
28855
28856
28857 system_zlib_h_ok=$ac_cv_header_zlib_h
28858 fi
28859
28860 if test "$system_zlib_h_ok" = "yes"; then
28861 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28862 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28863 if test "${ac_cv_lib_z_deflate+set}" = set; then
28864 echo $ECHO_N "(cached) $ECHO_C" >&6
28865 else
28866 ac_check_lib_save_LIBS=$LIBS
28867 LIBS="-lz $LIBS"
28868 cat >conftest.$ac_ext <<_ACEOF
28869 /* confdefs.h. */
28870 _ACEOF
28871 cat confdefs.h >>conftest.$ac_ext
28872 cat >>conftest.$ac_ext <<_ACEOF
28873 /* end confdefs.h. */
28874
28875 /* Override any GCC internal prototype to avoid an error.
28876 Use char because int might match the return type of a GCC
28877 builtin and then its argument prototype would still apply. */
28878 #ifdef __cplusplus
28879 extern "C"
28880 #endif
28881 char deflate ();
28882 int
28883 main ()
28884 {
28885 return deflate ();
28886 ;
28887 return 0;
28888 }
28889 _ACEOF
28890 rm -f conftest.$ac_objext conftest$ac_exeext
28891 if { (ac_try="$ac_link"
28892 case "(($ac_try" in
28893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28894 *) ac_try_echo=$ac_try;;
28895 esac
28896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28897 (eval "$ac_link") 2>conftest.er1
28898 ac_status=$?
28899 grep -v '^ *+' conftest.er1 >conftest.err
28900 rm -f conftest.er1
28901 cat conftest.err >&5
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); } && {
28904 test -z "$ac_c_werror_flag" ||
28905 test ! -s conftest.err
28906 } && test -s conftest$ac_exeext &&
28907 $as_test_x conftest$ac_exeext; then
28908 ac_cv_lib_z_deflate=yes
28909 else
28910 echo "$as_me: failed program was:" >&5
28911 sed 's/^/| /' conftest.$ac_ext >&5
28912
28913 ac_cv_lib_z_deflate=no
28914 fi
28915
28916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28917 conftest$ac_exeext conftest.$ac_ext
28918 LIBS=$ac_check_lib_save_LIBS
28919 fi
28920 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28921 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28922 if test $ac_cv_lib_z_deflate = yes; then
28923 ZLIB_LINK=" -lz"
28924 fi
28925
28926 fi
28927
28928 if test "x$ZLIB_LINK" = "x" ; then
28929 if test "$wxUSE_ZLIB" = "sys" ; then
28930 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28931 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28932 { (exit 1); exit 1; }; }
28933 else
28934 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28935 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28936 wxUSE_ZLIB=builtin
28937 fi
28938 else
28939 wxUSE_ZLIB=sys
28940 fi
28941 fi
28942 fi
28943
28944
28945 PNG_LINK=
28946 if test "$wxUSE_LIBPNG" != "no" ; then
28947 cat >>confdefs.h <<\_ACEOF
28948 #define wxUSE_LIBPNG 1
28949 _ACEOF
28950
28951
28952 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28953 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28954 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28955 wxUSE_LIBPNG=sys
28956 fi
28957
28958 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28959 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28960 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28961 wxUSE_LIBPNG=builtin
28962 fi
28963
28964 if test "$wxUSE_MGL" != 1 ; then
28965 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28966 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28967 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28968 if test "${ac_cv_header_png_h+set}" = set; then
28969 echo $ECHO_N "(cached) $ECHO_C" >&6
28970 else
28971 if test "$cross_compiling" = yes; then
28972 unset ac_cv_header_png_h
28973
28974 else
28975 cat >conftest.$ac_ext <<_ACEOF
28976 /* confdefs.h. */
28977 _ACEOF
28978 cat confdefs.h >>conftest.$ac_ext
28979 cat >>conftest.$ac_ext <<_ACEOF
28980 /* end confdefs.h. */
28981
28982 #include <png.h>
28983 #include <stdio.h>
28984
28985 int main()
28986 {
28987 FILE *f=fopen("conftestval", "w");
28988 if (!f) exit(1);
28989 fprintf(f, "%s",
28990 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28991 exit(0);
28992 }
28993
28994 _ACEOF
28995 rm -f conftest$ac_exeext
28996 if { (ac_try="$ac_link"
28997 case "(($ac_try" in
28998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28999 *) ac_try_echo=$ac_try;;
29000 esac
29001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29002 (eval "$ac_link") 2>&5
29003 ac_status=$?
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29006 { (case "(($ac_try" in
29007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29008 *) ac_try_echo=$ac_try;;
29009 esac
29010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29011 (eval "$ac_try") 2>&5
29012 ac_status=$?
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); }; }; then
29015 ac_cv_header_png_h=`cat conftestval`
29016 else
29017 echo "$as_me: program exited with status $ac_status" >&5
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021 ( exit $ac_status )
29022 ac_cv_header_png_h=no
29023 fi
29024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29025 fi
29026
29027
29028
29029 fi
29030 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29031 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29032 { echo "$as_me:$LINENO: checking for png.h" >&5
29033 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29034 if test "${ac_cv_header_png_h+set}" = set; then
29035 echo $ECHO_N "(cached) $ECHO_C" >&6
29036 else
29037 cat >conftest.$ac_ext <<_ACEOF
29038 /* confdefs.h. */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043
29044
29045 #include <png.h>
29046 _ACEOF
29047 rm -f conftest.$ac_objext
29048 if { (ac_try="$ac_compile"
29049 case "(($ac_try" in
29050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29051 *) ac_try_echo=$ac_try;;
29052 esac
29053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29054 (eval "$ac_compile") 2>conftest.er1
29055 ac_status=$?
29056 grep -v '^ *+' conftest.er1 >conftest.err
29057 rm -f conftest.er1
29058 cat conftest.err >&5
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); } && {
29061 test -z "$ac_c_werror_flag" ||
29062 test ! -s conftest.err
29063 } && test -s conftest.$ac_objext; then
29064 ac_cv_header_png_h=yes
29065 else
29066 echo "$as_me: failed program was:" >&5
29067 sed 's/^/| /' conftest.$ac_ext >&5
29068
29069 ac_cv_header_png_h=no
29070 fi
29071
29072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29073 fi
29074 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29075 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29076
29077
29078
29079 if test "$ac_cv_header_png_h" = "yes"; then
29080 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29081 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29082 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29083 echo $ECHO_N "(cached) $ECHO_C" >&6
29084 else
29085 ac_check_lib_save_LIBS=$LIBS
29086 LIBS="-lpng -lz -lm $LIBS"
29087 cat >conftest.$ac_ext <<_ACEOF
29088 /* confdefs.h. */
29089 _ACEOF
29090 cat confdefs.h >>conftest.$ac_ext
29091 cat >>conftest.$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29093
29094 /* Override any GCC internal prototype to avoid an error.
29095 Use char because int might match the return type of a GCC
29096 builtin and then its argument prototype would still apply. */
29097 #ifdef __cplusplus
29098 extern "C"
29099 #endif
29100 char png_check_sig ();
29101 int
29102 main ()
29103 {
29104 return png_check_sig ();
29105 ;
29106 return 0;
29107 }
29108 _ACEOF
29109 rm -f conftest.$ac_objext conftest$ac_exeext
29110 if { (ac_try="$ac_link"
29111 case "(($ac_try" in
29112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29113 *) ac_try_echo=$ac_try;;
29114 esac
29115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29116 (eval "$ac_link") 2>conftest.er1
29117 ac_status=$?
29118 grep -v '^ *+' conftest.er1 >conftest.err
29119 rm -f conftest.er1
29120 cat conftest.err >&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); } && {
29123 test -z "$ac_c_werror_flag" ||
29124 test ! -s conftest.err
29125 } && test -s conftest$ac_exeext &&
29126 $as_test_x conftest$ac_exeext; then
29127 ac_cv_lib_png_png_check_sig=yes
29128 else
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29131
29132 ac_cv_lib_png_png_check_sig=no
29133 fi
29134
29135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29136 conftest$ac_exeext conftest.$ac_ext
29137 LIBS=$ac_check_lib_save_LIBS
29138 fi
29139 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29140 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29141 if test $ac_cv_lib_png_png_check_sig = yes; then
29142 PNG_LINK=" -lpng -lz"
29143 fi
29144
29145 fi
29146
29147 if test "x$PNG_LINK" = "x" ; then
29148 if test "$wxUSE_LIBPNG" = "sys" ; then
29149 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29150 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29151 { (exit 1); exit 1; }; }
29152 else
29153 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29154 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29155 wxUSE_LIBPNG=builtin
29156 fi
29157 else
29158 wxUSE_LIBPNG=sys
29159 fi
29160 fi
29161 fi
29162 fi
29163
29164
29165 TIFF_LINK=
29166 TIFF_PREREQ_LINKS=-lm
29167 if test "$wxUSE_LIBTIFF" != "no" ; then
29168 cat >>confdefs.h <<\_ACEOF
29169 #define wxUSE_LIBTIFF 1
29170 _ACEOF
29171
29172
29173 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29174 if test "$wxUSE_LIBJPEG" = "sys"; then
29175 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29176 fi
29177 if test "$wxUSE_ZLIB" = "sys"; then
29178 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29179 fi
29180 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29181 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29182 if test "${ac_cv_header_tiffio_h+set}" = set; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 else
29185 cat >conftest.$ac_ext <<_ACEOF
29186 /* confdefs.h. */
29187 _ACEOF
29188 cat confdefs.h >>conftest.$ac_ext
29189 cat >>conftest.$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29191
29192
29193
29194 #include <tiffio.h>
29195 _ACEOF
29196 rm -f conftest.$ac_objext
29197 if { (ac_try="$ac_compile"
29198 case "(($ac_try" in
29199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29200 *) ac_try_echo=$ac_try;;
29201 esac
29202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29203 (eval "$ac_compile") 2>conftest.er1
29204 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } && {
29210 test -z "$ac_c_werror_flag" ||
29211 test ! -s conftest.err
29212 } && test -s conftest.$ac_objext; then
29213 ac_cv_header_tiffio_h=yes
29214 else
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.$ac_ext >&5
29217
29218 ac_cv_header_tiffio_h=no
29219 fi
29220
29221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29222 fi
29223 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29224 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29225 if test $ac_cv_header_tiffio_h = yes; then
29226
29227 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29228 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29229 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29230 echo $ECHO_N "(cached) $ECHO_C" >&6
29231 else
29232 ac_check_lib_save_LIBS=$LIBS
29233 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29234 cat >conftest.$ac_ext <<_ACEOF
29235 /* confdefs.h. */
29236 _ACEOF
29237 cat confdefs.h >>conftest.$ac_ext
29238 cat >>conftest.$ac_ext <<_ACEOF
29239 /* end confdefs.h. */
29240
29241 /* Override any GCC internal prototype to avoid an error.
29242 Use char because int might match the return type of a GCC
29243 builtin and then its argument prototype would still apply. */
29244 #ifdef __cplusplus
29245 extern "C"
29246 #endif
29247 char TIFFError ();
29248 int
29249 main ()
29250 {
29251 return TIFFError ();
29252 ;
29253 return 0;
29254 }
29255 _ACEOF
29256 rm -f conftest.$ac_objext conftest$ac_exeext
29257 if { (ac_try="$ac_link"
29258 case "(($ac_try" in
29259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29260 *) ac_try_echo=$ac_try;;
29261 esac
29262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29263 (eval "$ac_link") 2>conftest.er1
29264 ac_status=$?
29265 grep -v '^ *+' conftest.er1 >conftest.err
29266 rm -f conftest.er1
29267 cat conftest.err >&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); } && {
29270 test -z "$ac_c_werror_flag" ||
29271 test ! -s conftest.err
29272 } && test -s conftest$ac_exeext &&
29273 $as_test_x conftest$ac_exeext; then
29274 ac_cv_lib_tiff_TIFFError=yes
29275 else
29276 echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.$ac_ext >&5
29278
29279 ac_cv_lib_tiff_TIFFError=no
29280 fi
29281
29282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29283 conftest$ac_exeext conftest.$ac_ext
29284 LIBS=$ac_check_lib_save_LIBS
29285 fi
29286 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29287 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29288 if test $ac_cv_lib_tiff_TIFFError = yes; then
29289 TIFF_LINK=" -ltiff"
29290 fi
29291
29292
29293 fi
29294
29295
29296
29297 if test "x$TIFF_LINK" = "x" ; then
29298 if test "$wxUSE_LIBTIFF" = "sys" ; then
29299 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29300 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29301 { (exit 1); exit 1; }; }
29302 else
29303 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29304 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29305 wxUSE_LIBTIFF=builtin
29306 fi
29307 else
29308 wxUSE_LIBTIFF=sys
29309 fi
29310 fi
29311 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29312 subdirs="$subdirs src/tiff"
29313
29314 fi
29315 fi
29316
29317
29318 JPEG_LINK=
29319 if test "$wxUSE_LIBJPEG" != "no" ; then
29320 cat >>confdefs.h <<\_ACEOF
29321 #define wxUSE_LIBJPEG 1
29322 _ACEOF
29323
29324
29325 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29326 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29327 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29328 wxUSE_LIBJPEG=sys
29329 fi
29330
29331 if test "$wxUSE_MGL" != 1 ; then
29332 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29333 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29334 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29335 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29336 echo $ECHO_N "(cached) $ECHO_C" >&6
29337 else
29338 cat >conftest.$ac_ext <<_ACEOF
29339 /* confdefs.h. */
29340 _ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29344
29345 #undef HAVE_STDLIB_H
29346 #include <stdio.h>
29347 #include <jpeglib.h>
29348
29349 int
29350 main ()
29351 {
29352
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_cv_header_jpeglib_h=yes
29376 else
29377 echo "$as_me: failed program was:" >&5
29378 sed 's/^/| /' conftest.$ac_ext >&5
29379
29380 ac_cv_header_jpeglib_h=no
29381
29382 fi
29383
29384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29385
29386 fi
29387
29388 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29389 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29390
29391 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29392 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29393 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29394 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29395 echo $ECHO_N "(cached) $ECHO_C" >&6
29396 else
29397 ac_check_lib_save_LIBS=$LIBS
29398 LIBS="-ljpeg $LIBS"
29399 cat >conftest.$ac_ext <<_ACEOF
29400 /* confdefs.h. */
29401 _ACEOF
29402 cat confdefs.h >>conftest.$ac_ext
29403 cat >>conftest.$ac_ext <<_ACEOF
29404 /* end confdefs.h. */
29405
29406 /* Override any GCC internal prototype to avoid an error.
29407 Use char because int might match the return type of a GCC
29408 builtin and then its argument prototype would still apply. */
29409 #ifdef __cplusplus
29410 extern "C"
29411 #endif
29412 char jpeg_read_header ();
29413 int
29414 main ()
29415 {
29416 return jpeg_read_header ();
29417 ;
29418 return 0;
29419 }
29420 _ACEOF
29421 rm -f conftest.$ac_objext conftest$ac_exeext
29422 if { (ac_try="$ac_link"
29423 case "(($ac_try" in
29424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29425 *) ac_try_echo=$ac_try;;
29426 esac
29427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29428 (eval "$ac_link") 2>conftest.er1
29429 ac_status=$?
29430 grep -v '^ *+' conftest.er1 >conftest.err
29431 rm -f conftest.er1
29432 cat conftest.err >&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); } && {
29435 test -z "$ac_c_werror_flag" ||
29436 test ! -s conftest.err
29437 } && test -s conftest$ac_exeext &&
29438 $as_test_x conftest$ac_exeext; then
29439 ac_cv_lib_jpeg_jpeg_read_header=yes
29440 else
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.$ac_ext >&5
29443
29444 ac_cv_lib_jpeg_jpeg_read_header=no
29445 fi
29446
29447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29448 conftest$ac_exeext conftest.$ac_ext
29449 LIBS=$ac_check_lib_save_LIBS
29450 fi
29451 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29452 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29453 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29454 JPEG_LINK=" -ljpeg"
29455 fi
29456
29457 fi
29458
29459 if test "x$JPEG_LINK" = "x" ; then
29460 if test "$wxUSE_LIBJPEG" = "sys" ; then
29461 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29462 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29463 { (exit 1); exit 1; }; }
29464 else
29465 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29466 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29467 wxUSE_LIBJPEG=builtin
29468 fi
29469 else
29470 wxUSE_LIBJPEG=sys
29471
29472 if test "$wxUSE_MSW" = 1; then
29473 { echo "$as_me:$LINENO: checking for boolean" >&5
29474 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29475 if test "${ac_cv_type_boolean+set}" = set; then
29476 echo $ECHO_N "(cached) $ECHO_C" >&6
29477 else
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 #include <windows.h>
29485
29486 typedef boolean ac__type_new_;
29487 int
29488 main ()
29489 {
29490 if ((ac__type_new_ *) 0)
29491 return 0;
29492 if (sizeof (ac__type_new_))
29493 return 0;
29494 ;
29495 return 0;
29496 }
29497 _ACEOF
29498 rm -f conftest.$ac_objext
29499 if { (ac_try="$ac_compile"
29500 case "(($ac_try" in
29501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29502 *) ac_try_echo=$ac_try;;
29503 esac
29504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29505 (eval "$ac_compile") 2>conftest.er1
29506 ac_status=$?
29507 grep -v '^ *+' conftest.er1 >conftest.err
29508 rm -f conftest.er1
29509 cat conftest.err >&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); } && {
29512 test -z "$ac_c_werror_flag" ||
29513 test ! -s conftest.err
29514 } && test -s conftest.$ac_objext; then
29515 ac_cv_type_boolean=yes
29516 else
29517 echo "$as_me: failed program was:" >&5
29518 sed 's/^/| /' conftest.$ac_ext >&5
29519
29520 ac_cv_type_boolean=no
29521 fi
29522
29523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29524 fi
29525 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29526 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29527 if test $ac_cv_type_boolean = yes; then
29528
29529 cat >>confdefs.h <<_ACEOF
29530 #define HAVE_BOOLEAN 1
29531 _ACEOF
29532
29533
29534 { echo "$as_me:$LINENO: checking for boolean" >&5
29535 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29536 if test "${ac_cv_type_boolean+set}" = set; then
29537 echo $ECHO_N "(cached) $ECHO_C" >&6
29538 else
29539 cat >conftest.$ac_ext <<_ACEOF
29540 /* confdefs.h. */
29541 _ACEOF
29542 cat confdefs.h >>conftest.$ac_ext
29543 cat >>conftest.$ac_ext <<_ACEOF
29544 /* end confdefs.h. */
29545
29546 #undef HAVE_BOOLEAN
29547 #include <stdio.h>
29548 #include <jpeglib.h>
29549
29550
29551 typedef boolean ac__type_new_;
29552 int
29553 main ()
29554 {
29555 if ((ac__type_new_ *) 0)
29556 return 0;
29557 if (sizeof (ac__type_new_))
29558 return 0;
29559 ;
29560 return 0;
29561 }
29562 _ACEOF
29563 rm -f conftest.$ac_objext
29564 if { (ac_try="$ac_compile"
29565 case "(($ac_try" in
29566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29567 *) ac_try_echo=$ac_try;;
29568 esac
29569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29570 (eval "$ac_compile") 2>conftest.er1
29571 ac_status=$?
29572 grep -v '^ *+' conftest.er1 >conftest.err
29573 rm -f conftest.er1
29574 cat conftest.err >&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } && {
29577 test -z "$ac_c_werror_flag" ||
29578 test ! -s conftest.err
29579 } && test -s conftest.$ac_objext; then
29580 ac_cv_type_boolean=yes
29581 else
29582 echo "$as_me: failed program was:" >&5
29583 sed 's/^/| /' conftest.$ac_ext >&5
29584
29585 ac_cv_type_boolean=no
29586 fi
29587
29588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29589 fi
29590 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29591 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29592
29593 # The cast to long int works around a bug in the HP C Compiler
29594 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29595 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29596 # This bug is HP SR number 8606223364.
29597 { echo "$as_me:$LINENO: checking size of boolean" >&5
29598 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29599 if test "${ac_cv_sizeof_boolean+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 else
29602 if test "$cross_compiling" = yes; then
29603 # Depending upon the size, compute the lo and hi bounds.
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610
29611 #undef HAVE_BOOLEAN
29612 #include <stdio.h>
29613 #include <jpeglib.h>
29614
29615
29616 typedef boolean ac__type_sizeof_;
29617 int
29618 main ()
29619 {
29620 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29621 test_array [0] = 0
29622
29623 ;
29624 return 0;
29625 }
29626 _ACEOF
29627 rm -f conftest.$ac_objext
29628 if { (ac_try="$ac_compile"
29629 case "(($ac_try" in
29630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29631 *) ac_try_echo=$ac_try;;
29632 esac
29633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29634 (eval "$ac_compile") 2>conftest.er1
29635 ac_status=$?
29636 grep -v '^ *+' conftest.er1 >conftest.err
29637 rm -f conftest.er1
29638 cat conftest.err >&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } && {
29641 test -z "$ac_c_werror_flag" ||
29642 test ! -s conftest.err
29643 } && test -s conftest.$ac_objext; then
29644 ac_lo=0 ac_mid=0
29645 while :; do
29646 cat >conftest.$ac_ext <<_ACEOF
29647 /* confdefs.h. */
29648 _ACEOF
29649 cat confdefs.h >>conftest.$ac_ext
29650 cat >>conftest.$ac_ext <<_ACEOF
29651 /* end confdefs.h. */
29652
29653 #undef HAVE_BOOLEAN
29654 #include <stdio.h>
29655 #include <jpeglib.h>
29656
29657
29658 typedef boolean ac__type_sizeof_;
29659 int
29660 main ()
29661 {
29662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29663 test_array [0] = 0
29664
29665 ;
29666 return 0;
29667 }
29668 _ACEOF
29669 rm -f conftest.$ac_objext
29670 if { (ac_try="$ac_compile"
29671 case "(($ac_try" in
29672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29673 *) ac_try_echo=$ac_try;;
29674 esac
29675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29676 (eval "$ac_compile") 2>conftest.er1
29677 ac_status=$?
29678 grep -v '^ *+' conftest.er1 >conftest.err
29679 rm -f conftest.er1
29680 cat conftest.err >&5
29681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29682 (exit $ac_status); } && {
29683 test -z "$ac_c_werror_flag" ||
29684 test ! -s conftest.err
29685 } && test -s conftest.$ac_objext; then
29686 ac_hi=$ac_mid; break
29687 else
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.$ac_ext >&5
29690
29691 ac_lo=`expr $ac_mid + 1`
29692 if test $ac_lo -le $ac_mid; then
29693 ac_lo= ac_hi=
29694 break
29695 fi
29696 ac_mid=`expr 2 '*' $ac_mid + 1`
29697 fi
29698
29699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29700 done
29701 else
29702 echo "$as_me: failed program was:" >&5
29703 sed 's/^/| /' conftest.$ac_ext >&5
29704
29705 cat >conftest.$ac_ext <<_ACEOF
29706 /* confdefs.h. */
29707 _ACEOF
29708 cat confdefs.h >>conftest.$ac_ext
29709 cat >>conftest.$ac_ext <<_ACEOF
29710 /* end confdefs.h. */
29711
29712 #undef HAVE_BOOLEAN
29713 #include <stdio.h>
29714 #include <jpeglib.h>
29715
29716
29717 typedef boolean ac__type_sizeof_;
29718 int
29719 main ()
29720 {
29721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29722 test_array [0] = 0
29723
29724 ;
29725 return 0;
29726 }
29727 _ACEOF
29728 rm -f conftest.$ac_objext
29729 if { (ac_try="$ac_compile"
29730 case "(($ac_try" in
29731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29732 *) ac_try_echo=$ac_try;;
29733 esac
29734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29735 (eval "$ac_compile") 2>conftest.er1
29736 ac_status=$?
29737 grep -v '^ *+' conftest.er1 >conftest.err
29738 rm -f conftest.er1
29739 cat conftest.err >&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); } && {
29742 test -z "$ac_c_werror_flag" ||
29743 test ! -s conftest.err
29744 } && test -s conftest.$ac_objext; then
29745 ac_hi=-1 ac_mid=-1
29746 while :; do
29747 cat >conftest.$ac_ext <<_ACEOF
29748 /* confdefs.h. */
29749 _ACEOF
29750 cat confdefs.h >>conftest.$ac_ext
29751 cat >>conftest.$ac_ext <<_ACEOF
29752 /* end confdefs.h. */
29753
29754 #undef HAVE_BOOLEAN
29755 #include <stdio.h>
29756 #include <jpeglib.h>
29757
29758
29759 typedef boolean ac__type_sizeof_;
29760 int
29761 main ()
29762 {
29763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29764 test_array [0] = 0
29765
29766 ;
29767 return 0;
29768 }
29769 _ACEOF
29770 rm -f conftest.$ac_objext
29771 if { (ac_try="$ac_compile"
29772 case "(($ac_try" in
29773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29774 *) ac_try_echo=$ac_try;;
29775 esac
29776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29777 (eval "$ac_compile") 2>conftest.er1
29778 ac_status=$?
29779 grep -v '^ *+' conftest.er1 >conftest.err
29780 rm -f conftest.er1
29781 cat conftest.err >&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } && {
29784 test -z "$ac_c_werror_flag" ||
29785 test ! -s conftest.err
29786 } && test -s conftest.$ac_objext; then
29787 ac_lo=$ac_mid; break
29788 else
29789 echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.$ac_ext >&5
29791
29792 ac_hi=`expr '(' $ac_mid ')' - 1`
29793 if test $ac_mid -le $ac_hi; then
29794 ac_lo= ac_hi=
29795 break
29796 fi
29797 ac_mid=`expr 2 '*' $ac_mid`
29798 fi
29799
29800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29801 done
29802 else
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.$ac_ext >&5
29805
29806 ac_lo= ac_hi=
29807 fi
29808
29809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29810 fi
29811
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813 # Binary search between lo and hi bounds.
29814 while test "x$ac_lo" != "x$ac_hi"; do
29815 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822
29823 #undef HAVE_BOOLEAN
29824 #include <stdio.h>
29825 #include <jpeglib.h>
29826
29827
29828 typedef boolean ac__type_sizeof_;
29829 int
29830 main ()
29831 {
29832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29833 test_array [0] = 0
29834
29835 ;
29836 return 0;
29837 }
29838 _ACEOF
29839 rm -f conftest.$ac_objext
29840 if { (ac_try="$ac_compile"
29841 case "(($ac_try" in
29842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29843 *) ac_try_echo=$ac_try;;
29844 esac
29845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29846 (eval "$ac_compile") 2>conftest.er1
29847 ac_status=$?
29848 grep -v '^ *+' conftest.er1 >conftest.err
29849 rm -f conftest.er1
29850 cat conftest.err >&5
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); } && {
29853 test -z "$ac_c_werror_flag" ||
29854 test ! -s conftest.err
29855 } && test -s conftest.$ac_objext; then
29856 ac_hi=$ac_mid
29857 else
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29860
29861 ac_lo=`expr '(' $ac_mid ')' + 1`
29862 fi
29863
29864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29865 done
29866 case $ac_lo in
29867 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29868 '') if test "$ac_cv_type_boolean" = yes; then
29869 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29870 See \`config.log' for more details." >&5
29871 echo "$as_me: error: cannot compute sizeof (boolean)
29872 See \`config.log' for more details." >&2;}
29873 { (exit 77); exit 77; }; }
29874 else
29875 ac_cv_sizeof_boolean=0
29876 fi ;;
29877 esac
29878 else
29879 cat >conftest.$ac_ext <<_ACEOF
29880 /* confdefs.h. */
29881 _ACEOF
29882 cat confdefs.h >>conftest.$ac_ext
29883 cat >>conftest.$ac_ext <<_ACEOF
29884 /* end confdefs.h. */
29885
29886 #undef HAVE_BOOLEAN
29887 #include <stdio.h>
29888 #include <jpeglib.h>
29889
29890
29891 typedef boolean ac__type_sizeof_;
29892 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29893 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29894 #include <stdio.h>
29895 #include <stdlib.h>
29896 int
29897 main ()
29898 {
29899
29900 FILE *f = fopen ("conftest.val", "w");
29901 if (! f)
29902 return 1;
29903 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29904 {
29905 long int i = longval ();
29906 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29907 return 1;
29908 fprintf (f, "%ld\n", i);
29909 }
29910 else
29911 {
29912 unsigned long int i = ulongval ();
29913 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29914 return 1;
29915 fprintf (f, "%lu\n", i);
29916 }
29917 return ferror (f) || fclose (f) != 0;
29918
29919 ;
29920 return 0;
29921 }
29922 _ACEOF
29923 rm -f conftest$ac_exeext
29924 if { (ac_try="$ac_link"
29925 case "(($ac_try" in
29926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29927 *) ac_try_echo=$ac_try;;
29928 esac
29929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29930 (eval "$ac_link") 2>&5
29931 ac_status=$?
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29934 { (case "(($ac_try" in
29935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29936 *) ac_try_echo=$ac_try;;
29937 esac
29938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29939 (eval "$ac_try") 2>&5
29940 ac_status=$?
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); }; }; then
29943 ac_cv_sizeof_boolean=`cat conftest.val`
29944 else
29945 echo "$as_me: program exited with status $ac_status" >&5
29946 echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.$ac_ext >&5
29948
29949 ( exit $ac_status )
29950 if test "$ac_cv_type_boolean" = yes; then
29951 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29952 See \`config.log' for more details." >&5
29953 echo "$as_me: error: cannot compute sizeof (boolean)
29954 See \`config.log' for more details." >&2;}
29955 { (exit 77); exit 77; }; }
29956 else
29957 ac_cv_sizeof_boolean=0
29958 fi
29959 fi
29960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29961 fi
29962 rm -f conftest.val
29963 fi
29964 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29965 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29966
29967
29968
29969 cat >>confdefs.h <<_ACEOF
29970 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29971 _ACEOF
29972
29973
29974 cat >>confdefs.h <<_ACEOF
29975 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29976 _ACEOF
29977
29978
29979 fi
29980
29981 fi
29982 fi
29983 fi
29984 fi
29985 else if test "$wxUSE_LIBTIFF" = "builtin"; then
29986 ac_configure_args="$ac_configure_args --disable-jpeg"
29987 fi
29988 fi
29989
29990
29991 if test "$wxUSE_WCHAR_T" != "yes"; then
29992 if test "$wxUSE_EXPAT" != "no"; then
29993 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29994 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29995 wxUSE_EXPAT=no
29996 fi
29997 if test "$wxUSE_XML" != "no"; then
29998 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29999 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
30000 wxUSE_XML=no
30001 fi
30002 fi
30003
30004 if test "$wxUSE_EXPAT" != "no"; then
30005 wxUSE_XML=yes
30006 cat >>confdefs.h <<\_ACEOF
30007 #define wxUSE_EXPAT 1
30008 _ACEOF
30009
30010 cat >>confdefs.h <<\_ACEOF
30011 #define wxUSE_XML 1
30012 _ACEOF
30013
30014
30015 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30016 { echo "$as_me:$LINENO: checking for expat.h" >&5
30017 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30018 if test "${ac_cv_header_expat_h+set}" = set; then
30019 echo $ECHO_N "(cached) $ECHO_C" >&6
30020 else
30021 cat >conftest.$ac_ext <<_ACEOF
30022 /* confdefs.h. */
30023 _ACEOF
30024 cat confdefs.h >>conftest.$ac_ext
30025 cat >>conftest.$ac_ext <<_ACEOF
30026 /* end confdefs.h. */
30027
30028
30029 #include <expat.h>
30030 _ACEOF
30031 rm -f conftest.$ac_objext
30032 if { (ac_try="$ac_compile"
30033 case "(($ac_try" in
30034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30035 *) ac_try_echo=$ac_try;;
30036 esac
30037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30038 (eval "$ac_compile") 2>conftest.er1
30039 ac_status=$?
30040 grep -v '^ *+' conftest.er1 >conftest.err
30041 rm -f conftest.er1
30042 cat conftest.err >&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } && {
30045 test -z "$ac_c_werror_flag" ||
30046 test ! -s conftest.err
30047 } && test -s conftest.$ac_objext; then
30048 ac_cv_header_expat_h=yes
30049 else
30050 echo "$as_me: failed program was:" >&5
30051 sed 's/^/| /' conftest.$ac_ext >&5
30052
30053 ac_cv_header_expat_h=no
30054 fi
30055
30056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30057 fi
30058 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30059 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30060 if test $ac_cv_header_expat_h = yes; then
30061 found_expat_h=1
30062 fi
30063
30064
30065 if test "x$found_expat_h" = "x1"; then
30066 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30067 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30068 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30069 echo $ECHO_N "(cached) $ECHO_C" >&6
30070 else
30071
30072 ac_ext=cpp
30073 ac_cpp='$CXXCPP $CPPFLAGS'
30074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30077
30078 cat >conftest.$ac_ext <<_ACEOF
30079 /* confdefs.h. */
30080 _ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30084 #include <expat.h>
30085 int
30086 main ()
30087 {
30088
30089 ;
30090 return 0;
30091 }
30092 _ACEOF
30093 rm -f conftest.$ac_objext
30094 if { (ac_try="$ac_compile"
30095 case "(($ac_try" in
30096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30098 esac
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_compile") 2>conftest.er1
30101 ac_status=$?
30102 grep -v '^ *+' conftest.er1 >conftest.err
30103 rm -f conftest.er1
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } && {
30107 test -z "$ac_cxx_werror_flag" ||
30108 test ! -s conftest.err
30109 } && test -s conftest.$ac_objext; then
30110 wx_cv_expat_is_not_broken=yes
30111 else
30112 echo "$as_me: failed program was:" >&5
30113 sed 's/^/| /' conftest.$ac_ext >&5
30114
30115 wx_cv_expat_is_not_broken=no
30116
30117 fi
30118
30119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30120 ac_ext=c
30121 ac_cpp='$CPP $CPPFLAGS'
30122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30125
30126
30127
30128 fi
30129 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30130 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30131 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30132 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30133 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30134 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30135 echo $ECHO_N "(cached) $ECHO_C" >&6
30136 else
30137 ac_check_lib_save_LIBS=$LIBS
30138 LIBS="-lexpat $LIBS"
30139 cat >conftest.$ac_ext <<_ACEOF
30140 /* confdefs.h. */
30141 _ACEOF
30142 cat confdefs.h >>conftest.$ac_ext
30143 cat >>conftest.$ac_ext <<_ACEOF
30144 /* end confdefs.h. */
30145
30146 /* Override any GCC internal prototype to avoid an error.
30147 Use char because int might match the return type of a GCC
30148 builtin and then its argument prototype would still apply. */
30149 #ifdef __cplusplus
30150 extern "C"
30151 #endif
30152 char XML_ParserCreate ();
30153 int
30154 main ()
30155 {
30156 return XML_ParserCreate ();
30157 ;
30158 return 0;
30159 }
30160 _ACEOF
30161 rm -f conftest.$ac_objext conftest$ac_exeext
30162 if { (ac_try="$ac_link"
30163 case "(($ac_try" in
30164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30165 *) ac_try_echo=$ac_try;;
30166 esac
30167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30168 (eval "$ac_link") 2>conftest.er1
30169 ac_status=$?
30170 grep -v '^ *+' conftest.er1 >conftest.err
30171 rm -f conftest.er1
30172 cat conftest.err >&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } && {
30175 test -z "$ac_c_werror_flag" ||
30176 test ! -s conftest.err
30177 } && test -s conftest$ac_exeext &&
30178 $as_test_x conftest$ac_exeext; then
30179 ac_cv_lib_expat_XML_ParserCreate=yes
30180 else
30181 echo "$as_me: failed program was:" >&5
30182 sed 's/^/| /' conftest.$ac_ext >&5
30183
30184 ac_cv_lib_expat_XML_ParserCreate=no
30185 fi
30186
30187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30188 conftest$ac_exeext conftest.$ac_ext
30189 LIBS=$ac_check_lib_save_LIBS
30190 fi
30191 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30192 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30193 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30194 EXPAT_LINK=" -lexpat"
30195 fi
30196
30197 fi
30198 fi
30199 if test "x$EXPAT_LINK" = "x" ; then
30200 if test "$wxUSE_EXPAT" = "sys" ; then
30201 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30202 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30203 { (exit 1); exit 1; }; }
30204 else
30205 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30206 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30207 wxUSE_EXPAT=builtin
30208 fi
30209 else
30210 wxUSE_EXPAT=sys
30211 fi
30212 fi
30213 if test "$wxUSE_EXPAT" = "builtin" ; then
30214 subdirs="$subdirs src/expat"
30215
30216 fi
30217 fi
30218
30219
30220
30221 if test "$wxUSE_LIBMSPACK" != "no"; then
30222 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30223 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30224 if test "${ac_cv_header_mspack_h+set}" = set; then
30225 echo $ECHO_N "(cached) $ECHO_C" >&6
30226 else
30227 cat >conftest.$ac_ext <<_ACEOF
30228 /* confdefs.h. */
30229 _ACEOF
30230 cat confdefs.h >>conftest.$ac_ext
30231 cat >>conftest.$ac_ext <<_ACEOF
30232 /* end confdefs.h. */
30233
30234
30235 #include <mspack.h>
30236 _ACEOF
30237 rm -f conftest.$ac_objext
30238 if { (ac_try="$ac_compile"
30239 case "(($ac_try" in
30240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30241 *) ac_try_echo=$ac_try;;
30242 esac
30243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30244 (eval "$ac_compile") 2>conftest.er1
30245 ac_status=$?
30246 grep -v '^ *+' conftest.er1 >conftest.err
30247 rm -f conftest.er1
30248 cat conftest.err >&5
30249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250 (exit $ac_status); } && {
30251 test -z "$ac_c_werror_flag" ||
30252 test ! -s conftest.err
30253 } && test -s conftest.$ac_objext; then
30254 ac_cv_header_mspack_h=yes
30255 else
30256 echo "$as_me: failed program was:" >&5
30257 sed 's/^/| /' conftest.$ac_ext >&5
30258
30259 ac_cv_header_mspack_h=no
30260 fi
30261
30262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30263 fi
30264 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30265 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30266 if test $ac_cv_header_mspack_h = yes; then
30267 found_mspack_h=1
30268 fi
30269
30270
30271 if test "x$found_mspack_h" = "x1"; then
30272 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30273 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30274 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30275 echo $ECHO_N "(cached) $ECHO_C" >&6
30276 else
30277 ac_check_lib_save_LIBS=$LIBS
30278 LIBS="-lmspack $LIBS"
30279 cat >conftest.$ac_ext <<_ACEOF
30280 /* confdefs.h. */
30281 _ACEOF
30282 cat confdefs.h >>conftest.$ac_ext
30283 cat >>conftest.$ac_ext <<_ACEOF
30284 /* end confdefs.h. */
30285
30286 /* Override any GCC internal prototype to avoid an error.
30287 Use char because int might match the return type of a GCC
30288 builtin and then its argument prototype would still apply. */
30289 #ifdef __cplusplus
30290 extern "C"
30291 #endif
30292 char mspack_create_chm_decompressor ();
30293 int
30294 main ()
30295 {
30296 return mspack_create_chm_decompressor ();
30297 ;
30298 return 0;
30299 }
30300 _ACEOF
30301 rm -f conftest.$ac_objext conftest$ac_exeext
30302 if { (ac_try="$ac_link"
30303 case "(($ac_try" in
30304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30305 *) ac_try_echo=$ac_try;;
30306 esac
30307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30308 (eval "$ac_link") 2>conftest.er1
30309 ac_status=$?
30310 grep -v '^ *+' conftest.er1 >conftest.err
30311 rm -f conftest.er1
30312 cat conftest.err >&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); } && {
30315 test -z "$ac_c_werror_flag" ||
30316 test ! -s conftest.err
30317 } && test -s conftest$ac_exeext &&
30318 $as_test_x conftest$ac_exeext; then
30319 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30320 else
30321 echo "$as_me: failed program was:" >&5
30322 sed 's/^/| /' conftest.$ac_ext >&5
30323
30324 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30325 fi
30326
30327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30328 conftest$ac_exeext conftest.$ac_ext
30329 LIBS=$ac_check_lib_save_LIBS
30330 fi
30331 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30332 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30333 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30334 MSPACK_LINK=" -lmspack"
30335 fi
30336
30337 fi
30338 if test "x$MSPACK_LINK" = "x" ; then
30339 wxUSE_LIBMSPACK=no
30340 fi
30341 fi
30342
30343 if test "$wxUSE_LIBMSPACK" != "no"; then
30344 cat >>confdefs.h <<\_ACEOF
30345 #define wxUSE_LIBMSPACK 1
30346 _ACEOF
30347
30348 fi
30349
30350
30351
30352 AFMINSTALL=
30353 WIN32INSTALL=
30354
30355 TOOLKIT=
30356 TOOLKIT_INCLUDE=
30357 WIDGET_SET=
30358
30359 if test "$USE_WIN32" = 1 ; then
30360
30361 for ac_header in w32api.h
30362 do
30363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30367 echo $ECHO_N "(cached) $ECHO_C" >&6
30368 else
30369 cat >conftest.$ac_ext <<_ACEOF
30370 /* confdefs.h. */
30371 _ACEOF
30372 cat confdefs.h >>conftest.$ac_ext
30373 cat >>conftest.$ac_ext <<_ACEOF
30374 /* end confdefs.h. */
30375
30376
30377 #include <$ac_header>
30378 _ACEOF
30379 rm -f conftest.$ac_objext
30380 if { (ac_try="$ac_compile"
30381 case "(($ac_try" in
30382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30383 *) ac_try_echo=$ac_try;;
30384 esac
30385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30386 (eval "$ac_compile") 2>conftest.er1
30387 ac_status=$?
30388 grep -v '^ *+' conftest.er1 >conftest.err
30389 rm -f conftest.er1
30390 cat conftest.err >&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); } && {
30393 test -z "$ac_c_werror_flag" ||
30394 test ! -s conftest.err
30395 } && test -s conftest.$ac_objext; then
30396 eval "$as_ac_Header=yes"
30397 else
30398 echo "$as_me: failed program was:" >&5
30399 sed 's/^/| /' conftest.$ac_ext >&5
30400
30401 eval "$as_ac_Header=no"
30402 fi
30403
30404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30405 fi
30406 ac_res=`eval echo '${'$as_ac_Header'}'`
30407 { echo "$as_me:$LINENO: result: $ac_res" >&5
30408 echo "${ECHO_T}$ac_res" >&6; }
30409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30410 cat >>confdefs.h <<_ACEOF
30411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30412 _ACEOF
30413
30414 fi
30415
30416 done
30417
30418 { echo "$as_me:$LINENO: checking for windows.h" >&5
30419 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30420 if test "${ac_cv_header_windows_h+set}" = set; then
30421 echo $ECHO_N "(cached) $ECHO_C" >&6
30422 else
30423 cat >conftest.$ac_ext <<_ACEOF
30424 /* confdefs.h. */
30425 _ACEOF
30426 cat confdefs.h >>conftest.$ac_ext
30427 cat >>conftest.$ac_ext <<_ACEOF
30428 /* end confdefs.h. */
30429
30430
30431 #include <windows.h>
30432 _ACEOF
30433 rm -f conftest.$ac_objext
30434 if { (ac_try="$ac_compile"
30435 case "(($ac_try" in
30436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30437 *) ac_try_echo=$ac_try;;
30438 esac
30439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30440 (eval "$ac_compile") 2>conftest.er1
30441 ac_status=$?
30442 grep -v '^ *+' conftest.er1 >conftest.err
30443 rm -f conftest.er1
30444 cat conftest.err >&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } && {
30447 test -z "$ac_c_werror_flag" ||
30448 test ! -s conftest.err
30449 } && test -s conftest.$ac_objext; then
30450 ac_cv_header_windows_h=yes
30451 else
30452 echo "$as_me: failed program was:" >&5
30453 sed 's/^/| /' conftest.$ac_ext >&5
30454
30455 ac_cv_header_windows_h=no
30456 fi
30457
30458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30459 fi
30460 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30461 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30462 if test $ac_cv_header_windows_h = yes; then
30463 :
30464 else
30465
30466 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30467 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30468 { (exit 1); exit 1; }; }
30469
30470 fi
30471
30472
30473
30474 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30475
30476 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30477 LIBS="$LIBS -loleacc"
30478 fi
30479
30480 case "${host}" in
30481 *-*-cygwin* )
30482 LIBS="$LIBS -lkernel32 -luser32"
30483 esac
30484
30485 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30486 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30487
30488 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30489
30490 WIN32INSTALL=win32install
30491
30492 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30493 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30494 if test "${ac_cv_header_pbt_h+set}" = set; then
30495 echo $ECHO_N "(cached) $ECHO_C" >&6
30496 else
30497 cat >conftest.$ac_ext <<_ACEOF
30498 /* confdefs.h. */
30499 _ACEOF
30500 cat confdefs.h >>conftest.$ac_ext
30501 cat >>conftest.$ac_ext <<_ACEOF
30502 /* end confdefs.h. */
30503
30504
30505 #include <pbt.h>
30506 _ACEOF
30507 rm -f conftest.$ac_objext
30508 if { (ac_try="$ac_compile"
30509 case "(($ac_try" in
30510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30511 *) ac_try_echo=$ac_try;;
30512 esac
30513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30514 (eval "$ac_compile") 2>conftest.er1
30515 ac_status=$?
30516 grep -v '^ *+' conftest.er1 >conftest.err
30517 rm -f conftest.er1
30518 cat conftest.err >&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); } && {
30521 test -z "$ac_c_werror_flag" ||
30522 test ! -s conftest.err
30523 } && test -s conftest.$ac_objext; then
30524 ac_cv_header_pbt_h=yes
30525 else
30526 echo "$as_me: failed program was:" >&5
30527 sed 's/^/| /' conftest.$ac_ext >&5
30528
30529 ac_cv_header_pbt_h=no
30530 fi
30531
30532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30533 fi
30534 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30535 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30536 if test $ac_cv_header_pbt_h = yes; then
30537 :
30538 else
30539 cat >>confdefs.h <<\_ACEOF
30540 #define NEED_PBT_H 1
30541 _ACEOF
30542
30543 fi
30544
30545
30546 fi
30547
30548 if test "$wxUSE_GUI" = "yes"; then
30549 USE_GUI=1
30550
30551 GUI_TK_LIBRARY=
30552
30553 WXGTK12=
30554 WXGTK127=
30555 WXGTK20=
30556 WXGPE=
30557
30558 if test "$wxUSE_COCOA" = 1 ; then
30559 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30560 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30561 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30562 wxUSE_PRINTING_ARCHITECTURE=no
30563 fi
30564 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30565 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30566 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30567 wxUSE_DRAG_AND_DROP=no
30568 fi
30569 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30570 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30571 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30572 wxUSE_DRAGIMAGE=no
30573 fi
30574 fi
30575
30576 if test "$wxUSE_MSW" = 1 ; then
30577 TOOLKIT=MSW
30578 GUIDIST=MSW_DIST
30579
30580 case "${host}" in
30581 *-*-mingw32* )
30582 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30583 esac
30584 fi
30585
30586 if test "$wxUSE_GTK" = 1; then
30587 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30588 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30589
30590 gtk_version_cached=1
30591 if test "${wx_cv_lib_gtk+set}" = set; then
30592 echo $ECHO_N "(cached) $ECHO_C" >&6
30593 else
30594
30595 gtk_version_cached=0
30596 { echo "$as_me:$LINENO: result: " >&5
30597 echo "${ECHO_T}" >&6; }
30598
30599 GTK_MODULES=
30600 if test "$wxUSE_THREADS" = "yes"; then
30601 GTK_MODULES=gthread
30602 fi
30603
30604 wx_cv_lib_gtk=
30605 if test "x$wxGTK_VERSION" != "x1"
30606 then
30607 case "${host}" in
30608 *-*-solaris2* )
30609 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30610 enable_gtktest=no
30611 fi
30612 esac
30613
30614 # Check whether --enable-gtktest was given.
30615 if test "${enable_gtktest+set}" = set; then
30616 enableval=$enable_gtktest;
30617 else
30618 enable_gtktest=yes
30619 fi
30620
30621
30622 pkg_config_args=gtk+-2.0
30623 for module in . $GTK_MODULES
30624 do
30625 case "$module" in
30626 gthread)
30627 pkg_config_args="$pkg_config_args gthread-2.0"
30628 ;;
30629 esac
30630 done
30631
30632 no_gtk=""
30633
30634 # Extract the first word of "pkg-config", so it can be a program name with args.
30635 set dummy pkg-config; ac_word=$2
30636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30638 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30640 else
30641 case $PKG_CONFIG in
30642 [\\/]* | ?:[\\/]*)
30643 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30644 ;;
30645 *)
30646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30647 for as_dir in $PATH
30648 do
30649 IFS=$as_save_IFS
30650 test -z "$as_dir" && as_dir=.
30651 for ac_exec_ext in '' $ac_executable_extensions; do
30652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30653 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30655 break 2
30656 fi
30657 done
30658 done
30659 IFS=$as_save_IFS
30660
30661 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30662 ;;
30663 esac
30664 fi
30665 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30666 if test -n "$PKG_CONFIG"; then
30667 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30668 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30669 else
30670 { echo "$as_me:$LINENO: result: no" >&5
30671 echo "${ECHO_T}no" >&6; }
30672 fi
30673
30674
30675
30676 if test x$PKG_CONFIG != xno ; then
30677 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30678 :
30679 else
30680 echo "*** pkg-config too old; version 0.7 or better required."
30681 no_gtk=yes
30682 PKG_CONFIG=no
30683 fi
30684 else
30685 no_gtk=yes
30686 fi
30687
30688 min_gtk_version=2.0.0
30689 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30690 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30691
30692 if test x$PKG_CONFIG != xno ; then
30693 ## don't try to run the test against uninstalled libtool libs
30694 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30695 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30696 enable_gtktest=no
30697 fi
30698
30699 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30700 :
30701 else
30702 no_gtk=yes
30703 fi
30704 fi
30705
30706 if test x"$no_gtk" = x ; then
30707 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30708 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30709 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30711 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30712 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30713 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30715 if test "x$enable_gtktest" = "xyes" ; then
30716 ac_save_CFLAGS="$CFLAGS"
30717 ac_save_LIBS="$LIBS"
30718 CFLAGS="$CFLAGS $GTK_CFLAGS"
30719 LIBS="$GTK_LIBS $LIBS"
30720 rm -f conf.gtktest
30721 if test "$cross_compiling" = yes; then
30722 echo $ac_n "cross compiling; assumed OK... $ac_c"
30723 else
30724 cat >conftest.$ac_ext <<_ACEOF
30725 /* confdefs.h. */
30726 _ACEOF
30727 cat confdefs.h >>conftest.$ac_ext
30728 cat >>conftest.$ac_ext <<_ACEOF
30729 /* end confdefs.h. */
30730
30731 #include <gtk/gtk.h>
30732 #include <stdio.h>
30733 #include <stdlib.h>
30734
30735 int
30736 main ()
30737 {
30738 int major, minor, micro;
30739 char *tmp_version;
30740
30741 system ("touch conf.gtktest");
30742
30743 /* HP/UX 9 (%@#!) writes to sscanf strings */
30744 tmp_version = g_strdup("$min_gtk_version");
30745 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30746 printf("%s, bad version string\n", "$min_gtk_version");
30747 exit(1);
30748 }
30749
30750 if ((gtk_major_version != $gtk_config_major_version) ||
30751 (gtk_minor_version != $gtk_config_minor_version) ||
30752 (gtk_micro_version != $gtk_config_micro_version))
30753 {
30754 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30755 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30756 gtk_major_version, gtk_minor_version, gtk_micro_version);
30757 printf ("*** was found! If pkg-config was correct, then it is best\n");
30758 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30759 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30760 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30761 printf("*** required on your system.\n");
30762 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30763 printf("*** to point to the correct configuration files\n");
30764 }
30765 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30766 (gtk_minor_version != GTK_MINOR_VERSION) ||
30767 (gtk_micro_version != GTK_MICRO_VERSION))
30768 {
30769 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30770 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30771 printf("*** library (version %d.%d.%d)\n",
30772 gtk_major_version, gtk_minor_version, gtk_micro_version);
30773 }
30774 else
30775 {
30776 if ((gtk_major_version > major) ||
30777 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30778 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30779 {
30780 return 0;
30781 }
30782 else
30783 {
30784 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30785 gtk_major_version, gtk_minor_version, gtk_micro_version);
30786 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30787 major, minor, micro);
30788 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30789 printf("***\n");
30790 printf("*** If you have already installed a sufficiently new version, this error\n");
30791 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30792 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30793 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30794 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30795 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30796 printf("*** so that the correct libraries are found at run-time))\n");
30797 }
30798 }
30799 return 1;
30800 }
30801
30802 _ACEOF
30803 rm -f conftest$ac_exeext
30804 if { (ac_try="$ac_link"
30805 case "(($ac_try" in
30806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30807 *) ac_try_echo=$ac_try;;
30808 esac
30809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30810 (eval "$ac_link") 2>&5
30811 ac_status=$?
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30814 { (case "(($ac_try" in
30815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30816 *) ac_try_echo=$ac_try;;
30817 esac
30818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30819 (eval "$ac_try") 2>&5
30820 ac_status=$?
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; }; then
30823 :
30824 else
30825 echo "$as_me: program exited with status $ac_status" >&5
30826 echo "$as_me: failed program was:" >&5
30827 sed 's/^/| /' conftest.$ac_ext >&5
30828
30829 ( exit $ac_status )
30830 no_gtk=yes
30831 fi
30832 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30833 fi
30834
30835
30836 CFLAGS="$ac_save_CFLAGS"
30837 LIBS="$ac_save_LIBS"
30838 fi
30839 fi
30840 if test "x$no_gtk" = x ; then
30841 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30842 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30843 wx_cv_lib_gtk=2.0
30844 else
30845 { echo "$as_me:$LINENO: result: no" >&5
30846 echo "${ECHO_T}no" >&6; }
30847 if test "$PKG_CONFIG" = "no" ; then
30848 echo "*** A new enough version of pkg-config was not found."
30849 echo "*** See http://pkgconfig.sourceforge.net"
30850 else
30851 if test -f conf.gtktest ; then
30852 :
30853 else
30854 echo "*** Could not run GTK+ test program, checking why..."
30855 ac_save_CFLAGS="$CFLAGS"
30856 ac_save_LIBS="$LIBS"
30857 CFLAGS="$CFLAGS $GTK_CFLAGS"
30858 LIBS="$LIBS $GTK_LIBS"
30859 cat >conftest.$ac_ext <<_ACEOF
30860 /* confdefs.h. */
30861 _ACEOF
30862 cat confdefs.h >>conftest.$ac_ext
30863 cat >>conftest.$ac_ext <<_ACEOF
30864 /* end confdefs.h. */
30865
30866 #include <gtk/gtk.h>
30867 #include <stdio.h>
30868
30869 int
30870 main ()
30871 {
30872 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30873 ;
30874 return 0;
30875 }
30876 _ACEOF
30877 rm -f conftest.$ac_objext conftest$ac_exeext
30878 if { (ac_try="$ac_link"
30879 case "(($ac_try" in
30880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30881 *) ac_try_echo=$ac_try;;
30882 esac
30883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30884 (eval "$ac_link") 2>conftest.er1
30885 ac_status=$?
30886 grep -v '^ *+' conftest.er1 >conftest.err
30887 rm -f conftest.er1
30888 cat conftest.err >&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } && {
30891 test -z "$ac_c_werror_flag" ||
30892 test ! -s conftest.err
30893 } && test -s conftest$ac_exeext &&
30894 $as_test_x conftest$ac_exeext; then
30895 echo "*** The test program compiled, but did not run. This usually means"
30896 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30897 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30898 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30899 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30900 echo "*** is required on your system"
30901 echo "***"
30902 echo "*** If you have an old version installed, it is best to remove it, although"
30903 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30904 else
30905 echo "$as_me: failed program was:" >&5
30906 sed 's/^/| /' conftest.$ac_ext >&5
30907
30908 echo "*** The test program failed to compile or link. See the file config.log for the"
30909 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30910 fi
30911
30912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30913 conftest$ac_exeext conftest.$ac_ext
30914 CFLAGS="$ac_save_CFLAGS"
30915 LIBS="$ac_save_LIBS"
30916 fi
30917 fi
30918 GTK_CFLAGS=""
30919 GTK_LIBS=""
30920 :
30921 fi
30922
30923
30924 rm -f conf.gtktest
30925
30926
30927 case "${host}" in
30928 *-*-solaris2* )
30929 if test "$wxUSE_SHARED" != "yes"; then
30930 GTK_LIBS="$GTK_LIBS -lX11"
30931 fi
30932 esac
30933 fi
30934
30935 if test -z "$wx_cv_lib_gtk"; then
30936 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30937
30938 # Check whether --with-gtk-prefix was given.
30939 if test "${with_gtk_prefix+set}" = set; then
30940 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30941 else
30942 gtk_config_prefix=""
30943 fi
30944
30945
30946 # Check whether --with-gtk-exec-prefix was given.
30947 if test "${with_gtk_exec_prefix+set}" = set; then
30948 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30949 else
30950 gtk_config_exec_prefix=""
30951 fi
30952
30953 # Check whether --enable-gtktest was given.
30954 if test "${enable_gtktest+set}" = set; then
30955 enableval=$enable_gtktest;
30956 else
30957 enable_gtktest=yes
30958 fi
30959
30960
30961 for module in . $GTK_MODULES
30962 do
30963 case "$module" in
30964 gthread)
30965 gtk_config_args="$gtk_config_args gthread"
30966 ;;
30967 esac
30968 done
30969
30970 if test x$gtk_config_exec_prefix != x ; then
30971 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30972 if test x${GTK_CONFIG+set} != xset ; then
30973 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30974 fi
30975 fi
30976 if test x$gtk_config_prefix != x ; then
30977 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30978 if test x${GTK_CONFIG+set} != xset ; then
30979 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30980 fi
30981 fi
30982
30983 # Extract the first word of "gtk-config", so it can be a program name with args.
30984 set dummy gtk-config; ac_word=$2
30985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30987 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30988 echo $ECHO_N "(cached) $ECHO_C" >&6
30989 else
30990 case $GTK_CONFIG in
30991 [\\/]* | ?:[\\/]*)
30992 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30993 ;;
30994 *)
30995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30996 for as_dir in $PATH
30997 do
30998 IFS=$as_save_IFS
30999 test -z "$as_dir" && as_dir=.
31000 for ac_exec_ext in '' $ac_executable_extensions; do
31001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31002 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31004 break 2
31005 fi
31006 done
31007 done
31008 IFS=$as_save_IFS
31009
31010 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31011 ;;
31012 esac
31013 fi
31014 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31015 if test -n "$GTK_CONFIG"; then
31016 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31017 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31018 else
31019 { echo "$as_me:$LINENO: result: no" >&5
31020 echo "${ECHO_T}no" >&6; }
31021 fi
31022
31023
31024 min_gtk_version=1.2.7
31025 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31026 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31027 no_gtk=""
31028 if test "$GTK_CONFIG" = "no" ; then
31029 no_gtk=yes
31030 else
31031 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31032 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31033 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31035 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31037 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31039 if test "x$enable_gtktest" = "xyes" ; then
31040 ac_save_CFLAGS="$CFLAGS"
31041 ac_save_LIBS="$LIBS"
31042 CFLAGS="$CFLAGS $GTK_CFLAGS"
31043 LIBS="$GTK_LIBS $LIBS"
31044 rm -f conf.gtktest
31045 if test "$cross_compiling" = yes; then
31046 echo $ac_n "cross compiling; assumed OK... $ac_c"
31047 else
31048 cat >conftest.$ac_ext <<_ACEOF
31049 /* confdefs.h. */
31050 _ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31054
31055 #include <gtk/gtk.h>
31056 #include <stdio.h>
31057 #include <stdlib.h>
31058
31059 int
31060 main ()
31061 {
31062 int major, minor, micro;
31063 char *tmp_version;
31064
31065 system ("touch conf.gtktest");
31066
31067 /* HP/UX 9 (%@#!) writes to sscanf strings */
31068 tmp_version = g_strdup("$min_gtk_version");
31069 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31070 printf("%s, bad version string\n", "$min_gtk_version");
31071 exit(1);
31072 }
31073
31074 if ((gtk_major_version != $gtk_config_major_version) ||
31075 (gtk_minor_version != $gtk_config_minor_version) ||
31076 (gtk_micro_version != $gtk_config_micro_version))
31077 {
31078 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31079 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31080 gtk_major_version, gtk_minor_version, gtk_micro_version);
31081 printf ("*** was found! If gtk-config was correct, then it is best\n");
31082 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31083 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31084 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31085 printf("*** required on your system.\n");
31086 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31087 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31088 printf("*** before re-running configure\n");
31089 }
31090 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31091 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31092 (gtk_minor_version != GTK_MINOR_VERSION) ||
31093 (gtk_micro_version != GTK_MICRO_VERSION))
31094 {
31095 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31096 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31097 printf("*** library (version %d.%d.%d)\n",
31098 gtk_major_version, gtk_minor_version, gtk_micro_version);
31099 }
31100 #endif /* defined (GTK_MAJOR_VERSION) ... */
31101 else
31102 {
31103 if ((gtk_major_version > major) ||
31104 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31105 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31106 {
31107 return 0;
31108 }
31109 else
31110 {
31111 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31112 gtk_major_version, gtk_minor_version, gtk_micro_version);
31113 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31114 major, minor, micro);
31115 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31116 printf("***\n");
31117 printf("*** If you have already installed a sufficiently new version, this error\n");
31118 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31119 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31120 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31121 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31122 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31123 printf("*** so that the correct libraries are found at run-time))\n");
31124 }
31125 }
31126 return 1;
31127 }
31128
31129 _ACEOF
31130 rm -f conftest$ac_exeext
31131 if { (ac_try="$ac_link"
31132 case "(($ac_try" in
31133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31134 *) ac_try_echo=$ac_try;;
31135 esac
31136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31137 (eval "$ac_link") 2>&5
31138 ac_status=$?
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31141 { (case "(($ac_try" in
31142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31143 *) ac_try_echo=$ac_try;;
31144 esac
31145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31146 (eval "$ac_try") 2>&5
31147 ac_status=$?
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 :
31151 else
31152 echo "$as_me: program exited with status $ac_status" >&5
31153 echo "$as_me: failed program was:" >&5
31154 sed 's/^/| /' conftest.$ac_ext >&5
31155
31156 ( exit $ac_status )
31157 no_gtk=yes
31158 fi
31159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31160 fi
31161
31162
31163 CFLAGS="$ac_save_CFLAGS"
31164 LIBS="$ac_save_LIBS"
31165 fi
31166 fi
31167 if test "x$no_gtk" = x ; then
31168 { echo "$as_me:$LINENO: result: yes" >&5
31169 echo "${ECHO_T}yes" >&6; }
31170 wx_cv_lib_gtk=1.2.7
31171 else
31172 { echo "$as_me:$LINENO: result: no" >&5
31173 echo "${ECHO_T}no" >&6; }
31174 if test "$GTK_CONFIG" = "no" ; then
31175 echo "*** The gtk-config script installed by GTK could not be found"
31176 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31177 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31178 echo "*** full path to gtk-config."
31179 else
31180 if test -f conf.gtktest ; then
31181 :
31182 else
31183 echo "*** Could not run GTK test program, checking why..."
31184 CFLAGS="$CFLAGS $GTK_CFLAGS"
31185 LIBS="$LIBS $GTK_LIBS"
31186 cat >conftest.$ac_ext <<_ACEOF
31187 /* confdefs.h. */
31188 _ACEOF
31189 cat confdefs.h >>conftest.$ac_ext
31190 cat >>conftest.$ac_ext <<_ACEOF
31191 /* end confdefs.h. */
31192
31193 #include <gtk/gtk.h>
31194 #include <stdio.h>
31195
31196 int
31197 main ()
31198 {
31199 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31200 ;
31201 return 0;
31202 }
31203 _ACEOF
31204 rm -f conftest.$ac_objext conftest$ac_exeext
31205 if { (ac_try="$ac_link"
31206 case "(($ac_try" in
31207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31208 *) ac_try_echo=$ac_try;;
31209 esac
31210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31211 (eval "$ac_link") 2>conftest.er1
31212 ac_status=$?
31213 grep -v '^ *+' conftest.er1 >conftest.err
31214 rm -f conftest.er1
31215 cat conftest.err >&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); } && {
31218 test -z "$ac_c_werror_flag" ||
31219 test ! -s conftest.err
31220 } && test -s conftest$ac_exeext &&
31221 $as_test_x conftest$ac_exeext; then
31222 echo "*** The test program compiled, but did not run. This usually means"
31223 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31224 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31225 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31226 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31227 echo "*** is required on your system"
31228 echo "***"
31229 echo "*** If you have an old version installed, it is best to remove it, although"
31230 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31231 echo "***"
31232 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31233 echo "*** came with the system with the command"
31234 echo "***"
31235 echo "*** rpm --erase --nodeps gtk gtk-devel"
31236 else
31237 echo "$as_me: failed program was:" >&5
31238 sed 's/^/| /' conftest.$ac_ext >&5
31239
31240 echo "*** The test program failed to compile or link. See the file config.log for the"
31241 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31242 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31243 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31244 fi
31245
31246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31247 conftest$ac_exeext conftest.$ac_ext
31248 CFLAGS="$ac_save_CFLAGS"
31249 LIBS="$ac_save_LIBS"
31250 fi
31251 fi
31252 GTK_CFLAGS=""
31253 GTK_LIBS=""
31254 :
31255 fi
31256
31257
31258 rm -f conf.gtktest
31259
31260
31261 if test -z "$wx_cv_lib_gtk"; then
31262
31263 # Check whether --with-gtk-prefix was given.
31264 if test "${with_gtk_prefix+set}" = set; then
31265 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31266 else
31267 gtk_config_prefix=""
31268 fi
31269
31270
31271 # Check whether --with-gtk-exec-prefix was given.
31272 if test "${with_gtk_exec_prefix+set}" = set; then
31273 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31274 else
31275 gtk_config_exec_prefix=""
31276 fi
31277
31278 # Check whether --enable-gtktest was given.
31279 if test "${enable_gtktest+set}" = set; then
31280 enableval=$enable_gtktest;
31281 else
31282 enable_gtktest=yes
31283 fi
31284
31285
31286 for module in . $GTK_MODULES
31287 do
31288 case "$module" in
31289 gthread)
31290 gtk_config_args="$gtk_config_args gthread"
31291 ;;
31292 esac
31293 done
31294
31295 if test x$gtk_config_exec_prefix != x ; then
31296 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31297 if test x${GTK_CONFIG+set} != xset ; then
31298 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31299 fi
31300 fi
31301 if test x$gtk_config_prefix != x ; then
31302 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31303 if test x${GTK_CONFIG+set} != xset ; then
31304 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31305 fi
31306 fi
31307
31308 # Extract the first word of "gtk-config", so it can be a program name with args.
31309 set dummy gtk-config; ac_word=$2
31310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31312 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31313 echo $ECHO_N "(cached) $ECHO_C" >&6
31314 else
31315 case $GTK_CONFIG in
31316 [\\/]* | ?:[\\/]*)
31317 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31318 ;;
31319 *)
31320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31321 for as_dir in $PATH
31322 do
31323 IFS=$as_save_IFS
31324 test -z "$as_dir" && as_dir=.
31325 for ac_exec_ext in '' $ac_executable_extensions; do
31326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31327 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31329 break 2
31330 fi
31331 done
31332 done
31333 IFS=$as_save_IFS
31334
31335 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31336 ;;
31337 esac
31338 fi
31339 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31340 if test -n "$GTK_CONFIG"; then
31341 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31342 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31343 else
31344 { echo "$as_me:$LINENO: result: no" >&5
31345 echo "${ECHO_T}no" >&6; }
31346 fi
31347
31348
31349 min_gtk_version=1.2.3
31350 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31351 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31352 no_gtk=""
31353 if test "$GTK_CONFIG" = "no" ; then
31354 no_gtk=yes
31355 else
31356 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31357 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31358 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31360 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31362 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31364 if test "x$enable_gtktest" = "xyes" ; then
31365 ac_save_CFLAGS="$CFLAGS"
31366 ac_save_LIBS="$LIBS"
31367 CFLAGS="$CFLAGS $GTK_CFLAGS"
31368 LIBS="$GTK_LIBS $LIBS"
31369 rm -f conf.gtktest
31370 if test "$cross_compiling" = yes; then
31371 echo $ac_n "cross compiling; assumed OK... $ac_c"
31372 else
31373 cat >conftest.$ac_ext <<_ACEOF
31374 /* confdefs.h. */
31375 _ACEOF
31376 cat confdefs.h >>conftest.$ac_ext
31377 cat >>conftest.$ac_ext <<_ACEOF
31378 /* end confdefs.h. */
31379
31380 #include <gtk/gtk.h>
31381 #include <stdio.h>
31382 #include <stdlib.h>
31383
31384 int
31385 main ()
31386 {
31387 int major, minor, micro;
31388 char *tmp_version;
31389
31390 system ("touch conf.gtktest");
31391
31392 /* HP/UX 9 (%@#!) writes to sscanf strings */
31393 tmp_version = g_strdup("$min_gtk_version");
31394 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31395 printf("%s, bad version string\n", "$min_gtk_version");
31396 exit(1);
31397 }
31398
31399 if ((gtk_major_version != $gtk_config_major_version) ||
31400 (gtk_minor_version != $gtk_config_minor_version) ||
31401 (gtk_micro_version != $gtk_config_micro_version))
31402 {
31403 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31404 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31405 gtk_major_version, gtk_minor_version, gtk_micro_version);
31406 printf ("*** was found! If gtk-config was correct, then it is best\n");
31407 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31408 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31409 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31410 printf("*** required on your system.\n");
31411 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31412 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31413 printf("*** before re-running configure\n");
31414 }
31415 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31416 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31417 (gtk_minor_version != GTK_MINOR_VERSION) ||
31418 (gtk_micro_version != GTK_MICRO_VERSION))
31419 {
31420 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31421 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31422 printf("*** library (version %d.%d.%d)\n",
31423 gtk_major_version, gtk_minor_version, gtk_micro_version);
31424 }
31425 #endif /* defined (GTK_MAJOR_VERSION) ... */
31426 else
31427 {
31428 if ((gtk_major_version > major) ||
31429 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31430 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31431 {
31432 return 0;
31433 }
31434 else
31435 {
31436 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31437 gtk_major_version, gtk_minor_version, gtk_micro_version);
31438 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31439 major, minor, micro);
31440 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31441 printf("***\n");
31442 printf("*** If you have already installed a sufficiently new version, this error\n");
31443 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31444 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31445 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31446 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31447 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31448 printf("*** so that the correct libraries are found at run-time))\n");
31449 }
31450 }
31451 return 1;
31452 }
31453
31454 _ACEOF
31455 rm -f conftest$ac_exeext
31456 if { (ac_try="$ac_link"
31457 case "(($ac_try" in
31458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31459 *) ac_try_echo=$ac_try;;
31460 esac
31461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31462 (eval "$ac_link") 2>&5
31463 ac_status=$?
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31466 { (case "(($ac_try" in
31467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31468 *) ac_try_echo=$ac_try;;
31469 esac
31470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31471 (eval "$ac_try") 2>&5
31472 ac_status=$?
31473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31474 (exit $ac_status); }; }; then
31475 :
31476 else
31477 echo "$as_me: program exited with status $ac_status" >&5
31478 echo "$as_me: failed program was:" >&5
31479 sed 's/^/| /' conftest.$ac_ext >&5
31480
31481 ( exit $ac_status )
31482 no_gtk=yes
31483 fi
31484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31485 fi
31486
31487
31488 CFLAGS="$ac_save_CFLAGS"
31489 LIBS="$ac_save_LIBS"
31490 fi
31491 fi
31492 if test "x$no_gtk" = x ; then
31493 { echo "$as_me:$LINENO: result: yes" >&5
31494 echo "${ECHO_T}yes" >&6; }
31495 wx_cv_lib_gtk=1.2.3
31496 else
31497 { echo "$as_me:$LINENO: result: no" >&5
31498 echo "${ECHO_T}no" >&6; }
31499 if test "$GTK_CONFIG" = "no" ; then
31500 echo "*** The gtk-config script installed by GTK could not be found"
31501 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31502 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31503 echo "*** full path to gtk-config."
31504 else
31505 if test -f conf.gtktest ; then
31506 :
31507 else
31508 echo "*** Could not run GTK test program, checking why..."
31509 CFLAGS="$CFLAGS $GTK_CFLAGS"
31510 LIBS="$LIBS $GTK_LIBS"
31511 cat >conftest.$ac_ext <<_ACEOF
31512 /* confdefs.h. */
31513 _ACEOF
31514 cat confdefs.h >>conftest.$ac_ext
31515 cat >>conftest.$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31517
31518 #include <gtk/gtk.h>
31519 #include <stdio.h>
31520
31521 int
31522 main ()
31523 {
31524 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31525 ;
31526 return 0;
31527 }
31528 _ACEOF
31529 rm -f conftest.$ac_objext conftest$ac_exeext
31530 if { (ac_try="$ac_link"
31531 case "(($ac_try" in
31532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31533 *) ac_try_echo=$ac_try;;
31534 esac
31535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31536 (eval "$ac_link") 2>conftest.er1
31537 ac_status=$?
31538 grep -v '^ *+' conftest.er1 >conftest.err
31539 rm -f conftest.er1
31540 cat conftest.err >&5
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); } && {
31543 test -z "$ac_c_werror_flag" ||
31544 test ! -s conftest.err
31545 } && test -s conftest$ac_exeext &&
31546 $as_test_x conftest$ac_exeext; then
31547 echo "*** The test program compiled, but did not run. This usually means"
31548 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31549 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31550 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31551 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31552 echo "*** is required on your system"
31553 echo "***"
31554 echo "*** If you have an old version installed, it is best to remove it, although"
31555 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31556 echo "***"
31557 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31558 echo "*** came with the system with the command"
31559 echo "***"
31560 echo "*** rpm --erase --nodeps gtk gtk-devel"
31561 else
31562 echo "$as_me: failed program was:" >&5
31563 sed 's/^/| /' conftest.$ac_ext >&5
31564
31565 echo "*** The test program failed to compile or link. See the file config.log for the"
31566 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31567 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31568 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31569 fi
31570
31571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31572 conftest$ac_exeext conftest.$ac_ext
31573 CFLAGS="$ac_save_CFLAGS"
31574 LIBS="$ac_save_LIBS"
31575 fi
31576 fi
31577 GTK_CFLAGS=""
31578 GTK_LIBS=""
31579 :
31580 fi
31581
31582
31583 rm -f conf.gtktest
31584
31585 fi
31586 fi
31587 fi
31588
31589 if test -z "$wx_cv_lib_gtk"; then
31590 wx_cv_lib_gtk=none
31591 else
31592 wx_cv_cflags_gtk=$GTK_CFLAGS
31593 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31594 fi
31595
31596
31597 fi
31598
31599
31600 if test "$gtk_version_cached" = 1; then
31601 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31602 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31603 fi
31604
31605 case "$wx_cv_lib_gtk" in
31606 2.0) WXGTK20=1
31607 TOOLKIT_VERSION=2
31608 ;;
31609 1.2.7) WXGTK127=1
31610 WXGTK12=1
31611 ;;
31612 1.2.3) WXGTK12=1
31613 ;;
31614 *) { { echo "$as_me:$LINENO: error:
31615 The development files for GTK+ were not found. For GTK+ 2, please
31616 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31617 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31618 and that the version is 1.2.3 or above. Also check that the
31619 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31620 --libs' are in the LD_LIBRARY_PATH or equivalent.
31621 " >&5
31622 echo "$as_me: error:
31623 The development files for GTK+ were not found. For GTK+ 2, please
31624 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31625 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31626 and that the version is 1.2.3 or above. Also check that the
31627 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31628 --libs' are in the LD_LIBRARY_PATH or equivalent.
31629 " >&2;}
31630 { (exit 1); exit 1; }; }
31631 ;;
31632 esac
31633
31634 if test "$WXGTK20" = 1; then
31635 save_CFLAGS="$CFLAGS"
31636 save_LIBS="$LIBS"
31637 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31638 LIBS="$LIBS $wx_cv_libs_gtk"
31639
31640 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31641 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31642 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31644 else
31645 cat >conftest.$ac_ext <<_ACEOF
31646 /* confdefs.h. */
31647 _ACEOF
31648 cat confdefs.h >>conftest.$ac_ext
31649 cat >>conftest.$ac_ext <<_ACEOF
31650 /* end confdefs.h. */
31651 #include <gtk/gtk.h>
31652
31653 int
31654 main ()
31655 {
31656 #ifndef gtk_icon_size_lookup
31657 (void) gtk_icon_size_lookup;
31658 #endif
31659
31660 ;
31661 return 0;
31662 }
31663 _ACEOF
31664 rm -f conftest.$ac_objext
31665 if { (ac_try="$ac_compile"
31666 case "(($ac_try" in
31667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31668 *) ac_try_echo=$ac_try;;
31669 esac
31670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31671 (eval "$ac_compile") 2>conftest.er1
31672 ac_status=$?
31673 grep -v '^ *+' conftest.er1 >conftest.err
31674 rm -f conftest.er1
31675 cat conftest.err >&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); } && {
31678 test -z "$ac_c_werror_flag" ||
31679 test ! -s conftest.err
31680 } && test -s conftest.$ac_objext; then
31681 ac_cv_have_decl_gtk_icon_size_lookup=yes
31682 else
31683 echo "$as_me: failed program was:" >&5
31684 sed 's/^/| /' conftest.$ac_ext >&5
31685
31686 ac_cv_have_decl_gtk_icon_size_lookup=no
31687 fi
31688
31689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31690 fi
31691 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31692 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31693 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31694
31695 cat >>confdefs.h <<_ACEOF
31696 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31697 _ACEOF
31698
31699
31700 else
31701 cat >>confdefs.h <<_ACEOF
31702 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31703 _ACEOF
31704
31705 cat >>confdefs.h <<\_ACEOF
31706 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31707 _ACEOF
31708
31709 fi
31710
31711
31712
31713
31714 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31715 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722
31723 #include <gtk/gtk.h>
31724
31725 int
31726 main ()
31727 {
31728
31729 #if !GTK_CHECK_VERSION(2,10,0)
31730 Not GTK+ 2.10
31731 #endif
31732
31733 ;
31734 return 0;
31735 }
31736 _ACEOF
31737 rm -f conftest.$ac_objext
31738 if { (ac_try="$ac_compile"
31739 case "(($ac_try" in
31740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31741 *) ac_try_echo=$ac_try;;
31742 esac
31743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31744 (eval "$ac_compile") 2>conftest.er1
31745 ac_status=$?
31746 grep -v '^ *+' conftest.er1 >conftest.err
31747 rm -f conftest.er1
31748 cat conftest.err >&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); } && {
31751 test -z "$ac_c_werror_flag" ||
31752 test ! -s conftest.err
31753 } && test -s conftest.$ac_objext; then
31754
31755 cat >>confdefs.h <<\_ACEOF
31756 #define __WXGTK210__ 1
31757 _ACEOF
31758
31759 cat >>confdefs.h <<\_ACEOF
31760 #define __WXGTK26__ 1
31761 _ACEOF
31762
31763 cat >>confdefs.h <<\_ACEOF
31764 #define __WXGTK24__ 1
31765 _ACEOF
31766
31767 { echo "$as_me:$LINENO: result: yes" >&5
31768 echo "${ECHO_T}yes" >&6; }
31769 ac_wxgtk210=1
31770
31771 else
31772 echo "$as_me: failed program was:" >&5
31773 sed 's/^/| /' conftest.$ac_ext >&5
31774
31775
31776 { echo "$as_me:$LINENO: result: no" >&5
31777 echo "${ECHO_T}no" >&6; }
31778 ac_wxgtk210=0
31779
31780 fi
31781
31782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31783
31784 if test "$ac_wxgtk210" = 0; then
31785 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31786 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31787 cat >conftest.$ac_ext <<_ACEOF
31788 /* confdefs.h. */
31789 _ACEOF
31790 cat confdefs.h >>conftest.$ac_ext
31791 cat >>conftest.$ac_ext <<_ACEOF
31792 /* end confdefs.h. */
31793
31794 #include <gtk/gtk.h>
31795
31796 int
31797 main ()
31798 {
31799
31800 #if !GTK_CHECK_VERSION(2,6,0)
31801 Not GTK+ 2.6
31802 #endif
31803
31804 ;
31805 return 0;
31806 }
31807 _ACEOF
31808 rm -f conftest.$ac_objext
31809 if { (ac_try="$ac_compile"
31810 case "(($ac_try" in
31811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31812 *) ac_try_echo=$ac_try;;
31813 esac
31814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31815 (eval "$ac_compile") 2>conftest.er1
31816 ac_status=$?
31817 grep -v '^ *+' conftest.er1 >conftest.err
31818 rm -f conftest.er1
31819 cat conftest.err >&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } && {
31822 test -z "$ac_c_werror_flag" ||
31823 test ! -s conftest.err
31824 } && test -s conftest.$ac_objext; then
31825
31826 cat >>confdefs.h <<\_ACEOF
31827 #define __WXGTK26__ 1
31828 _ACEOF
31829
31830 cat >>confdefs.h <<\_ACEOF
31831 #define __WXGTK24__ 1
31832 _ACEOF
31833
31834 { echo "$as_me:$LINENO: result: yes" >&5
31835 echo "${ECHO_T}yes" >&6; }
31836 ac_wxgtk26=1
31837
31838 else
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.$ac_ext >&5
31841
31842
31843 { echo "$as_me:$LINENO: result: no" >&5
31844 echo "${ECHO_T}no" >&6; }
31845 ac_wxgtk26=0
31846
31847 fi
31848
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850 fi
31851
31852 if test "$ac_wxgtk26" = 0; then
31853 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31854 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31855 cat >conftest.$ac_ext <<_ACEOF
31856 /* confdefs.h. */
31857 _ACEOF
31858 cat confdefs.h >>conftest.$ac_ext
31859 cat >>conftest.$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31861
31862 #include <gtk/gtk.h>
31863
31864 int
31865 main ()
31866 {
31867
31868 #if !GTK_CHECK_VERSION(2,4,0)
31869 Not GTK+ 2.4
31870 #endif
31871
31872 ;
31873 return 0;
31874 }
31875 _ACEOF
31876 rm -f conftest.$ac_objext
31877 if { (ac_try="$ac_compile"
31878 case "(($ac_try" in
31879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31880 *) ac_try_echo=$ac_try;;
31881 esac
31882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31883 (eval "$ac_compile") 2>conftest.er1
31884 ac_status=$?
31885 grep -v '^ *+' conftest.er1 >conftest.err
31886 rm -f conftest.er1
31887 cat conftest.err >&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); } && {
31890 test -z "$ac_c_werror_flag" ||
31891 test ! -s conftest.err
31892 } && test -s conftest.$ac_objext; then
31893
31894 cat >>confdefs.h <<\_ACEOF
31895 #define __WXGTK24__ 1
31896 _ACEOF
31897
31898 { echo "$as_me:$LINENO: result: yes" >&5
31899 echo "${ECHO_T}yes" >&6; }
31900
31901 else
31902 echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.$ac_ext >&5
31904
31905
31906 { echo "$as_me:$LINENO: result: no" >&5
31907 echo "${ECHO_T}no" >&6; }
31908
31909 fi
31910
31911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31912 fi
31913
31914 CFLAGS="$save_CFLAGS"
31915 LIBS="$save_LIBS"
31916 else
31917 if test "$wxUSE_UNICODE" = "yes"; then
31918 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31919 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31920 wxUSE_UNICODE=no
31921 fi
31922
31923 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31924 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31925 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31926 echo $ECHO_N "(cached) $ECHO_C" >&6
31927 else
31928 ac_check_lib_save_LIBS=$LIBS
31929 LIBS="-lgdk $LIBS"
31930 cat >conftest.$ac_ext <<_ACEOF
31931 /* confdefs.h. */
31932 _ACEOF
31933 cat confdefs.h >>conftest.$ac_ext
31934 cat >>conftest.$ac_ext <<_ACEOF
31935 /* end confdefs.h. */
31936
31937 /* Override any GCC internal prototype to avoid an error.
31938 Use char because int might match the return type of a GCC
31939 builtin and then its argument prototype would still apply. */
31940 #ifdef __cplusplus
31941 extern "C"
31942 #endif
31943 char gdk_im_open ();
31944 int
31945 main ()
31946 {
31947 return gdk_im_open ();
31948 ;
31949 return 0;
31950 }
31951 _ACEOF
31952 rm -f conftest.$ac_objext conftest$ac_exeext
31953 if { (ac_try="$ac_link"
31954 case "(($ac_try" in
31955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31956 *) ac_try_echo=$ac_try;;
31957 esac
31958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31959 (eval "$ac_link") 2>conftest.er1
31960 ac_status=$?
31961 grep -v '^ *+' conftest.er1 >conftest.err
31962 rm -f conftest.er1
31963 cat conftest.err >&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } && {
31966 test -z "$ac_c_werror_flag" ||
31967 test ! -s conftest.err
31968 } && test -s conftest$ac_exeext &&
31969 $as_test_x conftest$ac_exeext; then
31970 ac_cv_lib_gdk_gdk_im_open=yes
31971 else
31972 echo "$as_me: failed program was:" >&5
31973 sed 's/^/| /' conftest.$ac_ext >&5
31974
31975 ac_cv_lib_gdk_gdk_im_open=no
31976 fi
31977
31978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31979 conftest$ac_exeext conftest.$ac_ext
31980 LIBS=$ac_check_lib_save_LIBS
31981 fi
31982 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31983 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31984 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31985 cat >>confdefs.h <<\_ACEOF
31986 #define HAVE_XIM 1
31987 _ACEOF
31988
31989 fi
31990
31991
31992 if test "$USE_DARWIN" != 1; then
31993
31994 for ac_func in poll
31995 do
31996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31997 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31999 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32000 echo $ECHO_N "(cached) $ECHO_C" >&6
32001 else
32002 cat >conftest.$ac_ext <<_ACEOF
32003 /* confdefs.h. */
32004 _ACEOF
32005 cat confdefs.h >>conftest.$ac_ext
32006 cat >>conftest.$ac_ext <<_ACEOF
32007 /* end confdefs.h. */
32008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32010 #define $ac_func innocuous_$ac_func
32011
32012 /* System header to define __stub macros and hopefully few prototypes,
32013 which can conflict with char $ac_func (); below.
32014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32015 <limits.h> exists even on freestanding compilers. */
32016
32017 #ifdef __STDC__
32018 # include <limits.h>
32019 #else
32020 # include <assert.h>
32021 #endif
32022
32023 #undef $ac_func
32024
32025 /* Override any GCC internal prototype to avoid an error.
32026 Use char because int might match the return type of a GCC
32027 builtin and then its argument prototype would still apply. */
32028 #ifdef __cplusplus
32029 extern "C"
32030 #endif
32031 char $ac_func ();
32032 /* The GNU C library defines this for functions which it implements
32033 to always fail with ENOSYS. Some functions are actually named
32034 something starting with __ and the normal name is an alias. */
32035 #if defined __stub_$ac_func || defined __stub___$ac_func
32036 choke me
32037 #endif
32038
32039 int
32040 main ()
32041 {
32042 return $ac_func ();
32043 ;
32044 return 0;
32045 }
32046 _ACEOF
32047 rm -f conftest.$ac_objext conftest$ac_exeext
32048 if { (ac_try="$ac_link"
32049 case "(($ac_try" in
32050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32051 *) ac_try_echo=$ac_try;;
32052 esac
32053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32054 (eval "$ac_link") 2>conftest.er1
32055 ac_status=$?
32056 grep -v '^ *+' conftest.er1 >conftest.err
32057 rm -f conftest.er1
32058 cat conftest.err >&5
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); } && {
32061 test -z "$ac_c_werror_flag" ||
32062 test ! -s conftest.err
32063 } && test -s conftest$ac_exeext &&
32064 $as_test_x conftest$ac_exeext; then
32065 eval "$as_ac_var=yes"
32066 else
32067 echo "$as_me: failed program was:" >&5
32068 sed 's/^/| /' conftest.$ac_ext >&5
32069
32070 eval "$as_ac_var=no"
32071 fi
32072
32073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32074 conftest$ac_exeext conftest.$ac_ext
32075 fi
32076 ac_res=`eval echo '${'$as_ac_var'}'`
32077 { echo "$as_me:$LINENO: result: $ac_res" >&5
32078 echo "${ECHO_T}$ac_res" >&6; }
32079 if test `eval echo '${'$as_ac_var'}'` = yes; then
32080 cat >>confdefs.h <<_ACEOF
32081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32082 _ACEOF
32083
32084 fi
32085 done
32086
32087 fi
32088 fi
32089
32090 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32091 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32092
32093 AFMINSTALL=afminstall
32094 TOOLKIT=GTK
32095 GUIDIST=GTK_DIST
32096
32097 if test "$wxUSE_GPE" = "yes"; then
32098 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32099 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32100
32101 ac_find_libraries=
32102 for ac_dir in $SEARCH_LIB;
32103 do
32104 for ac_extension in a so sl dylib dll.a; do
32105 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32106 ac_find_libraries=$ac_dir
32107 break 2
32108 fi
32109 done
32110 done
32111
32112 if test "$ac_find_libraries" != "" ; then
32113
32114 if test "$ac_find_libraries" = "default location"; then
32115 ac_path_to_link=""
32116 else
32117 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32118 result=$?
32119 if test $result = 0; then
32120 ac_path_to_link=""
32121 else
32122 ac_path_to_link=" -L$ac_find_libraries"
32123 fi
32124 fi
32125
32126 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32127 WXGPE=1
32128 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32129 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32130 else
32131 { echo "$as_me:$LINENO: result: not found" >&5
32132 echo "${ECHO_T}not found" >&6; }
32133 fi
32134
32135 fi
32136 fi
32137
32138 if test "$wxUSE_MGL" = 1; then
32139 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32140 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32141 if test "x$MGL_ROOT" = x ; then
32142 { echo "$as_me:$LINENO: result: not found" >&5
32143 echo "${ECHO_T}not found" >&6; }
32144 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32145 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32146 { (exit 1); exit 1; }; }
32147 else
32148 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32149 echo "${ECHO_T}$MGL_ROOT" >&6; }
32150 fi
32151
32152 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32153 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32154 case "${host}" in
32155 *-*-linux* )
32156 if test "x$wxUSE_SHARED" = xyes ; then
32157 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32158 else
32159 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32160 fi
32161 ;;
32162 *-pc-msdosdjgpp )
32163 mgl_os_candidates="dos32/dj2"
32164 ;;
32165 *)
32166 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32167 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32168 { (exit 1); exit 1; }; }
32169 esac
32170
32171 mgl_lib_type=""
32172 mgl_os=""
32173
32174 for mgl_os_i in $mgl_os_candidates ; do
32175 if test "x$mgl_os" = x ; then
32176 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32177 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32178 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32179 mgl_lib_type=debug
32180 mgl_os=$mgl_os_i
32181 fi
32182 fi
32183 if test "x$mgl_lib_type" = x ; then
32184 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32185 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32186 mgl_lib_type=release
32187 mgl_os=$mgl_os_i
32188 fi
32189 fi
32190 fi
32191 done
32192
32193 if test "x$mgl_os" = x ; then
32194 { echo "$as_me:$LINENO: result: not found" >&5
32195 echo "${ECHO_T}not found" >&6; }
32196 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32197 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32198 { (exit 1); exit 1; }; }
32199 fi
32200 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32201 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32202
32203 wxUSE_UNIVERSAL="yes"
32204
32205 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32206 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32207
32208 AFMINSTALL=afminstall
32209 TOOLKIT=MGL
32210 GUIDIST=MGL_DIST
32211 fi
32212
32213 if test "$wxUSE_DFB" = 1; then
32214
32215
32216 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32217 if test -n "$ac_tool_prefix"; then
32218 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32219 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32222 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32223 echo $ECHO_N "(cached) $ECHO_C" >&6
32224 else
32225 case $PKG_CONFIG in
32226 [\\/]* | ?:[\\/]*)
32227 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32228 ;;
32229 *)
32230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32231 for as_dir in $PATH
32232 do
32233 IFS=$as_save_IFS
32234 test -z "$as_dir" && as_dir=.
32235 for ac_exec_ext in '' $ac_executable_extensions; do
32236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32237 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32239 break 2
32240 fi
32241 done
32242 done
32243 IFS=$as_save_IFS
32244
32245 ;;
32246 esac
32247 fi
32248 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32249 if test -n "$PKG_CONFIG"; then
32250 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32251 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32252 else
32253 { echo "$as_me:$LINENO: result: no" >&5
32254 echo "${ECHO_T}no" >&6; }
32255 fi
32256
32257
32258 fi
32259 if test -z "$ac_cv_path_PKG_CONFIG"; then
32260 ac_pt_PKG_CONFIG=$PKG_CONFIG
32261 # Extract the first word of "pkg-config", so it can be a program name with args.
32262 set dummy pkg-config; ac_word=$2
32263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32265 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32266 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 else
32268 case $ac_pt_PKG_CONFIG in
32269 [\\/]* | ?:[\\/]*)
32270 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32271 ;;
32272 *)
32273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32274 for as_dir in $PATH
32275 do
32276 IFS=$as_save_IFS
32277 test -z "$as_dir" && as_dir=.
32278 for ac_exec_ext in '' $ac_executable_extensions; do
32279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32280 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32282 break 2
32283 fi
32284 done
32285 done
32286 IFS=$as_save_IFS
32287
32288 ;;
32289 esac
32290 fi
32291 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32292 if test -n "$ac_pt_PKG_CONFIG"; then
32293 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32294 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32295 else
32296 { echo "$as_me:$LINENO: result: no" >&5
32297 echo "${ECHO_T}no" >&6; }
32298 fi
32299
32300 if test "x$ac_pt_PKG_CONFIG" = x; then
32301 PKG_CONFIG=""
32302 else
32303 case $cross_compiling:$ac_tool_warned in
32304 yes:)
32305 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32306 whose name does not start with the host triplet. If you think this
32307 configuration is useful to you, please write to autoconf@gnu.org." >&5
32308 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32309 whose name does not start with the host triplet. If you think this
32310 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32311 ac_tool_warned=yes ;;
32312 esac
32313 PKG_CONFIG=$ac_pt_PKG_CONFIG
32314 fi
32315 else
32316 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32317 fi
32318
32319 fi
32320 if test -n "$PKG_CONFIG"; then
32321 _pkg_min_version=0.9.0
32322 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32323 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32324 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32325 { echo "$as_me:$LINENO: result: yes" >&5
32326 echo "${ECHO_T}yes" >&6; }
32327 else
32328 { echo "$as_me:$LINENO: result: no" >&5
32329 echo "${ECHO_T}no" >&6; }
32330 PKG_CONFIG=""
32331 fi
32332
32333 fi
32334
32335
32336 pkg_failed=no
32337 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32338 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32339
32340 if test -n "$PKG_CONFIG"; then
32341 if test -n "$DIRECTFB_CFLAGS"; then
32342 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32343 else
32344 if test -n "$PKG_CONFIG" && \
32345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32346 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32347 ac_status=$?
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); }; then
32350 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32351 else
32352 pkg_failed=yes
32353 fi
32354 fi
32355 else
32356 pkg_failed=untried
32357 fi
32358 if test -n "$PKG_CONFIG"; then
32359 if test -n "$DIRECTFB_LIBS"; then
32360 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32361 else
32362 if test -n "$PKG_CONFIG" && \
32363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32364 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32365 ac_status=$?
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; then
32368 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32369 else
32370 pkg_failed=yes
32371 fi
32372 fi
32373 else
32374 pkg_failed=untried
32375 fi
32376
32377
32378
32379 if test $pkg_failed = yes; then
32380
32381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32382 _pkg_short_errors_supported=yes
32383 else
32384 _pkg_short_errors_supported=no
32385 fi
32386 if test $_pkg_short_errors_supported = yes; then
32387 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32388 else
32389 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32390 fi
32391 # Put the nasty error message in config.log where it belongs
32392 echo "$DIRECTFB_PKG_ERRORS" >&5
32393
32394
32395 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32396 echo "$as_me: error: DirectFB not found." >&2;}
32397 { (exit 1); exit 1; }; }
32398
32399
32400 elif test $pkg_failed = untried; then
32401
32402 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32403 echo "$as_me: error: DirectFB not found." >&2;}
32404 { (exit 1); exit 1; }; }
32405
32406
32407 else
32408 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32409 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32410 { echo "$as_me:$LINENO: result: yes" >&5
32411 echo "${ECHO_T}yes" >&6; }
32412
32413 wxUSE_UNIVERSAL="yes"
32414 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32415 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32416 TOOLKIT=DFB
32417 GUIDIST=DFB_DIST
32418
32419 fi
32420 fi
32421
32422 if test "$wxUSE_MICROWIN" = 1; then
32423 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32424 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32425 if test "x$MICROWINDOWS" = x ; then
32426 { echo "$as_me:$LINENO: result: not found" >&5
32427 echo "${ECHO_T}not found" >&6; }
32428 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32429 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32430 { (exit 1); exit 1; }; }
32431 else
32432 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32433 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32434 fi
32435
32436 if test -f $MICROWINDOWS/lib/libmwin.a; then
32437 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32438 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32439 else
32440 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32441 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32442 { (exit 1); exit 1; }; }
32443 fi
32444
32445 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32446 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32447
32448 wxUSE_UNIVERSAL="yes"
32449
32450 AFMINSTALL=afminstall
32451 TOOLKIT=MICROWIN
32452 GUIDIST=MICROWIN_DIST
32453
32454 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32455 fi
32456
32457 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32458 { echo "$as_me:$LINENO: checking for X" >&5
32459 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32460
32461
32462 # Check whether --with-x was given.
32463 if test "${with_x+set}" = set; then
32464 withval=$with_x;
32465 fi
32466
32467 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32468 if test "x$with_x" = xno; then
32469 # The user explicitly disabled X.
32470 have_x=disabled
32471 else
32472 case $x_includes,$x_libraries in #(
32473 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32474 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32475 { (exit 1); exit 1; }; };; #(
32476 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32477 echo $ECHO_N "(cached) $ECHO_C" >&6
32478 else
32479 # One or both of the vars are not set, and there is no cached value.
32480 ac_x_includes=no ac_x_libraries=no
32481 rm -f -r conftest.dir
32482 if mkdir conftest.dir; then
32483 cd conftest.dir
32484 cat >Imakefile <<'_ACEOF'
32485 incroot:
32486 @echo incroot='${INCROOT}'
32487 usrlibdir:
32488 @echo usrlibdir='${USRLIBDIR}'
32489 libdir:
32490 @echo libdir='${LIBDIR}'
32491 _ACEOF
32492 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32493 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32494 for ac_var in incroot usrlibdir libdir; do
32495 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32496 done
32497 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32498 for ac_extension in a so sl; do
32499 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32500 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32501 ac_im_usrlibdir=$ac_im_libdir; break
32502 fi
32503 done
32504 # Screen out bogus values from the imake configuration. They are
32505 # bogus both because they are the default anyway, and because
32506 # using them would break gcc on systems where it needs fixed includes.
32507 case $ac_im_incroot in
32508 /usr/include) ac_x_includes= ;;
32509 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32510 esac
32511 case $ac_im_usrlibdir in
32512 /usr/lib | /lib) ;;
32513 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32514 esac
32515 fi
32516 cd ..
32517 rm -f -r conftest.dir
32518 fi
32519
32520 # Standard set of common directories for X headers.
32521 # Check X11 before X11Rn because it is often a symlink to the current release.
32522 ac_x_header_dirs='
32523 /usr/X11/include
32524 /usr/X11R6/include
32525 /usr/X11R5/include
32526 /usr/X11R4/include
32527
32528 /usr/include/X11
32529 /usr/include/X11R6
32530 /usr/include/X11R5
32531 /usr/include/X11R4
32532
32533 /usr/local/X11/include
32534 /usr/local/X11R6/include
32535 /usr/local/X11R5/include
32536 /usr/local/X11R4/include
32537
32538 /usr/local/include/X11
32539 /usr/local/include/X11R6
32540 /usr/local/include/X11R5
32541 /usr/local/include/X11R4
32542
32543 /usr/X386/include
32544 /usr/x386/include
32545 /usr/XFree86/include/X11
32546
32547 /usr/include
32548 /usr/local/include
32549 /usr/unsupported/include
32550 /usr/athena/include
32551 /usr/local/x11r5/include
32552 /usr/lpp/Xamples/include
32553
32554 /usr/openwin/include
32555 /usr/openwin/share/include'
32556
32557 if test "$ac_x_includes" = no; then
32558 # Guess where to find include files, by looking for Xlib.h.
32559 # First, try using that file with no special directory specified.
32560 cat >conftest.$ac_ext <<_ACEOF
32561 /* confdefs.h. */
32562 _ACEOF
32563 cat confdefs.h >>conftest.$ac_ext
32564 cat >>conftest.$ac_ext <<_ACEOF
32565 /* end confdefs.h. */
32566 #include <X11/Xlib.h>
32567 _ACEOF
32568 if { (ac_try="$ac_cpp conftest.$ac_ext"
32569 case "(($ac_try" in
32570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32571 *) ac_try_echo=$ac_try;;
32572 esac
32573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32575 ac_status=$?
32576 grep -v '^ *+' conftest.er1 >conftest.err
32577 rm -f conftest.er1
32578 cat conftest.err >&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); } >/dev/null && {
32581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32582 test ! -s conftest.err
32583 }; then
32584 # We can compile using X headers with no special include directory.
32585 ac_x_includes=
32586 else
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.$ac_ext >&5
32589
32590 for ac_dir in $ac_x_header_dirs; do
32591 if test -r "$ac_dir/X11/Xlib.h"; then
32592 ac_x_includes=$ac_dir
32593 break
32594 fi
32595 done
32596 fi
32597
32598 rm -f conftest.err conftest.$ac_ext
32599 fi # $ac_x_includes = no
32600
32601 if test "$ac_x_libraries" = no; then
32602 # Check for the libraries.
32603 # See if we find them without any special options.
32604 # Don't add to $LIBS permanently.
32605 ac_save_LIBS=$LIBS
32606 LIBS="-lX11 $LIBS"
32607 cat >conftest.$ac_ext <<_ACEOF
32608 /* confdefs.h. */
32609 _ACEOF
32610 cat confdefs.h >>conftest.$ac_ext
32611 cat >>conftest.$ac_ext <<_ACEOF
32612 /* end confdefs.h. */
32613 #include <X11/Xlib.h>
32614 int
32615 main ()
32616 {
32617 XrmInitialize ()
32618 ;
32619 return 0;
32620 }
32621 _ACEOF
32622 rm -f conftest.$ac_objext conftest$ac_exeext
32623 if { (ac_try="$ac_link"
32624 case "(($ac_try" in
32625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32626 *) ac_try_echo=$ac_try;;
32627 esac
32628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32629 (eval "$ac_link") 2>conftest.er1
32630 ac_status=$?
32631 grep -v '^ *+' conftest.er1 >conftest.err
32632 rm -f conftest.er1
32633 cat conftest.err >&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } && {
32636 test -z "$ac_c_werror_flag" ||
32637 test ! -s conftest.err
32638 } && test -s conftest$ac_exeext &&
32639 $as_test_x conftest$ac_exeext; then
32640 LIBS=$ac_save_LIBS
32641 # We can link X programs with no special library path.
32642 ac_x_libraries=
32643 else
32644 echo "$as_me: failed program was:" >&5
32645 sed 's/^/| /' conftest.$ac_ext >&5
32646
32647 LIBS=$ac_save_LIBS
32648 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32649 do
32650 # Don't even attempt the hair of trying to link an X program!
32651 for ac_extension in a so sl; do
32652 if test -r "$ac_dir/libX11.$ac_extension"; then
32653 ac_x_libraries=$ac_dir
32654 break 2
32655 fi
32656 done
32657 done
32658 fi
32659
32660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32661 conftest$ac_exeext conftest.$ac_ext
32662 fi # $ac_x_libraries = no
32663
32664 case $ac_x_includes,$ac_x_libraries in #(
32665 no,* | *,no | *\'*)
32666 # Didn't find X, or a directory has "'" in its name.
32667 ac_cv_have_x="have_x=no";; #(
32668 *)
32669 # Record where we found X for the cache.
32670 ac_cv_have_x="have_x=yes\
32671 ac_x_includes='$ac_x_includes'\
32672 ac_x_libraries='$ac_x_libraries'"
32673 esac
32674 fi
32675 ;; #(
32676 *) have_x=yes;;
32677 esac
32678 eval "$ac_cv_have_x"
32679 fi # $with_x != no
32680
32681 if test "$have_x" != yes; then
32682 { echo "$as_me:$LINENO: result: $have_x" >&5
32683 echo "${ECHO_T}$have_x" >&6; }
32684 no_x=yes
32685 else
32686 # If each of the values was on the command line, it overrides each guess.
32687 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32688 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32689 # Update the cache value to reflect the command line values.
32690 ac_cv_have_x="have_x=yes\
32691 ac_x_includes='$x_includes'\
32692 ac_x_libraries='$x_libraries'"
32693 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32694 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32695 fi
32696
32697 if test "$no_x" = yes; then
32698 # Not all programs may use this symbol, but it does not hurt to define it.
32699
32700 cat >>confdefs.h <<\_ACEOF
32701 #define X_DISPLAY_MISSING 1
32702 _ACEOF
32703
32704 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32705 else
32706 if test -n "$x_includes"; then
32707 X_CFLAGS="$X_CFLAGS -I$x_includes"
32708 fi
32709
32710 # It would also be nice to do this for all -L options, not just this one.
32711 if test -n "$x_libraries"; then
32712 X_LIBS="$X_LIBS -L$x_libraries"
32713 # For Solaris; some versions of Sun CC require a space after -R and
32714 # others require no space. Words are not sufficient . . . .
32715 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32716 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32717 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32718 ac_xsave_c_werror_flag=$ac_c_werror_flag
32719 ac_c_werror_flag=yes
32720 cat >conftest.$ac_ext <<_ACEOF
32721 /* confdefs.h. */
32722 _ACEOF
32723 cat confdefs.h >>conftest.$ac_ext
32724 cat >>conftest.$ac_ext <<_ACEOF
32725 /* end confdefs.h. */
32726
32727 int
32728 main ()
32729 {
32730
32731 ;
32732 return 0;
32733 }
32734 _ACEOF
32735 rm -f conftest.$ac_objext conftest$ac_exeext
32736 if { (ac_try="$ac_link"
32737 case "(($ac_try" in
32738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32739 *) ac_try_echo=$ac_try;;
32740 esac
32741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32742 (eval "$ac_link") 2>conftest.er1
32743 ac_status=$?
32744 grep -v '^ *+' conftest.er1 >conftest.err
32745 rm -f conftest.er1
32746 cat conftest.err >&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } && {
32749 test -z "$ac_c_werror_flag" ||
32750 test ! -s conftest.err
32751 } && test -s conftest$ac_exeext &&
32752 $as_test_x conftest$ac_exeext; then
32753 { echo "$as_me:$LINENO: result: no" >&5
32754 echo "${ECHO_T}no" >&6; }
32755 X_LIBS="$X_LIBS -R$x_libraries"
32756 else
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.$ac_ext >&5
32759
32760 LIBS="$ac_xsave_LIBS -R $x_libraries"
32761 cat >conftest.$ac_ext <<_ACEOF
32762 /* confdefs.h. */
32763 _ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32767
32768 int
32769 main ()
32770 {
32771
32772 ;
32773 return 0;
32774 }
32775 _ACEOF
32776 rm -f conftest.$ac_objext conftest$ac_exeext
32777 if { (ac_try="$ac_link"
32778 case "(($ac_try" in
32779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32780 *) ac_try_echo=$ac_try;;
32781 esac
32782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32783 (eval "$ac_link") 2>conftest.er1
32784 ac_status=$?
32785 grep -v '^ *+' conftest.er1 >conftest.err
32786 rm -f conftest.er1
32787 cat conftest.err >&5
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); } && {
32790 test -z "$ac_c_werror_flag" ||
32791 test ! -s conftest.err
32792 } && test -s conftest$ac_exeext &&
32793 $as_test_x conftest$ac_exeext; then
32794 { echo "$as_me:$LINENO: result: yes" >&5
32795 echo "${ECHO_T}yes" >&6; }
32796 X_LIBS="$X_LIBS -R $x_libraries"
32797 else
32798 echo "$as_me: failed program was:" >&5
32799 sed 's/^/| /' conftest.$ac_ext >&5
32800
32801 { echo "$as_me:$LINENO: result: neither works" >&5
32802 echo "${ECHO_T}neither works" >&6; }
32803 fi
32804
32805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32806 conftest$ac_exeext conftest.$ac_ext
32807 fi
32808
32809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32810 conftest$ac_exeext conftest.$ac_ext
32811 ac_c_werror_flag=$ac_xsave_c_werror_flag
32812 LIBS=$ac_xsave_LIBS
32813 fi
32814
32815 # Check for system-dependent libraries X programs must link with.
32816 # Do this before checking for the system-independent R6 libraries
32817 # (-lICE), since we may need -lsocket or whatever for X linking.
32818
32819 if test "$ISC" = yes; then
32820 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32821 else
32822 # Martyn Johnson says this is needed for Ultrix, if the X
32823 # libraries were built with DECnet support. And Karl Berry says
32824 # the Alpha needs dnet_stub (dnet does not exist).
32825 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32826 cat >conftest.$ac_ext <<_ACEOF
32827 /* confdefs.h. */
32828 _ACEOF
32829 cat confdefs.h >>conftest.$ac_ext
32830 cat >>conftest.$ac_ext <<_ACEOF
32831 /* end confdefs.h. */
32832
32833 /* Override any GCC internal prototype to avoid an error.
32834 Use char because int might match the return type of a GCC
32835 builtin and then its argument prototype would still apply. */
32836 #ifdef __cplusplus
32837 extern "C"
32838 #endif
32839 char XOpenDisplay ();
32840 int
32841 main ()
32842 {
32843 return XOpenDisplay ();
32844 ;
32845 return 0;
32846 }
32847 _ACEOF
32848 rm -f conftest.$ac_objext conftest$ac_exeext
32849 if { (ac_try="$ac_link"
32850 case "(($ac_try" in
32851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32852 *) ac_try_echo=$ac_try;;
32853 esac
32854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32855 (eval "$ac_link") 2>conftest.er1
32856 ac_status=$?
32857 grep -v '^ *+' conftest.er1 >conftest.err
32858 rm -f conftest.er1
32859 cat conftest.err >&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); } && {
32862 test -z "$ac_c_werror_flag" ||
32863 test ! -s conftest.err
32864 } && test -s conftest$ac_exeext &&
32865 $as_test_x conftest$ac_exeext; then
32866 :
32867 else
32868 echo "$as_me: failed program was:" >&5
32869 sed 's/^/| /' conftest.$ac_ext >&5
32870
32871 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32872 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32873 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32874 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 else
32876 ac_check_lib_save_LIBS=$LIBS
32877 LIBS="-ldnet $LIBS"
32878 cat >conftest.$ac_ext <<_ACEOF
32879 /* confdefs.h. */
32880 _ACEOF
32881 cat confdefs.h >>conftest.$ac_ext
32882 cat >>conftest.$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32884
32885 /* Override any GCC internal prototype to avoid an error.
32886 Use char because int might match the return type of a GCC
32887 builtin and then its argument prototype would still apply. */
32888 #ifdef __cplusplus
32889 extern "C"
32890 #endif
32891 char dnet_ntoa ();
32892 int
32893 main ()
32894 {
32895 return dnet_ntoa ();
32896 ;
32897 return 0;
32898 }
32899 _ACEOF
32900 rm -f conftest.$ac_objext conftest$ac_exeext
32901 if { (ac_try="$ac_link"
32902 case "(($ac_try" in
32903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32904 *) ac_try_echo=$ac_try;;
32905 esac
32906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32907 (eval "$ac_link") 2>conftest.er1
32908 ac_status=$?
32909 grep -v '^ *+' conftest.er1 >conftest.err
32910 rm -f conftest.er1
32911 cat conftest.err >&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); } && {
32914 test -z "$ac_c_werror_flag" ||
32915 test ! -s conftest.err
32916 } && test -s conftest$ac_exeext &&
32917 $as_test_x conftest$ac_exeext; then
32918 ac_cv_lib_dnet_dnet_ntoa=yes
32919 else
32920 echo "$as_me: failed program was:" >&5
32921 sed 's/^/| /' conftest.$ac_ext >&5
32922
32923 ac_cv_lib_dnet_dnet_ntoa=no
32924 fi
32925
32926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32927 conftest$ac_exeext conftest.$ac_ext
32928 LIBS=$ac_check_lib_save_LIBS
32929 fi
32930 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32931 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32932 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32933 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32934 fi
32935
32936 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32937 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32938 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32939 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32941 else
32942 ac_check_lib_save_LIBS=$LIBS
32943 LIBS="-ldnet_stub $LIBS"
32944 cat >conftest.$ac_ext <<_ACEOF
32945 /* confdefs.h. */
32946 _ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32950
32951 /* Override any GCC internal prototype to avoid an error.
32952 Use char because int might match the return type of a GCC
32953 builtin and then its argument prototype would still apply. */
32954 #ifdef __cplusplus
32955 extern "C"
32956 #endif
32957 char dnet_ntoa ();
32958 int
32959 main ()
32960 {
32961 return dnet_ntoa ();
32962 ;
32963 return 0;
32964 }
32965 _ACEOF
32966 rm -f conftest.$ac_objext conftest$ac_exeext
32967 if { (ac_try="$ac_link"
32968 case "(($ac_try" in
32969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32970 *) ac_try_echo=$ac_try;;
32971 esac
32972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32973 (eval "$ac_link") 2>conftest.er1
32974 ac_status=$?
32975 grep -v '^ *+' conftest.er1 >conftest.err
32976 rm -f conftest.er1
32977 cat conftest.err >&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); } && {
32980 test -z "$ac_c_werror_flag" ||
32981 test ! -s conftest.err
32982 } && test -s conftest$ac_exeext &&
32983 $as_test_x conftest$ac_exeext; then
32984 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32985 else
32986 echo "$as_me: failed program was:" >&5
32987 sed 's/^/| /' conftest.$ac_ext >&5
32988
32989 ac_cv_lib_dnet_stub_dnet_ntoa=no
32990 fi
32991
32992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32993 conftest$ac_exeext conftest.$ac_ext
32994 LIBS=$ac_check_lib_save_LIBS
32995 fi
32996 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32997 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32998 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32999 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
33000 fi
33001
33002 fi
33003 fi
33004
33005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33006 conftest$ac_exeext conftest.$ac_ext
33007 LIBS="$ac_xsave_LIBS"
33008
33009 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
33010 # to get the SysV transport functions.
33011 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
33012 # needs -lnsl.
33013 # The nsl library prevents programs from opening the X display
33014 # on Irix 5.2, according to T.E. Dickey.
33015 # The functions gethostbyname, getservbyname, and inet_addr are
33016 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
33017 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
33018 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
33019 if test "${ac_cv_func_gethostbyname+set}" = set; then
33020 echo $ECHO_N "(cached) $ECHO_C" >&6
33021 else
33022 cat >conftest.$ac_ext <<_ACEOF
33023 /* confdefs.h. */
33024 _ACEOF
33025 cat confdefs.h >>conftest.$ac_ext
33026 cat >>conftest.$ac_ext <<_ACEOF
33027 /* end confdefs.h. */
33028 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
33029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33030 #define gethostbyname innocuous_gethostbyname
33031
33032 /* System header to define __stub macros and hopefully few prototypes,
33033 which can conflict with char gethostbyname (); below.
33034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33035 <limits.h> exists even on freestanding compilers. */
33036
33037 #ifdef __STDC__
33038 # include <limits.h>
33039 #else
33040 # include <assert.h>
33041 #endif
33042
33043 #undef gethostbyname
33044
33045 /* Override any GCC internal prototype to avoid an error.
33046 Use char because int might match the return type of a GCC
33047 builtin and then its argument prototype would still apply. */
33048 #ifdef __cplusplus
33049 extern "C"
33050 #endif
33051 char gethostbyname ();
33052 /* The GNU C library defines this for functions which it implements
33053 to always fail with ENOSYS. Some functions are actually named
33054 something starting with __ and the normal name is an alias. */
33055 #if defined __stub_gethostbyname || defined __stub___gethostbyname
33056 choke me
33057 #endif
33058
33059 int
33060 main ()
33061 {
33062 return gethostbyname ();
33063 ;
33064 return 0;
33065 }
33066 _ACEOF
33067 rm -f conftest.$ac_objext conftest$ac_exeext
33068 if { (ac_try="$ac_link"
33069 case "(($ac_try" in
33070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33071 *) ac_try_echo=$ac_try;;
33072 esac
33073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33074 (eval "$ac_link") 2>conftest.er1
33075 ac_status=$?
33076 grep -v '^ *+' conftest.er1 >conftest.err
33077 rm -f conftest.er1
33078 cat conftest.err >&5
33079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33080 (exit $ac_status); } && {
33081 test -z "$ac_c_werror_flag" ||
33082 test ! -s conftest.err
33083 } && test -s conftest$ac_exeext &&
33084 $as_test_x conftest$ac_exeext; then
33085 ac_cv_func_gethostbyname=yes
33086 else
33087 echo "$as_me: failed program was:" >&5
33088 sed 's/^/| /' conftest.$ac_ext >&5
33089
33090 ac_cv_func_gethostbyname=no
33091 fi
33092
33093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33094 conftest$ac_exeext conftest.$ac_ext
33095 fi
33096 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33097 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33098
33099 if test $ac_cv_func_gethostbyname = no; then
33100 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33101 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33102 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 else
33105 ac_check_lib_save_LIBS=$LIBS
33106 LIBS="-lnsl $LIBS"
33107 cat >conftest.$ac_ext <<_ACEOF
33108 /* confdefs.h. */
33109 _ACEOF
33110 cat confdefs.h >>conftest.$ac_ext
33111 cat >>conftest.$ac_ext <<_ACEOF
33112 /* end confdefs.h. */
33113
33114 /* Override any GCC internal prototype to avoid an error.
33115 Use char because int might match the return type of a GCC
33116 builtin and then its argument prototype would still apply. */
33117 #ifdef __cplusplus
33118 extern "C"
33119 #endif
33120 char gethostbyname ();
33121 int
33122 main ()
33123 {
33124 return gethostbyname ();
33125 ;
33126 return 0;
33127 }
33128 _ACEOF
33129 rm -f conftest.$ac_objext conftest$ac_exeext
33130 if { (ac_try="$ac_link"
33131 case "(($ac_try" in
33132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33133 *) ac_try_echo=$ac_try;;
33134 esac
33135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33136 (eval "$ac_link") 2>conftest.er1
33137 ac_status=$?
33138 grep -v '^ *+' conftest.er1 >conftest.err
33139 rm -f conftest.er1
33140 cat conftest.err >&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); } && {
33143 test -z "$ac_c_werror_flag" ||
33144 test ! -s conftest.err
33145 } && test -s conftest$ac_exeext &&
33146 $as_test_x conftest$ac_exeext; then
33147 ac_cv_lib_nsl_gethostbyname=yes
33148 else
33149 echo "$as_me: failed program was:" >&5
33150 sed 's/^/| /' conftest.$ac_ext >&5
33151
33152 ac_cv_lib_nsl_gethostbyname=no
33153 fi
33154
33155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33156 conftest$ac_exeext conftest.$ac_ext
33157 LIBS=$ac_check_lib_save_LIBS
33158 fi
33159 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33160 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33161 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33162 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33163 fi
33164
33165 if test $ac_cv_lib_nsl_gethostbyname = no; then
33166 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33167 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33168 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33169 echo $ECHO_N "(cached) $ECHO_C" >&6
33170 else
33171 ac_check_lib_save_LIBS=$LIBS
33172 LIBS="-lbsd $LIBS"
33173 cat >conftest.$ac_ext <<_ACEOF
33174 /* confdefs.h. */
33175 _ACEOF
33176 cat confdefs.h >>conftest.$ac_ext
33177 cat >>conftest.$ac_ext <<_ACEOF
33178 /* end confdefs.h. */
33179
33180 /* Override any GCC internal prototype to avoid an error.
33181 Use char because int might match the return type of a GCC
33182 builtin and then its argument prototype would still apply. */
33183 #ifdef __cplusplus
33184 extern "C"
33185 #endif
33186 char gethostbyname ();
33187 int
33188 main ()
33189 {
33190 return gethostbyname ();
33191 ;
33192 return 0;
33193 }
33194 _ACEOF
33195 rm -f conftest.$ac_objext conftest$ac_exeext
33196 if { (ac_try="$ac_link"
33197 case "(($ac_try" in
33198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33199 *) ac_try_echo=$ac_try;;
33200 esac
33201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33202 (eval "$ac_link") 2>conftest.er1
33203 ac_status=$?
33204 grep -v '^ *+' conftest.er1 >conftest.err
33205 rm -f conftest.er1
33206 cat conftest.err >&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } && {
33209 test -z "$ac_c_werror_flag" ||
33210 test ! -s conftest.err
33211 } && test -s conftest$ac_exeext &&
33212 $as_test_x conftest$ac_exeext; then
33213 ac_cv_lib_bsd_gethostbyname=yes
33214 else
33215 echo "$as_me: failed program was:" >&5
33216 sed 's/^/| /' conftest.$ac_ext >&5
33217
33218 ac_cv_lib_bsd_gethostbyname=no
33219 fi
33220
33221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33222 conftest$ac_exeext conftest.$ac_ext
33223 LIBS=$ac_check_lib_save_LIBS
33224 fi
33225 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33226 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33227 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33229 fi
33230
33231 fi
33232 fi
33233
33234 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33235 # socket/setsockopt and other routines are undefined under SCO ODT
33236 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33237 # on later versions), says Simon Leinen: it contains gethostby*
33238 # variants that don't use the name server (or something). -lsocket
33239 # must be given before -lnsl if both are needed. We assume that
33240 # if connect needs -lnsl, so does gethostbyname.
33241 { echo "$as_me:$LINENO: checking for connect" >&5
33242 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33243 if test "${ac_cv_func_connect+set}" = set; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33245 else
33246 cat >conftest.$ac_ext <<_ACEOF
33247 /* confdefs.h. */
33248 _ACEOF
33249 cat confdefs.h >>conftest.$ac_ext
33250 cat >>conftest.$ac_ext <<_ACEOF
33251 /* end confdefs.h. */
33252 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33254 #define connect innocuous_connect
33255
33256 /* System header to define __stub macros and hopefully few prototypes,
33257 which can conflict with char connect (); below.
33258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33259 <limits.h> exists even on freestanding compilers. */
33260
33261 #ifdef __STDC__
33262 # include <limits.h>
33263 #else
33264 # include <assert.h>
33265 #endif
33266
33267 #undef connect
33268
33269 /* Override any GCC internal prototype to avoid an error.
33270 Use char because int might match the return type of a GCC
33271 builtin and then its argument prototype would still apply. */
33272 #ifdef __cplusplus
33273 extern "C"
33274 #endif
33275 char connect ();
33276 /* The GNU C library defines this for functions which it implements
33277 to always fail with ENOSYS. Some functions are actually named
33278 something starting with __ and the normal name is an alias. */
33279 #if defined __stub_connect || defined __stub___connect
33280 choke me
33281 #endif
33282
33283 int
33284 main ()
33285 {
33286 return connect ();
33287 ;
33288 return 0;
33289 }
33290 _ACEOF
33291 rm -f conftest.$ac_objext conftest$ac_exeext
33292 if { (ac_try="$ac_link"
33293 case "(($ac_try" in
33294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33295 *) ac_try_echo=$ac_try;;
33296 esac
33297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33298 (eval "$ac_link") 2>conftest.er1
33299 ac_status=$?
33300 grep -v '^ *+' conftest.er1 >conftest.err
33301 rm -f conftest.er1
33302 cat conftest.err >&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); } && {
33305 test -z "$ac_c_werror_flag" ||
33306 test ! -s conftest.err
33307 } && test -s conftest$ac_exeext &&
33308 $as_test_x conftest$ac_exeext; then
33309 ac_cv_func_connect=yes
33310 else
33311 echo "$as_me: failed program was:" >&5
33312 sed 's/^/| /' conftest.$ac_ext >&5
33313
33314 ac_cv_func_connect=no
33315 fi
33316
33317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33318 conftest$ac_exeext conftest.$ac_ext
33319 fi
33320 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33321 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33322
33323 if test $ac_cv_func_connect = no; then
33324 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33325 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33326 if test "${ac_cv_lib_socket_connect+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 else
33329 ac_check_lib_save_LIBS=$LIBS
33330 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33331 cat >conftest.$ac_ext <<_ACEOF
33332 /* confdefs.h. */
33333 _ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337
33338 /* Override any GCC internal prototype to avoid an error.
33339 Use char because int might match the return type of a GCC
33340 builtin and then its argument prototype would still apply. */
33341 #ifdef __cplusplus
33342 extern "C"
33343 #endif
33344 char connect ();
33345 int
33346 main ()
33347 {
33348 return connect ();
33349 ;
33350 return 0;
33351 }
33352 _ACEOF
33353 rm -f conftest.$ac_objext conftest$ac_exeext
33354 if { (ac_try="$ac_link"
33355 case "(($ac_try" in
33356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33357 *) ac_try_echo=$ac_try;;
33358 esac
33359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33360 (eval "$ac_link") 2>conftest.er1
33361 ac_status=$?
33362 grep -v '^ *+' conftest.er1 >conftest.err
33363 rm -f conftest.er1
33364 cat conftest.err >&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); } && {
33367 test -z "$ac_c_werror_flag" ||
33368 test ! -s conftest.err
33369 } && test -s conftest$ac_exeext &&
33370 $as_test_x conftest$ac_exeext; then
33371 ac_cv_lib_socket_connect=yes
33372 else
33373 echo "$as_me: failed program was:" >&5
33374 sed 's/^/| /' conftest.$ac_ext >&5
33375
33376 ac_cv_lib_socket_connect=no
33377 fi
33378
33379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33380 conftest$ac_exeext conftest.$ac_ext
33381 LIBS=$ac_check_lib_save_LIBS
33382 fi
33383 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33384 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33385 if test $ac_cv_lib_socket_connect = yes; then
33386 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33387 fi
33388
33389 fi
33390
33391 # Guillermo Gomez says -lposix is necessary on A/UX.
33392 { echo "$as_me:$LINENO: checking for remove" >&5
33393 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33394 if test "${ac_cv_func_remove+set}" = set; then
33395 echo $ECHO_N "(cached) $ECHO_C" >&6
33396 else
33397 cat >conftest.$ac_ext <<_ACEOF
33398 /* confdefs.h. */
33399 _ACEOF
33400 cat confdefs.h >>conftest.$ac_ext
33401 cat >>conftest.$ac_ext <<_ACEOF
33402 /* end confdefs.h. */
33403 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33405 #define remove innocuous_remove
33406
33407 /* System header to define __stub macros and hopefully few prototypes,
33408 which can conflict with char remove (); below.
33409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33410 <limits.h> exists even on freestanding compilers. */
33411
33412 #ifdef __STDC__
33413 # include <limits.h>
33414 #else
33415 # include <assert.h>
33416 #endif
33417
33418 #undef remove
33419
33420 /* Override any GCC internal prototype to avoid an error.
33421 Use char because int might match the return type of a GCC
33422 builtin and then its argument prototype would still apply. */
33423 #ifdef __cplusplus
33424 extern "C"
33425 #endif
33426 char remove ();
33427 /* The GNU C library defines this for functions which it implements
33428 to always fail with ENOSYS. Some functions are actually named
33429 something starting with __ and the normal name is an alias. */
33430 #if defined __stub_remove || defined __stub___remove
33431 choke me
33432 #endif
33433
33434 int
33435 main ()
33436 {
33437 return remove ();
33438 ;
33439 return 0;
33440 }
33441 _ACEOF
33442 rm -f conftest.$ac_objext conftest$ac_exeext
33443 if { (ac_try="$ac_link"
33444 case "(($ac_try" in
33445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33446 *) ac_try_echo=$ac_try;;
33447 esac
33448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33449 (eval "$ac_link") 2>conftest.er1
33450 ac_status=$?
33451 grep -v '^ *+' conftest.er1 >conftest.err
33452 rm -f conftest.er1
33453 cat conftest.err >&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } && {
33456 test -z "$ac_c_werror_flag" ||
33457 test ! -s conftest.err
33458 } && test -s conftest$ac_exeext &&
33459 $as_test_x conftest$ac_exeext; then
33460 ac_cv_func_remove=yes
33461 else
33462 echo "$as_me: failed program was:" >&5
33463 sed 's/^/| /' conftest.$ac_ext >&5
33464
33465 ac_cv_func_remove=no
33466 fi
33467
33468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33469 conftest$ac_exeext conftest.$ac_ext
33470 fi
33471 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33472 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33473
33474 if test $ac_cv_func_remove = no; then
33475 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33476 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33477 if test "${ac_cv_lib_posix_remove+set}" = set; then
33478 echo $ECHO_N "(cached) $ECHO_C" >&6
33479 else
33480 ac_check_lib_save_LIBS=$LIBS
33481 LIBS="-lposix $LIBS"
33482 cat >conftest.$ac_ext <<_ACEOF
33483 /* confdefs.h. */
33484 _ACEOF
33485 cat confdefs.h >>conftest.$ac_ext
33486 cat >>conftest.$ac_ext <<_ACEOF
33487 /* end confdefs.h. */
33488
33489 /* Override any GCC internal prototype to avoid an error.
33490 Use char because int might match the return type of a GCC
33491 builtin and then its argument prototype would still apply. */
33492 #ifdef __cplusplus
33493 extern "C"
33494 #endif
33495 char remove ();
33496 int
33497 main ()
33498 {
33499 return remove ();
33500 ;
33501 return 0;
33502 }
33503 _ACEOF
33504 rm -f conftest.$ac_objext conftest$ac_exeext
33505 if { (ac_try="$ac_link"
33506 case "(($ac_try" in
33507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33508 *) ac_try_echo=$ac_try;;
33509 esac
33510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33511 (eval "$ac_link") 2>conftest.er1
33512 ac_status=$?
33513 grep -v '^ *+' conftest.er1 >conftest.err
33514 rm -f conftest.er1
33515 cat conftest.err >&5
33516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33517 (exit $ac_status); } && {
33518 test -z "$ac_c_werror_flag" ||
33519 test ! -s conftest.err
33520 } && test -s conftest$ac_exeext &&
33521 $as_test_x conftest$ac_exeext; then
33522 ac_cv_lib_posix_remove=yes
33523 else
33524 echo "$as_me: failed program was:" >&5
33525 sed 's/^/| /' conftest.$ac_ext >&5
33526
33527 ac_cv_lib_posix_remove=no
33528 fi
33529
33530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33531 conftest$ac_exeext conftest.$ac_ext
33532 LIBS=$ac_check_lib_save_LIBS
33533 fi
33534 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33535 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33536 if test $ac_cv_lib_posix_remove = yes; then
33537 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33538 fi
33539
33540 fi
33541
33542 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33543 { echo "$as_me:$LINENO: checking for shmat" >&5
33544 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33545 if test "${ac_cv_func_shmat+set}" = set; then
33546 echo $ECHO_N "(cached) $ECHO_C" >&6
33547 else
33548 cat >conftest.$ac_ext <<_ACEOF
33549 /* confdefs.h. */
33550 _ACEOF
33551 cat confdefs.h >>conftest.$ac_ext
33552 cat >>conftest.$ac_ext <<_ACEOF
33553 /* end confdefs.h. */
33554 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33556 #define shmat innocuous_shmat
33557
33558 /* System header to define __stub macros and hopefully few prototypes,
33559 which can conflict with char shmat (); below.
33560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33561 <limits.h> exists even on freestanding compilers. */
33562
33563 #ifdef __STDC__
33564 # include <limits.h>
33565 #else
33566 # include <assert.h>
33567 #endif
33568
33569 #undef shmat
33570
33571 /* Override any GCC internal prototype to avoid an error.
33572 Use char because int might match the return type of a GCC
33573 builtin and then its argument prototype would still apply. */
33574 #ifdef __cplusplus
33575 extern "C"
33576 #endif
33577 char shmat ();
33578 /* The GNU C library defines this for functions which it implements
33579 to always fail with ENOSYS. Some functions are actually named
33580 something starting with __ and the normal name is an alias. */
33581 #if defined __stub_shmat || defined __stub___shmat
33582 choke me
33583 #endif
33584
33585 int
33586 main ()
33587 {
33588 return shmat ();
33589 ;
33590 return 0;
33591 }
33592 _ACEOF
33593 rm -f conftest.$ac_objext conftest$ac_exeext
33594 if { (ac_try="$ac_link"
33595 case "(($ac_try" in
33596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33597 *) ac_try_echo=$ac_try;;
33598 esac
33599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33600 (eval "$ac_link") 2>conftest.er1
33601 ac_status=$?
33602 grep -v '^ *+' conftest.er1 >conftest.err
33603 rm -f conftest.er1
33604 cat conftest.err >&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); } && {
33607 test -z "$ac_c_werror_flag" ||
33608 test ! -s conftest.err
33609 } && test -s conftest$ac_exeext &&
33610 $as_test_x conftest$ac_exeext; then
33611 ac_cv_func_shmat=yes
33612 else
33613 echo "$as_me: failed program was:" >&5
33614 sed 's/^/| /' conftest.$ac_ext >&5
33615
33616 ac_cv_func_shmat=no
33617 fi
33618
33619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33620 conftest$ac_exeext conftest.$ac_ext
33621 fi
33622 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33623 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33624
33625 if test $ac_cv_func_shmat = no; then
33626 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33627 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33628 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33629 echo $ECHO_N "(cached) $ECHO_C" >&6
33630 else
33631 ac_check_lib_save_LIBS=$LIBS
33632 LIBS="-lipc $LIBS"
33633 cat >conftest.$ac_ext <<_ACEOF
33634 /* confdefs.h. */
33635 _ACEOF
33636 cat confdefs.h >>conftest.$ac_ext
33637 cat >>conftest.$ac_ext <<_ACEOF
33638 /* end confdefs.h. */
33639
33640 /* Override any GCC internal prototype to avoid an error.
33641 Use char because int might match the return type of a GCC
33642 builtin and then its argument prototype would still apply. */
33643 #ifdef __cplusplus
33644 extern "C"
33645 #endif
33646 char shmat ();
33647 int
33648 main ()
33649 {
33650 return shmat ();
33651 ;
33652 return 0;
33653 }
33654 _ACEOF
33655 rm -f conftest.$ac_objext conftest$ac_exeext
33656 if { (ac_try="$ac_link"
33657 case "(($ac_try" in
33658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33659 *) ac_try_echo=$ac_try;;
33660 esac
33661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33662 (eval "$ac_link") 2>conftest.er1
33663 ac_status=$?
33664 grep -v '^ *+' conftest.er1 >conftest.err
33665 rm -f conftest.er1
33666 cat conftest.err >&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } && {
33669 test -z "$ac_c_werror_flag" ||
33670 test ! -s conftest.err
33671 } && test -s conftest$ac_exeext &&
33672 $as_test_x conftest$ac_exeext; then
33673 ac_cv_lib_ipc_shmat=yes
33674 else
33675 echo "$as_me: failed program was:" >&5
33676 sed 's/^/| /' conftest.$ac_ext >&5
33677
33678 ac_cv_lib_ipc_shmat=no
33679 fi
33680
33681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33682 conftest$ac_exeext conftest.$ac_ext
33683 LIBS=$ac_check_lib_save_LIBS
33684 fi
33685 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33686 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33687 if test $ac_cv_lib_ipc_shmat = yes; then
33688 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33689 fi
33690
33691 fi
33692 fi
33693
33694 # Check for libraries that X11R6 Xt/Xaw programs need.
33695 ac_save_LDFLAGS=$LDFLAGS
33696 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33697 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33698 # check for ICE first), but we must link in the order -lSM -lICE or
33699 # we get undefined symbols. So assume we have SM if we have ICE.
33700 # These have to be linked with before -lX11, unlike the other
33701 # libraries we check for below, so use a different variable.
33702 # John Interrante, Karl Berry
33703 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33704 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33705 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33706 echo $ECHO_N "(cached) $ECHO_C" >&6
33707 else
33708 ac_check_lib_save_LIBS=$LIBS
33709 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33710 cat >conftest.$ac_ext <<_ACEOF
33711 /* confdefs.h. */
33712 _ACEOF
33713 cat confdefs.h >>conftest.$ac_ext
33714 cat >>conftest.$ac_ext <<_ACEOF
33715 /* end confdefs.h. */
33716
33717 /* Override any GCC internal prototype to avoid an error.
33718 Use char because int might match the return type of a GCC
33719 builtin and then its argument prototype would still apply. */
33720 #ifdef __cplusplus
33721 extern "C"
33722 #endif
33723 char IceConnectionNumber ();
33724 int
33725 main ()
33726 {
33727 return IceConnectionNumber ();
33728 ;
33729 return 0;
33730 }
33731 _ACEOF
33732 rm -f conftest.$ac_objext conftest$ac_exeext
33733 if { (ac_try="$ac_link"
33734 case "(($ac_try" in
33735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33736 *) ac_try_echo=$ac_try;;
33737 esac
33738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33739 (eval "$ac_link") 2>conftest.er1
33740 ac_status=$?
33741 grep -v '^ *+' conftest.er1 >conftest.err
33742 rm -f conftest.er1
33743 cat conftest.err >&5
33744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745 (exit $ac_status); } && {
33746 test -z "$ac_c_werror_flag" ||
33747 test ! -s conftest.err
33748 } && test -s conftest$ac_exeext &&
33749 $as_test_x conftest$ac_exeext; then
33750 ac_cv_lib_ICE_IceConnectionNumber=yes
33751 else
33752 echo "$as_me: failed program was:" >&5
33753 sed 's/^/| /' conftest.$ac_ext >&5
33754
33755 ac_cv_lib_ICE_IceConnectionNumber=no
33756 fi
33757
33758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33759 conftest$ac_exeext conftest.$ac_ext
33760 LIBS=$ac_check_lib_save_LIBS
33761 fi
33762 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33763 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33764 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33765 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33766 fi
33767
33768 LDFLAGS=$ac_save_LDFLAGS
33769
33770 fi
33771
33772
33773 if test "$no_x" = "yes"; then
33774 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33775 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33776 { (exit 1); exit 1; }; }
33777 fi
33778
33779 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33780 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33781 AFMINSTALL=afminstall
33782 COMPILED_X_PROGRAM=0
33783
33784 fi
33785
33786 if test "$wxUSE_X11" = 1; then
33787 if test "$wxUSE_NANOX" = "yes"; then
33788 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33789 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33790 if test "x$MICROWIN" = x ; then
33791 { echo "$as_me:$LINENO: result: not found" >&5
33792 echo "${ECHO_T}not found" >&6; }
33793 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33794 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33795 { (exit 1); exit 1; }; }
33796 else
33797 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33798 echo "${ECHO_T}$MICROWIN" >&6; }
33799 cat >>confdefs.h <<\_ACEOF
33800 #define wxUSE_NANOX 1
33801 _ACEOF
33802
33803 fi
33804 fi
33805
33806 if test "$wxUSE_UNICODE" = "yes"; then
33807
33808
33809 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33810 if test -n "$ac_tool_prefix"; then
33811 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33812 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33816 echo $ECHO_N "(cached) $ECHO_C" >&6
33817 else
33818 case $PKG_CONFIG in
33819 [\\/]* | ?:[\\/]*)
33820 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33821 ;;
33822 *)
33823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33824 for as_dir in $PATH
33825 do
33826 IFS=$as_save_IFS
33827 test -z "$as_dir" && as_dir=.
33828 for ac_exec_ext in '' $ac_executable_extensions; do
33829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33830 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33832 break 2
33833 fi
33834 done
33835 done
33836 IFS=$as_save_IFS
33837
33838 ;;
33839 esac
33840 fi
33841 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33842 if test -n "$PKG_CONFIG"; then
33843 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33844 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33845 else
33846 { echo "$as_me:$LINENO: result: no" >&5
33847 echo "${ECHO_T}no" >&6; }
33848 fi
33849
33850
33851 fi
33852 if test -z "$ac_cv_path_PKG_CONFIG"; then
33853 ac_pt_PKG_CONFIG=$PKG_CONFIG
33854 # Extract the first word of "pkg-config", so it can be a program name with args.
33855 set dummy pkg-config; ac_word=$2
33856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33858 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33859 echo $ECHO_N "(cached) $ECHO_C" >&6
33860 else
33861 case $ac_pt_PKG_CONFIG in
33862 [\\/]* | ?:[\\/]*)
33863 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33864 ;;
33865 *)
33866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33867 for as_dir in $PATH
33868 do
33869 IFS=$as_save_IFS
33870 test -z "$as_dir" && as_dir=.
33871 for ac_exec_ext in '' $ac_executable_extensions; do
33872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33873 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33875 break 2
33876 fi
33877 done
33878 done
33879 IFS=$as_save_IFS
33880
33881 ;;
33882 esac
33883 fi
33884 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33885 if test -n "$ac_pt_PKG_CONFIG"; then
33886 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33887 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33888 else
33889 { echo "$as_me:$LINENO: result: no" >&5
33890 echo "${ECHO_T}no" >&6; }
33891 fi
33892
33893 if test "x$ac_pt_PKG_CONFIG" = x; then
33894 PKG_CONFIG=""
33895 else
33896 case $cross_compiling:$ac_tool_warned in
33897 yes:)
33898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33899 whose name does not start with the host triplet. If you think this
33900 configuration is useful to you, please write to autoconf@gnu.org." >&5
33901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33902 whose name does not start with the host triplet. If you think this
33903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33904 ac_tool_warned=yes ;;
33905 esac
33906 PKG_CONFIG=$ac_pt_PKG_CONFIG
33907 fi
33908 else
33909 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33910 fi
33911
33912 fi
33913 if test -n "$PKG_CONFIG"; then
33914 _pkg_min_version=0.9.0
33915 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33916 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33917 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33918 { echo "$as_me:$LINENO: result: yes" >&5
33919 echo "${ECHO_T}yes" >&6; }
33920 else
33921 { echo "$as_me:$LINENO: result: no" >&5
33922 echo "${ECHO_T}no" >&6; }
33923 PKG_CONFIG=""
33924 fi
33925
33926 fi
33927
33928
33929 pkg_failed=no
33930 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33931 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33932
33933 if test -n "$PKG_CONFIG"; then
33934 if test -n "$PANGOX_CFLAGS"; then
33935 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33936 else
33937 if test -n "$PKG_CONFIG" && \
33938 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33939 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33940 ac_status=$?
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; then
33943 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33944 else
33945 pkg_failed=yes
33946 fi
33947 fi
33948 else
33949 pkg_failed=untried
33950 fi
33951 if test -n "$PKG_CONFIG"; then
33952 if test -n "$PANGOX_LIBS"; then
33953 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33954 else
33955 if test -n "$PKG_CONFIG" && \
33956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33957 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33958 ac_status=$?
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; then
33961 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33962 else
33963 pkg_failed=yes
33964 fi
33965 fi
33966 else
33967 pkg_failed=untried
33968 fi
33969
33970
33971
33972 if test $pkg_failed = yes; then
33973
33974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33975 _pkg_short_errors_supported=yes
33976 else
33977 _pkg_short_errors_supported=no
33978 fi
33979 if test $_pkg_short_errors_supported = yes; then
33980 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33981 else
33982 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33983 fi
33984 # Put the nasty error message in config.log where it belongs
33985 echo "$PANGOX_PKG_ERRORS" >&5
33986
33987
33988 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33989 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33990 { (exit 1); exit 1; }; }
33991
33992
33993 elif test $pkg_failed = untried; then
33994
33995 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33996 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33997 { (exit 1); exit 1; }; }
33998
33999
34000 else
34001 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
34002 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
34003 { echo "$as_me:$LINENO: result: yes" >&5
34004 echo "${ECHO_T}yes" >&6; }
34005
34006 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
34007 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
34008 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
34009
34010 fi
34011
34012 pkg_failed=no
34013 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
34014 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
34015
34016 if test -n "$PKG_CONFIG"; then
34017 if test -n "$PANGOFT2_CFLAGS"; then
34018 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
34019 else
34020 if test -n "$PKG_CONFIG" && \
34021 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34022 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34023 ac_status=$?
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); }; then
34026 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
34027 else
34028 pkg_failed=yes
34029 fi
34030 fi
34031 else
34032 pkg_failed=untried
34033 fi
34034 if test -n "$PKG_CONFIG"; then
34035 if test -n "$PANGOFT2_LIBS"; then
34036 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
34037 else
34038 if test -n "$PKG_CONFIG" && \
34039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
34040 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
34041 ac_status=$?
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; then
34044 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
34045 else
34046 pkg_failed=yes
34047 fi
34048 fi
34049 else
34050 pkg_failed=untried
34051 fi
34052
34053
34054
34055 if test $pkg_failed = yes; then
34056
34057 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34058 _pkg_short_errors_supported=yes
34059 else
34060 _pkg_short_errors_supported=no
34061 fi
34062 if test $_pkg_short_errors_supported = yes; then
34063 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
34064 else
34065 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
34066 fi
34067 # Put the nasty error message in config.log where it belongs
34068 echo "$PANGOFT2_PKG_ERRORS" >&5
34069
34070
34071 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34072 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34073 wxUSE_PRINTING_ARCHITECTURE="no"
34074
34075
34076 elif test $pkg_failed = untried; then
34077
34078 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34079 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34080 wxUSE_PRINTING_ARCHITECTURE="no"
34081
34082
34083 else
34084 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34085 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34086 { echo "$as_me:$LINENO: result: yes" >&5
34087 echo "${ECHO_T}yes" >&6; }
34088
34089 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34090 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34091 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34092
34093 fi
34094
34095 pkg_failed=no
34096 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34097 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34098
34099 if test -n "$PKG_CONFIG"; then
34100 if test -n "$PANGOXFT_CFLAGS"; then
34101 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34102 else
34103 if test -n "$PKG_CONFIG" && \
34104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34105 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34106 ac_status=$?
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; then
34109 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34110 else
34111 pkg_failed=yes
34112 fi
34113 fi
34114 else
34115 pkg_failed=untried
34116 fi
34117 if test -n "$PKG_CONFIG"; then
34118 if test -n "$PANGOXFT_LIBS"; then
34119 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34120 else
34121 if test -n "$PKG_CONFIG" && \
34122 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34123 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34124 ac_status=$?
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); }; then
34127 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34128 else
34129 pkg_failed=yes
34130 fi
34131 fi
34132 else
34133 pkg_failed=untried
34134 fi
34135
34136
34137
34138 if test $pkg_failed = yes; then
34139
34140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34141 _pkg_short_errors_supported=yes
34142 else
34143 _pkg_short_errors_supported=no
34144 fi
34145 if test $_pkg_short_errors_supported = yes; then
34146 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34147 else
34148 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34149 fi
34150 # Put the nasty error message in config.log where it belongs
34151 echo "$PANGOXFT_PKG_ERRORS" >&5
34152
34153
34154 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34155 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34156
34157
34158 elif test $pkg_failed = untried; then
34159
34160 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34161 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34162
34163
34164 else
34165 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34166 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34167 { echo "$as_me:$LINENO: result: yes" >&5
34168 echo "${ECHO_T}yes" >&6; }
34169
34170 cat >>confdefs.h <<\_ACEOF
34171 #define HAVE_PANGO_XFT 1
34172 _ACEOF
34173
34174 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34175 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34176 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34177
34178 fi
34179 save_LIBS="$LIBS"
34180 LIBS="$LIBS $PANGOX_LIBS"
34181
34182 for ac_func in pango_font_family_is_monospace
34183 do
34184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34188 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 else
34190 cat >conftest.$ac_ext <<_ACEOF
34191 /* confdefs.h. */
34192 _ACEOF
34193 cat confdefs.h >>conftest.$ac_ext
34194 cat >>conftest.$ac_ext <<_ACEOF
34195 /* end confdefs.h. */
34196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34198 #define $ac_func innocuous_$ac_func
34199
34200 /* System header to define __stub macros and hopefully few prototypes,
34201 which can conflict with char $ac_func (); below.
34202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34203 <limits.h> exists even on freestanding compilers. */
34204
34205 #ifdef __STDC__
34206 # include <limits.h>
34207 #else
34208 # include <assert.h>
34209 #endif
34210
34211 #undef $ac_func
34212
34213 /* Override any GCC internal prototype to avoid an error.
34214 Use char because int might match the return type of a GCC
34215 builtin and then its argument prototype would still apply. */
34216 #ifdef __cplusplus
34217 extern "C"
34218 #endif
34219 char $ac_func ();
34220 /* The GNU C library defines this for functions which it implements
34221 to always fail with ENOSYS. Some functions are actually named
34222 something starting with __ and the normal name is an alias. */
34223 #if defined __stub_$ac_func || defined __stub___$ac_func
34224 choke me
34225 #endif
34226
34227 int
34228 main ()
34229 {
34230 return $ac_func ();
34231 ;
34232 return 0;
34233 }
34234 _ACEOF
34235 rm -f conftest.$ac_objext conftest$ac_exeext
34236 if { (ac_try="$ac_link"
34237 case "(($ac_try" in
34238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34239 *) ac_try_echo=$ac_try;;
34240 esac
34241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34242 (eval "$ac_link") 2>conftest.er1
34243 ac_status=$?
34244 grep -v '^ *+' conftest.er1 >conftest.err
34245 rm -f conftest.er1
34246 cat conftest.err >&5
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); } && {
34249 test -z "$ac_c_werror_flag" ||
34250 test ! -s conftest.err
34251 } && test -s conftest$ac_exeext &&
34252 $as_test_x conftest$ac_exeext; then
34253 eval "$as_ac_var=yes"
34254 else
34255 echo "$as_me: failed program was:" >&5
34256 sed 's/^/| /' conftest.$ac_ext >&5
34257
34258 eval "$as_ac_var=no"
34259 fi
34260
34261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34262 conftest$ac_exeext conftest.$ac_ext
34263 fi
34264 ac_res=`eval echo '${'$as_ac_var'}'`
34265 { echo "$as_me:$LINENO: result: $ac_res" >&5
34266 echo "${ECHO_T}$ac_res" >&6; }
34267 if test `eval echo '${'$as_ac_var'}'` = yes; then
34268 cat >>confdefs.h <<_ACEOF
34269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34270 _ACEOF
34271
34272 fi
34273 done
34274
34275 LIBS="$save_LIBS"
34276 fi
34277
34278 wxUSE_UNIVERSAL="yes"
34279
34280 if test "$wxUSE_NANOX" = "yes"; then
34281 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34282 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"
34283 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34284 else
34285 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34286 fi
34287
34288 TOOLKIT=X11
34289 GUIDIST=X11_DIST
34290 fi
34291
34292 if test "$wxUSE_MOTIF" = 1; then
34293 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34294 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34295
34296 ac_find_includes=
34297 for ac_dir in $SEARCH_INCLUDE /usr/include;
34298 do
34299 if test -f "$ac_dir/Xm/Xm.h"; then
34300 ac_find_includes=$ac_dir
34301 break
34302 fi
34303 done
34304
34305 if test "$ac_find_includes" != "" ; then
34306 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34307 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34308
34309 if test "x$ac_find_includes" = "x/usr/include"; then
34310 ac_path_to_include=""
34311 else
34312 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34313 result=$?
34314 if test $result = 0; then
34315 ac_path_to_include=""
34316 else
34317 ac_path_to_include=" -I$ac_find_includes"
34318 fi
34319 fi
34320
34321 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34322 else
34323 save_CFLAGS=$CFLAGS
34324 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34325
34326 cat >conftest.$ac_ext <<_ACEOF
34327 /* confdefs.h. */
34328 _ACEOF
34329 cat confdefs.h >>conftest.$ac_ext
34330 cat >>conftest.$ac_ext <<_ACEOF
34331 /* end confdefs.h. */
34332
34333 #include <Xm/Xm.h>
34334
34335 int
34336 main ()
34337 {
34338
34339 int version;
34340 version = xmUseVersion;
34341
34342 ;
34343 return 0;
34344 }
34345 _ACEOF
34346 rm -f conftest.$ac_objext
34347 if { (ac_try="$ac_compile"
34348 case "(($ac_try" in
34349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34350 *) ac_try_echo=$ac_try;;
34351 esac
34352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34353 (eval "$ac_compile") 2>conftest.er1
34354 ac_status=$?
34355 grep -v '^ *+' conftest.er1 >conftest.err
34356 rm -f conftest.er1
34357 cat conftest.err >&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); } && {
34360 test -z "$ac_c_werror_flag" ||
34361 test ! -s conftest.err
34362 } && test -s conftest.$ac_objext; then
34363
34364 { echo "$as_me:$LINENO: result: found in default search path" >&5
34365 echo "${ECHO_T}found in default search path" >&6; }
34366 COMPILED_X_PROGRAM=1
34367
34368 else
34369 echo "$as_me: failed program was:" >&5
34370 sed 's/^/| /' conftest.$ac_ext >&5
34371
34372
34373 { echo "$as_me:$LINENO: result: no" >&5
34374 echo "${ECHO_T}no" >&6; }
34375 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34376 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34377 { (exit 1); exit 1; }; }
34378
34379
34380 fi
34381
34382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34383
34384 CFLAGS=$save_CFLAGS
34385 fi
34386
34387
34388 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34389 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34390
34391 ac_find_libraries=
34392 for ac_dir in $SEARCH_LIB;
34393 do
34394 for ac_extension in a so sl dylib dll.a; do
34395 if test -f "$ac_dir/libXm.$ac_extension"; then
34396 ac_find_libraries=$ac_dir
34397 break 2
34398 fi
34399 done
34400 done
34401
34402
34403 if test "x$ac_find_libraries" != "x" ; then
34404 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34405 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34406
34407
34408 if test "$ac_find_libraries" = "default location"; then
34409 ac_path_to_link=""
34410 else
34411 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34412 result=$?
34413 if test $result = 0; then
34414 ac_path_to_link=""
34415 else
34416 ac_path_to_link=" -L$ac_find_libraries"
34417 fi
34418 fi
34419
34420 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34421 else
34422 save_CFLAGS=$CFLAGS
34423 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34424 save_LIBS="$LIBS"
34425 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34426
34427 cat >conftest.$ac_ext <<_ACEOF
34428 /* confdefs.h. */
34429 _ACEOF
34430 cat confdefs.h >>conftest.$ac_ext
34431 cat >>conftest.$ac_ext <<_ACEOF
34432 /* end confdefs.h. */
34433
34434 #include <Xm/Xm.h>
34435
34436 int
34437 main ()
34438 {
34439
34440 int version;
34441 version = xmUseVersion;
34442
34443 ;
34444 return 0;
34445 }
34446 _ACEOF
34447 rm -f conftest.$ac_objext conftest$ac_exeext
34448 if { (ac_try="$ac_link"
34449 case "(($ac_try" in
34450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34451 *) ac_try_echo=$ac_try;;
34452 esac
34453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34454 (eval "$ac_link") 2>conftest.er1
34455 ac_status=$?
34456 grep -v '^ *+' conftest.er1 >conftest.err
34457 rm -f conftest.er1
34458 cat conftest.err >&5
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); } && {
34461 test -z "$ac_c_werror_flag" ||
34462 test ! -s conftest.err
34463 } && test -s conftest$ac_exeext &&
34464 $as_test_x conftest$ac_exeext; then
34465
34466 { echo "$as_me:$LINENO: result: found in default search path" >&5
34467 echo "${ECHO_T}found in default search path" >&6; }
34468 COMPILED_X_PROGRAM=1
34469
34470 else
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34473
34474
34475 { echo "$as_me:$LINENO: result: no" >&5
34476 echo "${ECHO_T}no" >&6; }
34477 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34478 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34479 { (exit 1); exit 1; }; }
34480
34481
34482 fi
34483
34484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34485 conftest$ac_exeext conftest.$ac_ext
34486
34487 CFLAGS=$save_CFLAGS
34488 LIBS="$save_LIBS"
34489 fi
34490
34491 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34492 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34493 libp_link=""
34494 libsm_ice_link=""
34495 libs_found=0
34496 for libp in "" " -lXp"; do
34497 if test "$libs_found" = "0"; then
34498 for libsm_ice in "" " -lSM -lICE"; do
34499 if test "$libs_found" = "0"; then
34500 save_LIBS="$LIBS"
34501 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34502 save_CFLAGS=$CFLAGS
34503 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34504
34505 cat >conftest.$ac_ext <<_ACEOF
34506 /* confdefs.h. */
34507 _ACEOF
34508 cat confdefs.h >>conftest.$ac_ext
34509 cat >>conftest.$ac_ext <<_ACEOF
34510 /* end confdefs.h. */
34511
34512 #include <Xm/Xm.h>
34513 #include <Xm/List.h>
34514
34515 int
34516 main ()
34517 {
34518
34519 XmString string = NULL;
34520 Widget w = NULL;
34521 int position = 0;
34522 XmListAddItem(w, string, position);
34523
34524 ;
34525 return 0;
34526 }
34527 _ACEOF
34528 rm -f conftest.$ac_objext conftest$ac_exeext
34529 if { (ac_try="$ac_link"
34530 case "(($ac_try" in
34531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34532 *) ac_try_echo=$ac_try;;
34533 esac
34534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34535 (eval "$ac_link") 2>conftest.er1
34536 ac_status=$?
34537 grep -v '^ *+' conftest.er1 >conftest.err
34538 rm -f conftest.er1
34539 cat conftest.err >&5
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); } && {
34542 test -z "$ac_c_werror_flag" ||
34543 test ! -s conftest.err
34544 } && test -s conftest$ac_exeext &&
34545 $as_test_x conftest$ac_exeext; then
34546
34547 libp_link="$libp"
34548 libsm_ice_link="$libsm_ice"
34549 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34550 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34551 libs_found=1
34552
34553 else
34554 echo "$as_me: failed program was:" >&5
34555 sed 's/^/| /' conftest.$ac_ext >&5
34556
34557
34558
34559 fi
34560
34561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34562 conftest$ac_exeext conftest.$ac_ext
34563
34564 LIBS="$save_LIBS"
34565 CFLAGS=$save_CFLAGS
34566 fi
34567 done
34568 fi
34569 done
34570
34571 if test "$libs_found" = "0"; then
34572 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34573 echo "${ECHO_T}can't find the right libraries" >&6; }
34574 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34575 echo "$as_me: error: can't link a simple motif program" >&2;}
34576 { (exit 1); exit 1; }; }
34577 fi
34578
34579 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34580 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34581 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34582 echo $ECHO_N "(cached) $ECHO_C" >&6
34583 else
34584 ac_check_lib_save_LIBS=$LIBS
34585 LIBS="-lSgm $LIBS"
34586 cat >conftest.$ac_ext <<_ACEOF
34587 /* confdefs.h. */
34588 _ACEOF
34589 cat confdefs.h >>conftest.$ac_ext
34590 cat >>conftest.$ac_ext <<_ACEOF
34591 /* end confdefs.h. */
34592
34593 /* Override any GCC internal prototype to avoid an error.
34594 Use char because int might match the return type of a GCC
34595 builtin and then its argument prototype would still apply. */
34596 #ifdef __cplusplus
34597 extern "C"
34598 #endif
34599 char SgCreateList ();
34600 int
34601 main ()
34602 {
34603 return SgCreateList ();
34604 ;
34605 return 0;
34606 }
34607 _ACEOF
34608 rm -f conftest.$ac_objext conftest$ac_exeext
34609 if { (ac_try="$ac_link"
34610 case "(($ac_try" in
34611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34612 *) ac_try_echo=$ac_try;;
34613 esac
34614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34615 (eval "$ac_link") 2>conftest.er1
34616 ac_status=$?
34617 grep -v '^ *+' conftest.er1 >conftest.err
34618 rm -f conftest.er1
34619 cat conftest.err >&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); } && {
34622 test -z "$ac_c_werror_flag" ||
34623 test ! -s conftest.err
34624 } && test -s conftest$ac_exeext &&
34625 $as_test_x conftest$ac_exeext; then
34626 ac_cv_lib_Sgm_SgCreateList=yes
34627 else
34628 echo "$as_me: failed program was:" >&5
34629 sed 's/^/| /' conftest.$ac_ext >&5
34630
34631 ac_cv_lib_Sgm_SgCreateList=no
34632 fi
34633
34634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34635 conftest$ac_exeext conftest.$ac_ext
34636 LIBS=$ac_check_lib_save_LIBS
34637 fi
34638 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34639 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34640 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34641 libsgm_link=" -lSgm"
34642 fi
34643
34644
34645 save_CFLAGS=$CFLAGS
34646 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34647
34648 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34649 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34650 if test "${wx_cv_lib_motif2+set}" = set; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 else
34653 cat >conftest.$ac_ext <<_ACEOF
34654 /* confdefs.h. */
34655 _ACEOF
34656 cat confdefs.h >>conftest.$ac_ext
34657 cat >>conftest.$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659
34660 #include <Xm/Xm.h>
34661
34662 int
34663 main ()
34664 {
34665
34666 #if XmVersion < 2000
34667 Not Motif 2
34668 #endif
34669
34670 ;
34671 return 0;
34672 }
34673 _ACEOF
34674 rm -f conftest.$ac_objext
34675 if { (ac_try="$ac_compile"
34676 case "(($ac_try" in
34677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34678 *) ac_try_echo=$ac_try;;
34679 esac
34680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34681 (eval "$ac_compile") 2>conftest.er1
34682 ac_status=$?
34683 grep -v '^ *+' conftest.er1 >conftest.err
34684 rm -f conftest.er1
34685 cat conftest.err >&5
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); } && {
34688 test -z "$ac_c_werror_flag" ||
34689 test ! -s conftest.err
34690 } && test -s conftest.$ac_objext; then
34691 wx_cv_lib_motif2="yes"
34692 else
34693 echo "$as_me: failed program was:" >&5
34694 sed 's/^/| /' conftest.$ac_ext >&5
34695
34696 wx_cv_lib_motif2="no"
34697 fi
34698
34699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34700 fi
34701 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34702 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34703 if test "$wx_cv_lib_motif2" = "yes"; then
34704 cat >>confdefs.h <<\_ACEOF
34705 #define __WXMOTIF20__ 1
34706 _ACEOF
34707
34708 else
34709 cat >>confdefs.h <<\_ACEOF
34710 #define __WXMOTIF20__ 0
34711 _ACEOF
34712
34713 fi
34714
34715 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34716 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34717 if test "${wx_cv_lib_lesstif+set}" = set; then
34718 echo $ECHO_N "(cached) $ECHO_C" >&6
34719 else
34720 cat >conftest.$ac_ext <<_ACEOF
34721 /* confdefs.h. */
34722 _ACEOF
34723 cat confdefs.h >>conftest.$ac_ext
34724 cat >>conftest.$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34726
34727 #include <Xm/Xm.h>
34728
34729 int
34730 main ()
34731 {
34732
34733 #if !defined(LesstifVersion) || LesstifVersion <= 0
34734 Not Lesstif
34735 #endif
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_lib_lesstif="yes"
34759 else
34760 echo "$as_me: failed program was:" >&5
34761 sed 's/^/| /' conftest.$ac_ext >&5
34762
34763 wx_cv_lib_lesstif="no"
34764 fi
34765
34766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34767
34768 fi
34769 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34770 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34771 if test "$wx_cv_lib_lesstif" = "yes"; then
34772 cat >>confdefs.h <<\_ACEOF
34773 #define __WXLESSTIF__ 1
34774 _ACEOF
34775
34776 else
34777 cat >>confdefs.h <<\_ACEOF
34778 #define __WXLESSTIF__ 0
34779 _ACEOF
34780
34781 fi
34782
34783 CFLAGS=$save_CFLAGS
34784
34785 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34786 TOOLKIT=MOTIF
34787 GUIDIST=MOTIF_DIST
34788 fi
34789
34790 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34791 if test "$wxUSE_LIBXPM" = "sys"; then
34792 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34793 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34794
34795 ac_find_libraries=
34796 for ac_dir in $SEARCH_LIB;
34797 do
34798 for ac_extension in a so sl dylib dll.a; do
34799 if test -f "$ac_dir/libXpm.$ac_extension"; then
34800 ac_find_libraries=$ac_dir
34801 break 2
34802 fi
34803 done
34804 done
34805
34806 if test "$ac_find_libraries" != "" ; then
34807
34808 if test "$ac_find_libraries" = "default location"; then
34809 ac_path_to_link=""
34810 else
34811 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34812 result=$?
34813 if test $result = 0; then
34814 ac_path_to_link=""
34815 else
34816 ac_path_to_link=" -L$ac_find_libraries"
34817 fi
34818 fi
34819
34820 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34821 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34822 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34823
34824 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34825 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34826 if test "${wx_cv_x11_xpm_h+set}" = set; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34828 else
34829
34830 save_CFLAGS=$CFLAGS
34831 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34832
34833 cat >conftest.$ac_ext <<_ACEOF
34834 /* confdefs.h. */
34835 _ACEOF
34836 cat confdefs.h >>conftest.$ac_ext
34837 cat >>conftest.$ac_ext <<_ACEOF
34838 /* end confdefs.h. */
34839
34840 #include <X11/xpm.h>
34841
34842 int
34843 main ()
34844 {
34845
34846 int version;
34847 version = XpmLibraryVersion();
34848
34849 ;
34850 return 0;
34851 }
34852 _ACEOF
34853 rm -f conftest.$ac_objext
34854 if { (ac_try="$ac_compile"
34855 case "(($ac_try" in
34856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34857 *) ac_try_echo=$ac_try;;
34858 esac
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_compile") 2>conftest.er1
34861 ac_status=$?
34862 grep -v '^ *+' conftest.er1 >conftest.err
34863 rm -f conftest.er1
34864 cat conftest.err >&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_c_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest.$ac_objext; then
34870 wx_cv_x11_xpm_h=yes
34871 else
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34874
34875 wx_cv_x11_xpm_h=no
34876
34877 fi
34878
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34880
34881 CFLAGS=$save_CFLAGS
34882
34883
34884 fi
34885 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34886 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34887
34888 if test $wx_cv_x11_xpm_h = "yes"; then
34889 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34890 cat >>confdefs.h <<\_ACEOF
34891 #define wxHAVE_LIB_XPM 1
34892 _ACEOF
34893
34894 else
34895 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34896 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34897 fi
34898 fi
34899
34900 fi
34901
34902 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34903 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34904 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34905 echo $ECHO_N "(cached) $ECHO_C" >&6
34906 else
34907 ac_check_lib_save_LIBS=$LIBS
34908 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34909 cat >conftest.$ac_ext <<_ACEOF
34910 /* confdefs.h. */
34911 _ACEOF
34912 cat confdefs.h >>conftest.$ac_ext
34913 cat >>conftest.$ac_ext <<_ACEOF
34914 /* end confdefs.h. */
34915
34916 /* Override any GCC internal prototype to avoid an error.
34917 Use char because int might match the return type of a GCC
34918 builtin and then its argument prototype would still apply. */
34919 #ifdef __cplusplus
34920 extern "C"
34921 #endif
34922 char XShapeQueryExtension ();
34923 int
34924 main ()
34925 {
34926 return XShapeQueryExtension ();
34927 ;
34928 return 0;
34929 }
34930 _ACEOF
34931 rm -f conftest.$ac_objext conftest$ac_exeext
34932 if { (ac_try="$ac_link"
34933 case "(($ac_try" in
34934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34935 *) ac_try_echo=$ac_try;;
34936 esac
34937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34938 (eval "$ac_link") 2>conftest.er1
34939 ac_status=$?
34940 grep -v '^ *+' conftest.er1 >conftest.err
34941 rm -f conftest.er1
34942 cat conftest.err >&5
34943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 (exit $ac_status); } && {
34945 test -z "$ac_c_werror_flag" ||
34946 test ! -s conftest.err
34947 } && test -s conftest$ac_exeext &&
34948 $as_test_x conftest$ac_exeext; then
34949 ac_cv_lib_Xext_XShapeQueryExtension=yes
34950 else
34951 echo "$as_me: failed program was:" >&5
34952 sed 's/^/| /' conftest.$ac_ext >&5
34953
34954 ac_cv_lib_Xext_XShapeQueryExtension=no
34955 fi
34956
34957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34958 conftest$ac_exeext conftest.$ac_ext
34959 LIBS=$ac_check_lib_save_LIBS
34960 fi
34961 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34962 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34963 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34964
34965 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34966 wxHAVE_XEXT_LIB=1
34967
34968 fi
34969
34970
34971 if test "$wxHAVE_XEXT_LIB" = 1; then
34972 save_CFLAGS="$CFLAGS"
34973 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34974
34975 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34976 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34977 cat >conftest.$ac_ext <<_ACEOF
34978 /* confdefs.h. */
34979 _ACEOF
34980 cat confdefs.h >>conftest.$ac_ext
34981 cat >>conftest.$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34983
34984 #include <X11/Xlib.h>
34985 #include <X11/extensions/shape.h>
34986
34987 int
34988 main ()
34989 {
34990
34991 int dummy1, dummy2;
34992 XShapeQueryExtension((Display*)NULL,
34993 (int*)NULL, (int*)NULL);
34994
34995 ;
34996 return 0;
34997 }
34998 _ACEOF
34999 rm -f conftest.$ac_objext
35000 if { (ac_try="$ac_compile"
35001 case "(($ac_try" in
35002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35003 *) ac_try_echo=$ac_try;;
35004 esac
35005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35006 (eval "$ac_compile") 2>conftest.er1
35007 ac_status=$?
35008 grep -v '^ *+' conftest.er1 >conftest.err
35009 rm -f conftest.er1
35010 cat conftest.err >&5
35011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35012 (exit $ac_status); } && {
35013 test -z "$ac_c_werror_flag" ||
35014 test ! -s conftest.err
35015 } && test -s conftest.$ac_objext; then
35016
35017 cat >>confdefs.h <<\_ACEOF
35018 #define HAVE_XSHAPE 1
35019 _ACEOF
35020
35021 { echo "$as_me:$LINENO: result: found" >&5
35022 echo "${ECHO_T}found" >&6; }
35023
35024 else
35025 echo "$as_me: failed program was:" >&5
35026 sed 's/^/| /' conftest.$ac_ext >&5
35027
35028
35029 { echo "$as_me:$LINENO: result: not found" >&5
35030 echo "${ECHO_T}not found" >&6; }
35031
35032 fi
35033
35034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35035 CFLAGS="$save_CFLAGS"
35036
35037 fi
35038 fi
35039
35040 if test "$wxUSE_MAC" = 1; then
35041 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
35042 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
35043 if test "$GCC" = yes; then
35044 { echo "$as_me:$LINENO: result: gcc" >&5
35045 echo "${ECHO_T}gcc" >&6; }
35046 CPPFLAGS_PASCAL="-fpascal-strings"
35047 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
35048 { echo "$as_me:$LINENO: result: xlc" >&5
35049 echo "${ECHO_T}xlc" >&6; }
35050 CPPFLAGS_PASCAL="-qmacpstr"
35051 else
35052 { echo "$as_me:$LINENO: result: none" >&5
35053 echo "${ECHO_T}none" >&6; }
35054 fi
35055
35056 if test "x$wxUSE_UNIX" = "xyes"; then
35057 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
35058 else
35059 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
35060 fi
35061
35062 TOOLKIT=MAC
35063 GUIDIST=MACX_DIST
35064 WXBASEPORT="_carbon"
35065 fi
35066
35067 if test "$wxUSE_COCOA" = 1; then
35068 TOOLKIT=COCOA
35069 GUIDIST=COCOA_DIST
35070 fi
35071
35072 if test "$wxUSE_PM" = 1; then
35073 TOOLKIT=PM
35074 GUIDIST=PM_DIST
35075 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
35076 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
35077 if test "${wx_cv_spbcdata+set}" = set; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35079 else
35080
35081 cat >conftest.$ac_ext <<_ACEOF
35082 /* confdefs.h. */
35083 _ACEOF
35084 cat confdefs.h >>conftest.$ac_ext
35085 cat >>conftest.$ac_ext <<_ACEOF
35086 /* end confdefs.h. */
35087
35088 #define INCL_PM
35089 #include <os2.h>
35090
35091 int
35092 main ()
35093 {
35094
35095 SPBCDATA test;
35096
35097 ;
35098 return 0;
35099 }
35100 _ACEOF
35101 rm -f conftest.$ac_objext
35102 if { (ac_try="$ac_compile"
35103 case "(($ac_try" in
35104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35105 *) ac_try_echo=$ac_try;;
35106 esac
35107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35108 (eval "$ac_compile") 2>conftest.er1
35109 ac_status=$?
35110 grep -v '^ *+' conftest.er1 >conftest.err
35111 rm -f conftest.er1
35112 cat conftest.err >&5
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); } && {
35115 test -z "$ac_c_werror_flag" ||
35116 test ! -s conftest.err
35117 } && test -s conftest.$ac_objext; then
35118 wx_cv_spbcdata=yes
35119 else
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.$ac_ext >&5
35122
35123 wx_cv_spbcdata=no
35124
35125 fi
35126
35127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35128
35129
35130 fi
35131 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35132 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35133
35134 if test $wx_cv_spbcdata = "yes"; then
35135 cat >>confdefs.h <<\_ACEOF
35136 #define HAVE_SPBCDATA 1
35137 _ACEOF
35138
35139 fi
35140 fi
35141
35142 if test "$TOOLKIT" = "PM" ; then
35143 TOOLKIT_DIR="os2"
35144 else
35145 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
35146 fi
35147
35148 if test "$wxUSE_UNIVERSAL" = "yes"; then
35149 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35150 WIDGET_SET=univ
35151 fi
35152
35153 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35154 DISTDIR="wx\$(TOOLKIT)"
35155 else
35156 USE_GUI=0
35157
35158 TOOLKIT_DIR="base"
35159
35160 if test "$USE_WIN32" = 1 ; then
35161 TOOLKIT="MSW"
35162 fi
35163
35164 GUIDIST="BASE_DIST"
35165 DISTDIR="wxBase"
35166 fi
35167
35168
35169
35170 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35171 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
35172 wxUSE_UNICODE_UTF8=yes
35173 elif test "$USE_OS2" = "1" ; then
35174 wxUSE_UNICODE_UTF8=yes
35175 else
35176 wxUSE_UNICODE_UTF8=no
35177 fi
35178 fi
35179
35180
35181 if test "$wxUSE_GUI" = "yes"; then
35182 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35183
35184 for ac_header in X11/Xlib.h
35185 do
35186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35187 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35190 echo $ECHO_N "(cached) $ECHO_C" >&6
35191 else
35192 cat >conftest.$ac_ext <<_ACEOF
35193 /* confdefs.h. */
35194 _ACEOF
35195 cat confdefs.h >>conftest.$ac_ext
35196 cat >>conftest.$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198
35199
35200 #include <$ac_header>
35201 _ACEOF
35202 rm -f conftest.$ac_objext
35203 if { (ac_try="$ac_compile"
35204 case "(($ac_try" in
35205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35206 *) ac_try_echo=$ac_try;;
35207 esac
35208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35209 (eval "$ac_compile") 2>conftest.er1
35210 ac_status=$?
35211 grep -v '^ *+' conftest.er1 >conftest.err
35212 rm -f conftest.er1
35213 cat conftest.err >&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } && {
35216 test -z "$ac_c_werror_flag" ||
35217 test ! -s conftest.err
35218 } && test -s conftest.$ac_objext; then
35219 eval "$as_ac_Header=yes"
35220 else
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.$ac_ext >&5
35223
35224 eval "$as_ac_Header=no"
35225 fi
35226
35227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35228 fi
35229 ac_res=`eval echo '${'$as_ac_Header'}'`
35230 { echo "$as_me:$LINENO: result: $ac_res" >&5
35231 echo "${ECHO_T}$ac_res" >&6; }
35232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35233 cat >>confdefs.h <<_ACEOF
35234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35235 _ACEOF
35236
35237 fi
35238
35239 done
35240
35241
35242 for ac_header in X11/XKBlib.h
35243 do
35244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35245 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35247 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 else
35250 cat >conftest.$ac_ext <<_ACEOF
35251 /* confdefs.h. */
35252 _ACEOF
35253 cat confdefs.h >>conftest.$ac_ext
35254 cat >>conftest.$ac_ext <<_ACEOF
35255 /* end confdefs.h. */
35256
35257 #if HAVE_X11_XLIB_H
35258 #include <X11/Xlib.h>
35259 #endif
35260
35261
35262 #include <$ac_header>
35263 _ACEOF
35264 rm -f conftest.$ac_objext
35265 if { (ac_try="$ac_compile"
35266 case "(($ac_try" in
35267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35268 *) ac_try_echo=$ac_try;;
35269 esac
35270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35271 (eval "$ac_compile") 2>conftest.er1
35272 ac_status=$?
35273 grep -v '^ *+' conftest.er1 >conftest.err
35274 rm -f conftest.er1
35275 cat conftest.err >&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } && {
35278 test -z "$ac_c_werror_flag" ||
35279 test ! -s conftest.err
35280 } && test -s conftest.$ac_objext; then
35281 eval "$as_ac_Header=yes"
35282 else
35283 echo "$as_me: failed program was:" >&5
35284 sed 's/^/| /' conftest.$ac_ext >&5
35285
35286 eval "$as_ac_Header=no"
35287 fi
35288
35289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35290 fi
35291 ac_res=`eval echo '${'$as_ac_Header'}'`
35292 { echo "$as_me:$LINENO: result: $ac_res" >&5
35293 echo "${ECHO_T}$ac_res" >&6; }
35294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35295 cat >>confdefs.h <<_ACEOF
35296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35297 _ACEOF
35298
35299 fi
35300
35301 done
35302
35303 fi
35304 fi
35305
35306
35307
35308 if test "$wxUSE_DISPLAY" = "yes"; then
35309 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35310 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35311 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35312
35313 ac_find_libraries=
35314 for ac_dir in $SEARCH_LIB;
35315 do
35316 for ac_extension in a so sl dylib dll.a; do
35317 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35318 ac_find_libraries=$ac_dir
35319 break 2
35320 fi
35321 done
35322 done
35323
35324 if test "$ac_find_libraries" != "" ; then
35325
35326 if test "$ac_find_libraries" = "default location"; then
35327 ac_path_to_link=""
35328 else
35329 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35330 result=$?
35331 if test $result = 0; then
35332 ac_path_to_link=""
35333 else
35334 ac_path_to_link=" -L$ac_find_libraries"
35335 fi
35336 fi
35337
35338 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35339 LDFLAGS="$LDFLAGS $ac_path_to_link"
35340 fi
35341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35342 { echo "$as_me:$LINENO: result: yes" >&5
35343 echo "${ECHO_T}yes" >&6; }
35344
35345 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35346 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35347
35348 ac_find_libraries=
35349 for ac_dir in $SEARCH_LIB;
35350 do
35351 for ac_extension in a so sl dylib dll.a; do
35352 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35353 ac_find_libraries=$ac_dir
35354 break 2
35355 fi
35356 done
35357 done
35358
35359 if test "$ac_find_libraries" != "" ; then
35360 { echo "$as_me:$LINENO: result: yes" >&5
35361 echo "${ECHO_T}yes" >&6; }
35362
35363 for ac_header in X11/extensions/xf86vmode.h
35364 do
35365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35366 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35368 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35369 echo $ECHO_N "(cached) $ECHO_C" >&6
35370 else
35371 cat >conftest.$ac_ext <<_ACEOF
35372 /* confdefs.h. */
35373 _ACEOF
35374 cat confdefs.h >>conftest.$ac_ext
35375 cat >>conftest.$ac_ext <<_ACEOF
35376 /* end confdefs.h. */
35377
35378 #if HAVE_X11_XLIB_H
35379 #include <X11/Xlib.h>
35380 #endif
35381
35382
35383 #include <$ac_header>
35384 _ACEOF
35385 rm -f conftest.$ac_objext
35386 if { (ac_try="$ac_compile"
35387 case "(($ac_try" in
35388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35389 *) ac_try_echo=$ac_try;;
35390 esac
35391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35392 (eval "$ac_compile") 2>conftest.er1
35393 ac_status=$?
35394 grep -v '^ *+' conftest.er1 >conftest.err
35395 rm -f conftest.er1
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } && {
35399 test -z "$ac_c_werror_flag" ||
35400 test ! -s conftest.err
35401 } && test -s conftest.$ac_objext; then
35402 eval "$as_ac_Header=yes"
35403 else
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.$ac_ext >&5
35406
35407 eval "$as_ac_Header=no"
35408 fi
35409
35410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35411 fi
35412 ac_res=`eval echo '${'$as_ac_Header'}'`
35413 { echo "$as_me:$LINENO: result: $ac_res" >&5
35414 echo "${ECHO_T}$ac_res" >&6; }
35415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35416 cat >>confdefs.h <<_ACEOF
35417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35418 _ACEOF
35419
35420 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35421
35422 fi
35423
35424 done
35425
35426 else
35427 { echo "$as_me:$LINENO: result: no" >&5
35428 echo "${ECHO_T}no" >&6; }
35429 fi
35430
35431 else
35432 { echo "$as_me:$LINENO: result: no" >&5
35433 echo "${ECHO_T}no" >&6; }
35434 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35435 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35436 wxUSE_DISPLAY="no"
35437 fi
35438 elif test "$wxUSE_MSW" = 1; then
35439 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35440 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35441 if test "${ac_cv_header_ddraw_h+set}" = set; then
35442 echo $ECHO_N "(cached) $ECHO_C" >&6
35443 else
35444 cat >conftest.$ac_ext <<_ACEOF
35445 /* confdefs.h. */
35446 _ACEOF
35447 cat confdefs.h >>conftest.$ac_ext
35448 cat >>conftest.$ac_ext <<_ACEOF
35449 /* end confdefs.h. */
35450 #include <windows.h>
35451
35452 #include <ddraw.h>
35453 _ACEOF
35454 rm -f conftest.$ac_objext
35455 if { (ac_try="$ac_compile"
35456 case "(($ac_try" in
35457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35458 *) ac_try_echo=$ac_try;;
35459 esac
35460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35461 (eval "$ac_compile") 2>conftest.er1
35462 ac_status=$?
35463 grep -v '^ *+' conftest.er1 >conftest.err
35464 rm -f conftest.er1
35465 cat conftest.err >&5
35466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35467 (exit $ac_status); } && {
35468 test -z "$ac_c_werror_flag" ||
35469 test ! -s conftest.err
35470 } && test -s conftest.$ac_objext; then
35471 ac_cv_header_ddraw_h=yes
35472 else
35473 echo "$as_me: failed program was:" >&5
35474 sed 's/^/| /' conftest.$ac_ext >&5
35475
35476 ac_cv_header_ddraw_h=no
35477 fi
35478
35479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35480 fi
35481 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35482 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35483
35484
35485 fi
35486 fi
35487
35488 if test "$wxUSE_DETECT_SM" = "yes"; then
35489 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35490 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35491 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35492
35493 ac_find_libraries=
35494 for ac_dir in $SEARCH_LIB;
35495 do
35496 for ac_extension in a so sl dylib dll.a; do
35497 if test -f "$ac_dir/libSM.$ac_extension"; then
35498 ac_find_libraries=$ac_dir
35499 break 2
35500 fi
35501 done
35502 done
35503
35504 if test "$ac_find_libraries" != "" ; then
35505
35506 if test "$ac_find_libraries" = "default location"; then
35507 ac_path_to_link=""
35508 else
35509 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35510 result=$?
35511 if test $result = 0; then
35512 ac_path_to_link=""
35513 else
35514 ac_path_to_link=" -L$ac_find_libraries"
35515 fi
35516 fi
35517
35518 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35519 LDFLAGS="$LDFLAGS $ac_path_to_link"
35520 fi
35521 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35522 { echo "$as_me:$LINENO: result: yes" >&5
35523 echo "${ECHO_T}yes" >&6; }
35524 else
35525 { echo "$as_me:$LINENO: result: no" >&5
35526 echo "${ECHO_T}no" >&6; }
35527 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35528 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35529 wxUSE_DETECT_SM="no"
35530 fi
35531 else
35532 wxUSE_DETECT_SM="no"
35533 fi
35534 fi
35535
35536
35537
35538 USE_OPENGL=0
35539 if test "$wxUSE_OPENGL" = "yes"; then
35540 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35541 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35542 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35543 wxUSE_OPENGL="no"
35544 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35545 OPENGL_LIBS="-framework OpenGL -framework AGL"
35546 elif test "$wxUSE_MSW" = 1; then
35547 OPENGL_LIBS="-lopengl32 -lglu32"
35548 else
35549 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35550 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35551
35552 ac_find_includes=
35553 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35554 do
35555 if test -f "$ac_dir/GL/gl.h"; then
35556 ac_find_includes=$ac_dir
35557 break
35558 fi
35559 done
35560
35561 if test "$ac_find_includes" != "" ; then
35562 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35563 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35564
35565 if test "x$ac_find_includes" = "x/usr/include"; then
35566 ac_path_to_include=""
35567 else
35568 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35569 result=$?
35570 if test $result = 0; then
35571 ac_path_to_include=""
35572 else
35573 ac_path_to_include=" -I$ac_find_includes"
35574 fi
35575 fi
35576
35577 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35578 else
35579 { echo "$as_me:$LINENO: result: not found" >&5
35580 echo "${ECHO_T}not found" >&6; }
35581 fi
35582
35583 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35584 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35585 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 else
35588 cat >conftest.$ac_ext <<_ACEOF
35589 /* confdefs.h. */
35590 _ACEOF
35591 cat confdefs.h >>conftest.$ac_ext
35592 cat >>conftest.$ac_ext <<_ACEOF
35593 /* end confdefs.h. */
35594
35595
35596 #include <GL/gl.h>
35597 _ACEOF
35598 rm -f conftest.$ac_objext
35599 if { (ac_try="$ac_compile"
35600 case "(($ac_try" in
35601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35602 *) ac_try_echo=$ac_try;;
35603 esac
35604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35605 (eval "$ac_compile") 2>conftest.er1
35606 ac_status=$?
35607 grep -v '^ *+' conftest.er1 >conftest.err
35608 rm -f conftest.er1
35609 cat conftest.err >&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } && {
35612 test -z "$ac_c_werror_flag" ||
35613 test ! -s conftest.err
35614 } && test -s conftest.$ac_objext; then
35615 ac_cv_header_GL_gl_h=yes
35616 else
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.$ac_ext >&5
35619
35620 ac_cv_header_GL_gl_h=no
35621 fi
35622
35623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35624 fi
35625 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35626 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35627 if test $ac_cv_header_GL_gl_h = yes; then
35628
35629 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35630 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35631 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35632 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 else
35634 cat >conftest.$ac_ext <<_ACEOF
35635 /* confdefs.h. */
35636 _ACEOF
35637 cat confdefs.h >>conftest.$ac_ext
35638 cat >>conftest.$ac_ext <<_ACEOF
35639 /* end confdefs.h. */
35640
35641
35642 #include <GL/glu.h>
35643 _ACEOF
35644 rm -f conftest.$ac_objext
35645 if { (ac_try="$ac_compile"
35646 case "(($ac_try" in
35647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35648 *) ac_try_echo=$ac_try;;
35649 esac
35650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35651 (eval "$ac_compile") 2>conftest.er1
35652 ac_status=$?
35653 grep -v '^ *+' conftest.er1 >conftest.err
35654 rm -f conftest.er1
35655 cat conftest.err >&5
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); } && {
35658 test -z "$ac_c_werror_flag" ||
35659 test ! -s conftest.err
35660 } && test -s conftest.$ac_objext; then
35661 ac_cv_header_GL_glu_h=yes
35662 else
35663 echo "$as_me: failed program was:" >&5
35664 sed 's/^/| /' conftest.$ac_ext >&5
35665
35666 ac_cv_header_GL_glu_h=no
35667 fi
35668
35669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35670 fi
35671 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35672 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35673 if test $ac_cv_header_GL_glu_h = yes; then
35674
35675 found_gl=0
35676
35677 { echo "$as_me:$LINENO: checking for -lGL" >&5
35678 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35679
35680 ac_find_libraries=
35681 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35682 do
35683 for ac_extension in a so sl dylib dll.a; do
35684 if test -f "$ac_dir/libGL.$ac_extension"; then
35685 ac_find_libraries=$ac_dir
35686 break 2
35687 fi
35688 done
35689 done
35690
35691 if test "$ac_find_libraries" != "" ; then
35692 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35693 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35694
35695
35696 if test "$ac_find_libraries" = "default location"; then
35697 ac_path_to_link=""
35698 else
35699 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35700 result=$?
35701 if test $result = 0; then
35702 ac_path_to_link=""
35703 else
35704 ac_path_to_link=" -L$ac_find_libraries"
35705 fi
35706 fi
35707
35708 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35709 LDFLAGS_GL="$ac_path_to_link"
35710 fi
35711
35712 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35713 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35714
35715 ac_find_libraries=
35716 for ac_dir in $SEARCH_LIB;
35717 do
35718 for ac_extension in a so sl dylib dll.a; do
35719 if test -f "$ac_dir/libGLU.$ac_extension"; then
35720 ac_find_libraries=$ac_dir
35721 break 2
35722 fi
35723 done
35724 done
35725
35726 if test "$ac_find_libraries" != "" ; then
35727
35728 if test "$ac_find_libraries" = "default location"; then
35729 ac_path_to_link=""
35730 else
35731 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35732 result=$?
35733 if test $result = 0; then
35734 ac_path_to_link=""
35735 else
35736 ac_path_to_link=" -L$ac_find_libraries"
35737 fi
35738 fi
35739
35740 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35741 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35742 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35743 fi
35744
35745 found_gl=1
35746 OPENGL_LIBS="-lGL -lGLU"
35747 { echo "$as_me:$LINENO: result: yes" >&5
35748 echo "${ECHO_T}yes" >&6; }
35749 else
35750 { echo "$as_me:$LINENO: result: no" >&5
35751 echo "${ECHO_T}no" >&6; }
35752 fi
35753 else
35754 { echo "$as_me:$LINENO: result: no" >&5
35755 echo "${ECHO_T}no" >&6; }
35756 fi
35757
35758 if test "$found_gl" != 1; then
35759 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35760 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35761
35762 ac_find_libraries=
35763 for ac_dir in $SEARCH_LIB;
35764 do
35765 for ac_extension in a so sl dylib dll.a; do
35766 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35767 ac_find_libraries=$ac_dir
35768 break 2
35769 fi
35770 done
35771 done
35772
35773 if test "$ac_find_libraries" != "" ; then
35774
35775 if test "$ac_find_libraries" = "default location"; then
35776 ac_path_to_link=""
35777 else
35778 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35779 result=$?
35780 if test $result = 0; then
35781 ac_path_to_link=""
35782 else
35783 ac_path_to_link=" -L$ac_find_libraries"
35784 fi
35785 fi
35786
35787 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35788 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35789 { echo "$as_me:$LINENO: result: yes" >&5
35790 echo "${ECHO_T}yes" >&6; }
35791 else
35792 { echo "$as_me:$LINENO: result: no" >&5
35793 echo "${ECHO_T}no" >&6; }
35794 fi
35795 fi
35796
35797 fi
35798
35799
35800
35801 fi
35802
35803
35804
35805 if test "x$OPENGL_LIBS" = "x"; then
35806 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35807 echo "$as_me: error: OpenGL libraries not available" >&2;}
35808 { (exit 1); exit 1; }; }
35809 fi
35810 fi
35811
35812 if test "$wxUSE_OPENGL" = "yes"; then
35813 USE_OPENGL=1
35814 cat >>confdefs.h <<\_ACEOF
35815 #define wxUSE_OPENGL 1
35816 _ACEOF
35817
35818 cat >>confdefs.h <<\_ACEOF
35819 #define wxUSE_GLCANVAS 1
35820 _ACEOF
35821
35822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35823 fi
35824 fi
35825
35826
35827 if test -n "$TOOLKIT" ; then
35828 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35829 fi
35830
35831
35832
35833 if test "$wxUSE_SHARED" = "yes"; then
35834 case "${host}" in
35835 *-pc-msdosdjgpp )
35836 wxUSE_SHARED=no
35837 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35838 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35839 ;;
35840 esac
35841 fi
35842
35843 if test "$wxUSE_SHARED" = "yes"; then
35844
35845
35846 case "${host}" in
35847 *-*-cygwin* | *-*-mingw* )
35848 wx_cv_version_script=no
35849 ;;
35850
35851 *)
35852 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35853 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35854 if test "${wx_cv_version_script+set}" = set; then
35855 echo $ECHO_N "(cached) $ECHO_C" >&6
35856 else
35857
35858 echo "VER_1 { *; };" >conftest.sym
35859 echo "int main() { return 0; }" >conftest.cpp
35860
35861 if { ac_try='
35862 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35863 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; } ; then
35869 if test -s conftest.stderr ; then
35870 wx_cv_version_script=no
35871 else
35872 wx_cv_version_script=yes
35873 fi
35874 else
35875 wx_cv_version_script=no
35876 fi
35877
35878 if test $wx_cv_version_script = yes
35879 then
35880 echo "struct B { virtual ~B() { } }; \
35881 struct D : public B { }; \
35882 void F() { D d; }" > conftest.cpp
35883
35884 if { ac_try='
35885 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35886 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35888 (eval $ac_try) 2>&5
35889 ac_status=$?
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); }; } &&
35892 { ac_try='
35893 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35894 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35896 (eval $ac_try) 2>&5
35897 ac_status=$?
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); }; }
35900 then
35901 if { ac_try='
35902 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35903 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35905 (eval $ac_try) 2>&5
35906 ac_status=$?
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); }; }
35909 then
35910 wx_cv_version_script=yes
35911 else
35912 wx_cv_version_script=no
35913 fi
35914 fi
35915 fi
35916
35917 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35918 rm -f conftest1.output conftest2.output conftest3.output
35919
35920 fi
35921 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35922 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35923
35924 if test $wx_cv_version_script = yes ; then
35925 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35926 fi
35927 ;;
35928 esac
35929
35930
35931 if test "$wxUSE_VISIBILITY" != "no"; then
35932
35933
35934 if test -n "$GCC"; then
35935 CFLAGS_VISIBILITY="-fvisibility=hidden"
35936 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35937 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35938 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35939 if test "${wx_cv_cc_visibility+set}" = set; then
35940 echo $ECHO_N "(cached) $ECHO_C" >&6
35941 else
35942
35943 wx_save_CXXFLAGS="$CXXFLAGS"
35944 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35945 ac_ext=cpp
35946 ac_cpp='$CXXCPP $CPPFLAGS'
35947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35950
35951 cat >conftest.$ac_ext <<_ACEOF
35952 /* confdefs.h. */
35953 _ACEOF
35954 cat confdefs.h >>conftest.$ac_ext
35955 cat >>conftest.$ac_ext <<_ACEOF
35956 /* end confdefs.h. */
35957
35958 /* we need gcc >= 4.0, older versions with visibility support
35959 didn't have class visibility: */
35960 #if defined(__GNUC__) && __GNUC__ < 4
35961 error this gcc is too old;
35962 #endif
35963
35964 /* visibility only makes sense for ELF shared libs: */
35965 #if !defined(__ELF__) && !defined(__APPLE__)
35966 error this platform has no visibility;
35967 #endif
35968
35969 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35970 extern __attribute__((__visibility__("default"))) int exportedvar;
35971 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35972 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35973 class __attribute__((__visibility__("default"))) Foo {
35974 Foo() {}
35975 };
35976
35977 int
35978 main ()
35979 {
35980
35981 ;
35982 return 0;
35983 }
35984 _ACEOF
35985 rm -f conftest.$ac_objext
35986 if { (ac_try="$ac_compile"
35987 case "(($ac_try" in
35988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35989 *) ac_try_echo=$ac_try;;
35990 esac
35991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35992 (eval "$ac_compile") 2>conftest.er1
35993 ac_status=$?
35994 grep -v '^ *+' conftest.er1 >conftest.err
35995 rm -f conftest.er1
35996 cat conftest.err >&5
35997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35998 (exit $ac_status); } && {
35999 test -z "$ac_cxx_werror_flag" ||
36000 test ! -s conftest.err
36001 } && test -s conftest.$ac_objext; then
36002 wx_cv_cc_visibility=yes
36003 else
36004 echo "$as_me: failed program was:" >&5
36005 sed 's/^/| /' conftest.$ac_ext >&5
36006
36007 wx_cv_cc_visibility=no
36008 fi
36009
36010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36011 ac_ext=c
36012 ac_cpp='$CPP $CPPFLAGS'
36013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36016
36017 CXXFLAGS="$wx_save_CXXFLAGS"
36018 fi
36019
36020 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36021 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36022 if test $wx_cv_cc_visibility = yes; then
36023 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
36024 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
36025 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
36026 echo $ECHO_N "(cached) $ECHO_C" >&6
36027 else
36028
36029 wx_save_CXXFLAGS="$CXXFLAGS"
36030 wx_save_LDFLAGS="$LDFLAGS"
36031 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36032 LDFLAGS="$LDFLAGS -shared -fPIC"
36033 ac_ext=cpp
36034 ac_cpp='$CXXCPP $CPPFLAGS'
36035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36038
36039 cat >conftest.$ac_ext <<_ACEOF
36040 /* confdefs.h. */
36041 _ACEOF
36042 cat confdefs.h >>conftest.$ac_ext
36043 cat >>conftest.$ac_ext <<_ACEOF
36044 /* end confdefs.h. */
36045
36046 #include <string>
36047
36048 int
36049 main ()
36050 {
36051
36052 std::string s("hello");
36053 return s.length();
36054
36055 ;
36056 return 0;
36057 }
36058 _ACEOF
36059 rm -f conftest.$ac_objext conftest$ac_exeext
36060 if { (ac_try="$ac_link"
36061 case "(($ac_try" in
36062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36063 *) ac_try_echo=$ac_try;;
36064 esac
36065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36066 (eval "$ac_link") 2>conftest.er1
36067 ac_status=$?
36068 grep -v '^ *+' conftest.er1 >conftest.err
36069 rm -f conftest.er1
36070 cat conftest.err >&5
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); } && {
36073 test -z "$ac_cxx_werror_flag" ||
36074 test ! -s conftest.err
36075 } && test -s conftest$ac_exeext &&
36076 $as_test_x conftest$ac_exeext; then
36077 wx_cv_cc_broken_libstdcxx_visibility=no
36078 else
36079 echo "$as_me: failed program was:" >&5
36080 sed 's/^/| /' conftest.$ac_ext >&5
36081
36082 wx_cv_cc_broken_libstdcxx_visibility=yes
36083 fi
36084
36085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36086 conftest$ac_exeext conftest.$ac_ext
36087 ac_ext=c
36088 ac_cpp='$CPP $CPPFLAGS'
36089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36092
36093 CXXFLAGS="$wx_save_CXXFLAGS"
36094 LDFLAGS="$wx_save_LDFLAGS"
36095 fi
36096
36097 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36098 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36099
36100 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36101 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36102 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36103 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36104 echo $ECHO_N "(cached) $ECHO_C" >&6
36105 else
36106
36107 ac_ext=cpp
36108 ac_cpp='$CXXCPP $CPPFLAGS'
36109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36112
36113 cat >conftest.$ac_ext <<_ACEOF
36114 /* confdefs.h. */
36115 _ACEOF
36116 cat confdefs.h >>conftest.$ac_ext
36117 cat >>conftest.$ac_ext <<_ACEOF
36118 /* end confdefs.h. */
36119
36120 #pragma GCC visibility push(default)
36121 #include <string>
36122 #pragma GCC visibility pop
36123
36124 int
36125 main ()
36126 {
36127
36128 std::string s("hello");
36129 return s.length();
36130
36131 ;
36132 return 0;
36133 }
36134 _ACEOF
36135 rm -f conftest.$ac_objext conftest$ac_exeext
36136 if { (ac_try="$ac_link"
36137 case "(($ac_try" in
36138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36139 *) ac_try_echo=$ac_try;;
36140 esac
36141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36142 (eval "$ac_link") 2>conftest.er1
36143 ac_status=$?
36144 grep -v '^ *+' conftest.er1 >conftest.err
36145 rm -f conftest.er1
36146 cat conftest.err >&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); } && {
36149 test -z "$ac_cxx_werror_flag" ||
36150 test ! -s conftest.err
36151 } && test -s conftest$ac_exeext &&
36152 $as_test_x conftest$ac_exeext; then
36153 wx_cv_cc_visibility_workaround=no
36154 else
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.$ac_ext >&5
36157
36158 wx_cv_cc_visibility_workaround=yes
36159 fi
36160
36161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36162 conftest$ac_exeext conftest.$ac_ext
36163 ac_ext=c
36164 ac_cpp='$CPP $CPPFLAGS'
36165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36168
36169
36170 fi
36171
36172 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36173 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36174
36175 if test $wx_cv_cc_visibility_workaround = no; then
36176 wx_cv_cc_visibility=no
36177 fi
36178 fi
36179 fi
36180
36181 if test $wx_cv_cc_visibility = yes; then
36182 cat >>confdefs.h <<\_ACEOF
36183 #define HAVE_VISIBILITY 1
36184 _ACEOF
36185
36186 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36187 cat >>confdefs.h <<\_ACEOF
36188 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36189 _ACEOF
36190
36191 fi
36192 else
36193 CFLAGS_VISIBILITY=""
36194 CXXFLAGS_VISIBILITY=""
36195 fi
36196
36197
36198 fi
36199
36200 fi
36201
36202 if test "x$SUNCXX" = xyes; then
36203 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36204 WXCONFIG_RPATH="-R\$libdir"
36205 else
36206 case "${host}" in
36207 *-*-linux* | *-*-gnu* )
36208 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36209 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36210 ;;
36211
36212 *-*-solaris2* )
36213
36214 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36215
36216 saveLdflags="$LDFLAGS"
36217 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36218 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36219 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36220 cat >conftest.$ac_ext <<_ACEOF
36221 /* confdefs.h. */
36222 _ACEOF
36223 cat confdefs.h >>conftest.$ac_ext
36224 cat >>conftest.$ac_ext <<_ACEOF
36225 /* end confdefs.h. */
36226
36227 int
36228 main ()
36229 {
36230
36231 ;
36232 return 0;
36233 }
36234 _ACEOF
36235 rm -f conftest.$ac_objext conftest$ac_exeext
36236 if { (ac_try="$ac_link"
36237 case "(($ac_try" in
36238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36239 *) ac_try_echo=$ac_try;;
36240 esac
36241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36242 (eval "$ac_link") 2>conftest.er1
36243 ac_status=$?
36244 grep -v '^ *+' conftest.er1 >conftest.err
36245 rm -f conftest.er1
36246 cat conftest.err >&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); } && {
36249 test -z "$ac_c_werror_flag" ||
36250 test ! -s conftest.err
36251 } && test -s conftest$ac_exeext &&
36252 $as_test_x conftest$ac_exeext; then
36253
36254 { echo "$as_me:$LINENO: result: yes" >&5
36255 echo "${ECHO_T}yes" >&6; }
36256 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36257 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36258
36259 else
36260 echo "$as_me: failed program was:" >&5
36261 sed 's/^/| /' conftest.$ac_ext >&5
36262
36263
36264 { echo "$as_me:$LINENO: result: no" >&5
36265 echo "${ECHO_T}no" >&6; }
36266 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36267 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36268 LDFLAGS="$saveLdflags -Wl,-R,/"
36269 cat >conftest.$ac_ext <<_ACEOF
36270 /* confdefs.h. */
36271 _ACEOF
36272 cat confdefs.h >>conftest.$ac_ext
36273 cat >>conftest.$ac_ext <<_ACEOF
36274 /* end confdefs.h. */
36275
36276 int
36277 main ()
36278 {
36279
36280 ;
36281 return 0;
36282 }
36283 _ACEOF
36284 rm -f conftest.$ac_objext conftest$ac_exeext
36285 if { (ac_try="$ac_link"
36286 case "(($ac_try" in
36287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36288 *) ac_try_echo=$ac_try;;
36289 esac
36290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36291 (eval "$ac_link") 2>conftest.er1
36292 ac_status=$?
36293 grep -v '^ *+' conftest.er1 >conftest.err
36294 rm -f conftest.er1
36295 cat conftest.err >&5
36296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36297 (exit $ac_status); } && {
36298 test -z "$ac_c_werror_flag" ||
36299 test ! -s conftest.err
36300 } && test -s conftest$ac_exeext &&
36301 $as_test_x conftest$ac_exeext; then
36302
36303 { echo "$as_me:$LINENO: result: yes" >&5
36304 echo "${ECHO_T}yes" >&6; }
36305 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36306 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36307
36308 else
36309 echo "$as_me: failed program was:" >&5
36310 sed 's/^/| /' conftest.$ac_ext >&5
36311
36312
36313 { echo "$as_me:$LINENO: result: no" >&5
36314 echo "${ECHO_T}no" >&6; }
36315
36316 fi
36317
36318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36319 conftest$ac_exeext conftest.$ac_ext
36320
36321 fi
36322
36323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36324 conftest$ac_exeext conftest.$ac_ext
36325 LDFLAGS="$saveLdflags"
36326 ;;
36327
36328 *-*-darwin* )
36329 install_name_tool=`which install_name_tool`
36330 if test "$install_name_tool" -a -x "$install_name_tool"; then
36331 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36332 cat <<EOF >change-install-names
36333 #!/bin/sh
36334 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36335 inst_cmd="install_name_tool "
36336 for i in \${libnames} ; do
36337 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36338 done
36339 \${inst_cmd} \${3}
36340 EOF
36341 chmod +x change-install-names
36342 fi
36343 ;;
36344
36345 *-*-cygwin* | *-*-mingw32* )
36346 ;;
36347
36348 *-*-hpux* )
36349 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36350 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36351 ;;
36352
36353 esac
36354 fi
36355
36356 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36357
36358 if test $wxUSE_RPATH = "no"; then
36359 SAMPLES_RPATH_FLAG=''
36360 SAMPLES_RPATH_POSTLINK=''
36361 WXCONFIG_RPATH=''
36362 fi
36363
36364 SHARED=1
36365
36366 else
36367
36368 config_linkage_component="-static"
36369 SHARED=0
36370
36371 fi
36372
36373
36374 UNICODE=0
36375 lib_unicode_suffix=
36376 WX_CHARTYPE="ansi"
36377 if test "$wxUSE_UNICODE" = "yes"; then
36378 lib_unicode_suffix=u
36379 WX_CHARTYPE="unicode"
36380 UNICODE=1
36381 fi
36382
36383 lib_debug_suffix=
36384 WX_DEBUGTYPE="release"
36385 DEBUG_FLAG=0
36386 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36387 lib_debug_suffix=d
36388 WX_DEBUGTYPE="debug"
36389 DEBUG_FLAG=1
36390 fi
36391
36392 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36393 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36394
36395 DEBUG_INFO=0
36396 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36397 DEBUG_INFO=1
36398 fi
36399
36400 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36401
36402 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36403
36404 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36405
36406 if test "$cross_compiling" = "yes"; then
36407 HOST_SUFFIX="-$host_alias"
36408 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36409 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36410 fi
36411
36412 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36413 if test "${TOOLKIT_DIR}" = "os2"; then
36414 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36415 else
36416 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36417 fi
36418
36419
36420
36421 if test "$wxUSE_COCOA" = 1; then
36422
36423 ac_ext=c
36424 ac_cpp='$CPP $CPPFLAGS'
36425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36428
36429 ac_ext=m
36430
36431 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36432 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36433 cat >conftest.$ac_ext <<_ACEOF
36434 /* confdefs.h. */
36435 _ACEOF
36436 cat confdefs.h >>conftest.$ac_ext
36437 cat >>conftest.$ac_ext <<_ACEOF
36438 /* end confdefs.h. */
36439 #include <AppKit/NSEvent.h>
36440 #include <CoreFoundation/CoreFoundation.h>
36441
36442 int
36443 main ()
36444 {
36445
36446 ;
36447 return 0;
36448 }
36449 _ACEOF
36450 rm -f conftest.$ac_objext
36451 if { (ac_try="$ac_compile"
36452 case "(($ac_try" in
36453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36454 *) ac_try_echo=$ac_try;;
36455 esac
36456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36457 (eval "$ac_compile") 2>conftest.er1
36458 ac_status=$?
36459 grep -v '^ *+' conftest.er1 >conftest.err
36460 rm -f conftest.er1
36461 cat conftest.err >&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); } && {
36464 test -z "$ac_c_werror_flag" ||
36465 test ! -s conftest.err
36466 } && test -s conftest.$ac_objext; then
36467 { echo "$as_me:$LINENO: result: no" >&5
36468 echo "${ECHO_T}no" >&6; }
36469 else
36470 echo "$as_me: failed program was:" >&5
36471 sed 's/^/| /' conftest.$ac_ext >&5
36472
36473 { echo "$as_me:$LINENO: result: yes" >&5
36474 echo "${ECHO_T}yes" >&6; }
36475 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36476 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36477 cat >conftest.$ac_ext <<_ACEOF
36478 /* confdefs.h. */
36479 _ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h. */
36483 #define __Point__ 1
36484 #include <AppKit/NSEvent.h>
36485 #include <CoreFoundation/CoreFoundation.h>
36486
36487 int
36488 main ()
36489 {
36490
36491 ;
36492 return 0;
36493 }
36494 _ACEOF
36495 rm -f conftest.$ac_objext
36496 if { (ac_try="$ac_compile"
36497 case "(($ac_try" in
36498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36499 *) ac_try_echo=$ac_try;;
36500 esac
36501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36502 (eval "$ac_compile") 2>conftest.er1
36503 ac_status=$?
36504 grep -v '^ *+' conftest.er1 >conftest.err
36505 rm -f conftest.er1
36506 cat conftest.err >&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); } && {
36509 test -z "$ac_c_werror_flag" ||
36510 test ! -s conftest.err
36511 } && test -s conftest.$ac_objext; then
36512 { echo "$as_me:$LINENO: result: yes" >&5
36513 echo "${ECHO_T}yes" >&6; }
36514 cat >>confdefs.h <<\_ACEOF
36515 #define __Point__ 1
36516 _ACEOF
36517
36518
36519 else
36520 echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.$ac_ext >&5
36522
36523 { { echo "$as_me:$LINENO: error: no
36524 See \`config.log' for more details." >&5
36525 echo "$as_me: error: no
36526 See \`config.log' for more details." >&2;}
36527 { (exit 1); exit 1; }; }
36528
36529 fi
36530
36531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36532
36533 fi
36534
36535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36536 ac_ext=c
36537 ac_cpp='$CPP $CPPFLAGS'
36538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36541
36542 fi
36543
36544
36545 { echo "$as_me:$LINENO: checking for mode_t" >&5
36546 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36547 if test "${ac_cv_type_mode_t+set}" = set; then
36548 echo $ECHO_N "(cached) $ECHO_C" >&6
36549 else
36550 cat >conftest.$ac_ext <<_ACEOF
36551 /* confdefs.h. */
36552 _ACEOF
36553 cat confdefs.h >>conftest.$ac_ext
36554 cat >>conftest.$ac_ext <<_ACEOF
36555 /* end confdefs.h. */
36556 $ac_includes_default
36557 typedef mode_t ac__type_new_;
36558 int
36559 main ()
36560 {
36561 if ((ac__type_new_ *) 0)
36562 return 0;
36563 if (sizeof (ac__type_new_))
36564 return 0;
36565 ;
36566 return 0;
36567 }
36568 _ACEOF
36569 rm -f conftest.$ac_objext
36570 if { (ac_try="$ac_compile"
36571 case "(($ac_try" in
36572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36573 *) ac_try_echo=$ac_try;;
36574 esac
36575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36576 (eval "$ac_compile") 2>conftest.er1
36577 ac_status=$?
36578 grep -v '^ *+' conftest.er1 >conftest.err
36579 rm -f conftest.er1
36580 cat conftest.err >&5
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); } && {
36583 test -z "$ac_c_werror_flag" ||
36584 test ! -s conftest.err
36585 } && test -s conftest.$ac_objext; then
36586 ac_cv_type_mode_t=yes
36587 else
36588 echo "$as_me: failed program was:" >&5
36589 sed 's/^/| /' conftest.$ac_ext >&5
36590
36591 ac_cv_type_mode_t=no
36592 fi
36593
36594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36595 fi
36596 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36597 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36598 if test $ac_cv_type_mode_t = yes; then
36599 :
36600 else
36601
36602 cat >>confdefs.h <<_ACEOF
36603 #define mode_t int
36604 _ACEOF
36605
36606 fi
36607
36608 { echo "$as_me:$LINENO: checking for off_t" >&5
36609 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36610 if test "${ac_cv_type_off_t+set}" = set; then
36611 echo $ECHO_N "(cached) $ECHO_C" >&6
36612 else
36613 cat >conftest.$ac_ext <<_ACEOF
36614 /* confdefs.h. */
36615 _ACEOF
36616 cat confdefs.h >>conftest.$ac_ext
36617 cat >>conftest.$ac_ext <<_ACEOF
36618 /* end confdefs.h. */
36619 $ac_includes_default
36620 typedef off_t ac__type_new_;
36621 int
36622 main ()
36623 {
36624 if ((ac__type_new_ *) 0)
36625 return 0;
36626 if (sizeof (ac__type_new_))
36627 return 0;
36628 ;
36629 return 0;
36630 }
36631 _ACEOF
36632 rm -f conftest.$ac_objext
36633 if { (ac_try="$ac_compile"
36634 case "(($ac_try" in
36635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36636 *) ac_try_echo=$ac_try;;
36637 esac
36638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36639 (eval "$ac_compile") 2>conftest.er1
36640 ac_status=$?
36641 grep -v '^ *+' conftest.er1 >conftest.err
36642 rm -f conftest.er1
36643 cat conftest.err >&5
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); } && {
36646 test -z "$ac_c_werror_flag" ||
36647 test ! -s conftest.err
36648 } && test -s conftest.$ac_objext; then
36649 ac_cv_type_off_t=yes
36650 else
36651 echo "$as_me: failed program was:" >&5
36652 sed 's/^/| /' conftest.$ac_ext >&5
36653
36654 ac_cv_type_off_t=no
36655 fi
36656
36657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36658 fi
36659 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36660 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36661 if test $ac_cv_type_off_t = yes; then
36662 :
36663 else
36664
36665 cat >>confdefs.h <<_ACEOF
36666 #define off_t long int
36667 _ACEOF
36668
36669 fi
36670
36671 { echo "$as_me:$LINENO: checking for pid_t" >&5
36672 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36673 if test "${ac_cv_type_pid_t+set}" = set; then
36674 echo $ECHO_N "(cached) $ECHO_C" >&6
36675 else
36676 cat >conftest.$ac_ext <<_ACEOF
36677 /* confdefs.h. */
36678 _ACEOF
36679 cat confdefs.h >>conftest.$ac_ext
36680 cat >>conftest.$ac_ext <<_ACEOF
36681 /* end confdefs.h. */
36682 $ac_includes_default
36683 typedef pid_t ac__type_new_;
36684 int
36685 main ()
36686 {
36687 if ((ac__type_new_ *) 0)
36688 return 0;
36689 if (sizeof (ac__type_new_))
36690 return 0;
36691 ;
36692 return 0;
36693 }
36694 _ACEOF
36695 rm -f conftest.$ac_objext
36696 if { (ac_try="$ac_compile"
36697 case "(($ac_try" in
36698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36699 *) ac_try_echo=$ac_try;;
36700 esac
36701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36702 (eval "$ac_compile") 2>conftest.er1
36703 ac_status=$?
36704 grep -v '^ *+' conftest.er1 >conftest.err
36705 rm -f conftest.er1
36706 cat conftest.err >&5
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); } && {
36709 test -z "$ac_c_werror_flag" ||
36710 test ! -s conftest.err
36711 } && test -s conftest.$ac_objext; then
36712 ac_cv_type_pid_t=yes
36713 else
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36716
36717 ac_cv_type_pid_t=no
36718 fi
36719
36720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36721 fi
36722 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36723 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36724 if test $ac_cv_type_pid_t = yes; then
36725 :
36726 else
36727
36728 cat >>confdefs.h <<_ACEOF
36729 #define pid_t int
36730 _ACEOF
36731
36732 fi
36733
36734 { echo "$as_me:$LINENO: checking for size_t" >&5
36735 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36736 if test "${ac_cv_type_size_t+set}" = set; then
36737 echo $ECHO_N "(cached) $ECHO_C" >&6
36738 else
36739 cat >conftest.$ac_ext <<_ACEOF
36740 /* confdefs.h. */
36741 _ACEOF
36742 cat confdefs.h >>conftest.$ac_ext
36743 cat >>conftest.$ac_ext <<_ACEOF
36744 /* end confdefs.h. */
36745 $ac_includes_default
36746 typedef size_t ac__type_new_;
36747 int
36748 main ()
36749 {
36750 if ((ac__type_new_ *) 0)
36751 return 0;
36752 if (sizeof (ac__type_new_))
36753 return 0;
36754 ;
36755 return 0;
36756 }
36757 _ACEOF
36758 rm -f conftest.$ac_objext
36759 if { (ac_try="$ac_compile"
36760 case "(($ac_try" in
36761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36762 *) ac_try_echo=$ac_try;;
36763 esac
36764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36765 (eval "$ac_compile") 2>conftest.er1
36766 ac_status=$?
36767 grep -v '^ *+' conftest.er1 >conftest.err
36768 rm -f conftest.er1
36769 cat conftest.err >&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); } && {
36772 test -z "$ac_c_werror_flag" ||
36773 test ! -s conftest.err
36774 } && test -s conftest.$ac_objext; then
36775 ac_cv_type_size_t=yes
36776 else
36777 echo "$as_me: failed program was:" >&5
36778 sed 's/^/| /' conftest.$ac_ext >&5
36779
36780 ac_cv_type_size_t=no
36781 fi
36782
36783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36784 fi
36785 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36786 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36787 if test $ac_cv_type_size_t = yes; then
36788 :
36789 else
36790
36791 cat >>confdefs.h <<_ACEOF
36792 #define size_t unsigned int
36793 _ACEOF
36794
36795 fi
36796
36797 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36798 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36799 if test "${ac_cv_type_uid_t+set}" = set; then
36800 echo $ECHO_N "(cached) $ECHO_C" >&6
36801 else
36802 cat >conftest.$ac_ext <<_ACEOF
36803 /* confdefs.h. */
36804 _ACEOF
36805 cat confdefs.h >>conftest.$ac_ext
36806 cat >>conftest.$ac_ext <<_ACEOF
36807 /* end confdefs.h. */
36808 #include <sys/types.h>
36809
36810 _ACEOF
36811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36812 $EGREP "uid_t" >/dev/null 2>&1; then
36813 ac_cv_type_uid_t=yes
36814 else
36815 ac_cv_type_uid_t=no
36816 fi
36817 rm -f conftest*
36818
36819 fi
36820 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36821 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36822 if test $ac_cv_type_uid_t = no; then
36823
36824 cat >>confdefs.h <<\_ACEOF
36825 #define uid_t int
36826 _ACEOF
36827
36828
36829 cat >>confdefs.h <<\_ACEOF
36830 #define gid_t int
36831 _ACEOF
36832
36833 fi
36834
36835
36836 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36837 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36838 if test "${ac_cv_type_ssize_t+set}" = set; then
36839 echo $ECHO_N "(cached) $ECHO_C" >&6
36840 else
36841 cat >conftest.$ac_ext <<_ACEOF
36842 /* confdefs.h. */
36843 _ACEOF
36844 cat confdefs.h >>conftest.$ac_ext
36845 cat >>conftest.$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36847 $ac_includes_default
36848 typedef ssize_t ac__type_new_;
36849 int
36850 main ()
36851 {
36852 if ((ac__type_new_ *) 0)
36853 return 0;
36854 if (sizeof (ac__type_new_))
36855 return 0;
36856 ;
36857 return 0;
36858 }
36859 _ACEOF
36860 rm -f conftest.$ac_objext
36861 if { (ac_try="$ac_compile"
36862 case "(($ac_try" in
36863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36864 *) ac_try_echo=$ac_try;;
36865 esac
36866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36867 (eval "$ac_compile") 2>conftest.er1
36868 ac_status=$?
36869 grep -v '^ *+' conftest.er1 >conftest.err
36870 rm -f conftest.er1
36871 cat conftest.err >&5
36872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36873 (exit $ac_status); } && {
36874 test -z "$ac_c_werror_flag" ||
36875 test ! -s conftest.err
36876 } && test -s conftest.$ac_objext; then
36877 ac_cv_type_ssize_t=yes
36878 else
36879 echo "$as_me: failed program was:" >&5
36880 sed 's/^/| /' conftest.$ac_ext >&5
36881
36882 ac_cv_type_ssize_t=no
36883 fi
36884
36885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36886 fi
36887 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36888 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36889 if test $ac_cv_type_ssize_t = yes; then
36890
36891 cat >>confdefs.h <<_ACEOF
36892 #define HAVE_SSIZE_T 1
36893 _ACEOF
36894
36895
36896 fi
36897
36898
36899 ac_ext=cpp
36900 ac_cpp='$CXXCPP $CPPFLAGS'
36901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36904 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36905 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36906 if test "${wx_cv_size_t_is_uint+set}" = set; then
36907 echo $ECHO_N "(cached) $ECHO_C" >&6
36908 else
36909
36910 cat >conftest.$ac_ext <<_ACEOF
36911 /* confdefs.h. */
36912 _ACEOF
36913 cat confdefs.h >>conftest.$ac_ext
36914 cat >>conftest.$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916 #include <stddef.h>
36917 int
36918 main ()
36919 {
36920
36921 return 0; }
36922
36923 struct Foo { void foo(size_t); void foo(unsigned int); };
36924
36925 int bar() {
36926
36927 ;
36928 return 0;
36929 }
36930 _ACEOF
36931 rm -f conftest.$ac_objext
36932 if { (ac_try="$ac_compile"
36933 case "(($ac_try" in
36934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36935 *) ac_try_echo=$ac_try;;
36936 esac
36937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36938 (eval "$ac_compile") 2>conftest.er1
36939 ac_status=$?
36940 grep -v '^ *+' conftest.er1 >conftest.err
36941 rm -f conftest.er1
36942 cat conftest.err >&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); } && {
36945 test -z "$ac_cxx_werror_flag" ||
36946 test ! -s conftest.err
36947 } && test -s conftest.$ac_objext; then
36948 wx_cv_size_t_is_uint=no
36949 else
36950 echo "$as_me: failed program was:" >&5
36951 sed 's/^/| /' conftest.$ac_ext >&5
36952
36953 wx_cv_size_t_is_uint=yes
36954
36955 fi
36956
36957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36958
36959
36960 fi
36961 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36962 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36963
36964 if test "$wx_cv_size_t_is_uint" = "yes"; then
36965 cat >>confdefs.h <<\_ACEOF
36966 #define wxSIZE_T_IS_UINT 1
36967 _ACEOF
36968
36969 else
36970 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36971 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36972 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36973 echo $ECHO_N "(cached) $ECHO_C" >&6
36974 else
36975 cat >conftest.$ac_ext <<_ACEOF
36976 /* confdefs.h. */
36977 _ACEOF
36978 cat confdefs.h >>conftest.$ac_ext
36979 cat >>conftest.$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36981 #include <stddef.h>
36982 int
36983 main ()
36984 {
36985
36986 return 0; }
36987
36988 struct Foo { void foo(size_t); void foo(unsigned long); };
36989
36990 int bar() {
36991
36992 ;
36993 return 0;
36994 }
36995 _ACEOF
36996 rm -f conftest.$ac_objext
36997 if { (ac_try="$ac_compile"
36998 case "(($ac_try" in
36999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37000 *) ac_try_echo=$ac_try;;
37001 esac
37002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37003 (eval "$ac_compile") 2>conftest.er1
37004 ac_status=$?
37005 grep -v '^ *+' conftest.er1 >conftest.err
37006 rm -f conftest.er1
37007 cat conftest.err >&5
37008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37009 (exit $ac_status); } && {
37010 test -z "$ac_cxx_werror_flag" ||
37011 test ! -s conftest.err
37012 } && test -s conftest.$ac_objext; then
37013 wx_cv_size_t_is_ulong=no
37014 else
37015 echo "$as_me: failed program was:" >&5
37016 sed 's/^/| /' conftest.$ac_ext >&5
37017
37018 wx_cv_size_t_is_ulong=yes
37019
37020 fi
37021
37022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37023
37024 fi
37025 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37026 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37027
37028 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37029 cat >>confdefs.h <<\_ACEOF
37030 #define wxSIZE_T_IS_ULONG 1
37031 _ACEOF
37032
37033 fi
37034 fi
37035
37036 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37037 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37038 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37039 echo $ECHO_N "(cached) $ECHO_C" >&6
37040 else
37041 cat >conftest.$ac_ext <<_ACEOF
37042 /* confdefs.h. */
37043 _ACEOF
37044 cat confdefs.h >>conftest.$ac_ext
37045 cat >>conftest.$ac_ext <<_ACEOF
37046 /* end confdefs.h. */
37047 #include <wchar.h>
37048 int
37049 main ()
37050 {
37051
37052 return 0; }
37053
37054 struct Foo { void foo(wchar_t);
37055 void foo(unsigned short);
37056 void foo(unsigned int);
37057 void foo(unsigned long); };
37058
37059 int bar() {
37060
37061 ;
37062 return 0;
37063 }
37064 _ACEOF
37065 rm -f conftest.$ac_objext
37066 if { (ac_try="$ac_compile"
37067 case "(($ac_try" in
37068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37069 *) ac_try_echo=$ac_try;;
37070 esac
37071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37072 (eval "$ac_compile") 2>conftest.er1
37073 ac_status=$?
37074 grep -v '^ *+' conftest.er1 >conftest.err
37075 rm -f conftest.er1
37076 cat conftest.err >&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } && {
37079 test -z "$ac_cxx_werror_flag" ||
37080 test ! -s conftest.err
37081 } && test -s conftest.$ac_objext; then
37082 wx_cv_wchar_t_is_separate_type=yes
37083 else
37084 echo "$as_me: failed program was:" >&5
37085 sed 's/^/| /' conftest.$ac_ext >&5
37086
37087 wx_cv_wchar_t_is_separate_type=no
37088
37089 fi
37090
37091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37092
37093 fi
37094 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37095 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37096
37097 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37098 cat >>confdefs.h <<\_ACEOF
37099 #define wxWCHAR_T_IS_REAL_TYPE 1
37100 _ACEOF
37101
37102 else
37103 cat >>confdefs.h <<\_ACEOF
37104 #define wxWCHAR_T_IS_REAL_TYPE 0
37105 _ACEOF
37106
37107 fi
37108
37109 ac_ext=c
37110 ac_cpp='$CPP $CPPFLAGS'
37111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37114
37115
37116 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37117 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37118 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37119 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 else
37121
37122 cat >conftest.$ac_ext <<_ACEOF
37123 /* confdefs.h. */
37124 _ACEOF
37125 cat confdefs.h >>conftest.$ac_ext
37126 cat >>conftest.$ac_ext <<_ACEOF
37127 /* end confdefs.h. */
37128 #include <pwd.h>
37129 int
37130 main ()
37131 {
37132
37133 char *p;
37134 struct passwd *pw;
37135 p = pw->pw_gecos;
37136
37137 ;
37138 return 0;
37139 }
37140 _ACEOF
37141 rm -f conftest.$ac_objext
37142 if { (ac_try="$ac_compile"
37143 case "(($ac_try" in
37144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37145 *) ac_try_echo=$ac_try;;
37146 esac
37147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37148 (eval "$ac_compile") 2>conftest.er1
37149 ac_status=$?
37150 grep -v '^ *+' conftest.er1 >conftest.err
37151 rm -f conftest.er1
37152 cat conftest.err >&5
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); } && {
37155 test -z "$ac_c_werror_flag" ||
37156 test ! -s conftest.err
37157 } && test -s conftest.$ac_objext; then
37158
37159 wx_cv_struct_pw_gecos=yes
37160
37161 else
37162 echo "$as_me: failed program was:" >&5
37163 sed 's/^/| /' conftest.$ac_ext >&5
37164
37165
37166 wx_cv_struct_pw_gecos=no
37167
37168
37169 fi
37170
37171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37172
37173
37174 fi
37175 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37176 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37177
37178 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37179 cat >>confdefs.h <<\_ACEOF
37180 #define HAVE_PW_GECOS 1
37181 _ACEOF
37182
37183 fi
37184
37185
37186 if test "$wxUSE_WCHAR_T" = "yes"; then
37187 cat >>confdefs.h <<\_ACEOF
37188 #define wxUSE_WCHAR_T 1
37189 _ACEOF
37190
37191
37192 WCSLEN_FOUND=0
37193 WCHAR_LINK=
37194
37195 for ac_func in wcslen
37196 do
37197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37200 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37201 echo $ECHO_N "(cached) $ECHO_C" >&6
37202 else
37203 cat >conftest.$ac_ext <<_ACEOF
37204 /* confdefs.h. */
37205 _ACEOF
37206 cat confdefs.h >>conftest.$ac_ext
37207 cat >>conftest.$ac_ext <<_ACEOF
37208 /* end confdefs.h. */
37209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37211 #define $ac_func innocuous_$ac_func
37212
37213 /* System header to define __stub macros and hopefully few prototypes,
37214 which can conflict with char $ac_func (); below.
37215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37216 <limits.h> exists even on freestanding compilers. */
37217
37218 #ifdef __STDC__
37219 # include <limits.h>
37220 #else
37221 # include <assert.h>
37222 #endif
37223
37224 #undef $ac_func
37225
37226 /* Override any GCC internal prototype to avoid an error.
37227 Use char because int might match the return type of a GCC
37228 builtin and then its argument prototype would still apply. */
37229 #ifdef __cplusplus
37230 extern "C"
37231 #endif
37232 char $ac_func ();
37233 /* The GNU C library defines this for functions which it implements
37234 to always fail with ENOSYS. Some functions are actually named
37235 something starting with __ and the normal name is an alias. */
37236 #if defined __stub_$ac_func || defined __stub___$ac_func
37237 choke me
37238 #endif
37239
37240 int
37241 main ()
37242 {
37243 return $ac_func ();
37244 ;
37245 return 0;
37246 }
37247 _ACEOF
37248 rm -f conftest.$ac_objext conftest$ac_exeext
37249 if { (ac_try="$ac_link"
37250 case "(($ac_try" in
37251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37252 *) ac_try_echo=$ac_try;;
37253 esac
37254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37255 (eval "$ac_link") 2>conftest.er1
37256 ac_status=$?
37257 grep -v '^ *+' conftest.er1 >conftest.err
37258 rm -f conftest.er1
37259 cat conftest.err >&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } && {
37262 test -z "$ac_c_werror_flag" ||
37263 test ! -s conftest.err
37264 } && test -s conftest$ac_exeext &&
37265 $as_test_x conftest$ac_exeext; then
37266 eval "$as_ac_var=yes"
37267 else
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.$ac_ext >&5
37270
37271 eval "$as_ac_var=no"
37272 fi
37273
37274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37275 conftest$ac_exeext conftest.$ac_ext
37276 fi
37277 ac_res=`eval echo '${'$as_ac_var'}'`
37278 { echo "$as_me:$LINENO: result: $ac_res" >&5
37279 echo "${ECHO_T}$ac_res" >&6; }
37280 if test `eval echo '${'$as_ac_var'}'` = yes; then
37281 cat >>confdefs.h <<_ACEOF
37282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37283 _ACEOF
37284 WCSLEN_FOUND=1
37285 fi
37286 done
37287
37288
37289 if test "$WCSLEN_FOUND" = 0; then
37290 if test "$TOOLKIT" = "MSW"; then
37291 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37292 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37293 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37294 echo $ECHO_N "(cached) $ECHO_C" >&6
37295 else
37296 ac_check_lib_save_LIBS=$LIBS
37297 LIBS="-lmsvcrt $LIBS"
37298 cat >conftest.$ac_ext <<_ACEOF
37299 /* confdefs.h. */
37300 _ACEOF
37301 cat confdefs.h >>conftest.$ac_ext
37302 cat >>conftest.$ac_ext <<_ACEOF
37303 /* end confdefs.h. */
37304
37305 /* Override any GCC internal prototype to avoid an error.
37306 Use char because int might match the return type of a GCC
37307 builtin and then its argument prototype would still apply. */
37308 #ifdef __cplusplus
37309 extern "C"
37310 #endif
37311 char wcslen ();
37312 int
37313 main ()
37314 {
37315 return wcslen ();
37316 ;
37317 return 0;
37318 }
37319 _ACEOF
37320 rm -f conftest.$ac_objext conftest$ac_exeext
37321 if { (ac_try="$ac_link"
37322 case "(($ac_try" in
37323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37324 *) ac_try_echo=$ac_try;;
37325 esac
37326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37327 (eval "$ac_link") 2>conftest.er1
37328 ac_status=$?
37329 grep -v '^ *+' conftest.er1 >conftest.err
37330 rm -f conftest.er1
37331 cat conftest.err >&5
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); } && {
37334 test -z "$ac_c_werror_flag" ||
37335 test ! -s conftest.err
37336 } && test -s conftest$ac_exeext &&
37337 $as_test_x conftest$ac_exeext; then
37338 ac_cv_lib_msvcrt_wcslen=yes
37339 else
37340 echo "$as_me: failed program was:" >&5
37341 sed 's/^/| /' conftest.$ac_ext >&5
37342
37343 ac_cv_lib_msvcrt_wcslen=no
37344 fi
37345
37346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37347 conftest$ac_exeext conftest.$ac_ext
37348 LIBS=$ac_check_lib_save_LIBS
37349 fi
37350 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37351 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37352 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37353 WCHAR_OK=1
37354 fi
37355
37356 else
37357 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37358 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37359 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 else
37362 ac_check_lib_save_LIBS=$LIBS
37363 LIBS="-lw $LIBS"
37364 cat >conftest.$ac_ext <<_ACEOF
37365 /* confdefs.h. */
37366 _ACEOF
37367 cat confdefs.h >>conftest.$ac_ext
37368 cat >>conftest.$ac_ext <<_ACEOF
37369 /* end confdefs.h. */
37370
37371 /* Override any GCC internal prototype to avoid an error.
37372 Use char because int might match the return type of a GCC
37373 builtin and then its argument prototype would still apply. */
37374 #ifdef __cplusplus
37375 extern "C"
37376 #endif
37377 char wcslen ();
37378 int
37379 main ()
37380 {
37381 return wcslen ();
37382 ;
37383 return 0;
37384 }
37385 _ACEOF
37386 rm -f conftest.$ac_objext conftest$ac_exeext
37387 if { (ac_try="$ac_link"
37388 case "(($ac_try" in
37389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37390 *) ac_try_echo=$ac_try;;
37391 esac
37392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37393 (eval "$ac_link") 2>conftest.er1
37394 ac_status=$?
37395 grep -v '^ *+' conftest.er1 >conftest.err
37396 rm -f conftest.er1
37397 cat conftest.err >&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); } && {
37400 test -z "$ac_c_werror_flag" ||
37401 test ! -s conftest.err
37402 } && test -s conftest$ac_exeext &&
37403 $as_test_x conftest$ac_exeext; then
37404 ac_cv_lib_w_wcslen=yes
37405 else
37406 echo "$as_me: failed program was:" >&5
37407 sed 's/^/| /' conftest.$ac_ext >&5
37408
37409 ac_cv_lib_w_wcslen=no
37410 fi
37411
37412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37413 conftest$ac_exeext conftest.$ac_ext
37414 LIBS=$ac_check_lib_save_LIBS
37415 fi
37416 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37417 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37418 if test $ac_cv_lib_w_wcslen = yes; then
37419
37420 WCHAR_LINK=" -lw"
37421 WCSLEN_FOUND=1
37422
37423 fi
37424
37425 fi
37426 fi
37427
37428 if test "$WCSLEN_FOUND" = 1; then
37429 cat >>confdefs.h <<\_ACEOF
37430 #define HAVE_WCSLEN 1
37431 _ACEOF
37432
37433 fi
37434
37435
37436 for ac_func in wcsdup
37437 do
37438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37442 echo $ECHO_N "(cached) $ECHO_C" >&6
37443 else
37444 cat >conftest.$ac_ext <<_ACEOF
37445 /* confdefs.h. */
37446 _ACEOF
37447 cat confdefs.h >>conftest.$ac_ext
37448 cat >>conftest.$ac_ext <<_ACEOF
37449 /* end confdefs.h. */
37450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37452 #define $ac_func innocuous_$ac_func
37453
37454 /* System header to define __stub macros and hopefully few prototypes,
37455 which can conflict with char $ac_func (); below.
37456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37457 <limits.h> exists even on freestanding compilers. */
37458
37459 #ifdef __STDC__
37460 # include <limits.h>
37461 #else
37462 # include <assert.h>
37463 #endif
37464
37465 #undef $ac_func
37466
37467 /* Override any GCC internal prototype to avoid an error.
37468 Use char because int might match the return type of a GCC
37469 builtin and then its argument prototype would still apply. */
37470 #ifdef __cplusplus
37471 extern "C"
37472 #endif
37473 char $ac_func ();
37474 /* The GNU C library defines this for functions which it implements
37475 to always fail with ENOSYS. Some functions are actually named
37476 something starting with __ and the normal name is an alias. */
37477 #if defined __stub_$ac_func || defined __stub___$ac_func
37478 choke me
37479 #endif
37480
37481 int
37482 main ()
37483 {
37484 return $ac_func ();
37485 ;
37486 return 0;
37487 }
37488 _ACEOF
37489 rm -f conftest.$ac_objext conftest$ac_exeext
37490 if { (ac_try="$ac_link"
37491 case "(($ac_try" in
37492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37493 *) ac_try_echo=$ac_try;;
37494 esac
37495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37496 (eval "$ac_link") 2>conftest.er1
37497 ac_status=$?
37498 grep -v '^ *+' conftest.er1 >conftest.err
37499 rm -f conftest.er1
37500 cat conftest.err >&5
37501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502 (exit $ac_status); } && {
37503 test -z "$ac_c_werror_flag" ||
37504 test ! -s conftest.err
37505 } && test -s conftest$ac_exeext &&
37506 $as_test_x conftest$ac_exeext; then
37507 eval "$as_ac_var=yes"
37508 else
37509 echo "$as_me: failed program was:" >&5
37510 sed 's/^/| /' conftest.$ac_ext >&5
37511
37512 eval "$as_ac_var=no"
37513 fi
37514
37515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37516 conftest$ac_exeext conftest.$ac_ext
37517 fi
37518 ac_res=`eval echo '${'$as_ac_var'}'`
37519 { echo "$as_me:$LINENO: result: $ac_res" >&5
37520 echo "${ECHO_T}$ac_res" >&6; }
37521 if test `eval echo '${'$as_ac_var'}'` = yes; then
37522 cat >>confdefs.h <<_ACEOF
37523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37524 _ACEOF
37525
37526 fi
37527 done
37528
37529
37530 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37531 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37532 fi
37533
37534 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37535 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37536 if test "${ac_cv_type_mbstate_t+set}" = set; then
37537 echo $ECHO_N "(cached) $ECHO_C" >&6
37538 else
37539 cat >conftest.$ac_ext <<_ACEOF
37540 /* confdefs.h. */
37541 _ACEOF
37542 cat confdefs.h >>conftest.$ac_ext
37543 cat >>conftest.$ac_ext <<_ACEOF
37544 /* end confdefs.h. */
37545 #include <wchar.h>
37546
37547 typedef mbstate_t ac__type_new_;
37548 int
37549 main ()
37550 {
37551 if ((ac__type_new_ *) 0)
37552 return 0;
37553 if (sizeof (ac__type_new_))
37554 return 0;
37555 ;
37556 return 0;
37557 }
37558 _ACEOF
37559 rm -f conftest.$ac_objext
37560 if { (ac_try="$ac_compile"
37561 case "(($ac_try" in
37562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37563 *) ac_try_echo=$ac_try;;
37564 esac
37565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37566 (eval "$ac_compile") 2>conftest.er1
37567 ac_status=$?
37568 grep -v '^ *+' conftest.er1 >conftest.err
37569 rm -f conftest.er1
37570 cat conftest.err >&5
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); } && {
37573 test -z "$ac_c_werror_flag" ||
37574 test ! -s conftest.err
37575 } && test -s conftest.$ac_objext; then
37576 ac_cv_type_mbstate_t=yes
37577 else
37578 echo "$as_me: failed program was:" >&5
37579 sed 's/^/| /' conftest.$ac_ext >&5
37580
37581 ac_cv_type_mbstate_t=no
37582 fi
37583
37584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37585 fi
37586 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37587 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37588 if test $ac_cv_type_mbstate_t = yes; then
37589
37590 cat >>confdefs.h <<_ACEOF
37591 #define HAVE_MBSTATE_T 1
37592 _ACEOF
37593
37594
37595 for ac_func in wcsrtombs
37596 do
37597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37598 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37600 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37601 echo $ECHO_N "(cached) $ECHO_C" >&6
37602 else
37603 cat >conftest.$ac_ext <<_ACEOF
37604 /* confdefs.h. */
37605 _ACEOF
37606 cat confdefs.h >>conftest.$ac_ext
37607 cat >>conftest.$ac_ext <<_ACEOF
37608 /* end confdefs.h. */
37609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37611 #define $ac_func innocuous_$ac_func
37612
37613 /* System header to define __stub macros and hopefully few prototypes,
37614 which can conflict with char $ac_func (); below.
37615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37616 <limits.h> exists even on freestanding compilers. */
37617
37618 #ifdef __STDC__
37619 # include <limits.h>
37620 #else
37621 # include <assert.h>
37622 #endif
37623
37624 #undef $ac_func
37625
37626 /* Override any GCC internal prototype to avoid an error.
37627 Use char because int might match the return type of a GCC
37628 builtin and then its argument prototype would still apply. */
37629 #ifdef __cplusplus
37630 extern "C"
37631 #endif
37632 char $ac_func ();
37633 /* The GNU C library defines this for functions which it implements
37634 to always fail with ENOSYS. Some functions are actually named
37635 something starting with __ and the normal name is an alias. */
37636 #if defined __stub_$ac_func || defined __stub___$ac_func
37637 choke me
37638 #endif
37639
37640 int
37641 main ()
37642 {
37643 return $ac_func ();
37644 ;
37645 return 0;
37646 }
37647 _ACEOF
37648 rm -f conftest.$ac_objext conftest$ac_exeext
37649 if { (ac_try="$ac_link"
37650 case "(($ac_try" in
37651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37652 *) ac_try_echo=$ac_try;;
37653 esac
37654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37655 (eval "$ac_link") 2>conftest.er1
37656 ac_status=$?
37657 grep -v '^ *+' conftest.er1 >conftest.err
37658 rm -f conftest.er1
37659 cat conftest.err >&5
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); } && {
37662 test -z "$ac_c_werror_flag" ||
37663 test ! -s conftest.err
37664 } && test -s conftest$ac_exeext &&
37665 $as_test_x conftest$ac_exeext; then
37666 eval "$as_ac_var=yes"
37667 else
37668 echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.$ac_ext >&5
37670
37671 eval "$as_ac_var=no"
37672 fi
37673
37674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37675 conftest$ac_exeext conftest.$ac_ext
37676 fi
37677 ac_res=`eval echo '${'$as_ac_var'}'`
37678 { echo "$as_me:$LINENO: result: $ac_res" >&5
37679 echo "${ECHO_T}$ac_res" >&6; }
37680 if test `eval echo '${'$as_ac_var'}'` = yes; then
37681 cat >>confdefs.h <<_ACEOF
37682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37683 _ACEOF
37684
37685 fi
37686 done
37687
37688 fi
37689
37690 else
37691 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37692 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37693 fi
37694
37695
37696
37697 for ac_func in snprintf vsnprintf
37698 do
37699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37700 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37702 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37704 else
37705 cat >conftest.$ac_ext <<_ACEOF
37706 /* confdefs.h. */
37707 _ACEOF
37708 cat confdefs.h >>conftest.$ac_ext
37709 cat >>conftest.$ac_ext <<_ACEOF
37710 /* end confdefs.h. */
37711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37713 #define $ac_func innocuous_$ac_func
37714
37715 /* System header to define __stub macros and hopefully few prototypes,
37716 which can conflict with char $ac_func (); below.
37717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37718 <limits.h> exists even on freestanding compilers. */
37719
37720 #ifdef __STDC__
37721 # include <limits.h>
37722 #else
37723 # include <assert.h>
37724 #endif
37725
37726 #undef $ac_func
37727
37728 /* Override any GCC internal prototype to avoid an error.
37729 Use char because int might match the return type of a GCC
37730 builtin and then its argument prototype would still apply. */
37731 #ifdef __cplusplus
37732 extern "C"
37733 #endif
37734 char $ac_func ();
37735 /* The GNU C library defines this for functions which it implements
37736 to always fail with ENOSYS. Some functions are actually named
37737 something starting with __ and the normal name is an alias. */
37738 #if defined __stub_$ac_func || defined __stub___$ac_func
37739 choke me
37740 #endif
37741
37742 int
37743 main ()
37744 {
37745 return $ac_func ();
37746 ;
37747 return 0;
37748 }
37749 _ACEOF
37750 rm -f conftest.$ac_objext conftest$ac_exeext
37751 if { (ac_try="$ac_link"
37752 case "(($ac_try" in
37753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37754 *) ac_try_echo=$ac_try;;
37755 esac
37756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37757 (eval "$ac_link") 2>conftest.er1
37758 ac_status=$?
37759 grep -v '^ *+' conftest.er1 >conftest.err
37760 rm -f conftest.er1
37761 cat conftest.err >&5
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); } && {
37764 test -z "$ac_c_werror_flag" ||
37765 test ! -s conftest.err
37766 } && test -s conftest$ac_exeext &&
37767 $as_test_x conftest$ac_exeext; then
37768 eval "$as_ac_var=yes"
37769 else
37770 echo "$as_me: failed program was:" >&5
37771 sed 's/^/| /' conftest.$ac_ext >&5
37772
37773 eval "$as_ac_var=no"
37774 fi
37775
37776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37777 conftest$ac_exeext conftest.$ac_ext
37778 fi
37779 ac_res=`eval echo '${'$as_ac_var'}'`
37780 { echo "$as_me:$LINENO: result: $ac_res" >&5
37781 echo "${ECHO_T}$ac_res" >&6; }
37782 if test `eval echo '${'$as_ac_var'}'` = yes; then
37783 cat >>confdefs.h <<_ACEOF
37784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37785 _ACEOF
37786
37787 fi
37788 done
37789
37790
37791 if test "$ac_cv_func_vsnprintf" = "yes"; then
37792 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37793 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37794 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37795 echo $ECHO_N "(cached) $ECHO_C" >&6
37796 else
37797
37798 cat >conftest.$ac_ext <<_ACEOF
37799 /* confdefs.h. */
37800 _ACEOF
37801 cat confdefs.h >>conftest.$ac_ext
37802 cat >>conftest.$ac_ext <<_ACEOF
37803 /* end confdefs.h. */
37804
37805 #include <stdio.h>
37806 #include <stdarg.h>
37807 #ifdef __MSL__
37808 #if __MSL__ >= 0x6000
37809 namespace std {}
37810 using namespace std;
37811 #endif
37812 #endif
37813
37814 int
37815 main ()
37816 {
37817
37818 char *buf;
37819 va_list ap;
37820 vsnprintf(buf, 10u, "%s", ap);
37821
37822 ;
37823 return 0;
37824 }
37825 _ACEOF
37826 rm -f conftest.$ac_objext
37827 if { (ac_try="$ac_compile"
37828 case "(($ac_try" in
37829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37830 *) ac_try_echo=$ac_try;;
37831 esac
37832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37833 (eval "$ac_compile") 2>conftest.er1
37834 ac_status=$?
37835 grep -v '^ *+' conftest.er1 >conftest.err
37836 rm -f conftest.er1
37837 cat conftest.err >&5
37838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37839 (exit $ac_status); } && {
37840 test -z "$ac_c_werror_flag" ||
37841 test ! -s conftest.err
37842 } && test -s conftest.$ac_objext; then
37843 wx_cv_func_vsnprintf_decl=yes
37844 else
37845 echo "$as_me: failed program was:" >&5
37846 sed 's/^/| /' conftest.$ac_ext >&5
37847
37848 wx_cv_func_vsnprintf_decl=no
37849
37850 fi
37851
37852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37853
37854
37855 fi
37856 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37857 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37858
37859 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37860 cat >>confdefs.h <<\_ACEOF
37861 #define HAVE_VSNPRINTF_DECL 1
37862 _ACEOF
37863
37864
37865 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37866 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37867 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 else
37870
37871 cat >conftest.$ac_ext <<_ACEOF
37872 /* confdefs.h. */
37873 _ACEOF
37874 cat confdefs.h >>conftest.$ac_ext
37875 cat >>conftest.$ac_ext <<_ACEOF
37876 /* end confdefs.h. */
37877
37878 #include <stdio.h>
37879 #include <stdarg.h>
37880 #ifdef __MSL__
37881 #if __MSL__ >= 0x6000
37882 namespace std {}
37883 using namespace std;
37884 #endif
37885 #endif
37886
37887 int
37888 main ()
37889 {
37890
37891 char *buf;
37892 va_list ap;
37893 const char *fmt = "%s";
37894 vsnprintf(buf, 10u, fmt, ap);
37895
37896 ;
37897 return 0;
37898 }
37899 _ACEOF
37900 rm -f conftest.$ac_objext
37901 if { (ac_try="$ac_compile"
37902 case "(($ac_try" in
37903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37904 *) ac_try_echo=$ac_try;;
37905 esac
37906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37907 (eval "$ac_compile") 2>conftest.er1
37908 ac_status=$?
37909 grep -v '^ *+' conftest.er1 >conftest.err
37910 rm -f conftest.er1
37911 cat conftest.err >&5
37912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37913 (exit $ac_status); } && {
37914 test -z "$ac_c_werror_flag" ||
37915 test ! -s conftest.err
37916 } && test -s conftest.$ac_objext; then
37917 wx_cv_func_broken_vsnprintf_decl=no
37918 else
37919 echo "$as_me: failed program was:" >&5
37920 sed 's/^/| /' conftest.$ac_ext >&5
37921
37922 wx_cv_func_broken_vsnprintf_decl=yes
37923
37924 fi
37925
37926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37927
37928
37929 fi
37930 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37931 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37932
37933 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37934 cat >>confdefs.h <<\_ACEOF
37935 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37936 _ACEOF
37937
37938 fi
37939 fi
37940 fi
37941
37942 if test "$ac_cv_func_snprintf" = "yes"; then
37943 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37944 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37945 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37946 echo $ECHO_N "(cached) $ECHO_C" >&6
37947 else
37948
37949 cat >conftest.$ac_ext <<_ACEOF
37950 /* confdefs.h. */
37951 _ACEOF
37952 cat confdefs.h >>conftest.$ac_ext
37953 cat >>conftest.$ac_ext <<_ACEOF
37954 /* end confdefs.h. */
37955
37956 #include <stdio.h>
37957 #include <stdarg.h>
37958 #ifdef __MSL__
37959 #if __MSL__ >= 0x6000
37960 namespace std {}
37961 using namespace std;
37962 #endif
37963 #endif
37964
37965 int
37966 main ()
37967 {
37968
37969 char *buf;
37970 snprintf(buf, 10u, "%s", "wx");
37971
37972 ;
37973 return 0;
37974 }
37975 _ACEOF
37976 rm -f conftest.$ac_objext
37977 if { (ac_try="$ac_compile"
37978 case "(($ac_try" in
37979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37980 *) ac_try_echo=$ac_try;;
37981 esac
37982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37983 (eval "$ac_compile") 2>conftest.er1
37984 ac_status=$?
37985 grep -v '^ *+' conftest.er1 >conftest.err
37986 rm -f conftest.er1
37987 cat conftest.err >&5
37988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37989 (exit $ac_status); } && {
37990 test -z "$ac_c_werror_flag" ||
37991 test ! -s conftest.err
37992 } && test -s conftest.$ac_objext; then
37993 wx_cv_func_snprintf_decl=yes
37994 else
37995 echo "$as_me: failed program was:" >&5
37996 sed 's/^/| /' conftest.$ac_ext >&5
37997
37998 wx_cv_func_snprintf_decl=no
37999
38000 fi
38001
38002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38003
38004
38005 fi
38006 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38007 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38008
38009 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38010 cat >>confdefs.h <<\_ACEOF
38011 #define HAVE_SNPRINTF_DECL 1
38012 _ACEOF
38013
38014 fi
38015
38016 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38017
38018 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38019 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38020 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38021 echo $ECHO_N "(cached) $ECHO_C" >&6
38022 else
38023
38024 if test "$cross_compiling" = yes; then
38025
38026 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38027 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38028 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38029 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38030 wx_cv_func_snprintf_pos_params=no
38031
38032
38033 else
38034 cat >conftest.$ac_ext <<_ACEOF
38035 /* confdefs.h. */
38036 _ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040
38041 #include <stdio.h>
38042
38043 int main (void)
38044 {
38045 char buffer[128];
38046 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38047 if (strcmp ("2 3 1", buffer) == 0)
38048 exit (0);
38049 exit (1);
38050 }
38051
38052 _ACEOF
38053 rm -f conftest$ac_exeext
38054 if { (ac_try="$ac_link"
38055 case "(($ac_try" in
38056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38057 *) ac_try_echo=$ac_try;;
38058 esac
38059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38060 (eval "$ac_link") 2>&5
38061 ac_status=$?
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38064 { (case "(($ac_try" in
38065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38066 *) ac_try_echo=$ac_try;;
38067 esac
38068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38069 (eval "$ac_try") 2>&5
38070 ac_status=$?
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); }; }; then
38073 wx_cv_func_snprintf_pos_params=no
38074 else
38075 echo "$as_me: program exited with status $ac_status" >&5
38076 echo "$as_me: failed program was:" >&5
38077 sed 's/^/| /' conftest.$ac_ext >&5
38078
38079 ( exit $ac_status )
38080 wx_cv_func_snprintf_pos_params=yes
38081 fi
38082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38083 fi
38084
38085
38086
38087
38088 fi
38089 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38090 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38091
38092 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38093 cat >>confdefs.h <<\_ACEOF
38094 #define HAVE_UNIX98_PRINTF 1
38095 _ACEOF
38096
38097 fi
38098 fi
38099 fi
38100
38101 if test "$wxUSE_UNICODE" = yes; then
38102
38103 wchar_headers="#include <stdio.h>
38104 #include <wchar.h>"
38105 case "${host}" in
38106 *-*-solaris2* )
38107
38108 for ac_header in widec.h
38109 do
38110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38111 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38114 echo $ECHO_N "(cached) $ECHO_C" >&6
38115 else
38116 cat >conftest.$ac_ext <<_ACEOF
38117 /* confdefs.h. */
38118 _ACEOF
38119 cat confdefs.h >>conftest.$ac_ext
38120 cat >>conftest.$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38122 $ac_includes_default
38123
38124 #include <$ac_header>
38125 _ACEOF
38126 rm -f conftest.$ac_objext
38127 if { (ac_try="$ac_compile"
38128 case "(($ac_try" in
38129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38130 *) ac_try_echo=$ac_try;;
38131 esac
38132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38133 (eval "$ac_compile") 2>conftest.er1
38134 ac_status=$?
38135 grep -v '^ *+' conftest.er1 >conftest.err
38136 rm -f conftest.er1
38137 cat conftest.err >&5
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } && {
38140 test -z "$ac_c_werror_flag" ||
38141 test ! -s conftest.err
38142 } && test -s conftest.$ac_objext; then
38143 eval "$as_ac_Header=yes"
38144 else
38145 echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.$ac_ext >&5
38147
38148 eval "$as_ac_Header=no"
38149 fi
38150
38151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38152 fi
38153 ac_res=`eval echo '${'$as_ac_Header'}'`
38154 { echo "$as_me:$LINENO: result: $ac_res" >&5
38155 echo "${ECHO_T}$ac_res" >&6; }
38156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38157 cat >>confdefs.h <<_ACEOF
38158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38159 _ACEOF
38160
38161 fi
38162
38163 done
38164
38165 if test "$ac_cv_header_widec_h" = "yes"; then
38166 wchar_headers="$wchar_headers
38167 #include <widec.h>"
38168 fi
38169 esac
38170
38171
38172 for wx_func in putws fputws wprintf vswprintf
38173 do
38174 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38175 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38176 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38177 echo $ECHO_N "(cached) $ECHO_C" >&6
38178 else
38179
38180 cat >conftest.$ac_ext <<_ACEOF
38181
38182 /* confdefs.h. */
38183 _ACEOF
38184 cat confdefs.h >>conftest.$ac_ext
38185 cat >>conftest.$ac_ext <<_ACEOF
38186 /* end confdefs.h. */
38187
38188 $wchar_headers
38189 $ac_includes_default
38190
38191 int
38192 main ()
38193 {
38194
38195 #ifndef $wx_func
38196 &$wx_func;
38197 #endif
38198
38199
38200 ;
38201 return 0;
38202 }
38203
38204 _ACEOF
38205 rm -f conftest.$ac_objext conftest$ac_exeext
38206 if { (ac_try="$ac_link"
38207 case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38210 esac
38211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_link") 2>conftest.er1
38213 ac_status=$?
38214 grep -v '^ *+' conftest.er1 >conftest.err
38215 rm -f conftest.er1
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest$ac_exeext &&
38222 $as_test_x conftest$ac_exeext; then
38223 eval wx_cv_func_$wx_func=yes
38224 else
38225 echo "$as_me: failed program was:" >&5
38226 sed 's/^/| /' conftest.$ac_ext >&5
38227
38228 eval wx_cv_func_$wx_func=no
38229 fi
38230
38231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38232 conftest$ac_exeext conftest.$ac_ext
38233
38234 fi
38235 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38236 { echo "$as_me:$LINENO: result: $ac_res" >&5
38237 echo "${ECHO_T}$ac_res" >&6; }
38238
38239 if eval test \$wx_cv_func_$wx_func = yes
38240 then
38241 cat >>confdefs.h <<_ACEOF
38242 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38243 _ACEOF
38244
38245
38246 else
38247 :
38248
38249 fi
38250 done
38251
38252
38253 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38254 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38255 cat >conftest.$ac_ext <<_ACEOF
38256 /* confdefs.h. */
38257 _ACEOF
38258 cat confdefs.h >>conftest.$ac_ext
38259 cat >>conftest.$ac_ext <<_ACEOF
38260 /* end confdefs.h. */
38261 #include <wchar.h>
38262 int
38263 main ()
38264 {
38265 &_vsnwprintf;
38266 ;
38267 return 0;
38268 }
38269 _ACEOF
38270 rm -f conftest.$ac_objext
38271 if { (ac_try="$ac_compile"
38272 case "(($ac_try" in
38273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38274 *) ac_try_echo=$ac_try;;
38275 esac
38276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38277 (eval "$ac_compile") 2>conftest.er1
38278 ac_status=$?
38279 grep -v '^ *+' conftest.er1 >conftest.err
38280 rm -f conftest.er1
38281 cat conftest.err >&5
38282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283 (exit $ac_status); } && {
38284 test -z "$ac_c_werror_flag" ||
38285 test ! -s conftest.err
38286 } && test -s conftest.$ac_objext; then
38287 { echo "$as_me:$LINENO: result: yes" >&5
38288 echo "${ECHO_T}yes" >&6; }
38289 cat >>confdefs.h <<\_ACEOF
38290 #define HAVE__VSNWPRINTF 1
38291 _ACEOF
38292
38293 else
38294 echo "$as_me: failed program was:" >&5
38295 sed 's/^/| /' conftest.$ac_ext >&5
38296
38297 { echo "$as_me:$LINENO: result: no" >&5
38298 echo "${ECHO_T}no" >&6; }
38299 fi
38300
38301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38302 fi
38303
38304 if test "$wxUSE_FILE" = "yes"; then
38305
38306 for wx_func in fsync
38307 do
38308 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38309 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38310 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38311 echo $ECHO_N "(cached) $ECHO_C" >&6
38312 else
38313
38314 cat >conftest.$ac_ext <<_ACEOF
38315
38316 /* confdefs.h. */
38317 _ACEOF
38318 cat confdefs.h >>conftest.$ac_ext
38319 cat >>conftest.$ac_ext <<_ACEOF
38320 /* end confdefs.h. */
38321
38322
38323 $ac_includes_default
38324
38325 int
38326 main ()
38327 {
38328
38329 #ifndef $wx_func
38330 &$wx_func;
38331 #endif
38332
38333
38334 ;
38335 return 0;
38336 }
38337
38338 _ACEOF
38339 rm -f conftest.$ac_objext conftest$ac_exeext
38340 if { (ac_try="$ac_link"
38341 case "(($ac_try" in
38342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38343 *) ac_try_echo=$ac_try;;
38344 esac
38345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38346 (eval "$ac_link") 2>conftest.er1
38347 ac_status=$?
38348 grep -v '^ *+' conftest.er1 >conftest.err
38349 rm -f conftest.er1
38350 cat conftest.err >&5
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); } && {
38353 test -z "$ac_c_werror_flag" ||
38354 test ! -s conftest.err
38355 } && test -s conftest$ac_exeext &&
38356 $as_test_x conftest$ac_exeext; then
38357 eval wx_cv_func_$wx_func=yes
38358 else
38359 echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38361
38362 eval wx_cv_func_$wx_func=no
38363 fi
38364
38365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38366 conftest$ac_exeext conftest.$ac_ext
38367
38368 fi
38369 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38370 { echo "$as_me:$LINENO: result: $ac_res" >&5
38371 echo "${ECHO_T}$ac_res" >&6; }
38372
38373 if eval test \$wx_cv_func_$wx_func = yes
38374 then
38375 cat >>confdefs.h <<_ACEOF
38376 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38377 _ACEOF
38378
38379
38380 else
38381 :
38382
38383 fi
38384 done
38385
38386 fi
38387
38388 ac_ext=cpp
38389 ac_cpp='$CXXCPP $CPPFLAGS'
38390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38393
38394
38395 for wx_func in round
38396 do
38397 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38398 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38399 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38400 echo $ECHO_N "(cached) $ECHO_C" >&6
38401 else
38402
38403 cat >conftest.$ac_ext <<_ACEOF
38404
38405 /* confdefs.h. */
38406 _ACEOF
38407 cat confdefs.h >>conftest.$ac_ext
38408 cat >>conftest.$ac_ext <<_ACEOF
38409 /* end confdefs.h. */
38410
38411 #include <math.h>
38412 $ac_includes_default
38413
38414 int
38415 main ()
38416 {
38417
38418 #ifndef $wx_func
38419 &$wx_func;
38420 #endif
38421
38422
38423 ;
38424 return 0;
38425 }
38426
38427 _ACEOF
38428 rm -f conftest.$ac_objext conftest$ac_exeext
38429 if { (ac_try="$ac_link"
38430 case "(($ac_try" in
38431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38432 *) ac_try_echo=$ac_try;;
38433 esac
38434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38435 (eval "$ac_link") 2>conftest.er1
38436 ac_status=$?
38437 grep -v '^ *+' conftest.er1 >conftest.err
38438 rm -f conftest.er1
38439 cat conftest.err >&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } && {
38442 test -z "$ac_cxx_werror_flag" ||
38443 test ! -s conftest.err
38444 } && test -s conftest$ac_exeext &&
38445 $as_test_x conftest$ac_exeext; then
38446 eval wx_cv_func_$wx_func=yes
38447 else
38448 echo "$as_me: failed program was:" >&5
38449 sed 's/^/| /' conftest.$ac_ext >&5
38450
38451 eval wx_cv_func_$wx_func=no
38452 fi
38453
38454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38455 conftest$ac_exeext conftest.$ac_ext
38456
38457 fi
38458 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38459 { echo "$as_me:$LINENO: result: $ac_res" >&5
38460 echo "${ECHO_T}$ac_res" >&6; }
38461
38462 if eval test \$wx_cv_func_$wx_func = yes
38463 then
38464 cat >>confdefs.h <<_ACEOF
38465 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38466 _ACEOF
38467
38468
38469 else
38470 :
38471
38472 fi
38473 done
38474
38475 ac_ext=c
38476 ac_cpp='$CPP $CPPFLAGS'
38477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38480
38481
38482 if test "$TOOLKIT" != "MSW"; then
38483
38484
38485
38486
38487
38488 # Check whether --with-libiconv-prefix was given.
38489 if test "${with_libiconv_prefix+set}" = set; then
38490 withval=$with_libiconv_prefix;
38491 for dir in `echo "$withval" | tr : ' '`; do
38492 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38493 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38494 done
38495
38496 fi
38497
38498
38499 { echo "$as_me:$LINENO: checking for iconv" >&5
38500 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38501 if test "${am_cv_func_iconv+set}" = set; then
38502 echo $ECHO_N "(cached) $ECHO_C" >&6
38503 else
38504
38505 am_cv_func_iconv="no, consider installing GNU libiconv"
38506 am_cv_lib_iconv=no
38507 cat >conftest.$ac_ext <<_ACEOF
38508 /* confdefs.h. */
38509 _ACEOF
38510 cat confdefs.h >>conftest.$ac_ext
38511 cat >>conftest.$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38513 #include <stdlib.h>
38514 #include <iconv.h>
38515 int
38516 main ()
38517 {
38518 iconv_t cd = iconv_open("","");
38519 iconv(cd,NULL,NULL,NULL,NULL);
38520 iconv_close(cd);
38521 ;
38522 return 0;
38523 }
38524 _ACEOF
38525 rm -f conftest.$ac_objext conftest$ac_exeext
38526 if { (ac_try="$ac_link"
38527 case "(($ac_try" in
38528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38529 *) ac_try_echo=$ac_try;;
38530 esac
38531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38532 (eval "$ac_link") 2>conftest.er1
38533 ac_status=$?
38534 grep -v '^ *+' conftest.er1 >conftest.err
38535 rm -f conftest.er1
38536 cat conftest.err >&5
38537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538 (exit $ac_status); } && {
38539 test -z "$ac_c_werror_flag" ||
38540 test ! -s conftest.err
38541 } && test -s conftest$ac_exeext &&
38542 $as_test_x conftest$ac_exeext; then
38543 am_cv_func_iconv=yes
38544 else
38545 echo "$as_me: failed program was:" >&5
38546 sed 's/^/| /' conftest.$ac_ext >&5
38547
38548
38549 fi
38550
38551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38552 conftest$ac_exeext conftest.$ac_ext
38553 if test "$am_cv_func_iconv" != yes; then
38554 am_save_LIBS="$LIBS"
38555 LIBS="$LIBS -liconv"
38556 cat >conftest.$ac_ext <<_ACEOF
38557 /* confdefs.h. */
38558 _ACEOF
38559 cat confdefs.h >>conftest.$ac_ext
38560 cat >>conftest.$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38562 #include <stdlib.h>
38563 #include <iconv.h>
38564 int
38565 main ()
38566 {
38567 iconv_t cd = iconv_open("","");
38568 iconv(cd,NULL,NULL,NULL,NULL);
38569 iconv_close(cd);
38570 ;
38571 return 0;
38572 }
38573 _ACEOF
38574 rm -f conftest.$ac_objext conftest$ac_exeext
38575 if { (ac_try="$ac_link"
38576 case "(($ac_try" in
38577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38578 *) ac_try_echo=$ac_try;;
38579 esac
38580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38581 (eval "$ac_link") 2>conftest.er1
38582 ac_status=$?
38583 grep -v '^ *+' conftest.er1 >conftest.err
38584 rm -f conftest.er1
38585 cat conftest.err >&5
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); } && {
38588 test -z "$ac_c_werror_flag" ||
38589 test ! -s conftest.err
38590 } && test -s conftest$ac_exeext &&
38591 $as_test_x conftest$ac_exeext; then
38592 am_cv_lib_iconv=yes
38593 am_cv_func_iconv=yes
38594 else
38595 echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.$ac_ext >&5
38597
38598
38599 fi
38600
38601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38602 conftest$ac_exeext conftest.$ac_ext
38603 LIBS="$am_save_LIBS"
38604 fi
38605
38606 fi
38607 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38608 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38609 if test "$am_cv_func_iconv" = yes; then
38610
38611 cat >>confdefs.h <<\_ACEOF
38612 #define HAVE_ICONV 1
38613 _ACEOF
38614
38615 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38616 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38617 if test "${wx_cv_func_iconv_const+set}" = set; then
38618 echo $ECHO_N "(cached) $ECHO_C" >&6
38619 else
38620 cat >conftest.$ac_ext <<_ACEOF
38621 /* confdefs.h. */
38622 _ACEOF
38623 cat confdefs.h >>conftest.$ac_ext
38624 cat >>conftest.$ac_ext <<_ACEOF
38625 /* end confdefs.h. */
38626
38627 #include <stdlib.h>
38628 #include <iconv.h>
38629 extern
38630 #ifdef __cplusplus
38631 "C"
38632 #endif
38633 #if defined(__STDC__) || defined(__cplusplus)
38634 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38635 #else
38636 size_t iconv();
38637 #endif
38638
38639 int
38640 main ()
38641 {
38642
38643 ;
38644 return 0;
38645 }
38646 _ACEOF
38647 rm -f conftest.$ac_objext
38648 if { (ac_try="$ac_compile"
38649 case "(($ac_try" in
38650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38651 *) ac_try_echo=$ac_try;;
38652 esac
38653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38654 (eval "$ac_compile") 2>conftest.er1
38655 ac_status=$?
38656 grep -v '^ *+' conftest.er1 >conftest.err
38657 rm -f conftest.er1
38658 cat conftest.err >&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } && {
38661 test -z "$ac_c_werror_flag" ||
38662 test ! -s conftest.err
38663 } && test -s conftest.$ac_objext; then
38664 wx_cv_func_iconv_const="no"
38665 else
38666 echo "$as_me: failed program was:" >&5
38667 sed 's/^/| /' conftest.$ac_ext >&5
38668
38669 wx_cv_func_iconv_const="yes"
38670
38671 fi
38672
38673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38674
38675 fi
38676 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38677 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38678
38679 iconv_const=
38680 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38681 iconv_const="const"
38682 fi
38683
38684
38685 cat >>confdefs.h <<_ACEOF
38686 #define ICONV_CONST $iconv_const
38687 _ACEOF
38688
38689 fi
38690 LIBICONV=
38691 if test "$am_cv_lib_iconv" = yes; then
38692 LIBICONV="-liconv"
38693 fi
38694
38695
38696 LIBS="$LIBICONV $LIBS"
38697
38698 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38699
38700 for ac_func in sigaction
38701 do
38702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38706 echo $ECHO_N "(cached) $ECHO_C" >&6
38707 else
38708 cat >conftest.$ac_ext <<_ACEOF
38709 /* confdefs.h. */
38710 _ACEOF
38711 cat confdefs.h >>conftest.$ac_ext
38712 cat >>conftest.$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38716 #define $ac_func innocuous_$ac_func
38717
38718 /* System header to define __stub macros and hopefully few prototypes,
38719 which can conflict with char $ac_func (); below.
38720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38721 <limits.h> exists even on freestanding compilers. */
38722
38723 #ifdef __STDC__
38724 # include <limits.h>
38725 #else
38726 # include <assert.h>
38727 #endif
38728
38729 #undef $ac_func
38730
38731 /* Override any GCC internal prototype to avoid an error.
38732 Use char because int might match the return type of a GCC
38733 builtin and then its argument prototype would still apply. */
38734 #ifdef __cplusplus
38735 extern "C"
38736 #endif
38737 char $ac_func ();
38738 /* The GNU C library defines this for functions which it implements
38739 to always fail with ENOSYS. Some functions are actually named
38740 something starting with __ and the normal name is an alias. */
38741 #if defined __stub_$ac_func || defined __stub___$ac_func
38742 choke me
38743 #endif
38744
38745 int
38746 main ()
38747 {
38748 return $ac_func ();
38749 ;
38750 return 0;
38751 }
38752 _ACEOF
38753 rm -f conftest.$ac_objext conftest$ac_exeext
38754 if { (ac_try="$ac_link"
38755 case "(($ac_try" in
38756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38757 *) ac_try_echo=$ac_try;;
38758 esac
38759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38760 (eval "$ac_link") 2>conftest.er1
38761 ac_status=$?
38762 grep -v '^ *+' conftest.er1 >conftest.err
38763 rm -f conftest.er1
38764 cat conftest.err >&5
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); } && {
38767 test -z "$ac_c_werror_flag" ||
38768 test ! -s conftest.err
38769 } && test -s conftest$ac_exeext &&
38770 $as_test_x conftest$ac_exeext; then
38771 eval "$as_ac_var=yes"
38772 else
38773 echo "$as_me: failed program was:" >&5
38774 sed 's/^/| /' conftest.$ac_ext >&5
38775
38776 eval "$as_ac_var=no"
38777 fi
38778
38779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38780 conftest$ac_exeext conftest.$ac_ext
38781 fi
38782 ac_res=`eval echo '${'$as_ac_var'}'`
38783 { echo "$as_me:$LINENO: result: $ac_res" >&5
38784 echo "${ECHO_T}$ac_res" >&6; }
38785 if test `eval echo '${'$as_ac_var'}'` = yes; then
38786 cat >>confdefs.h <<_ACEOF
38787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38788 _ACEOF
38789
38790 fi
38791 done
38792
38793
38794 if test "$ac_cv_func_sigaction" = "no"; then
38795 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38796 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38797 wxUSE_ON_FATAL_EXCEPTION=no
38798 fi
38799
38800 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38801 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38802 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38803 if test "${wx_cv_type_sa_handler+set}" = set; then
38804 echo $ECHO_N "(cached) $ECHO_C" >&6
38805 else
38806
38807 ac_ext=cpp
38808 ac_cpp='$CXXCPP $CPPFLAGS'
38809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38812
38813 cat >conftest.$ac_ext <<_ACEOF
38814 /* confdefs.h. */
38815 _ACEOF
38816 cat confdefs.h >>conftest.$ac_ext
38817 cat >>conftest.$ac_ext <<_ACEOF
38818 /* end confdefs.h. */
38819 #include <signal.h>
38820 int
38821 main ()
38822 {
38823
38824 extern void testSigHandler(int);
38825
38826 struct sigaction sa;
38827 sa.sa_handler = testSigHandler;
38828
38829 ;
38830 return 0;
38831 }
38832 _ACEOF
38833 rm -f conftest.$ac_objext
38834 if { (ac_try="$ac_compile"
38835 case "(($ac_try" in
38836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38837 *) ac_try_echo=$ac_try;;
38838 esac
38839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38840 (eval "$ac_compile") 2>conftest.er1
38841 ac_status=$?
38842 grep -v '^ *+' conftest.er1 >conftest.err
38843 rm -f conftest.er1
38844 cat conftest.err >&5
38845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38846 (exit $ac_status); } && {
38847 test -z "$ac_cxx_werror_flag" ||
38848 test ! -s conftest.err
38849 } && test -s conftest.$ac_objext; then
38850
38851 wx_cv_type_sa_handler=int
38852
38853 else
38854 echo "$as_me: failed program was:" >&5
38855 sed 's/^/| /' conftest.$ac_ext >&5
38856
38857
38858 wx_cv_type_sa_handler=void
38859
38860 fi
38861
38862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38863 ac_ext=c
38864 ac_cpp='$CPP $CPPFLAGS'
38865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38868
38869
38870 fi
38871 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38872 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38873
38874 cat >>confdefs.h <<_ACEOF
38875 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38876 _ACEOF
38877
38878 fi
38879 fi
38880
38881 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38882 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38883 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38884 if test "${wx_cv_func_backtrace+set}" = set; then
38885 echo $ECHO_N "(cached) $ECHO_C" >&6
38886 else
38887
38888 ac_ext=cpp
38889 ac_cpp='$CXXCPP $CPPFLAGS'
38890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38893
38894 cat >conftest.$ac_ext <<_ACEOF
38895 /* confdefs.h. */
38896 _ACEOF
38897 cat confdefs.h >>conftest.$ac_ext
38898 cat >>conftest.$ac_ext <<_ACEOF
38899 /* end confdefs.h. */
38900 #include <execinfo.h>
38901 int
38902 main ()
38903 {
38904
38905 void *trace[1];
38906 char **messages;
38907
38908 backtrace(trace, 1);
38909 messages = backtrace_symbols(trace, 1);
38910
38911 ;
38912 return 0;
38913 }
38914 _ACEOF
38915 rm -f conftest.$ac_objext
38916 if { (ac_try="$ac_compile"
38917 case "(($ac_try" in
38918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38919 *) ac_try_echo=$ac_try;;
38920 esac
38921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38922 (eval "$ac_compile") 2>conftest.er1
38923 ac_status=$?
38924 grep -v '^ *+' conftest.er1 >conftest.err
38925 rm -f conftest.er1
38926 cat conftest.err >&5
38927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928 (exit $ac_status); } && {
38929 test -z "$ac_cxx_werror_flag" ||
38930 test ! -s conftest.err
38931 } && test -s conftest.$ac_objext; then
38932 wx_cv_func_backtrace=yes
38933 else
38934 echo "$as_me: failed program was:" >&5
38935 sed 's/^/| /' conftest.$ac_ext >&5
38936
38937 wx_cv_func_backtrace=no
38938
38939 fi
38940
38941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38942 ac_ext=c
38943 ac_cpp='$CPP $CPPFLAGS'
38944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38947
38948
38949
38950 fi
38951 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38952 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38953
38954
38955 if test "$wx_cv_func_backtrace" = "no"; then
38956 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38957 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38958 wxUSE_STACKWALKER=no
38959 else
38960 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38961 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38962 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38963 echo $ECHO_N "(cached) $ECHO_C" >&6
38964 else
38965
38966 ac_ext=cpp
38967 ac_cpp='$CXXCPP $CPPFLAGS'
38968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38971
38972 cat >conftest.$ac_ext <<_ACEOF
38973 /* confdefs.h. */
38974 _ACEOF
38975 cat confdefs.h >>conftest.$ac_ext
38976 cat >>conftest.$ac_ext <<_ACEOF
38977 /* end confdefs.h. */
38978 #include <cxxabi.h>
38979 int
38980 main ()
38981 {
38982
38983 int rc;
38984 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38985
38986 ;
38987 return 0;
38988 }
38989 _ACEOF
38990 rm -f conftest.$ac_objext conftest$ac_exeext
38991 if { (ac_try="$ac_link"
38992 case "(($ac_try" in
38993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38994 *) ac_try_echo=$ac_try;;
38995 esac
38996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38997 (eval "$ac_link") 2>conftest.er1
38998 ac_status=$?
38999 grep -v '^ *+' conftest.er1 >conftest.err
39000 rm -f conftest.er1
39001 cat conftest.err >&5
39002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39003 (exit $ac_status); } && {
39004 test -z "$ac_cxx_werror_flag" ||
39005 test ! -s conftest.err
39006 } && test -s conftest$ac_exeext &&
39007 $as_test_x conftest$ac_exeext; then
39008 wx_cv_func_cxa_demangle=yes
39009 else
39010 echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39012
39013 wx_cv_func_cxa_demangle=no
39014
39015 fi
39016
39017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39018 conftest$ac_exeext conftest.$ac_ext
39019 ac_ext=c
39020 ac_cpp='$CPP $CPPFLAGS'
39021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39024
39025
39026
39027 fi
39028 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39029 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39030
39031 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39032 cat >>confdefs.h <<\_ACEOF
39033 #define HAVE_CXA_DEMANGLE 1
39034 _ACEOF
39035
39036 fi
39037 fi
39038 fi
39039
39040 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39041 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39042 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39043 wxUSE_STACKWALKER=no
39044 fi
39045
39046
39047
39048
39049 for ac_func in mkstemp mktemp
39050 do
39051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39052 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39054 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39055 echo $ECHO_N "(cached) $ECHO_C" >&6
39056 else
39057 cat >conftest.$ac_ext <<_ACEOF
39058 /* confdefs.h. */
39059 _ACEOF
39060 cat confdefs.h >>conftest.$ac_ext
39061 cat >>conftest.$ac_ext <<_ACEOF
39062 /* end confdefs.h. */
39063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39065 #define $ac_func innocuous_$ac_func
39066
39067 /* System header to define __stub macros and hopefully few prototypes,
39068 which can conflict with char $ac_func (); below.
39069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39070 <limits.h> exists even on freestanding compilers. */
39071
39072 #ifdef __STDC__
39073 # include <limits.h>
39074 #else
39075 # include <assert.h>
39076 #endif
39077
39078 #undef $ac_func
39079
39080 /* Override any GCC internal prototype to avoid an error.
39081 Use char because int might match the return type of a GCC
39082 builtin and then its argument prototype would still apply. */
39083 #ifdef __cplusplus
39084 extern "C"
39085 #endif
39086 char $ac_func ();
39087 /* The GNU C library defines this for functions which it implements
39088 to always fail with ENOSYS. Some functions are actually named
39089 something starting with __ and the normal name is an alias. */
39090 #if defined __stub_$ac_func || defined __stub___$ac_func
39091 choke me
39092 #endif
39093
39094 int
39095 main ()
39096 {
39097 return $ac_func ();
39098 ;
39099 return 0;
39100 }
39101 _ACEOF
39102 rm -f conftest.$ac_objext conftest$ac_exeext
39103 if { (ac_try="$ac_link"
39104 case "(($ac_try" in
39105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39106 *) ac_try_echo=$ac_try;;
39107 esac
39108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39109 (eval "$ac_link") 2>conftest.er1
39110 ac_status=$?
39111 grep -v '^ *+' conftest.er1 >conftest.err
39112 rm -f conftest.er1
39113 cat conftest.err >&5
39114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39115 (exit $ac_status); } && {
39116 test -z "$ac_c_werror_flag" ||
39117 test ! -s conftest.err
39118 } && test -s conftest$ac_exeext &&
39119 $as_test_x conftest$ac_exeext; then
39120 eval "$as_ac_var=yes"
39121 else
39122 echo "$as_me: failed program was:" >&5
39123 sed 's/^/| /' conftest.$ac_ext >&5
39124
39125 eval "$as_ac_var=no"
39126 fi
39127
39128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39129 conftest$ac_exeext conftest.$ac_ext
39130 fi
39131 ac_res=`eval echo '${'$as_ac_var'}'`
39132 { echo "$as_me:$LINENO: result: $ac_res" >&5
39133 echo "${ECHO_T}$ac_res" >&6; }
39134 if test `eval echo '${'$as_ac_var'}'` = yes; then
39135 cat >>confdefs.h <<_ACEOF
39136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39137 _ACEOF
39138 break
39139 fi
39140 done
39141
39142
39143 { echo "$as_me:$LINENO: checking for statfs" >&5
39144 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39145 if test "${wx_cv_func_statfs+set}" = set; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39147 else
39148 cat >conftest.$ac_ext <<_ACEOF
39149 /* confdefs.h. */
39150 _ACEOF
39151 cat confdefs.h >>conftest.$ac_ext
39152 cat >>conftest.$ac_ext <<_ACEOF
39153 /* end confdefs.h. */
39154
39155 #if defined(__BSD__)
39156 #include <sys/param.h>
39157 #include <sys/mount.h>
39158 #else
39159 #include <sys/vfs.h>
39160 #endif
39161
39162 int
39163 main ()
39164 {
39165
39166 long l;
39167 struct statfs fs;
39168 statfs("/", &fs);
39169 l = fs.f_bsize;
39170 l += fs.f_blocks;
39171 l += fs.f_bavail;
39172
39173 ;
39174 return 0;
39175 }
39176 _ACEOF
39177 rm -f conftest.$ac_objext
39178 if { (ac_try="$ac_compile"
39179 case "(($ac_try" in
39180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39181 *) ac_try_echo=$ac_try;;
39182 esac
39183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39184 (eval "$ac_compile") 2>conftest.er1
39185 ac_status=$?
39186 grep -v '^ *+' conftest.er1 >conftest.err
39187 rm -f conftest.er1
39188 cat conftest.err >&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); } && {
39191 test -z "$ac_c_werror_flag" ||
39192 test ! -s conftest.err
39193 } && test -s conftest.$ac_objext; then
39194 wx_cv_func_statfs=yes
39195 else
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.$ac_ext >&5
39198
39199 wx_cv_func_statfs=no
39200
39201 fi
39202
39203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39204
39205 fi
39206 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39207 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39208
39209 if test "$wx_cv_func_statfs" = "yes"; then
39210 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39211 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39212 if test "${wx_cv_func_statfs_decl+set}" = set; then
39213 echo $ECHO_N "(cached) $ECHO_C" >&6
39214 else
39215 ac_ext=cpp
39216 ac_cpp='$CXXCPP $CPPFLAGS'
39217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39220
39221 cat >conftest.$ac_ext <<_ACEOF
39222 /* confdefs.h. */
39223 _ACEOF
39224 cat confdefs.h >>conftest.$ac_ext
39225 cat >>conftest.$ac_ext <<_ACEOF
39226 /* end confdefs.h. */
39227
39228 #if defined(__BSD__)
39229 #include <sys/param.h>
39230 #include <sys/mount.h>
39231 #else
39232 #include <sys/vfs.h>
39233 #endif
39234
39235 int
39236 main ()
39237 {
39238
39239 struct statfs fs;
39240 statfs("", &fs);
39241
39242 ;
39243 return 0;
39244 }
39245 _ACEOF
39246 rm -f conftest.$ac_objext
39247 if { (ac_try="$ac_compile"
39248 case "(($ac_try" in
39249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39250 *) ac_try_echo=$ac_try;;
39251 esac
39252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39253 (eval "$ac_compile") 2>conftest.er1
39254 ac_status=$?
39255 grep -v '^ *+' conftest.er1 >conftest.err
39256 rm -f conftest.er1
39257 cat conftest.err >&5
39258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39259 (exit $ac_status); } && {
39260 test -z "$ac_cxx_werror_flag" ||
39261 test ! -s conftest.err
39262 } && test -s conftest.$ac_objext; then
39263 wx_cv_func_statfs_decl=yes
39264 else
39265 echo "$as_me: failed program was:" >&5
39266 sed 's/^/| /' conftest.$ac_ext >&5
39267
39268 wx_cv_func_statfs_decl=no
39269
39270 fi
39271
39272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39273 ac_ext=c
39274 ac_cpp='$CPP $CPPFLAGS'
39275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39278
39279
39280 fi
39281 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39282 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39283
39284 if test "$wx_cv_func_statfs_decl" = "yes"; then
39285 cat >>confdefs.h <<\_ACEOF
39286 #define HAVE_STATFS_DECL 1
39287 _ACEOF
39288
39289 fi
39290
39291 wx_cv_type_statvfs_t="struct statfs"
39292 cat >>confdefs.h <<\_ACEOF
39293 #define HAVE_STATFS 1
39294 _ACEOF
39295
39296 else
39297 { echo "$as_me:$LINENO: checking for statvfs" >&5
39298 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39299 if test "${wx_cv_func_statvfs+set}" = set; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39301 else
39302 cat >conftest.$ac_ext <<_ACEOF
39303 /* confdefs.h. */
39304 _ACEOF
39305 cat confdefs.h >>conftest.$ac_ext
39306 cat >>conftest.$ac_ext <<_ACEOF
39307 /* end confdefs.h. */
39308
39309 #include <stddef.h>
39310 #include <sys/statvfs.h>
39311
39312 int
39313 main ()
39314 {
39315
39316 statvfs("/", NULL);
39317
39318 ;
39319 return 0;
39320 }
39321 _ACEOF
39322 rm -f conftest.$ac_objext
39323 if { (ac_try="$ac_compile"
39324 case "(($ac_try" in
39325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39326 *) ac_try_echo=$ac_try;;
39327 esac
39328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39329 (eval "$ac_compile") 2>conftest.er1
39330 ac_status=$?
39331 grep -v '^ *+' conftest.er1 >conftest.err
39332 rm -f conftest.er1
39333 cat conftest.err >&5
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); } && {
39336 test -z "$ac_c_werror_flag" ||
39337 test ! -s conftest.err
39338 } && test -s conftest.$ac_objext; then
39339 wx_cv_func_statvfs=yes
39340 else
39341 echo "$as_me: failed program was:" >&5
39342 sed 's/^/| /' conftest.$ac_ext >&5
39343
39344 wx_cv_func_statvfs=no
39345
39346 fi
39347
39348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39349
39350 fi
39351 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39352 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39353
39354 if test "$wx_cv_func_statvfs" = "yes"; then
39355 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39356 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39357 if test "${wx_cv_type_statvfs_t+set}" = set; then
39358 echo $ECHO_N "(cached) $ECHO_C" >&6
39359 else
39360 ac_ext=cpp
39361 ac_cpp='$CXXCPP $CPPFLAGS'
39362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39365
39366 cat >conftest.$ac_ext <<_ACEOF
39367 /* confdefs.h. */
39368 _ACEOF
39369 cat confdefs.h >>conftest.$ac_ext
39370 cat >>conftest.$ac_ext <<_ACEOF
39371 /* end confdefs.h. */
39372
39373 #include <sys/statvfs.h>
39374
39375 int
39376 main ()
39377 {
39378
39379 long l;
39380 statvfs_t fs;
39381 statvfs("/", &fs);
39382 l = fs.f_bsize;
39383 l += fs.f_blocks;
39384 l += fs.f_bavail;
39385
39386 ;
39387 return 0;
39388 }
39389 _ACEOF
39390 rm -f conftest.$ac_objext
39391 if { (ac_try="$ac_compile"
39392 case "(($ac_try" in
39393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39394 *) ac_try_echo=$ac_try;;
39395 esac
39396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39397 (eval "$ac_compile") 2>conftest.er1
39398 ac_status=$?
39399 grep -v '^ *+' conftest.er1 >conftest.err
39400 rm -f conftest.er1
39401 cat conftest.err >&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); } && {
39404 test -z "$ac_cxx_werror_flag" ||
39405 test ! -s conftest.err
39406 } && test -s conftest.$ac_objext; then
39407 wx_cv_type_statvfs_t=statvfs_t
39408 else
39409 echo "$as_me: failed program was:" >&5
39410 sed 's/^/| /' conftest.$ac_ext >&5
39411
39412
39413 cat >conftest.$ac_ext <<_ACEOF
39414 /* confdefs.h. */
39415 _ACEOF
39416 cat confdefs.h >>conftest.$ac_ext
39417 cat >>conftest.$ac_ext <<_ACEOF
39418 /* end confdefs.h. */
39419
39420 #include <sys/statvfs.h>
39421
39422 int
39423 main ()
39424 {
39425
39426 long l;
39427 struct statvfs fs;
39428 statvfs("/", &fs);
39429 l = fs.f_bsize;
39430 l += fs.f_blocks;
39431 l += fs.f_bavail;
39432
39433 ;
39434 return 0;
39435 }
39436 _ACEOF
39437 rm -f conftest.$ac_objext
39438 if { (ac_try="$ac_compile"
39439 case "(($ac_try" in
39440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39441 *) ac_try_echo=$ac_try;;
39442 esac
39443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39444 (eval "$ac_compile") 2>conftest.er1
39445 ac_status=$?
39446 grep -v '^ *+' conftest.er1 >conftest.err
39447 rm -f conftest.er1
39448 cat conftest.err >&5
39449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39450 (exit $ac_status); } && {
39451 test -z "$ac_cxx_werror_flag" ||
39452 test ! -s conftest.err
39453 } && test -s conftest.$ac_objext; then
39454 wx_cv_type_statvfs_t="struct statvfs"
39455 else
39456 echo "$as_me: failed program was:" >&5
39457 sed 's/^/| /' conftest.$ac_ext >&5
39458
39459 wx_cv_type_statvfs_t="unknown"
39460
39461 fi
39462
39463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39464
39465
39466 fi
39467
39468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39469 ac_ext=c
39470 ac_cpp='$CPP $CPPFLAGS'
39471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39474
39475
39476 fi
39477 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39478 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39479
39480 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39481 cat >>confdefs.h <<\_ACEOF
39482 #define HAVE_STATVFS 1
39483 _ACEOF
39484
39485 fi
39486 else
39487 wx_cv_type_statvfs_t="unknown"
39488 fi
39489 fi
39490
39491 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39492 cat >>confdefs.h <<_ACEOF
39493 #define WX_STATFS_T $wx_cv_type_statvfs_t
39494 _ACEOF
39495
39496 else
39497 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39498 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39499 fi
39500
39501 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39502
39503
39504 for ac_func in fcntl flock
39505 do
39506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39507 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39509 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39510 echo $ECHO_N "(cached) $ECHO_C" >&6
39511 else
39512 cat >conftest.$ac_ext <<_ACEOF
39513 /* confdefs.h. */
39514 _ACEOF
39515 cat confdefs.h >>conftest.$ac_ext
39516 cat >>conftest.$ac_ext <<_ACEOF
39517 /* end confdefs.h. */
39518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39520 #define $ac_func innocuous_$ac_func
39521
39522 /* System header to define __stub macros and hopefully few prototypes,
39523 which can conflict with char $ac_func (); below.
39524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39525 <limits.h> exists even on freestanding compilers. */
39526
39527 #ifdef __STDC__
39528 # include <limits.h>
39529 #else
39530 # include <assert.h>
39531 #endif
39532
39533 #undef $ac_func
39534
39535 /* Override any GCC internal prototype to avoid an error.
39536 Use char because int might match the return type of a GCC
39537 builtin and then its argument prototype would still apply. */
39538 #ifdef __cplusplus
39539 extern "C"
39540 #endif
39541 char $ac_func ();
39542 /* The GNU C library defines this for functions which it implements
39543 to always fail with ENOSYS. Some functions are actually named
39544 something starting with __ and the normal name is an alias. */
39545 #if defined __stub_$ac_func || defined __stub___$ac_func
39546 choke me
39547 #endif
39548
39549 int
39550 main ()
39551 {
39552 return $ac_func ();
39553 ;
39554 return 0;
39555 }
39556 _ACEOF
39557 rm -f conftest.$ac_objext conftest$ac_exeext
39558 if { (ac_try="$ac_link"
39559 case "(($ac_try" in
39560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39561 *) ac_try_echo=$ac_try;;
39562 esac
39563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39564 (eval "$ac_link") 2>conftest.er1
39565 ac_status=$?
39566 grep -v '^ *+' conftest.er1 >conftest.err
39567 rm -f conftest.er1
39568 cat conftest.err >&5
39569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39570 (exit $ac_status); } && {
39571 test -z "$ac_c_werror_flag" ||
39572 test ! -s conftest.err
39573 } && test -s conftest$ac_exeext &&
39574 $as_test_x conftest$ac_exeext; then
39575 eval "$as_ac_var=yes"
39576 else
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39579
39580 eval "$as_ac_var=no"
39581 fi
39582
39583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39584 conftest$ac_exeext conftest.$ac_ext
39585 fi
39586 ac_res=`eval echo '${'$as_ac_var'}'`
39587 { echo "$as_me:$LINENO: result: $ac_res" >&5
39588 echo "${ECHO_T}$ac_res" >&6; }
39589 if test `eval echo '${'$as_ac_var'}'` = yes; then
39590 cat >>confdefs.h <<_ACEOF
39591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39592 _ACEOF
39593 break
39594 fi
39595 done
39596
39597
39598 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39599 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39600 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39601 wxUSE_SNGLINST_CHECKER=no
39602 fi
39603 fi
39604
39605
39606
39607 for ac_func in setenv putenv
39608 do
39609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39610 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39612 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39613 echo $ECHO_N "(cached) $ECHO_C" >&6
39614 else
39615 cat >conftest.$ac_ext <<_ACEOF
39616 /* confdefs.h. */
39617 _ACEOF
39618 cat confdefs.h >>conftest.$ac_ext
39619 cat >>conftest.$ac_ext <<_ACEOF
39620 /* end confdefs.h. */
39621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39623 #define $ac_func innocuous_$ac_func
39624
39625 /* System header to define __stub macros and hopefully few prototypes,
39626 which can conflict with char $ac_func (); below.
39627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39628 <limits.h> exists even on freestanding compilers. */
39629
39630 #ifdef __STDC__
39631 # include <limits.h>
39632 #else
39633 # include <assert.h>
39634 #endif
39635
39636 #undef $ac_func
39637
39638 /* Override any GCC internal prototype to avoid an error.
39639 Use char because int might match the return type of a GCC
39640 builtin and then its argument prototype would still apply. */
39641 #ifdef __cplusplus
39642 extern "C"
39643 #endif
39644 char $ac_func ();
39645 /* The GNU C library defines this for functions which it implements
39646 to always fail with ENOSYS. Some functions are actually named
39647 something starting with __ and the normal name is an alias. */
39648 #if defined __stub_$ac_func || defined __stub___$ac_func
39649 choke me
39650 #endif
39651
39652 int
39653 main ()
39654 {
39655 return $ac_func ();
39656 ;
39657 return 0;
39658 }
39659 _ACEOF
39660 rm -f conftest.$ac_objext conftest$ac_exeext
39661 if { (ac_try="$ac_link"
39662 case "(($ac_try" in
39663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39664 *) ac_try_echo=$ac_try;;
39665 esac
39666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39667 (eval "$ac_link") 2>conftest.er1
39668 ac_status=$?
39669 grep -v '^ *+' conftest.er1 >conftest.err
39670 rm -f conftest.er1
39671 cat conftest.err >&5
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); } && {
39674 test -z "$ac_c_werror_flag" ||
39675 test ! -s conftest.err
39676 } && test -s conftest$ac_exeext &&
39677 $as_test_x conftest$ac_exeext; then
39678 eval "$as_ac_var=yes"
39679 else
39680 echo "$as_me: failed program was:" >&5
39681 sed 's/^/| /' conftest.$ac_ext >&5
39682
39683 eval "$as_ac_var=no"
39684 fi
39685
39686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39687 conftest$ac_exeext conftest.$ac_ext
39688 fi
39689 ac_res=`eval echo '${'$as_ac_var'}'`
39690 { echo "$as_me:$LINENO: result: $ac_res" >&5
39691 echo "${ECHO_T}$ac_res" >&6; }
39692 if test `eval echo '${'$as_ac_var'}'` = yes; then
39693 cat >>confdefs.h <<_ACEOF
39694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39695 _ACEOF
39696 break
39697 fi
39698 done
39699
39700 if test "$ac_cv_func_setenv" = "yes"; then
39701
39702 for ac_func in unsetenv
39703 do
39704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39708 echo $ECHO_N "(cached) $ECHO_C" >&6
39709 else
39710 cat >conftest.$ac_ext <<_ACEOF
39711 /* confdefs.h. */
39712 _ACEOF
39713 cat confdefs.h >>conftest.$ac_ext
39714 cat >>conftest.$ac_ext <<_ACEOF
39715 /* end confdefs.h. */
39716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39718 #define $ac_func innocuous_$ac_func
39719
39720 /* System header to define __stub macros and hopefully few prototypes,
39721 which can conflict with char $ac_func (); below.
39722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39723 <limits.h> exists even on freestanding compilers. */
39724
39725 #ifdef __STDC__
39726 # include <limits.h>
39727 #else
39728 # include <assert.h>
39729 #endif
39730
39731 #undef $ac_func
39732
39733 /* Override any GCC internal prototype to avoid an error.
39734 Use char because int might match the return type of a GCC
39735 builtin and then its argument prototype would still apply. */
39736 #ifdef __cplusplus
39737 extern "C"
39738 #endif
39739 char $ac_func ();
39740 /* The GNU C library defines this for functions which it implements
39741 to always fail with ENOSYS. Some functions are actually named
39742 something starting with __ and the normal name is an alias. */
39743 #if defined __stub_$ac_func || defined __stub___$ac_func
39744 choke me
39745 #endif
39746
39747 int
39748 main ()
39749 {
39750 return $ac_func ();
39751 ;
39752 return 0;
39753 }
39754 _ACEOF
39755 rm -f conftest.$ac_objext conftest$ac_exeext
39756 if { (ac_try="$ac_link"
39757 case "(($ac_try" in
39758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39759 *) ac_try_echo=$ac_try;;
39760 esac
39761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39762 (eval "$ac_link") 2>conftest.er1
39763 ac_status=$?
39764 grep -v '^ *+' conftest.er1 >conftest.err
39765 rm -f conftest.er1
39766 cat conftest.err >&5
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); } && {
39769 test -z "$ac_c_werror_flag" ||
39770 test ! -s conftest.err
39771 } && test -s conftest$ac_exeext &&
39772 $as_test_x conftest$ac_exeext; then
39773 eval "$as_ac_var=yes"
39774 else
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.$ac_ext >&5
39777
39778 eval "$as_ac_var=no"
39779 fi
39780
39781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39782 conftest$ac_exeext conftest.$ac_ext
39783 fi
39784 ac_res=`eval echo '${'$as_ac_var'}'`
39785 { echo "$as_me:$LINENO: result: $ac_res" >&5
39786 echo "${ECHO_T}$ac_res" >&6; }
39787 if test `eval echo '${'$as_ac_var'}'` = yes; then
39788 cat >>confdefs.h <<_ACEOF
39789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39790 _ACEOF
39791
39792 fi
39793 done
39794
39795 fi
39796
39797 HAVE_SOME_SLEEP_FUNC=0
39798 if test "$USE_BEOS" = 1; then
39799 cat >>confdefs.h <<\_ACEOF
39800 #define HAVE_SLEEP 1
39801 _ACEOF
39802
39803 HAVE_SOME_SLEEP_FUNC=1
39804 fi
39805
39806 if test "$USE_DARWIN" = 1; then
39807 cat >>confdefs.h <<\_ACEOF
39808 #define HAVE_USLEEP 1
39809 _ACEOF
39810
39811 HAVE_SOME_SLEEP_FUNC=1
39812 fi
39813
39814 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39815 POSIX4_LINK=
39816
39817 for ac_func in nanosleep
39818 do
39819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39820 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39822 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39823 echo $ECHO_N "(cached) $ECHO_C" >&6
39824 else
39825 cat >conftest.$ac_ext <<_ACEOF
39826 /* confdefs.h. */
39827 _ACEOF
39828 cat confdefs.h >>conftest.$ac_ext
39829 cat >>conftest.$ac_ext <<_ACEOF
39830 /* end confdefs.h. */
39831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39833 #define $ac_func innocuous_$ac_func
39834
39835 /* System header to define __stub macros and hopefully few prototypes,
39836 which can conflict with char $ac_func (); below.
39837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39838 <limits.h> exists even on freestanding compilers. */
39839
39840 #ifdef __STDC__
39841 # include <limits.h>
39842 #else
39843 # include <assert.h>
39844 #endif
39845
39846 #undef $ac_func
39847
39848 /* Override any GCC internal prototype to avoid an error.
39849 Use char because int might match the return type of a GCC
39850 builtin and then its argument prototype would still apply. */
39851 #ifdef __cplusplus
39852 extern "C"
39853 #endif
39854 char $ac_func ();
39855 /* The GNU C library defines this for functions which it implements
39856 to always fail with ENOSYS. Some functions are actually named
39857 something starting with __ and the normal name is an alias. */
39858 #if defined __stub_$ac_func || defined __stub___$ac_func
39859 choke me
39860 #endif
39861
39862 int
39863 main ()
39864 {
39865 return $ac_func ();
39866 ;
39867 return 0;
39868 }
39869 _ACEOF
39870 rm -f conftest.$ac_objext conftest$ac_exeext
39871 if { (ac_try="$ac_link"
39872 case "(($ac_try" in
39873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39874 *) ac_try_echo=$ac_try;;
39875 esac
39876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39877 (eval "$ac_link") 2>conftest.er1
39878 ac_status=$?
39879 grep -v '^ *+' conftest.er1 >conftest.err
39880 rm -f conftest.er1
39881 cat conftest.err >&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } && {
39884 test -z "$ac_c_werror_flag" ||
39885 test ! -s conftest.err
39886 } && test -s conftest$ac_exeext &&
39887 $as_test_x conftest$ac_exeext; then
39888 eval "$as_ac_var=yes"
39889 else
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39892
39893 eval "$as_ac_var=no"
39894 fi
39895
39896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39897 conftest$ac_exeext conftest.$ac_ext
39898 fi
39899 ac_res=`eval echo '${'$as_ac_var'}'`
39900 { echo "$as_me:$LINENO: result: $ac_res" >&5
39901 echo "${ECHO_T}$ac_res" >&6; }
39902 if test `eval echo '${'$as_ac_var'}'` = yes; then
39903 cat >>confdefs.h <<_ACEOF
39904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39905 _ACEOF
39906 cat >>confdefs.h <<\_ACEOF
39907 #define HAVE_NANOSLEEP 1
39908 _ACEOF
39909
39910 else
39911
39912 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39913 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39914 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39915 echo $ECHO_N "(cached) $ECHO_C" >&6
39916 else
39917 ac_check_lib_save_LIBS=$LIBS
39918 LIBS="-lposix4 $LIBS"
39919 cat >conftest.$ac_ext <<_ACEOF
39920 /* confdefs.h. */
39921 _ACEOF
39922 cat confdefs.h >>conftest.$ac_ext
39923 cat >>conftest.$ac_ext <<_ACEOF
39924 /* end confdefs.h. */
39925
39926 /* Override any GCC internal prototype to avoid an error.
39927 Use char because int might match the return type of a GCC
39928 builtin and then its argument prototype would still apply. */
39929 #ifdef __cplusplus
39930 extern "C"
39931 #endif
39932 char nanosleep ();
39933 int
39934 main ()
39935 {
39936 return nanosleep ();
39937 ;
39938 return 0;
39939 }
39940 _ACEOF
39941 rm -f conftest.$ac_objext conftest$ac_exeext
39942 if { (ac_try="$ac_link"
39943 case "(($ac_try" in
39944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39945 *) ac_try_echo=$ac_try;;
39946 esac
39947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39948 (eval "$ac_link") 2>conftest.er1
39949 ac_status=$?
39950 grep -v '^ *+' conftest.er1 >conftest.err
39951 rm -f conftest.er1
39952 cat conftest.err >&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); } && {
39955 test -z "$ac_c_werror_flag" ||
39956 test ! -s conftest.err
39957 } && test -s conftest$ac_exeext &&
39958 $as_test_x conftest$ac_exeext; then
39959 ac_cv_lib_posix4_nanosleep=yes
39960 else
39961 echo "$as_me: failed program was:" >&5
39962 sed 's/^/| /' conftest.$ac_ext >&5
39963
39964 ac_cv_lib_posix4_nanosleep=no
39965 fi
39966
39967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39968 conftest$ac_exeext conftest.$ac_ext
39969 LIBS=$ac_check_lib_save_LIBS
39970 fi
39971 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39972 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39973 if test $ac_cv_lib_posix4_nanosleep = yes; then
39974
39975 cat >>confdefs.h <<\_ACEOF
39976 #define HAVE_NANOSLEEP 1
39977 _ACEOF
39978
39979 POSIX4_LINK=" -lposix4"
39980
39981 else
39982
39983
39984 for wx_func in usleep
39985 do
39986 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39987 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39988 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39989 echo $ECHO_N "(cached) $ECHO_C" >&6
39990 else
39991
39992 cat >conftest.$ac_ext <<_ACEOF
39993
39994 /* confdefs.h. */
39995 _ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
39999
40000
40001 $ac_includes_default
40002
40003 int
40004 main ()
40005 {
40006
40007 #ifndef $wx_func
40008 &$wx_func;
40009 #endif
40010
40011
40012 ;
40013 return 0;
40014 }
40015
40016 _ACEOF
40017 rm -f conftest.$ac_objext conftest$ac_exeext
40018 if { (ac_try="$ac_link"
40019 case "(($ac_try" in
40020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40021 *) ac_try_echo=$ac_try;;
40022 esac
40023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40024 (eval "$ac_link") 2>conftest.er1
40025 ac_status=$?
40026 grep -v '^ *+' conftest.er1 >conftest.err
40027 rm -f conftest.er1
40028 cat conftest.err >&5
40029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40030 (exit $ac_status); } && {
40031 test -z "$ac_c_werror_flag" ||
40032 test ! -s conftest.err
40033 } && test -s conftest$ac_exeext &&
40034 $as_test_x conftest$ac_exeext; then
40035 eval wx_cv_func_$wx_func=yes
40036 else
40037 echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.$ac_ext >&5
40039
40040 eval wx_cv_func_$wx_func=no
40041 fi
40042
40043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40044 conftest$ac_exeext conftest.$ac_ext
40045
40046 fi
40047 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40048 { echo "$as_me:$LINENO: result: $ac_res" >&5
40049 echo "${ECHO_T}$ac_res" >&6; }
40050
40051 if eval test \$wx_cv_func_$wx_func = yes
40052 then
40053 cat >>confdefs.h <<_ACEOF
40054 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40055 _ACEOF
40056
40057
40058 else
40059 :
40060 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40061 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40062
40063 fi
40064 done
40065
40066
40067
40068 fi
40069
40070
40071
40072 fi
40073 done
40074
40075 fi
40076
40077
40078 for wx_func in uname
40079 do
40080 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40081 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40082 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40083 echo $ECHO_N "(cached) $ECHO_C" >&6
40084 else
40085
40086 cat >conftest.$ac_ext <<_ACEOF
40087
40088 /* confdefs.h. */
40089 _ACEOF
40090 cat confdefs.h >>conftest.$ac_ext
40091 cat >>conftest.$ac_ext <<_ACEOF
40092 /* end confdefs.h. */
40093
40094 #include <sys/utsname.h>
40095 $ac_includes_default
40096
40097 int
40098 main ()
40099 {
40100
40101 #ifndef $wx_func
40102 &$wx_func;
40103 #endif
40104
40105
40106 ;
40107 return 0;
40108 }
40109
40110 _ACEOF
40111 rm -f conftest.$ac_objext conftest$ac_exeext
40112 if { (ac_try="$ac_link"
40113 case "(($ac_try" in
40114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40115 *) ac_try_echo=$ac_try;;
40116 esac
40117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40118 (eval "$ac_link") 2>conftest.er1
40119 ac_status=$?
40120 grep -v '^ *+' conftest.er1 >conftest.err
40121 rm -f conftest.er1
40122 cat conftest.err >&5
40123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40124 (exit $ac_status); } && {
40125 test -z "$ac_c_werror_flag" ||
40126 test ! -s conftest.err
40127 } && test -s conftest$ac_exeext &&
40128 $as_test_x conftest$ac_exeext; then
40129 eval wx_cv_func_$wx_func=yes
40130 else
40131 echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.$ac_ext >&5
40133
40134 eval wx_cv_func_$wx_func=no
40135 fi
40136
40137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40138 conftest$ac_exeext conftest.$ac_ext
40139
40140 fi
40141 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40142 { echo "$as_me:$LINENO: result: $ac_res" >&5
40143 echo "${ECHO_T}$ac_res" >&6; }
40144
40145 if eval test \$wx_cv_func_$wx_func = yes
40146 then
40147 cat >>confdefs.h <<_ACEOF
40148 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40149 _ACEOF
40150
40151
40152 else
40153 :
40154
40155 fi
40156 done
40157
40158 if test "$wx_cv_func_uname" != yes; then
40159
40160 for wx_func in gethostname
40161 do
40162 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40163 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40164 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40165 echo $ECHO_N "(cached) $ECHO_C" >&6
40166 else
40167
40168 cat >conftest.$ac_ext <<_ACEOF
40169
40170 /* confdefs.h. */
40171 _ACEOF
40172 cat confdefs.h >>conftest.$ac_ext
40173 cat >>conftest.$ac_ext <<_ACEOF
40174 /* end confdefs.h. */
40175
40176
40177 $ac_includes_default
40178
40179 int
40180 main ()
40181 {
40182
40183 #ifndef $wx_func
40184 &$wx_func;
40185 #endif
40186
40187
40188 ;
40189 return 0;
40190 }
40191
40192 _ACEOF
40193 rm -f conftest.$ac_objext conftest$ac_exeext
40194 if { (ac_try="$ac_link"
40195 case "(($ac_try" in
40196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40197 *) ac_try_echo=$ac_try;;
40198 esac
40199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40200 (eval "$ac_link") 2>conftest.er1
40201 ac_status=$?
40202 grep -v '^ *+' conftest.er1 >conftest.err
40203 rm -f conftest.er1
40204 cat conftest.err >&5
40205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40206 (exit $ac_status); } && {
40207 test -z "$ac_c_werror_flag" ||
40208 test ! -s conftest.err
40209 } && test -s conftest$ac_exeext &&
40210 $as_test_x conftest$ac_exeext; then
40211 eval wx_cv_func_$wx_func=yes
40212 else
40213 echo "$as_me: failed program was:" >&5
40214 sed 's/^/| /' conftest.$ac_ext >&5
40215
40216 eval wx_cv_func_$wx_func=no
40217 fi
40218
40219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40220 conftest$ac_exeext conftest.$ac_ext
40221
40222 fi
40223 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40224 { echo "$as_me:$LINENO: result: $ac_res" >&5
40225 echo "${ECHO_T}$ac_res" >&6; }
40226
40227 if eval test \$wx_cv_func_$wx_func = yes
40228 then
40229 cat >>confdefs.h <<_ACEOF
40230 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40231 _ACEOF
40232
40233
40234 else
40235 :
40236
40237 fi
40238 done
40239
40240 fi
40241
40242
40243 for wx_func in strtok_r
40244 do
40245 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40246 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40247 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40248 echo $ECHO_N "(cached) $ECHO_C" >&6
40249 else
40250
40251 cat >conftest.$ac_ext <<_ACEOF
40252
40253 /* confdefs.h. */
40254 _ACEOF
40255 cat confdefs.h >>conftest.$ac_ext
40256 cat >>conftest.$ac_ext <<_ACEOF
40257 /* end confdefs.h. */
40258
40259 #define _REENTRANT
40260 $ac_includes_default
40261
40262 int
40263 main ()
40264 {
40265
40266 #ifndef $wx_func
40267 &$wx_func;
40268 #endif
40269
40270
40271 ;
40272 return 0;
40273 }
40274
40275 _ACEOF
40276 rm -f conftest.$ac_objext conftest$ac_exeext
40277 if { (ac_try="$ac_link"
40278 case "(($ac_try" in
40279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40280 *) ac_try_echo=$ac_try;;
40281 esac
40282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40283 (eval "$ac_link") 2>conftest.er1
40284 ac_status=$?
40285 grep -v '^ *+' conftest.er1 >conftest.err
40286 rm -f conftest.er1
40287 cat conftest.err >&5
40288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40289 (exit $ac_status); } && {
40290 test -z "$ac_c_werror_flag" ||
40291 test ! -s conftest.err
40292 } && test -s conftest$ac_exeext &&
40293 $as_test_x conftest$ac_exeext; then
40294 eval wx_cv_func_$wx_func=yes
40295 else
40296 echo "$as_me: failed program was:" >&5
40297 sed 's/^/| /' conftest.$ac_ext >&5
40298
40299 eval wx_cv_func_$wx_func=no
40300 fi
40301
40302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40303 conftest$ac_exeext conftest.$ac_ext
40304
40305 fi
40306 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40307 { echo "$as_me:$LINENO: result: $ac_res" >&5
40308 echo "${ECHO_T}$ac_res" >&6; }
40309
40310 if eval test \$wx_cv_func_$wx_func = yes
40311 then
40312 cat >>confdefs.h <<_ACEOF
40313 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40314 _ACEOF
40315
40316
40317 else
40318 :
40319
40320 fi
40321 done
40322
40323
40324 INET_LINK=
40325
40326 for ac_func in inet_addr
40327 do
40328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40329 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40331 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40332 echo $ECHO_N "(cached) $ECHO_C" >&6
40333 else
40334 cat >conftest.$ac_ext <<_ACEOF
40335 /* confdefs.h. */
40336 _ACEOF
40337 cat confdefs.h >>conftest.$ac_ext
40338 cat >>conftest.$ac_ext <<_ACEOF
40339 /* end confdefs.h. */
40340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40342 #define $ac_func innocuous_$ac_func
40343
40344 /* System header to define __stub macros and hopefully few prototypes,
40345 which can conflict with char $ac_func (); below.
40346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40347 <limits.h> exists even on freestanding compilers. */
40348
40349 #ifdef __STDC__
40350 # include <limits.h>
40351 #else
40352 # include <assert.h>
40353 #endif
40354
40355 #undef $ac_func
40356
40357 /* Override any GCC internal prototype to avoid an error.
40358 Use char because int might match the return type of a GCC
40359 builtin and then its argument prototype would still apply. */
40360 #ifdef __cplusplus
40361 extern "C"
40362 #endif
40363 char $ac_func ();
40364 /* The GNU C library defines this for functions which it implements
40365 to always fail with ENOSYS. Some functions are actually named
40366 something starting with __ and the normal name is an alias. */
40367 #if defined __stub_$ac_func || defined __stub___$ac_func
40368 choke me
40369 #endif
40370
40371 int
40372 main ()
40373 {
40374 return $ac_func ();
40375 ;
40376 return 0;
40377 }
40378 _ACEOF
40379 rm -f conftest.$ac_objext conftest$ac_exeext
40380 if { (ac_try="$ac_link"
40381 case "(($ac_try" in
40382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40383 *) ac_try_echo=$ac_try;;
40384 esac
40385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40386 (eval "$ac_link") 2>conftest.er1
40387 ac_status=$?
40388 grep -v '^ *+' conftest.er1 >conftest.err
40389 rm -f conftest.er1
40390 cat conftest.err >&5
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); } && {
40393 test -z "$ac_c_werror_flag" ||
40394 test ! -s conftest.err
40395 } && test -s conftest$ac_exeext &&
40396 $as_test_x conftest$ac_exeext; then
40397 eval "$as_ac_var=yes"
40398 else
40399 echo "$as_me: failed program was:" >&5
40400 sed 's/^/| /' conftest.$ac_ext >&5
40401
40402 eval "$as_ac_var=no"
40403 fi
40404
40405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40406 conftest$ac_exeext conftest.$ac_ext
40407 fi
40408 ac_res=`eval echo '${'$as_ac_var'}'`
40409 { echo "$as_me:$LINENO: result: $ac_res" >&5
40410 echo "${ECHO_T}$ac_res" >&6; }
40411 if test `eval echo '${'$as_ac_var'}'` = yes; then
40412 cat >>confdefs.h <<_ACEOF
40413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40414 _ACEOF
40415 cat >>confdefs.h <<\_ACEOF
40416 #define HAVE_INET_ADDR 1
40417 _ACEOF
40418
40419 else
40420
40421 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40422 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40423 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40424 echo $ECHO_N "(cached) $ECHO_C" >&6
40425 else
40426 ac_check_lib_save_LIBS=$LIBS
40427 LIBS="-lnsl $LIBS"
40428 cat >conftest.$ac_ext <<_ACEOF
40429 /* confdefs.h. */
40430 _ACEOF
40431 cat confdefs.h >>conftest.$ac_ext
40432 cat >>conftest.$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40434
40435 /* Override any GCC internal prototype to avoid an error.
40436 Use char because int might match the return type of a GCC
40437 builtin and then its argument prototype would still apply. */
40438 #ifdef __cplusplus
40439 extern "C"
40440 #endif
40441 char inet_addr ();
40442 int
40443 main ()
40444 {
40445 return inet_addr ();
40446 ;
40447 return 0;
40448 }
40449 _ACEOF
40450 rm -f conftest.$ac_objext conftest$ac_exeext
40451 if { (ac_try="$ac_link"
40452 case "(($ac_try" in
40453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40454 *) ac_try_echo=$ac_try;;
40455 esac
40456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40457 (eval "$ac_link") 2>conftest.er1
40458 ac_status=$?
40459 grep -v '^ *+' conftest.er1 >conftest.err
40460 rm -f conftest.er1
40461 cat conftest.err >&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); } && {
40464 test -z "$ac_c_werror_flag" ||
40465 test ! -s conftest.err
40466 } && test -s conftest$ac_exeext &&
40467 $as_test_x conftest$ac_exeext; then
40468 ac_cv_lib_nsl_inet_addr=yes
40469 else
40470 echo "$as_me: failed program was:" >&5
40471 sed 's/^/| /' conftest.$ac_ext >&5
40472
40473 ac_cv_lib_nsl_inet_addr=no
40474 fi
40475
40476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40477 conftest$ac_exeext conftest.$ac_ext
40478 LIBS=$ac_check_lib_save_LIBS
40479 fi
40480 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40481 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40482 if test $ac_cv_lib_nsl_inet_addr = yes; then
40483 INET_LINK="nsl"
40484 else
40485
40486 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40487 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40488 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40489 echo $ECHO_N "(cached) $ECHO_C" >&6
40490 else
40491 ac_check_lib_save_LIBS=$LIBS
40492 LIBS="-lresolv $LIBS"
40493 cat >conftest.$ac_ext <<_ACEOF
40494 /* confdefs.h. */
40495 _ACEOF
40496 cat confdefs.h >>conftest.$ac_ext
40497 cat >>conftest.$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40499
40500 /* Override any GCC internal prototype to avoid an error.
40501 Use char because int might match the return type of a GCC
40502 builtin and then its argument prototype would still apply. */
40503 #ifdef __cplusplus
40504 extern "C"
40505 #endif
40506 char inet_addr ();
40507 int
40508 main ()
40509 {
40510 return inet_addr ();
40511 ;
40512 return 0;
40513 }
40514 _ACEOF
40515 rm -f conftest.$ac_objext conftest$ac_exeext
40516 if { (ac_try="$ac_link"
40517 case "(($ac_try" in
40518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40519 *) ac_try_echo=$ac_try;;
40520 esac
40521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40522 (eval "$ac_link") 2>conftest.er1
40523 ac_status=$?
40524 grep -v '^ *+' conftest.er1 >conftest.err
40525 rm -f conftest.er1
40526 cat conftest.err >&5
40527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40528 (exit $ac_status); } && {
40529 test -z "$ac_c_werror_flag" ||
40530 test ! -s conftest.err
40531 } && test -s conftest$ac_exeext &&
40532 $as_test_x conftest$ac_exeext; then
40533 ac_cv_lib_resolv_inet_addr=yes
40534 else
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.$ac_ext >&5
40537
40538 ac_cv_lib_resolv_inet_addr=no
40539 fi
40540
40541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40542 conftest$ac_exeext conftest.$ac_ext
40543 LIBS=$ac_check_lib_save_LIBS
40544 fi
40545 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40546 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40547 if test $ac_cv_lib_resolv_inet_addr = yes; then
40548 INET_LINK="resolv"
40549 else
40550
40551 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40552 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40553 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40554 echo $ECHO_N "(cached) $ECHO_C" >&6
40555 else
40556 ac_check_lib_save_LIBS=$LIBS
40557 LIBS="-lsocket $LIBS"
40558 cat >conftest.$ac_ext <<_ACEOF
40559 /* confdefs.h. */
40560 _ACEOF
40561 cat confdefs.h >>conftest.$ac_ext
40562 cat >>conftest.$ac_ext <<_ACEOF
40563 /* end confdefs.h. */
40564
40565 /* Override any GCC internal prototype to avoid an error.
40566 Use char because int might match the return type of a GCC
40567 builtin and then its argument prototype would still apply. */
40568 #ifdef __cplusplus
40569 extern "C"
40570 #endif
40571 char inet_addr ();
40572 int
40573 main ()
40574 {
40575 return inet_addr ();
40576 ;
40577 return 0;
40578 }
40579 _ACEOF
40580 rm -f conftest.$ac_objext conftest$ac_exeext
40581 if { (ac_try="$ac_link"
40582 case "(($ac_try" in
40583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40584 *) ac_try_echo=$ac_try;;
40585 esac
40586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40587 (eval "$ac_link") 2>conftest.er1
40588 ac_status=$?
40589 grep -v '^ *+' conftest.er1 >conftest.err
40590 rm -f conftest.er1
40591 cat conftest.err >&5
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); } && {
40594 test -z "$ac_c_werror_flag" ||
40595 test ! -s conftest.err
40596 } && test -s conftest$ac_exeext &&
40597 $as_test_x conftest$ac_exeext; then
40598 ac_cv_lib_socket_inet_addr=yes
40599 else
40600 echo "$as_me: failed program was:" >&5
40601 sed 's/^/| /' conftest.$ac_ext >&5
40602
40603 ac_cv_lib_socket_inet_addr=no
40604 fi
40605
40606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40607 conftest$ac_exeext conftest.$ac_ext
40608 LIBS=$ac_check_lib_save_LIBS
40609 fi
40610 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40611 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40612 if test $ac_cv_lib_socket_inet_addr = yes; then
40613 INET_LINK="socket"
40614
40615 fi
40616
40617
40618
40619 fi
40620
40621
40622
40623 fi
40624
40625
40626
40627 fi
40628 done
40629
40630
40631
40632 for ac_func in inet_aton
40633 do
40634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40638 echo $ECHO_N "(cached) $ECHO_C" >&6
40639 else
40640 cat >conftest.$ac_ext <<_ACEOF
40641 /* confdefs.h. */
40642 _ACEOF
40643 cat confdefs.h >>conftest.$ac_ext
40644 cat >>conftest.$ac_ext <<_ACEOF
40645 /* end confdefs.h. */
40646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40648 #define $ac_func innocuous_$ac_func
40649
40650 /* System header to define __stub macros and hopefully few prototypes,
40651 which can conflict with char $ac_func (); below.
40652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40653 <limits.h> exists even on freestanding compilers. */
40654
40655 #ifdef __STDC__
40656 # include <limits.h>
40657 #else
40658 # include <assert.h>
40659 #endif
40660
40661 #undef $ac_func
40662
40663 /* Override any GCC internal prototype to avoid an error.
40664 Use char because int might match the return type of a GCC
40665 builtin and then its argument prototype would still apply. */
40666 #ifdef __cplusplus
40667 extern "C"
40668 #endif
40669 char $ac_func ();
40670 /* The GNU C library defines this for functions which it implements
40671 to always fail with ENOSYS. Some functions are actually named
40672 something starting with __ and the normal name is an alias. */
40673 #if defined __stub_$ac_func || defined __stub___$ac_func
40674 choke me
40675 #endif
40676
40677 int
40678 main ()
40679 {
40680 return $ac_func ();
40681 ;
40682 return 0;
40683 }
40684 _ACEOF
40685 rm -f conftest.$ac_objext conftest$ac_exeext
40686 if { (ac_try="$ac_link"
40687 case "(($ac_try" in
40688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40689 *) ac_try_echo=$ac_try;;
40690 esac
40691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40692 (eval "$ac_link") 2>conftest.er1
40693 ac_status=$?
40694 grep -v '^ *+' conftest.er1 >conftest.err
40695 rm -f conftest.er1
40696 cat conftest.err >&5
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); } && {
40699 test -z "$ac_c_werror_flag" ||
40700 test ! -s conftest.err
40701 } && test -s conftest$ac_exeext &&
40702 $as_test_x conftest$ac_exeext; then
40703 eval "$as_ac_var=yes"
40704 else
40705 echo "$as_me: failed program was:" >&5
40706 sed 's/^/| /' conftest.$ac_ext >&5
40707
40708 eval "$as_ac_var=no"
40709 fi
40710
40711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40712 conftest$ac_exeext conftest.$ac_ext
40713 fi
40714 ac_res=`eval echo '${'$as_ac_var'}'`
40715 { echo "$as_me:$LINENO: result: $ac_res" >&5
40716 echo "${ECHO_T}$ac_res" >&6; }
40717 if test `eval echo '${'$as_ac_var'}'` = yes; then
40718 cat >>confdefs.h <<_ACEOF
40719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40720 _ACEOF
40721 cat >>confdefs.h <<\_ACEOF
40722 #define HAVE_INET_ATON 1
40723 _ACEOF
40724
40725 else
40726
40727 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40728 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40729 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40730 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40731 echo $ECHO_N "(cached) $ECHO_C" >&6
40732 else
40733 ac_check_lib_save_LIBS=$LIBS
40734 LIBS="-l$INET_LINK $LIBS"
40735 cat >conftest.$ac_ext <<_ACEOF
40736 /* confdefs.h. */
40737 _ACEOF
40738 cat confdefs.h >>conftest.$ac_ext
40739 cat >>conftest.$ac_ext <<_ACEOF
40740 /* end confdefs.h. */
40741
40742 /* Override any GCC internal prototype to avoid an error.
40743 Use char because int might match the return type of a GCC
40744 builtin and then its argument prototype would still apply. */
40745 #ifdef __cplusplus
40746 extern "C"
40747 #endif
40748 char inet_aton ();
40749 int
40750 main ()
40751 {
40752 return inet_aton ();
40753 ;
40754 return 0;
40755 }
40756 _ACEOF
40757 rm -f conftest.$ac_objext conftest$ac_exeext
40758 if { (ac_try="$ac_link"
40759 case "(($ac_try" in
40760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40761 *) ac_try_echo=$ac_try;;
40762 esac
40763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40764 (eval "$ac_link") 2>conftest.er1
40765 ac_status=$?
40766 grep -v '^ *+' conftest.er1 >conftest.err
40767 rm -f conftest.er1
40768 cat conftest.err >&5
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); } && {
40771 test -z "$ac_c_werror_flag" ||
40772 test ! -s conftest.err
40773 } && test -s conftest$ac_exeext &&
40774 $as_test_x conftest$ac_exeext; then
40775 eval "$as_ac_Lib=yes"
40776 else
40777 echo "$as_me: failed program was:" >&5
40778 sed 's/^/| /' conftest.$ac_ext >&5
40779
40780 eval "$as_ac_Lib=no"
40781 fi
40782
40783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40784 conftest$ac_exeext conftest.$ac_ext
40785 LIBS=$ac_check_lib_save_LIBS
40786 fi
40787 ac_res=`eval echo '${'$as_ac_Lib'}'`
40788 { echo "$as_me:$LINENO: result: $ac_res" >&5
40789 echo "${ECHO_T}$ac_res" >&6; }
40790 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40791 cat >>confdefs.h <<\_ACEOF
40792 #define HAVE_INET_ATON 1
40793 _ACEOF
40794
40795 fi
40796
40797
40798 fi
40799 done
40800
40801
40802 if test "x$INET_LINK" != "x"; then
40803 cat >>confdefs.h <<\_ACEOF
40804 #define HAVE_INET_ADDR 1
40805 _ACEOF
40806
40807 INET_LINK=" -l$INET_LINK"
40808 fi
40809
40810
40811 for wx_func in fdopen
40812 do
40813 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40814 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40815 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40816 echo $ECHO_N "(cached) $ECHO_C" >&6
40817 else
40818
40819 cat >conftest.$ac_ext <<_ACEOF
40820
40821 /* confdefs.h. */
40822 _ACEOF
40823 cat confdefs.h >>conftest.$ac_ext
40824 cat >>conftest.$ac_ext <<_ACEOF
40825 /* end confdefs.h. */
40826
40827
40828 $ac_includes_default
40829
40830 int
40831 main ()
40832 {
40833
40834 #ifndef $wx_func
40835 &$wx_func;
40836 #endif
40837
40838
40839 ;
40840 return 0;
40841 }
40842
40843 _ACEOF
40844 rm -f conftest.$ac_objext conftest$ac_exeext
40845 if { (ac_try="$ac_link"
40846 case "(($ac_try" in
40847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40848 *) ac_try_echo=$ac_try;;
40849 esac
40850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40851 (eval "$ac_link") 2>conftest.er1
40852 ac_status=$?
40853 grep -v '^ *+' conftest.er1 >conftest.err
40854 rm -f conftest.er1
40855 cat conftest.err >&5
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); } && {
40858 test -z "$ac_c_werror_flag" ||
40859 test ! -s conftest.err
40860 } && test -s conftest$ac_exeext &&
40861 $as_test_x conftest$ac_exeext; then
40862 eval wx_cv_func_$wx_func=yes
40863 else
40864 echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40866
40867 eval wx_cv_func_$wx_func=no
40868 fi
40869
40870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40871 conftest$ac_exeext conftest.$ac_ext
40872
40873 fi
40874 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40875 { echo "$as_me:$LINENO: result: $ac_res" >&5
40876 echo "${ECHO_T}$ac_res" >&6; }
40877
40878 if eval test \$wx_cv_func_$wx_func = yes
40879 then
40880 cat >>confdefs.h <<_ACEOF
40881 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40882 _ACEOF
40883
40884
40885 else
40886 :
40887
40888 fi
40889 done
40890
40891
40892 if test "$wxUSE_TARSTREAM" = "yes"; then
40893
40894 for wx_func in sysconf
40895 do
40896 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40897 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40898 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40899 echo $ECHO_N "(cached) $ECHO_C" >&6
40900 else
40901
40902 cat >conftest.$ac_ext <<_ACEOF
40903
40904 /* confdefs.h. */
40905 _ACEOF
40906 cat confdefs.h >>conftest.$ac_ext
40907 cat >>conftest.$ac_ext <<_ACEOF
40908 /* end confdefs.h. */
40909
40910
40911 $ac_includes_default
40912
40913 int
40914 main ()
40915 {
40916
40917 #ifndef $wx_func
40918 &$wx_func;
40919 #endif
40920
40921
40922 ;
40923 return 0;
40924 }
40925
40926 _ACEOF
40927 rm -f conftest.$ac_objext conftest$ac_exeext
40928 if { (ac_try="$ac_link"
40929 case "(($ac_try" in
40930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40931 *) ac_try_echo=$ac_try;;
40932 esac
40933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40934 (eval "$ac_link") 2>conftest.er1
40935 ac_status=$?
40936 grep -v '^ *+' conftest.er1 >conftest.err
40937 rm -f conftest.er1
40938 cat conftest.err >&5
40939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40940 (exit $ac_status); } && {
40941 test -z "$ac_c_werror_flag" ||
40942 test ! -s conftest.err
40943 } && test -s conftest$ac_exeext &&
40944 $as_test_x conftest$ac_exeext; then
40945 eval wx_cv_func_$wx_func=yes
40946 else
40947 echo "$as_me: failed program was:" >&5
40948 sed 's/^/| /' conftest.$ac_ext >&5
40949
40950 eval wx_cv_func_$wx_func=no
40951 fi
40952
40953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40954 conftest$ac_exeext conftest.$ac_ext
40955
40956 fi
40957 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40958 { echo "$as_me:$LINENO: result: $ac_res" >&5
40959 echo "${ECHO_T}$ac_res" >&6; }
40960
40961 if eval test \$wx_cv_func_$wx_func = yes
40962 then
40963 cat >>confdefs.h <<_ACEOF
40964 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40965 _ACEOF
40966
40967
40968 else
40969 :
40970
40971 fi
40972 done
40973
40974
40975
40976 for wx_func in getpwuid_r
40977 do
40978 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40979 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40980 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40981 echo $ECHO_N "(cached) $ECHO_C" >&6
40982 else
40983
40984 cat >conftest.$ac_ext <<_ACEOF
40985
40986 /* confdefs.h. */
40987 _ACEOF
40988 cat confdefs.h >>conftest.$ac_ext
40989 cat >>conftest.$ac_ext <<_ACEOF
40990 /* end confdefs.h. */
40991
40992
40993 #define _REENTRANT
40994 #include <pwd.h>
40995
40996 $ac_includes_default
40997
40998 int
40999 main ()
41000 {
41001
41002 #ifndef $wx_func
41003 &$wx_func;
41004 #endif
41005
41006 struct passwd pw, *ppw;
41007 char buf[1024];
41008 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
41009
41010
41011 ;
41012 return 0;
41013 }
41014
41015 _ACEOF
41016 rm -f conftest.$ac_objext conftest$ac_exeext
41017 if { (ac_try="$ac_link"
41018 case "(($ac_try" in
41019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41020 *) ac_try_echo=$ac_try;;
41021 esac
41022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41023 (eval "$ac_link") 2>conftest.er1
41024 ac_status=$?
41025 grep -v '^ *+' conftest.er1 >conftest.err
41026 rm -f conftest.er1
41027 cat conftest.err >&5
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); } && {
41030 test -z "$ac_c_werror_flag" ||
41031 test ! -s conftest.err
41032 } && test -s conftest$ac_exeext &&
41033 $as_test_x conftest$ac_exeext; then
41034 eval wx_cv_func_$wx_func=yes
41035 else
41036 echo "$as_me: failed program was:" >&5
41037 sed 's/^/| /' conftest.$ac_ext >&5
41038
41039 eval wx_cv_func_$wx_func=no
41040 fi
41041
41042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41043 conftest$ac_exeext conftest.$ac_ext
41044
41045 fi
41046 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41047 { echo "$as_me:$LINENO: result: $ac_res" >&5
41048 echo "${ECHO_T}$ac_res" >&6; }
41049
41050 if eval test \$wx_cv_func_$wx_func = yes
41051 then
41052 cat >>confdefs.h <<_ACEOF
41053 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41054 _ACEOF
41055
41056
41057 else
41058 :
41059
41060 fi
41061 done
41062
41063
41064
41065 for wx_func in getgrgid_r
41066 do
41067 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41068 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41069 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41070 echo $ECHO_N "(cached) $ECHO_C" >&6
41071 else
41072
41073 cat >conftest.$ac_ext <<_ACEOF
41074
41075 /* confdefs.h. */
41076 _ACEOF
41077 cat confdefs.h >>conftest.$ac_ext
41078 cat >>conftest.$ac_ext <<_ACEOF
41079 /* end confdefs.h. */
41080
41081
41082 #define _REENTRANT
41083 #include <grp.h>
41084
41085 $ac_includes_default
41086
41087 int
41088 main ()
41089 {
41090
41091 #ifndef $wx_func
41092 &$wx_func;
41093 #endif
41094
41095 struct group grp, *pgrp;
41096 char buf[1024];
41097 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41098
41099
41100 ;
41101 return 0;
41102 }
41103
41104 _ACEOF
41105 rm -f conftest.$ac_objext conftest$ac_exeext
41106 if { (ac_try="$ac_link"
41107 case "(($ac_try" in
41108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41109 *) ac_try_echo=$ac_try;;
41110 esac
41111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41112 (eval "$ac_link") 2>conftest.er1
41113 ac_status=$?
41114 grep -v '^ *+' conftest.er1 >conftest.err
41115 rm -f conftest.er1
41116 cat conftest.err >&5
41117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118 (exit $ac_status); } && {
41119 test -z "$ac_c_werror_flag" ||
41120 test ! -s conftest.err
41121 } && test -s conftest$ac_exeext &&
41122 $as_test_x conftest$ac_exeext; then
41123 eval wx_cv_func_$wx_func=yes
41124 else
41125 echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.$ac_ext >&5
41127
41128 eval wx_cv_func_$wx_func=no
41129 fi
41130
41131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41132 conftest$ac_exeext conftest.$ac_ext
41133
41134 fi
41135 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41136 { echo "$as_me:$LINENO: result: $ac_res" >&5
41137 echo "${ECHO_T}$ac_res" >&6; }
41138
41139 if eval test \$wx_cv_func_$wx_func = yes
41140 then
41141 cat >>confdefs.h <<_ACEOF
41142 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41143 _ACEOF
41144
41145
41146 else
41147 :
41148
41149 fi
41150 done
41151
41152 fi
41153
41154 fi
41155
41156
41157
41158 cat >confcache <<\_ACEOF
41159 # This file is a shell script that caches the results of configure
41160 # tests run on this system so they can be shared between configure
41161 # scripts and configure runs, see configure's option --config-cache.
41162 # It is not useful on other systems. If it contains results you don't
41163 # want to keep, you may remove or edit it.
41164 #
41165 # config.status only pays attention to the cache file if you give it
41166 # the --recheck option to rerun configure.
41167 #
41168 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41169 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41170 # following values.
41171
41172 _ACEOF
41173
41174 # The following way of writing the cache mishandles newlines in values,
41175 # but we know of no workaround that is simple, portable, and efficient.
41176 # So, we kill variables containing newlines.
41177 # Ultrix sh set writes to stderr and can't be redirected directly,
41178 # and sets the high bit in the cache file unless we assign to the vars.
41179 (
41180 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41181 eval ac_val=\$$ac_var
41182 case $ac_val in #(
41183 *${as_nl}*)
41184 case $ac_var in #(
41185 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41186 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41187 esac
41188 case $ac_var in #(
41189 _ | IFS | as_nl) ;; #(
41190 *) $as_unset $ac_var ;;
41191 esac ;;
41192 esac
41193 done
41194
41195 (set) 2>&1 |
41196 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41197 *${as_nl}ac_space=\ *)
41198 # `set' does not quote correctly, so add quotes (double-quote
41199 # substitution turns \\\\ into \\, and sed turns \\ into \).
41200 sed -n \
41201 "s/'/'\\\\''/g;
41202 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41203 ;; #(
41204 *)
41205 # `set' quotes correctly as required by POSIX, so do not add quotes.
41206 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41207 ;;
41208 esac |
41209 sort
41210 ) |
41211 sed '
41212 /^ac_cv_env_/b end
41213 t clear
41214 :clear
41215 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41216 t end
41217 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41218 :end' >>confcache
41219 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41220 if test -w "$cache_file"; then
41221 test "x$cache_file" != "x/dev/null" &&
41222 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41223 echo "$as_me: updating cache $cache_file" >&6;}
41224 cat confcache >$cache_file
41225 else
41226 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41227 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41228 fi
41229 fi
41230 rm -f confcache
41231
41232
41233 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41234
41235
41236 THREADS_LINK=
41237 THREADS_CFLAGS=
41238
41239 if test "$wxUSE_THREADS" = "yes" ; then
41240 if test "$USE_BEOS" = 1; then
41241 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41242 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41243 wxUSE_THREADS="no"
41244 fi
41245 fi
41246
41247 if test "$wxUSE_THREADS" = "yes" ; then
41248
41249
41250 THREAD_OPTS="-pthread"
41251 if test "x$SUNCXX" = xyes; then
41252 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41253 fi
41254
41255 case "${host}" in
41256 *-*-solaris2* | *-*-sunos4* )
41257 if test "x$GCC" = "xyes"; then
41258 THREAD_OPTS="-pthreads $THREAD_OPTS"
41259 fi
41260 ;;
41261 *-*-freebsd*)
41262 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41263 ;;
41264 *-*-darwin* | *-*-cygwin* )
41265 THREAD_OPTS=""
41266 ;;
41267 *-*-aix*)
41268 THREAD_OPTS="pthreads"
41269 ;;
41270 *-hp-hpux* )
41271 if test "x$GCC" = "xyes"; then
41272 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41273 THREAD_OPTS=""
41274 else
41275 THREAD_OPTS="-mt"
41276 fi
41277 ;;
41278
41279 *-*-irix* )
41280 if test "x$GCC" = "xyes"; then
41281 THREAD_OPTS=""
41282 fi
41283 ;;
41284
41285 *-*-*UnixWare*)
41286 if test "x$GCC" != "xyes"; then
41287 THREAD_OPTS="-Ethread"
41288 fi
41289 ;;
41290 esac
41291
41292 THREAD_OPTS="$THREAD_OPTS pthread none"
41293
41294 THREADS_OK=no
41295 for flag in $THREAD_OPTS; do
41296 case $flag in
41297 none)
41298 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41299 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41300 ;;
41301
41302 -*)
41303 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41304 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41305 THREADS_CFLAGS="$flag"
41306 ;;
41307
41308 *)
41309 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41310 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41311 THREADS_LINK="-l$flag"
41312 ;;
41313 esac
41314
41315 save_LIBS="$LIBS"
41316 save_CFLAGS="$CFLAGS"
41317 LIBS="$THREADS_LINK $LIBS"
41318 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41319
41320 cat >conftest.$ac_ext <<_ACEOF
41321 /* confdefs.h. */
41322 _ACEOF
41323 cat confdefs.h >>conftest.$ac_ext
41324 cat >>conftest.$ac_ext <<_ACEOF
41325 /* end confdefs.h. */
41326 #include <pthread.h>
41327 int
41328 main ()
41329 {
41330 pthread_create(0,0,0,0);
41331 ;
41332 return 0;
41333 }
41334 _ACEOF
41335 rm -f conftest.$ac_objext conftest$ac_exeext
41336 if { (ac_try="$ac_link"
41337 case "(($ac_try" in
41338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41339 *) ac_try_echo=$ac_try;;
41340 esac
41341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41342 (eval "$ac_link") 2>conftest.er1
41343 ac_status=$?
41344 grep -v '^ *+' conftest.er1 >conftest.err
41345 rm -f conftest.er1
41346 cat conftest.err >&5
41347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41348 (exit $ac_status); } && {
41349 test -z "$ac_c_werror_flag" ||
41350 test ! -s conftest.err
41351 } && test -s conftest$ac_exeext &&
41352 $as_test_x conftest$ac_exeext; then
41353 THREADS_OK=yes
41354 else
41355 echo "$as_me: failed program was:" >&5
41356 sed 's/^/| /' conftest.$ac_ext >&5
41357
41358
41359 fi
41360
41361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41362 conftest$ac_exeext conftest.$ac_ext
41363
41364 LIBS="$save_LIBS"
41365 CFLAGS="$save_CFLAGS"
41366
41367 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41368 echo "${ECHO_T}$THREADS_OK" >&6; }
41369 if test "x$THREADS_OK" = "xyes"; then
41370 break;
41371 fi
41372
41373 THREADS_LINK=""
41374 THREADS_CFLAGS=""
41375 done
41376
41377 if test "x$THREADS_OK" != "xyes"; then
41378 wxUSE_THREADS=no
41379 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41380 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41381 else
41382 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41383 LIBS="$THREADS_LINK $LIBS"
41384
41385 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41386 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41387 flag=no
41388 case "${host}" in
41389 *-aix*)
41390 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41391 flag="-D_THREAD_SAFE"
41392 ;;
41393 *-freebsd*)
41394 flag="-D_THREAD_SAFE"
41395 ;;
41396 *-hp-hpux* )
41397 flag="-D_REENTRANT"
41398 if test "x$GCC" != "xyes"; then
41399 flag="$flag -D_RWSTD_MULTI_THREAD"
41400 fi
41401 ;;
41402 *solaris* | alpha*-osf*)
41403 flag="-D_REENTRANT"
41404 ;;
41405 esac
41406 { echo "$as_me:$LINENO: result: ${flag}" >&5
41407 echo "${ECHO_T}${flag}" >&6; }
41408 if test "x$flag" != xno; then
41409 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41410 fi
41411
41412 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41413 fi
41414 fi
41415
41416 if test "$wxUSE_THREADS" = "yes" ; then
41417
41418 for ac_func in thr_setconcurrency
41419 do
41420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41424 echo $ECHO_N "(cached) $ECHO_C" >&6
41425 else
41426 cat >conftest.$ac_ext <<_ACEOF
41427 /* confdefs.h. */
41428 _ACEOF
41429 cat confdefs.h >>conftest.$ac_ext
41430 cat >>conftest.$ac_ext <<_ACEOF
41431 /* end confdefs.h. */
41432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41434 #define $ac_func innocuous_$ac_func
41435
41436 /* System header to define __stub macros and hopefully few prototypes,
41437 which can conflict with char $ac_func (); below.
41438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41439 <limits.h> exists even on freestanding compilers. */
41440
41441 #ifdef __STDC__
41442 # include <limits.h>
41443 #else
41444 # include <assert.h>
41445 #endif
41446
41447 #undef $ac_func
41448
41449 /* Override any GCC internal prototype to avoid an error.
41450 Use char because int might match the return type of a GCC
41451 builtin and then its argument prototype would still apply. */
41452 #ifdef __cplusplus
41453 extern "C"
41454 #endif
41455 char $ac_func ();
41456 /* The GNU C library defines this for functions which it implements
41457 to always fail with ENOSYS. Some functions are actually named
41458 something starting with __ and the normal name is an alias. */
41459 #if defined __stub_$ac_func || defined __stub___$ac_func
41460 choke me
41461 #endif
41462
41463 int
41464 main ()
41465 {
41466 return $ac_func ();
41467 ;
41468 return 0;
41469 }
41470 _ACEOF
41471 rm -f conftest.$ac_objext conftest$ac_exeext
41472 if { (ac_try="$ac_link"
41473 case "(($ac_try" in
41474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41475 *) ac_try_echo=$ac_try;;
41476 esac
41477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41478 (eval "$ac_link") 2>conftest.er1
41479 ac_status=$?
41480 grep -v '^ *+' conftest.er1 >conftest.err
41481 rm -f conftest.er1
41482 cat conftest.err >&5
41483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41484 (exit $ac_status); } && {
41485 test -z "$ac_c_werror_flag" ||
41486 test ! -s conftest.err
41487 } && test -s conftest$ac_exeext &&
41488 $as_test_x conftest$ac_exeext; then
41489 eval "$as_ac_var=yes"
41490 else
41491 echo "$as_me: failed program was:" >&5
41492 sed 's/^/| /' conftest.$ac_ext >&5
41493
41494 eval "$as_ac_var=no"
41495 fi
41496
41497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41498 conftest$ac_exeext conftest.$ac_ext
41499 fi
41500 ac_res=`eval echo '${'$as_ac_var'}'`
41501 { echo "$as_me:$LINENO: result: $ac_res" >&5
41502 echo "${ECHO_T}$ac_res" >&6; }
41503 if test `eval echo '${'$as_ac_var'}'` = yes; then
41504 cat >>confdefs.h <<_ACEOF
41505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41506 _ACEOF
41507
41508 fi
41509 done
41510
41511
41512 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41513 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41514 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41515 echo $ECHO_N "(cached) $ECHO_C" >&6
41516 else
41517
41518 ac_ext=cpp
41519 ac_cpp='$CXXCPP $CPPFLAGS'
41520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41523
41524 cat >conftest.$ac_ext <<_ACEOF
41525 /* confdefs.h. */
41526 _ACEOF
41527 cat confdefs.h >>conftest.$ac_ext
41528 cat >>conftest.$ac_ext <<_ACEOF
41529 /* end confdefs.h. */
41530 #include <pthread.h>
41531 void ThreadCleanupFunc(void *p);
41532
41533 int
41534 main ()
41535 {
41536
41537 void *p;
41538 pthread_cleanup_push(ThreadCleanupFunc, p);
41539 pthread_cleanup_pop(0);
41540
41541 ;
41542 return 0;
41543 }
41544 _ACEOF
41545 rm -f conftest.$ac_objext
41546 if { (ac_try="$ac_compile"
41547 case "(($ac_try" in
41548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41549 *) ac_try_echo=$ac_try;;
41550 esac
41551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41552 (eval "$ac_compile") 2>conftest.er1
41553 ac_status=$?
41554 grep -v '^ *+' conftest.er1 >conftest.err
41555 rm -f conftest.er1
41556 cat conftest.err >&5
41557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41558 (exit $ac_status); } && {
41559 test -z "$ac_cxx_werror_flag" ||
41560 test ! -s conftest.err
41561 } && test -s conftest.$ac_objext; then
41562
41563 wx_cv_func_pthread_cleanup=yes
41564
41565 else
41566 echo "$as_me: failed program was:" >&5
41567 sed 's/^/| /' conftest.$ac_ext >&5
41568
41569
41570 wx_cv_func_pthread_cleanup=no
41571
41572
41573 fi
41574
41575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41576 ac_ext=c
41577 ac_cpp='$CPP $CPPFLAGS'
41578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41581
41582
41583 fi
41584 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41585 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41586 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41587 cat >>confdefs.h <<\_ACEOF
41588 #define wxHAVE_PTHREAD_CLEANUP 1
41589 _ACEOF
41590
41591 fi
41592
41593
41594 for ac_header in sched.h
41595 do
41596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41600 echo $ECHO_N "(cached) $ECHO_C" >&6
41601 else
41602 cat >conftest.$ac_ext <<_ACEOF
41603 /* confdefs.h. */
41604 _ACEOF
41605 cat confdefs.h >>conftest.$ac_ext
41606 cat >>conftest.$ac_ext <<_ACEOF
41607 /* end confdefs.h. */
41608 $ac_includes_default
41609
41610 #include <$ac_header>
41611 _ACEOF
41612 rm -f conftest.$ac_objext
41613 if { (ac_try="$ac_compile"
41614 case "(($ac_try" in
41615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41616 *) ac_try_echo=$ac_try;;
41617 esac
41618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41619 (eval "$ac_compile") 2>conftest.er1
41620 ac_status=$?
41621 grep -v '^ *+' conftest.er1 >conftest.err
41622 rm -f conftest.er1
41623 cat conftest.err >&5
41624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41625 (exit $ac_status); } && {
41626 test -z "$ac_c_werror_flag" ||
41627 test ! -s conftest.err
41628 } && test -s conftest.$ac_objext; then
41629 eval "$as_ac_Header=yes"
41630 else
41631 echo "$as_me: failed program was:" >&5
41632 sed 's/^/| /' conftest.$ac_ext >&5
41633
41634 eval "$as_ac_Header=no"
41635 fi
41636
41637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41638 fi
41639 ac_res=`eval echo '${'$as_ac_Header'}'`
41640 { echo "$as_me:$LINENO: result: $ac_res" >&5
41641 echo "${ECHO_T}$ac_res" >&6; }
41642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41643 cat >>confdefs.h <<_ACEOF
41644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41645 _ACEOF
41646
41647 fi
41648
41649 done
41650
41651 if test "$ac_cv_header_sched_h" = "yes"; then
41652 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41653 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41654 if test "${ac_cv_func_sched_yield+set}" = set; then
41655 echo $ECHO_N "(cached) $ECHO_C" >&6
41656 else
41657 cat >conftest.$ac_ext <<_ACEOF
41658 /* confdefs.h. */
41659 _ACEOF
41660 cat confdefs.h >>conftest.$ac_ext
41661 cat >>conftest.$ac_ext <<_ACEOF
41662 /* end confdefs.h. */
41663 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41665 #define sched_yield innocuous_sched_yield
41666
41667 /* System header to define __stub macros and hopefully few prototypes,
41668 which can conflict with char sched_yield (); below.
41669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41670 <limits.h> exists even on freestanding compilers. */
41671
41672 #ifdef __STDC__
41673 # include <limits.h>
41674 #else
41675 # include <assert.h>
41676 #endif
41677
41678 #undef sched_yield
41679
41680 /* Override any GCC internal prototype to avoid an error.
41681 Use char because int might match the return type of a GCC
41682 builtin and then its argument prototype would still apply. */
41683 #ifdef __cplusplus
41684 extern "C"
41685 #endif
41686 char sched_yield ();
41687 /* The GNU C library defines this for functions which it implements
41688 to always fail with ENOSYS. Some functions are actually named
41689 something starting with __ and the normal name is an alias. */
41690 #if defined __stub_sched_yield || defined __stub___sched_yield
41691 choke me
41692 #endif
41693
41694 int
41695 main ()
41696 {
41697 return sched_yield ();
41698 ;
41699 return 0;
41700 }
41701 _ACEOF
41702 rm -f conftest.$ac_objext conftest$ac_exeext
41703 if { (ac_try="$ac_link"
41704 case "(($ac_try" in
41705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41706 *) ac_try_echo=$ac_try;;
41707 esac
41708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41709 (eval "$ac_link") 2>conftest.er1
41710 ac_status=$?
41711 grep -v '^ *+' conftest.er1 >conftest.err
41712 rm -f conftest.er1
41713 cat conftest.err >&5
41714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41715 (exit $ac_status); } && {
41716 test -z "$ac_c_werror_flag" ||
41717 test ! -s conftest.err
41718 } && test -s conftest$ac_exeext &&
41719 $as_test_x conftest$ac_exeext; then
41720 ac_cv_func_sched_yield=yes
41721 else
41722 echo "$as_me: failed program was:" >&5
41723 sed 's/^/| /' conftest.$ac_ext >&5
41724
41725 ac_cv_func_sched_yield=no
41726 fi
41727
41728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41729 conftest$ac_exeext conftest.$ac_ext
41730 fi
41731 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41732 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41733 if test $ac_cv_func_sched_yield = yes; then
41734 cat >>confdefs.h <<\_ACEOF
41735 #define HAVE_SCHED_YIELD 1
41736 _ACEOF
41737
41738 else
41739
41740 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41741 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41742 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41743 echo $ECHO_N "(cached) $ECHO_C" >&6
41744 else
41745 ac_check_lib_save_LIBS=$LIBS
41746 LIBS="-lposix4 $LIBS"
41747 cat >conftest.$ac_ext <<_ACEOF
41748 /* confdefs.h. */
41749 _ACEOF
41750 cat confdefs.h >>conftest.$ac_ext
41751 cat >>conftest.$ac_ext <<_ACEOF
41752 /* end confdefs.h. */
41753
41754 /* Override any GCC internal prototype to avoid an error.
41755 Use char because int might match the return type of a GCC
41756 builtin and then its argument prototype would still apply. */
41757 #ifdef __cplusplus
41758 extern "C"
41759 #endif
41760 char sched_yield ();
41761 int
41762 main ()
41763 {
41764 return sched_yield ();
41765 ;
41766 return 0;
41767 }
41768 _ACEOF
41769 rm -f conftest.$ac_objext conftest$ac_exeext
41770 if { (ac_try="$ac_link"
41771 case "(($ac_try" in
41772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41773 *) ac_try_echo=$ac_try;;
41774 esac
41775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41776 (eval "$ac_link") 2>conftest.er1
41777 ac_status=$?
41778 grep -v '^ *+' conftest.er1 >conftest.err
41779 rm -f conftest.er1
41780 cat conftest.err >&5
41781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41782 (exit $ac_status); } && {
41783 test -z "$ac_c_werror_flag" ||
41784 test ! -s conftest.err
41785 } && test -s conftest$ac_exeext &&
41786 $as_test_x conftest$ac_exeext; then
41787 ac_cv_lib_posix4_sched_yield=yes
41788 else
41789 echo "$as_me: failed program was:" >&5
41790 sed 's/^/| /' conftest.$ac_ext >&5
41791
41792 ac_cv_lib_posix4_sched_yield=no
41793 fi
41794
41795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41796 conftest$ac_exeext conftest.$ac_ext
41797 LIBS=$ac_check_lib_save_LIBS
41798 fi
41799 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41800 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41801 if test $ac_cv_lib_posix4_sched_yield = yes; then
41802 cat >>confdefs.h <<\_ACEOF
41803 #define HAVE_SCHED_YIELD 1
41804 _ACEOF
41805 POSIX4_LINK=" -lposix4"
41806 else
41807 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41808 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41809
41810 fi
41811
41812
41813
41814 fi
41815
41816 fi
41817
41818 HAVE_PRIOR_FUNCS=0
41819 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41820 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41821 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41822 echo $ECHO_N "(cached) $ECHO_C" >&6
41823 else
41824 cat >conftest.$ac_ext <<_ACEOF
41825 /* confdefs.h. */
41826 _ACEOF
41827 cat confdefs.h >>conftest.$ac_ext
41828 cat >>conftest.$ac_ext <<_ACEOF
41829 /* end confdefs.h. */
41830 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41832 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41833
41834 /* System header to define __stub macros and hopefully few prototypes,
41835 which can conflict with char pthread_attr_getschedpolicy (); below.
41836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41837 <limits.h> exists even on freestanding compilers. */
41838
41839 #ifdef __STDC__
41840 # include <limits.h>
41841 #else
41842 # include <assert.h>
41843 #endif
41844
41845 #undef pthread_attr_getschedpolicy
41846
41847 /* Override any GCC internal prototype to avoid an error.
41848 Use char because int might match the return type of a GCC
41849 builtin and then its argument prototype would still apply. */
41850 #ifdef __cplusplus
41851 extern "C"
41852 #endif
41853 char pthread_attr_getschedpolicy ();
41854 /* The GNU C library defines this for functions which it implements
41855 to always fail with ENOSYS. Some functions are actually named
41856 something starting with __ and the normal name is an alias. */
41857 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41858 choke me
41859 #endif
41860
41861 int
41862 main ()
41863 {
41864 return pthread_attr_getschedpolicy ();
41865 ;
41866 return 0;
41867 }
41868 _ACEOF
41869 rm -f conftest.$ac_objext conftest$ac_exeext
41870 if { (ac_try="$ac_link"
41871 case "(($ac_try" in
41872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41873 *) ac_try_echo=$ac_try;;
41874 esac
41875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41876 (eval "$ac_link") 2>conftest.er1
41877 ac_status=$?
41878 grep -v '^ *+' conftest.er1 >conftest.err
41879 rm -f conftest.er1
41880 cat conftest.err >&5
41881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41882 (exit $ac_status); } && {
41883 test -z "$ac_c_werror_flag" ||
41884 test ! -s conftest.err
41885 } && test -s conftest$ac_exeext &&
41886 $as_test_x conftest$ac_exeext; then
41887 ac_cv_func_pthread_attr_getschedpolicy=yes
41888 else
41889 echo "$as_me: failed program was:" >&5
41890 sed 's/^/| /' conftest.$ac_ext >&5
41891
41892 ac_cv_func_pthread_attr_getschedpolicy=no
41893 fi
41894
41895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41896 conftest$ac_exeext conftest.$ac_ext
41897 fi
41898 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41899 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41900 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41901 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41902 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41903 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41904 echo $ECHO_N "(cached) $ECHO_C" >&6
41905 else
41906 cat >conftest.$ac_ext <<_ACEOF
41907 /* confdefs.h. */
41908 _ACEOF
41909 cat confdefs.h >>conftest.$ac_ext
41910 cat >>conftest.$ac_ext <<_ACEOF
41911 /* end confdefs.h. */
41912 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41914 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41915
41916 /* System header to define __stub macros and hopefully few prototypes,
41917 which can conflict with char pthread_attr_setschedparam (); below.
41918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41919 <limits.h> exists even on freestanding compilers. */
41920
41921 #ifdef __STDC__
41922 # include <limits.h>
41923 #else
41924 # include <assert.h>
41925 #endif
41926
41927 #undef pthread_attr_setschedparam
41928
41929 /* Override any GCC internal prototype to avoid an error.
41930 Use char because int might match the return type of a GCC
41931 builtin and then its argument prototype would still apply. */
41932 #ifdef __cplusplus
41933 extern "C"
41934 #endif
41935 char pthread_attr_setschedparam ();
41936 /* The GNU C library defines this for functions which it implements
41937 to always fail with ENOSYS. Some functions are actually named
41938 something starting with __ and the normal name is an alias. */
41939 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41940 choke me
41941 #endif
41942
41943 int
41944 main ()
41945 {
41946 return pthread_attr_setschedparam ();
41947 ;
41948 return 0;
41949 }
41950 _ACEOF
41951 rm -f conftest.$ac_objext conftest$ac_exeext
41952 if { (ac_try="$ac_link"
41953 case "(($ac_try" in
41954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41955 *) ac_try_echo=$ac_try;;
41956 esac
41957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41958 (eval "$ac_link") 2>conftest.er1
41959 ac_status=$?
41960 grep -v '^ *+' conftest.er1 >conftest.err
41961 rm -f conftest.er1
41962 cat conftest.err >&5
41963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41964 (exit $ac_status); } && {
41965 test -z "$ac_c_werror_flag" ||
41966 test ! -s conftest.err
41967 } && test -s conftest$ac_exeext &&
41968 $as_test_x conftest$ac_exeext; then
41969 ac_cv_func_pthread_attr_setschedparam=yes
41970 else
41971 echo "$as_me: failed program was:" >&5
41972 sed 's/^/| /' conftest.$ac_ext >&5
41973
41974 ac_cv_func_pthread_attr_setschedparam=no
41975 fi
41976
41977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41978 conftest$ac_exeext conftest.$ac_ext
41979 fi
41980 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41981 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41982 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41983 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41984 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41985 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41986 echo $ECHO_N "(cached) $ECHO_C" >&6
41987 else
41988 cat >conftest.$ac_ext <<_ACEOF
41989 /* confdefs.h. */
41990 _ACEOF
41991 cat confdefs.h >>conftest.$ac_ext
41992 cat >>conftest.$ac_ext <<_ACEOF
41993 /* end confdefs.h. */
41994 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41996 #define sched_get_priority_max innocuous_sched_get_priority_max
41997
41998 /* System header to define __stub macros and hopefully few prototypes,
41999 which can conflict with char sched_get_priority_max (); below.
42000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42001 <limits.h> exists even on freestanding compilers. */
42002
42003 #ifdef __STDC__
42004 # include <limits.h>
42005 #else
42006 # include <assert.h>
42007 #endif
42008
42009 #undef sched_get_priority_max
42010
42011 /* Override any GCC internal prototype to avoid an error.
42012 Use char because int might match the return type of a GCC
42013 builtin and then its argument prototype would still apply. */
42014 #ifdef __cplusplus
42015 extern "C"
42016 #endif
42017 char sched_get_priority_max ();
42018 /* The GNU C library defines this for functions which it implements
42019 to always fail with ENOSYS. Some functions are actually named
42020 something starting with __ and the normal name is an alias. */
42021 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42022 choke me
42023 #endif
42024
42025 int
42026 main ()
42027 {
42028 return sched_get_priority_max ();
42029 ;
42030 return 0;
42031 }
42032 _ACEOF
42033 rm -f conftest.$ac_objext conftest$ac_exeext
42034 if { (ac_try="$ac_link"
42035 case "(($ac_try" in
42036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42037 *) ac_try_echo=$ac_try;;
42038 esac
42039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42040 (eval "$ac_link") 2>conftest.er1
42041 ac_status=$?
42042 grep -v '^ *+' conftest.er1 >conftest.err
42043 rm -f conftest.er1
42044 cat conftest.err >&5
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); } && {
42047 test -z "$ac_c_werror_flag" ||
42048 test ! -s conftest.err
42049 } && test -s conftest$ac_exeext &&
42050 $as_test_x conftest$ac_exeext; then
42051 ac_cv_func_sched_get_priority_max=yes
42052 else
42053 echo "$as_me: failed program was:" >&5
42054 sed 's/^/| /' conftest.$ac_ext >&5
42055
42056 ac_cv_func_sched_get_priority_max=no
42057 fi
42058
42059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42060 conftest$ac_exeext conftest.$ac_ext
42061 fi
42062 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42063 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42064 if test $ac_cv_func_sched_get_priority_max = yes; then
42065 HAVE_PRIOR_FUNCS=1
42066 else
42067 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42068 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42069 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42070 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 else
42072 ac_check_lib_save_LIBS=$LIBS
42073 LIBS="-lposix4 $LIBS"
42074 cat >conftest.$ac_ext <<_ACEOF
42075 /* confdefs.h. */
42076 _ACEOF
42077 cat confdefs.h >>conftest.$ac_ext
42078 cat >>conftest.$ac_ext <<_ACEOF
42079 /* end confdefs.h. */
42080
42081 /* Override any GCC internal prototype to avoid an error.
42082 Use char because int might match the return type of a GCC
42083 builtin and then its argument prototype would still apply. */
42084 #ifdef __cplusplus
42085 extern "C"
42086 #endif
42087 char sched_get_priority_max ();
42088 int
42089 main ()
42090 {
42091 return sched_get_priority_max ();
42092 ;
42093 return 0;
42094 }
42095 _ACEOF
42096 rm -f conftest.$ac_objext conftest$ac_exeext
42097 if { (ac_try="$ac_link"
42098 case "(($ac_try" in
42099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42100 *) ac_try_echo=$ac_try;;
42101 esac
42102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42103 (eval "$ac_link") 2>conftest.er1
42104 ac_status=$?
42105 grep -v '^ *+' conftest.er1 >conftest.err
42106 rm -f conftest.er1
42107 cat conftest.err >&5
42108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42109 (exit $ac_status); } && {
42110 test -z "$ac_c_werror_flag" ||
42111 test ! -s conftest.err
42112 } && test -s conftest$ac_exeext &&
42113 $as_test_x conftest$ac_exeext; then
42114 ac_cv_lib_posix4_sched_get_priority_max=yes
42115 else
42116 echo "$as_me: failed program was:" >&5
42117 sed 's/^/| /' conftest.$ac_ext >&5
42118
42119 ac_cv_lib_posix4_sched_get_priority_max=no
42120 fi
42121
42122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42123 conftest$ac_exeext conftest.$ac_ext
42124 LIBS=$ac_check_lib_save_LIBS
42125 fi
42126 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42127 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42128 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42129
42130 HAVE_PRIOR_FUNCS=1
42131 POSIX4_LINK=" -lposix4"
42132
42133 fi
42134
42135
42136 fi
42137
42138
42139 fi
42140
42141
42142 fi
42143
42144
42145 if test "$HAVE_PRIOR_FUNCS" = 1; then
42146 cat >>confdefs.h <<\_ACEOF
42147 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42148 _ACEOF
42149
42150 else
42151 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42152 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42153 fi
42154
42155 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42156 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42157 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42158 echo $ECHO_N "(cached) $ECHO_C" >&6
42159 else
42160 cat >conftest.$ac_ext <<_ACEOF
42161 /* confdefs.h. */
42162 _ACEOF
42163 cat confdefs.h >>conftest.$ac_ext
42164 cat >>conftest.$ac_ext <<_ACEOF
42165 /* end confdefs.h. */
42166 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42168 #define pthread_cancel innocuous_pthread_cancel
42169
42170 /* System header to define __stub macros and hopefully few prototypes,
42171 which can conflict with char pthread_cancel (); below.
42172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42173 <limits.h> exists even on freestanding compilers. */
42174
42175 #ifdef __STDC__
42176 # include <limits.h>
42177 #else
42178 # include <assert.h>
42179 #endif
42180
42181 #undef pthread_cancel
42182
42183 /* Override any GCC internal prototype to avoid an error.
42184 Use char because int might match the return type of a GCC
42185 builtin and then its argument prototype would still apply. */
42186 #ifdef __cplusplus
42187 extern "C"
42188 #endif
42189 char pthread_cancel ();
42190 /* The GNU C library defines this for functions which it implements
42191 to always fail with ENOSYS. Some functions are actually named
42192 something starting with __ and the normal name is an alias. */
42193 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42194 choke me
42195 #endif
42196
42197 int
42198 main ()
42199 {
42200 return pthread_cancel ();
42201 ;
42202 return 0;
42203 }
42204 _ACEOF
42205 rm -f conftest.$ac_objext conftest$ac_exeext
42206 if { (ac_try="$ac_link"
42207 case "(($ac_try" in
42208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42209 *) ac_try_echo=$ac_try;;
42210 esac
42211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42212 (eval "$ac_link") 2>conftest.er1
42213 ac_status=$?
42214 grep -v '^ *+' conftest.er1 >conftest.err
42215 rm -f conftest.er1
42216 cat conftest.err >&5
42217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218 (exit $ac_status); } && {
42219 test -z "$ac_c_werror_flag" ||
42220 test ! -s conftest.err
42221 } && test -s conftest$ac_exeext &&
42222 $as_test_x conftest$ac_exeext; then
42223 ac_cv_func_pthread_cancel=yes
42224 else
42225 echo "$as_me: failed program was:" >&5
42226 sed 's/^/| /' conftest.$ac_ext >&5
42227
42228 ac_cv_func_pthread_cancel=no
42229 fi
42230
42231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42232 conftest$ac_exeext conftest.$ac_ext
42233 fi
42234 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42235 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42236 if test $ac_cv_func_pthread_cancel = yes; then
42237 cat >>confdefs.h <<\_ACEOF
42238 #define HAVE_PTHREAD_CANCEL 1
42239 _ACEOF
42240
42241 else
42242 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42243 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42244 fi
42245
42246
42247 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42248 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42249 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42250 echo $ECHO_N "(cached) $ECHO_C" >&6
42251 else
42252 cat >conftest.$ac_ext <<_ACEOF
42253 /* confdefs.h. */
42254 _ACEOF
42255 cat confdefs.h >>conftest.$ac_ext
42256 cat >>conftest.$ac_ext <<_ACEOF
42257 /* end confdefs.h. */
42258 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42260 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42261
42262 /* System header to define __stub macros and hopefully few prototypes,
42263 which can conflict with char pthread_mutex_timedlock (); below.
42264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42265 <limits.h> exists even on freestanding compilers. */
42266
42267 #ifdef __STDC__
42268 # include <limits.h>
42269 #else
42270 # include <assert.h>
42271 #endif
42272
42273 #undef pthread_mutex_timedlock
42274
42275 /* Override any GCC internal prototype to avoid an error.
42276 Use char because int might match the return type of a GCC
42277 builtin and then its argument prototype would still apply. */
42278 #ifdef __cplusplus
42279 extern "C"
42280 #endif
42281 char pthread_mutex_timedlock ();
42282 /* The GNU C library defines this for functions which it implements
42283 to always fail with ENOSYS. Some functions are actually named
42284 something starting with __ and the normal name is an alias. */
42285 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42286 choke me
42287 #endif
42288
42289 int
42290 main ()
42291 {
42292 return pthread_mutex_timedlock ();
42293 ;
42294 return 0;
42295 }
42296 _ACEOF
42297 rm -f conftest.$ac_objext conftest$ac_exeext
42298 if { (ac_try="$ac_link"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42302 esac
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_link") 2>conftest.er1
42305 ac_status=$?
42306 grep -v '^ *+' conftest.er1 >conftest.err
42307 rm -f conftest.er1
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_c_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest$ac_exeext &&
42314 $as_test_x conftest$ac_exeext; then
42315 ac_cv_func_pthread_mutex_timedlock=yes
42316 else
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.$ac_ext >&5
42319
42320 ac_cv_func_pthread_mutex_timedlock=no
42321 fi
42322
42323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42324 conftest$ac_exeext conftest.$ac_ext
42325 fi
42326 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42327 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42328 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42329 cat >>confdefs.h <<\_ACEOF
42330 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42331 _ACEOF
42332
42333 else
42334 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42335 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42336 fi
42337
42338
42339 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42340 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42341 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42342 echo $ECHO_N "(cached) $ECHO_C" >&6
42343 else
42344 cat >conftest.$ac_ext <<_ACEOF
42345 /* confdefs.h. */
42346 _ACEOF
42347 cat confdefs.h >>conftest.$ac_ext
42348 cat >>conftest.$ac_ext <<_ACEOF
42349 /* end confdefs.h. */
42350 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42352 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42353
42354 /* System header to define __stub macros and hopefully few prototypes,
42355 which can conflict with char pthread_attr_setstacksize (); below.
42356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42357 <limits.h> exists even on freestanding compilers. */
42358
42359 #ifdef __STDC__
42360 # include <limits.h>
42361 #else
42362 # include <assert.h>
42363 #endif
42364
42365 #undef pthread_attr_setstacksize
42366
42367 /* Override any GCC internal prototype to avoid an error.
42368 Use char because int might match the return type of a GCC
42369 builtin and then its argument prototype would still apply. */
42370 #ifdef __cplusplus
42371 extern "C"
42372 #endif
42373 char pthread_attr_setstacksize ();
42374 /* The GNU C library defines this for functions which it implements
42375 to always fail with ENOSYS. Some functions are actually named
42376 something starting with __ and the normal name is an alias. */
42377 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42378 choke me
42379 #endif
42380
42381 int
42382 main ()
42383 {
42384 return pthread_attr_setstacksize ();
42385 ;
42386 return 0;
42387 }
42388 _ACEOF
42389 rm -f conftest.$ac_objext conftest$ac_exeext
42390 if { (ac_try="$ac_link"
42391 case "(($ac_try" in
42392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42393 *) ac_try_echo=$ac_try;;
42394 esac
42395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42396 (eval "$ac_link") 2>conftest.er1
42397 ac_status=$?
42398 grep -v '^ *+' conftest.er1 >conftest.err
42399 rm -f conftest.er1
42400 cat conftest.err >&5
42401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402 (exit $ac_status); } && {
42403 test -z "$ac_c_werror_flag" ||
42404 test ! -s conftest.err
42405 } && test -s conftest$ac_exeext &&
42406 $as_test_x conftest$ac_exeext; then
42407 ac_cv_func_pthread_attr_setstacksize=yes
42408 else
42409 echo "$as_me: failed program was:" >&5
42410 sed 's/^/| /' conftest.$ac_ext >&5
42411
42412 ac_cv_func_pthread_attr_setstacksize=no
42413 fi
42414
42415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42416 conftest$ac_exeext conftest.$ac_ext
42417 fi
42418 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42419 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42420 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42421 cat >>confdefs.h <<\_ACEOF
42422 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42423 _ACEOF
42424
42425 fi
42426
42427
42428
42429 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42430 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42431 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42432 echo $ECHO_N "(cached) $ECHO_C" >&6
42433 else
42434
42435 cat >conftest.$ac_ext <<_ACEOF
42436 /* confdefs.h. */
42437 _ACEOF
42438 cat confdefs.h >>conftest.$ac_ext
42439 cat >>conftest.$ac_ext <<_ACEOF
42440 /* end confdefs.h. */
42441 #include <pthread.h>
42442 int
42443 main ()
42444 {
42445
42446 pthread_mutexattr_t attr;
42447 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42448
42449 ;
42450 return 0;
42451 }
42452 _ACEOF
42453 rm -f conftest.$ac_objext
42454 if { (ac_try="$ac_compile"
42455 case "(($ac_try" in
42456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42457 *) ac_try_echo=$ac_try;;
42458 esac
42459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42460 (eval "$ac_compile") 2>conftest.er1
42461 ac_status=$?
42462 grep -v '^ *+' conftest.er1 >conftest.err
42463 rm -f conftest.er1
42464 cat conftest.err >&5
42465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42466 (exit $ac_status); } && {
42467 test -z "$ac_c_werror_flag" ||
42468 test ! -s conftest.err
42469 } && test -s conftest.$ac_objext; then
42470 wx_cv_type_pthread_mutexattr_t=yes
42471 else
42472 echo "$as_me: failed program was:" >&5
42473 sed 's/^/| /' conftest.$ac_ext >&5
42474
42475 wx_cv_type_pthread_mutexattr_t=no
42476
42477 fi
42478
42479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42480
42481 fi
42482 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42483 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42484
42485 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42486 cat >>confdefs.h <<\_ACEOF
42487 #define HAVE_PTHREAD_MUTEXATTR_T 1
42488 _ACEOF
42489
42490
42491 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42492 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42493 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42494 echo $ECHO_N "(cached) $ECHO_C" >&6
42495 else
42496
42497 cat >conftest.$ac_ext <<_ACEOF
42498 /* confdefs.h. */
42499 _ACEOF
42500 cat confdefs.h >>conftest.$ac_ext
42501 cat >>conftest.$ac_ext <<_ACEOF
42502 /* end confdefs.h. */
42503 #include <pthread.h>
42504 int
42505 main ()
42506 {
42507
42508 pthread_mutexattr_t attr;
42509 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42510
42511 ;
42512 return 0;
42513 }
42514 _ACEOF
42515 rm -f conftest.$ac_objext
42516 if { (ac_try="$ac_compile"
42517 case "(($ac_try" in
42518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42519 *) ac_try_echo=$ac_try;;
42520 esac
42521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42522 (eval "$ac_compile") 2>conftest.er1
42523 ac_status=$?
42524 grep -v '^ *+' conftest.er1 >conftest.err
42525 rm -f conftest.er1
42526 cat conftest.err >&5
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); } && {
42529 test -z "$ac_c_werror_flag" ||
42530 test ! -s conftest.err
42531 } && test -s conftest.$ac_objext; then
42532 wx_cv_func_pthread_mutexattr_settype_decl=yes
42533 else
42534 echo "$as_me: failed program was:" >&5
42535 sed 's/^/| /' conftest.$ac_ext >&5
42536
42537 wx_cv_func_pthread_mutexattr_settype_decl=no
42538
42539 fi
42540
42541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42542
42543 fi
42544 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42545 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42546 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42547 cat >>confdefs.h <<\_ACEOF
42548 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42549 _ACEOF
42550
42551 fi
42552 else
42553 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42554 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42555 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42556 echo $ECHO_N "(cached) $ECHO_C" >&6
42557 else
42558
42559 cat >conftest.$ac_ext <<_ACEOF
42560 /* confdefs.h. */
42561 _ACEOF
42562 cat confdefs.h >>conftest.$ac_ext
42563 cat >>conftest.$ac_ext <<_ACEOF
42564 /* end confdefs.h. */
42565 #include <pthread.h>
42566 int
42567 main ()
42568 {
42569
42570 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42571
42572 ;
42573 return 0;
42574 }
42575 _ACEOF
42576 rm -f conftest.$ac_objext
42577 if { (ac_try="$ac_compile"
42578 case "(($ac_try" in
42579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42580 *) ac_try_echo=$ac_try;;
42581 esac
42582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42583 (eval "$ac_compile") 2>conftest.er1
42584 ac_status=$?
42585 grep -v '^ *+' conftest.er1 >conftest.err
42586 rm -f conftest.er1
42587 cat conftest.err >&5
42588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42589 (exit $ac_status); } && {
42590 test -z "$ac_c_werror_flag" ||
42591 test ! -s conftest.err
42592 } && test -s conftest.$ac_objext; then
42593
42594 wx_cv_type_pthread_rec_mutex_init=yes
42595
42596 else
42597 echo "$as_me: failed program was:" >&5
42598 sed 's/^/| /' conftest.$ac_ext >&5
42599
42600
42601 wx_cv_type_pthread_rec_mutex_init=no
42602
42603
42604 fi
42605
42606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42607
42608 fi
42609 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42610 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42611 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42614 _ACEOF
42615
42616 else
42617 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42618 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42619 fi
42620 fi
42621 fi
42622
42623 else
42624 if test "$wxUSE_THREADS" = "yes" ; then
42625 case "${host}" in
42626 *-*-mingw32* )
42627 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42628 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42629 if test "${wx_cv_cflags_mthread+set}" = set; then
42630 echo $ECHO_N "(cached) $ECHO_C" >&6
42631 else
42632
42633 CFLAGS_OLD="$CFLAGS"
42634 CFLAGS="-mthreads $CFLAGS"
42635 cat >conftest.$ac_ext <<_ACEOF
42636 /* confdefs.h. */
42637 _ACEOF
42638 cat confdefs.h >>conftest.$ac_ext
42639 cat >>conftest.$ac_ext <<_ACEOF
42640 /* end confdefs.h. */
42641
42642 int
42643 main ()
42644 {
42645
42646 ;
42647 return 0;
42648 }
42649 _ACEOF
42650 rm -f conftest.$ac_objext
42651 if { (ac_try="$ac_compile"
42652 case "(($ac_try" in
42653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42654 *) ac_try_echo=$ac_try;;
42655 esac
42656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42657 (eval "$ac_compile") 2>conftest.er1
42658 ac_status=$?
42659 grep -v '^ *+' conftest.er1 >conftest.err
42660 rm -f conftest.er1
42661 cat conftest.err >&5
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); } && {
42664 test -z "$ac_c_werror_flag" ||
42665 test ! -s conftest.err
42666 } && test -s conftest.$ac_objext; then
42667 wx_cv_cflags_mthread=yes
42668 else
42669 echo "$as_me: failed program was:" >&5
42670 sed 's/^/| /' conftest.$ac_ext >&5
42671
42672 wx_cv_cflags_mthread=no
42673
42674 fi
42675
42676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42677
42678
42679 fi
42680 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42681 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42682
42683 if test "$wx_cv_cflags_mthread" = "yes"; then
42684 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42685 LDFLAGS="$LDFLAGS -mthreads"
42686 else
42687 CFLAGS="$CFLAGS_OLD"
42688 fi
42689 ;;
42690 *-pc-os2*emx )
42691 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42692 LDFLAGS="$LDFLAGS -Zmt"
42693 ;;
42694 esac
42695 fi
42696 fi
42697
42698 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42699 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42700 if test "${ac_cv_func_localtime_r+set}" = set; then
42701 echo $ECHO_N "(cached) $ECHO_C" >&6
42702 else
42703 cat >conftest.$ac_ext <<_ACEOF
42704 /* confdefs.h. */
42705 _ACEOF
42706 cat confdefs.h >>conftest.$ac_ext
42707 cat >>conftest.$ac_ext <<_ACEOF
42708 /* end confdefs.h. */
42709 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42711 #define localtime_r innocuous_localtime_r
42712
42713 /* System header to define __stub macros and hopefully few prototypes,
42714 which can conflict with char localtime_r (); below.
42715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42716 <limits.h> exists even on freestanding compilers. */
42717
42718 #ifdef __STDC__
42719 # include <limits.h>
42720 #else
42721 # include <assert.h>
42722 #endif
42723
42724 #undef localtime_r
42725
42726 /* Override any GCC internal prototype to avoid an error.
42727 Use char because int might match the return type of a GCC
42728 builtin and then its argument prototype would still apply. */
42729 #ifdef __cplusplus
42730 extern "C"
42731 #endif
42732 char localtime_r ();
42733 /* The GNU C library defines this for functions which it implements
42734 to always fail with ENOSYS. Some functions are actually named
42735 something starting with __ and the normal name is an alias. */
42736 #if defined __stub_localtime_r || defined __stub___localtime_r
42737 choke me
42738 #endif
42739
42740 int
42741 main ()
42742 {
42743 return localtime_r ();
42744 ;
42745 return 0;
42746 }
42747 _ACEOF
42748 rm -f conftest.$ac_objext conftest$ac_exeext
42749 if { (ac_try="$ac_link"
42750 case "(($ac_try" in
42751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42752 *) ac_try_echo=$ac_try;;
42753 esac
42754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42755 (eval "$ac_link") 2>conftest.er1
42756 ac_status=$?
42757 grep -v '^ *+' conftest.er1 >conftest.err
42758 rm -f conftest.er1
42759 cat conftest.err >&5
42760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42761 (exit $ac_status); } && {
42762 test -z "$ac_c_werror_flag" ||
42763 test ! -s conftest.err
42764 } && test -s conftest$ac_exeext &&
42765 $as_test_x conftest$ac_exeext; then
42766 ac_cv_func_localtime_r=yes
42767 else
42768 echo "$as_me: failed program was:" >&5
42769 sed 's/^/| /' conftest.$ac_ext >&5
42770
42771 ac_cv_func_localtime_r=no
42772 fi
42773
42774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42775 conftest$ac_exeext conftest.$ac_ext
42776 fi
42777 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42778 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42779 if test $ac_cv_func_localtime_r = yes; then
42780 cat >>confdefs.h <<\_ACEOF
42781 #define HAVE_LOCALTIME_R 1
42782 _ACEOF
42783
42784 fi
42785
42786 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42787 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42788 if test "${ac_cv_func_gmtime_r+set}" = set; then
42789 echo $ECHO_N "(cached) $ECHO_C" >&6
42790 else
42791 cat >conftest.$ac_ext <<_ACEOF
42792 /* confdefs.h. */
42793 _ACEOF
42794 cat confdefs.h >>conftest.$ac_ext
42795 cat >>conftest.$ac_ext <<_ACEOF
42796 /* end confdefs.h. */
42797 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42799 #define gmtime_r innocuous_gmtime_r
42800
42801 /* System header to define __stub macros and hopefully few prototypes,
42802 which can conflict with char gmtime_r (); below.
42803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42804 <limits.h> exists even on freestanding compilers. */
42805
42806 #ifdef __STDC__
42807 # include <limits.h>
42808 #else
42809 # include <assert.h>
42810 #endif
42811
42812 #undef gmtime_r
42813
42814 /* Override any GCC internal prototype to avoid an error.
42815 Use char because int might match the return type of a GCC
42816 builtin and then its argument prototype would still apply. */
42817 #ifdef __cplusplus
42818 extern "C"
42819 #endif
42820 char gmtime_r ();
42821 /* The GNU C library defines this for functions which it implements
42822 to always fail with ENOSYS. Some functions are actually named
42823 something starting with __ and the normal name is an alias. */
42824 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42825 choke me
42826 #endif
42827
42828 int
42829 main ()
42830 {
42831 return gmtime_r ();
42832 ;
42833 return 0;
42834 }
42835 _ACEOF
42836 rm -f conftest.$ac_objext conftest$ac_exeext
42837 if { (ac_try="$ac_link"
42838 case "(($ac_try" in
42839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42840 *) ac_try_echo=$ac_try;;
42841 esac
42842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42843 (eval "$ac_link") 2>conftest.er1
42844 ac_status=$?
42845 grep -v '^ *+' conftest.er1 >conftest.err
42846 rm -f conftest.er1
42847 cat conftest.err >&5
42848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42849 (exit $ac_status); } && {
42850 test -z "$ac_c_werror_flag" ||
42851 test ! -s conftest.err
42852 } && test -s conftest$ac_exeext &&
42853 $as_test_x conftest$ac_exeext; then
42854 ac_cv_func_gmtime_r=yes
42855 else
42856 echo "$as_me: failed program was:" >&5
42857 sed 's/^/| /' conftest.$ac_ext >&5
42858
42859 ac_cv_func_gmtime_r=no
42860 fi
42861
42862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42863 conftest$ac_exeext conftest.$ac_ext
42864 fi
42865 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42866 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42867 if test $ac_cv_func_gmtime_r = yes; then
42868 cat >>confdefs.h <<\_ACEOF
42869 #define HAVE_GMTIME_R 1
42870 _ACEOF
42871
42872 fi
42873
42874
42875
42876
42877 ac_ext=c
42878 ac_cpp='$CPP $CPPFLAGS'
42879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42882
42883 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42884 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42885
42886 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42887 echo $ECHO_N "(cached) $ECHO_C" >&6
42888 else
42889
42890
42891 ################################################################
42892
42893 ac_cv_func_which_gethostbyname_r=unknown
42894
42895 #
42896 # ONE ARGUMENT (sanity check)
42897 #
42898
42899 # This should fail, as there is no variant of gethostbyname_r() that takes
42900 # a single argument. If it actually compiles, then we can assume that
42901 # netdb.h is not declaring the function, and the compiler is thereby
42902 # assuming an implicit prototype. In which case, we're out of luck.
42903 #
42904 cat >conftest.$ac_ext <<_ACEOF
42905 /* confdefs.h. */
42906 _ACEOF
42907 cat confdefs.h >>conftest.$ac_ext
42908 cat >>conftest.$ac_ext <<_ACEOF
42909 /* end confdefs.h. */
42910 #include <netdb.h>
42911 int
42912 main ()
42913 {
42914
42915 char *name = "www.gnu.org";
42916 (void)gethostbyname_r(name) /* ; */
42917
42918 ;
42919 return 0;
42920 }
42921 _ACEOF
42922 rm -f conftest.$ac_objext
42923 if { (ac_try="$ac_compile"
42924 case "(($ac_try" in
42925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42926 *) ac_try_echo=$ac_try;;
42927 esac
42928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42929 (eval "$ac_compile") 2>conftest.er1
42930 ac_status=$?
42931 grep -v '^ *+' conftest.er1 >conftest.err
42932 rm -f conftest.er1
42933 cat conftest.err >&5
42934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42935 (exit $ac_status); } && {
42936 test -z "$ac_c_werror_flag" ||
42937 test ! -s conftest.err
42938 } && test -s conftest.$ac_objext; then
42939 ac_cv_func_which_gethostbyname_r=no
42940 else
42941 echo "$as_me: failed program was:" >&5
42942 sed 's/^/| /' conftest.$ac_ext >&5
42943
42944
42945 fi
42946
42947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42948
42949 #
42950 # SIX ARGUMENTS
42951 # (e.g. Linux)
42952 #
42953
42954 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42955
42956 cat >conftest.$ac_ext <<_ACEOF
42957 /* confdefs.h. */
42958 _ACEOF
42959 cat confdefs.h >>conftest.$ac_ext
42960 cat >>conftest.$ac_ext <<_ACEOF
42961 /* end confdefs.h. */
42962 #include <netdb.h>
42963 int
42964 main ()
42965 {
42966
42967 char *name = "www.gnu.org";
42968 struct hostent ret, *retp;
42969 char buf[1024];
42970 int buflen = 1024;
42971 int my_h_errno;
42972 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42973
42974 ;
42975 return 0;
42976 }
42977 _ACEOF
42978 rm -f conftest.$ac_objext
42979 if { (ac_try="$ac_compile"
42980 case "(($ac_try" in
42981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42982 *) ac_try_echo=$ac_try;;
42983 esac
42984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42985 (eval "$ac_compile") 2>conftest.er1
42986 ac_status=$?
42987 grep -v '^ *+' conftest.er1 >conftest.err
42988 rm -f conftest.er1
42989 cat conftest.err >&5
42990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991 (exit $ac_status); } && {
42992 test -z "$ac_c_werror_flag" ||
42993 test ! -s conftest.err
42994 } && test -s conftest.$ac_objext; then
42995 ac_cv_func_which_gethostbyname_r=six
42996 else
42997 echo "$as_me: failed program was:" >&5
42998 sed 's/^/| /' conftest.$ac_ext >&5
42999
43000
43001 fi
43002
43003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43004
43005 fi
43006
43007 #
43008 # FIVE ARGUMENTS
43009 # (e.g. Solaris)
43010 #
43011
43012 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43013
43014 cat >conftest.$ac_ext <<_ACEOF
43015 /* confdefs.h. */
43016 _ACEOF
43017 cat confdefs.h >>conftest.$ac_ext
43018 cat >>conftest.$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43020 #include <netdb.h>
43021 int
43022 main ()
43023 {
43024
43025 char *name = "www.gnu.org";
43026 struct hostent ret;
43027 char buf[1024];
43028 int buflen = 1024;
43029 int my_h_errno;
43030 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43031
43032 ;
43033 return 0;
43034 }
43035 _ACEOF
43036 rm -f conftest.$ac_objext
43037 if { (ac_try="$ac_compile"
43038 case "(($ac_try" in
43039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43040 *) ac_try_echo=$ac_try;;
43041 esac
43042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43043 (eval "$ac_compile") 2>conftest.er1
43044 ac_status=$?
43045 grep -v '^ *+' conftest.er1 >conftest.err
43046 rm -f conftest.er1
43047 cat conftest.err >&5
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); } && {
43050 test -z "$ac_c_werror_flag" ||
43051 test ! -s conftest.err
43052 } && test -s conftest.$ac_objext; then
43053 ac_cv_func_which_gethostbyname_r=five
43054 else
43055 echo "$as_me: failed program was:" >&5
43056 sed 's/^/| /' conftest.$ac_ext >&5
43057
43058
43059 fi
43060
43061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43062
43063 fi
43064
43065 #
43066 # THREE ARGUMENTS
43067 # (e.g. AIX, HP-UX, Tru64)
43068 #
43069
43070 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43071
43072 cat >conftest.$ac_ext <<_ACEOF
43073 /* confdefs.h. */
43074 _ACEOF
43075 cat confdefs.h >>conftest.$ac_ext
43076 cat >>conftest.$ac_ext <<_ACEOF
43077 /* end confdefs.h. */
43078 #include <netdb.h>
43079 int
43080 main ()
43081 {
43082
43083 char *name = "www.gnu.org";
43084 struct hostent ret;
43085 struct hostent_data data;
43086 (void)gethostbyname_r(name, &ret, &data) /* ; */
43087
43088 ;
43089 return 0;
43090 }
43091 _ACEOF
43092 rm -f conftest.$ac_objext
43093 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
43109 ac_cv_func_which_gethostbyname_r=three
43110 else
43111 echo "$as_me: failed program was:" >&5
43112 sed 's/^/| /' conftest.$ac_ext >&5
43113
43114
43115 fi
43116
43117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43118
43119 fi
43120
43121 ################################################################
43122
43123
43124 fi
43125
43126 case "$ac_cv_func_which_gethostbyname_r" in
43127 three)
43128 { echo "$as_me:$LINENO: result: three" >&5
43129 echo "${ECHO_T}three" >&6; }
43130 cat >>confdefs.h <<\_ACEOF
43131 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43132 _ACEOF
43133
43134 ;;
43135
43136 five)
43137 { echo "$as_me:$LINENO: result: five" >&5
43138 echo "${ECHO_T}five" >&6; }
43139 cat >>confdefs.h <<\_ACEOF
43140 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43141 _ACEOF
43142
43143 ;;
43144
43145 six)
43146 { echo "$as_me:$LINENO: result: six" >&5
43147 echo "${ECHO_T}six" >&6; }
43148 cat >>confdefs.h <<\_ACEOF
43149 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43150 _ACEOF
43151
43152 ;;
43153
43154 no)
43155 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43156 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43157 ;;
43158
43159 unknown)
43160 { echo "$as_me:$LINENO: result: can't tell" >&5
43161 echo "${ECHO_T}can't tell" >&6; }
43162 ;;
43163
43164 *)
43165 { { echo "$as_me:$LINENO: error: internal error" >&5
43166 echo "$as_me: error: internal error" >&2;}
43167 { (exit 1); exit 1; }; }
43168 ;;
43169 esac
43170
43171 ac_ext=c
43172 ac_cpp='$CPP $CPPFLAGS'
43173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43176
43177
43178
43179 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43180 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43181 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43182 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43183 if test "${ac_cv_func_gethostbyname+set}" = set; then
43184 echo $ECHO_N "(cached) $ECHO_C" >&6
43185 else
43186 cat >conftest.$ac_ext <<_ACEOF
43187 /* confdefs.h. */
43188 _ACEOF
43189 cat confdefs.h >>conftest.$ac_ext
43190 cat >>conftest.$ac_ext <<_ACEOF
43191 /* end confdefs.h. */
43192 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43194 #define gethostbyname innocuous_gethostbyname
43195
43196 /* System header to define __stub macros and hopefully few prototypes,
43197 which can conflict with char gethostbyname (); below.
43198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43199 <limits.h> exists even on freestanding compilers. */
43200
43201 #ifdef __STDC__
43202 # include <limits.h>
43203 #else
43204 # include <assert.h>
43205 #endif
43206
43207 #undef gethostbyname
43208
43209 /* Override any GCC internal prototype to avoid an error.
43210 Use char because int might match the return type of a GCC
43211 builtin and then its argument prototype would still apply. */
43212 #ifdef __cplusplus
43213 extern "C"
43214 #endif
43215 char gethostbyname ();
43216 /* The GNU C library defines this for functions which it implements
43217 to always fail with ENOSYS. Some functions are actually named
43218 something starting with __ and the normal name is an alias. */
43219 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43220 choke me
43221 #endif
43222
43223 int
43224 main ()
43225 {
43226 return gethostbyname ();
43227 ;
43228 return 0;
43229 }
43230 _ACEOF
43231 rm -f conftest.$ac_objext conftest$ac_exeext
43232 if { (ac_try="$ac_link"
43233 case "(($ac_try" in
43234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43235 *) ac_try_echo=$ac_try;;
43236 esac
43237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43238 (eval "$ac_link") 2>conftest.er1
43239 ac_status=$?
43240 grep -v '^ *+' conftest.er1 >conftest.err
43241 rm -f conftest.er1
43242 cat conftest.err >&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); } && {
43245 test -z "$ac_c_werror_flag" ||
43246 test ! -s conftest.err
43247 } && test -s conftest$ac_exeext &&
43248 $as_test_x conftest$ac_exeext; then
43249 ac_cv_func_gethostbyname=yes
43250 else
43251 echo "$as_me: failed program was:" >&5
43252 sed 's/^/| /' conftest.$ac_ext >&5
43253
43254 ac_cv_func_gethostbyname=no
43255 fi
43256
43257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43258 conftest$ac_exeext conftest.$ac_ext
43259 fi
43260 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43261 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43262 if test $ac_cv_func_gethostbyname = yes; then
43263 cat >>confdefs.h <<\_ACEOF
43264 #define HAVE_GETHOSTBYNAME 1
43265 _ACEOF
43266
43267 fi
43268
43269 fi
43270
43271 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43272 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43273 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43274 echo $ECHO_N "(cached) $ECHO_C" >&6
43275 else
43276
43277 ac_ext=cpp
43278 ac_cpp='$CXXCPP $CPPFLAGS'
43279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43282
43283
43284 cat >conftest.$ac_ext <<_ACEOF
43285 /* confdefs.h. */
43286 _ACEOF
43287 cat confdefs.h >>conftest.$ac_ext
43288 cat >>conftest.$ac_ext <<_ACEOF
43289 /* end confdefs.h. */
43290 #include <netdb.h>
43291 int
43292 main ()
43293 {
43294
43295 char *name;
43296 char *proto;
43297 struct servent *se, *res;
43298 char buffer[2048];
43299 int buflen = 2048;
43300 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43301
43302 ;
43303 return 0;
43304 }
43305 _ACEOF
43306 rm -f conftest.$ac_objext
43307 if { (ac_try="$ac_compile"
43308 case "(($ac_try" in
43309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43310 *) ac_try_echo=$ac_try;;
43311 esac
43312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43313 (eval "$ac_compile") 2>conftest.er1
43314 ac_status=$?
43315 grep -v '^ *+' conftest.er1 >conftest.err
43316 rm -f conftest.er1
43317 cat conftest.err >&5
43318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43319 (exit $ac_status); } && {
43320 test -z "$ac_cxx_werror_flag" ||
43321 test ! -s conftest.err
43322 } && test -s conftest.$ac_objext; then
43323 ac_cv_func_which_getservbyname_r=six
43324 else
43325 echo "$as_me: failed program was:" >&5
43326 sed 's/^/| /' conftest.$ac_ext >&5
43327
43328
43329 cat >conftest.$ac_ext <<_ACEOF
43330 /* confdefs.h. */
43331 _ACEOF
43332 cat confdefs.h >>conftest.$ac_ext
43333 cat >>conftest.$ac_ext <<_ACEOF
43334 /* end confdefs.h. */
43335 #include <netdb.h>
43336 int
43337 main ()
43338 {
43339
43340 char *name;
43341 char *proto;
43342 struct servent *se;
43343 char buffer[2048];
43344 int buflen = 2048;
43345 (void) getservbyname_r(name, proto, se, buffer, buflen)
43346
43347 ;
43348 return 0;
43349 }
43350 _ACEOF
43351 rm -f conftest.$ac_objext
43352 if { (ac_try="$ac_compile"
43353 case "(($ac_try" in
43354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43355 *) ac_try_echo=$ac_try;;
43356 esac
43357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43358 (eval "$ac_compile") 2>conftest.er1
43359 ac_status=$?
43360 grep -v '^ *+' conftest.er1 >conftest.err
43361 rm -f conftest.er1
43362 cat conftest.err >&5
43363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43364 (exit $ac_status); } && {
43365 test -z "$ac_cxx_werror_flag" ||
43366 test ! -s conftest.err
43367 } && test -s conftest.$ac_objext; then
43368 ac_cv_func_which_getservbyname_r=five
43369 else
43370 echo "$as_me: failed program was:" >&5
43371 sed 's/^/| /' conftest.$ac_ext >&5
43372
43373
43374 cat >conftest.$ac_ext <<_ACEOF
43375 /* confdefs.h. */
43376 _ACEOF
43377 cat confdefs.h >>conftest.$ac_ext
43378 cat >>conftest.$ac_ext <<_ACEOF
43379 /* end confdefs.h. */
43380 #include <netdb.h>
43381 int
43382 main ()
43383 {
43384
43385 char *name;
43386 char *proto;
43387 struct servent *se;
43388 struct servent_data data;
43389 (void) getservbyname_r(name, proto, se, &data);
43390
43391 ;
43392 return 0;
43393 }
43394 _ACEOF
43395 rm -f conftest.$ac_objext
43396 if { (ac_try="$ac_compile"
43397 case "(($ac_try" in
43398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43399 *) ac_try_echo=$ac_try;;
43400 esac
43401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43402 (eval "$ac_compile") 2>conftest.er1
43403 ac_status=$?
43404 grep -v '^ *+' conftest.er1 >conftest.err
43405 rm -f conftest.er1
43406 cat conftest.err >&5
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); } && {
43409 test -z "$ac_cxx_werror_flag" ||
43410 test ! -s conftest.err
43411 } && test -s conftest.$ac_objext; then
43412 ac_cv_func_which_getservbyname_r=four
43413 else
43414 echo "$as_me: failed program was:" >&5
43415 sed 's/^/| /' conftest.$ac_ext >&5
43416
43417 ac_cv_func_which_getservbyname_r=no
43418
43419 fi
43420
43421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43422
43423
43424 fi
43425
43426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43427
43428
43429 fi
43430
43431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43432 ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43437
43438
43439
43440 fi
43441 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43442 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43443
43444 if test $ac_cv_func_which_getservbyname_r = six; then
43445 cat >>confdefs.h <<\_ACEOF
43446 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43447 _ACEOF
43448
43449 elif test $ac_cv_func_which_getservbyname_r = five; then
43450 cat >>confdefs.h <<\_ACEOF
43451 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43452 _ACEOF
43453
43454 elif test $ac_cv_func_which_getservbyname_r = four; then
43455 cat >>confdefs.h <<\_ACEOF
43456 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43457 _ACEOF
43458
43459 fi
43460
43461
43462 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43463 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43464
43465 for ac_func in getservbyname
43466 do
43467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43468 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43470 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43471 echo $ECHO_N "(cached) $ECHO_C" >&6
43472 else
43473 cat >conftest.$ac_ext <<_ACEOF
43474 /* confdefs.h. */
43475 _ACEOF
43476 cat confdefs.h >>conftest.$ac_ext
43477 cat >>conftest.$ac_ext <<_ACEOF
43478 /* end confdefs.h. */
43479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43481 #define $ac_func innocuous_$ac_func
43482
43483 /* System header to define __stub macros and hopefully few prototypes,
43484 which can conflict with char $ac_func (); below.
43485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43486 <limits.h> exists even on freestanding compilers. */
43487
43488 #ifdef __STDC__
43489 # include <limits.h>
43490 #else
43491 # include <assert.h>
43492 #endif
43493
43494 #undef $ac_func
43495
43496 /* Override any GCC internal prototype to avoid an error.
43497 Use char because int might match the return type of a GCC
43498 builtin and then its argument prototype would still apply. */
43499 #ifdef __cplusplus
43500 extern "C"
43501 #endif
43502 char $ac_func ();
43503 /* The GNU C library defines this for functions which it implements
43504 to always fail with ENOSYS. Some functions are actually named
43505 something starting with __ and the normal name is an alias. */
43506 #if defined __stub_$ac_func || defined __stub___$ac_func
43507 choke me
43508 #endif
43509
43510 int
43511 main ()
43512 {
43513 return $ac_func ();
43514 ;
43515 return 0;
43516 }
43517 _ACEOF
43518 rm -f conftest.$ac_objext conftest$ac_exeext
43519 if { (ac_try="$ac_link"
43520 case "(($ac_try" in
43521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43522 *) ac_try_echo=$ac_try;;
43523 esac
43524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43525 (eval "$ac_link") 2>conftest.er1
43526 ac_status=$?
43527 grep -v '^ *+' conftest.er1 >conftest.err
43528 rm -f conftest.er1
43529 cat conftest.err >&5
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); } && {
43532 test -z "$ac_c_werror_flag" ||
43533 test ! -s conftest.err
43534 } && test -s conftest$ac_exeext &&
43535 $as_test_x conftest$ac_exeext; then
43536 eval "$as_ac_var=yes"
43537 else
43538 echo "$as_me: failed program was:" >&5
43539 sed 's/^/| /' conftest.$ac_ext >&5
43540
43541 eval "$as_ac_var=no"
43542 fi
43543
43544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43545 conftest$ac_exeext conftest.$ac_ext
43546 fi
43547 ac_res=`eval echo '${'$as_ac_var'}'`
43548 { echo "$as_me:$LINENO: result: $ac_res" >&5
43549 echo "${ECHO_T}$ac_res" >&6; }
43550 if test `eval echo '${'$as_ac_var'}'` = yes; then
43551 cat >>confdefs.h <<_ACEOF
43552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43553 _ACEOF
43554 cat >>confdefs.h <<\_ACEOF
43555 #define HAVE_GETSERVBYNAME 1
43556 _ACEOF
43557
43558 fi
43559 done
43560
43561 fi
43562
43563 if test "$wxUSE_THREADS" = "yes"; then
43564 cat >>confdefs.h <<\_ACEOF
43565 #define wxUSE_THREADS 1
43566 _ACEOF
43567
43568
43569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43570 else
43571 if test "$wx_cv_func_strtok_r" = "yes"; then
43572 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43573 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43574 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43575 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43576 { echo "$as_me:$LINENO: result: yes" >&5
43577 echo "${ECHO_T}yes" >&6; }
43578 else
43579 { echo "$as_me:$LINENO: result: no" >&5
43580 echo "${ECHO_T}no" >&6; }
43581 fi
43582 fi
43583 fi
43584
43585 if test "$WXGTK20" = 1 ; then
43586 cat >>confdefs.h <<_ACEOF
43587 #define __WXGTK20__ $WXGTK20
43588 _ACEOF
43589
43590 WXGTK12=1
43591 fi
43592
43593 if test "$WXGTK12" = 1 ; then
43594 cat >>confdefs.h <<_ACEOF
43595 #define __WXGTK12__ $WXGTK12
43596 _ACEOF
43597
43598 fi
43599
43600 if test "$WXGTK127" = 1 ; then
43601 cat >>confdefs.h <<_ACEOF
43602 #define __WXGTK127__ $WXGTK127
43603 _ACEOF
43604
43605 fi
43606
43607 if test "$WXGPE" = 1 ; then
43608 cat >>confdefs.h <<_ACEOF
43609 #define __WXGPE__ $WXGPE
43610 _ACEOF
43611
43612 fi
43613
43614 DEBUG_CFLAGS=
43615 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43616 DEBUG_CFLAGS="-g"
43617 wxUSE_OPTIMISE=no
43618 fi
43619
43620 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43621 wxUSE_DEBUG_INFO=yes
43622 if test "$GCC" = yes; then
43623 DEBUG_CFLAGS="-ggdb"
43624 fi
43625 fi
43626
43627 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43628 cat >>confdefs.h <<\_ACEOF
43629 #define WXDEBUG 1
43630 _ACEOF
43631
43632 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43633 else
43634 if test "$wxUSE_GTK" = 1 ; then
43635 if test "x$wxGTK_VERSION" = "x1" ; then
43636 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43637 fi
43638 fi
43639 fi
43640
43641 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43642 cat >>confdefs.h <<\_ACEOF
43643 #define wxUSE_MEMORY_TRACING 1
43644 _ACEOF
43645
43646 cat >>confdefs.h <<\_ACEOF
43647 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43648 _ACEOF
43649
43650 cat >>confdefs.h <<\_ACEOF
43651 #define wxUSE_DEBUG_NEW_ALWAYS 1
43652 _ACEOF
43653
43654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43655 fi
43656
43657 if test "$wxUSE_DMALLOC" = "yes" ; then
43658 DMALLOC_LIBS="-ldmallocthcxx"
43659 fi
43660
43661 PROFILE_FLAGS=
43662 if test "$wxUSE_PROFILE" = "yes" ; then
43663 PROFILE_FLAGS=" -pg"
43664 fi
43665
43666 if test "$GCC" = "yes" ; then
43667 if test "$wxUSE_NO_RTTI" = "yes" ; then
43668 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43669 fi
43670 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43671 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43672 fi
43673 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43674 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43675 fi
43676
43677 case "${host}" in
43678 powerpc*-*-aix* )
43679 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43680 ;;
43681 *-hppa* )
43682 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43683 ;;
43684 esac
43685 fi
43686
43687 OPTIMISE_CFLAGS=
43688 if test "$wxUSE_OPTIMISE" = "no" ; then
43689 if test "$GCC" = yes ; then
43690 OPTIMISE_CFLAGS="-O0"
43691 fi
43692 else
43693 if test "$GCC" = yes ; then
43694 case "${host}" in
43695 *-pc-os2_emx | *-pc-os2-emx )
43696 OPTIMISE_CFLAGS="-O2"
43697 ;;
43698 *)
43699 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43700 ;;
43701 esac
43702 else
43703 OPTIMISE_CFLAGS="-O"
43704 fi
43705 fi
43706
43707
43708 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43709 cat >>confdefs.h <<\_ACEOF
43710 #define WXWIN_COMPATIBILITY_2_6 1
43711 _ACEOF
43712
43713
43714 WXWIN_COMPATIBILITY_2_8="yes"
43715 fi
43716
43717 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43718 cat >>confdefs.h <<\_ACEOF
43719 #define WXWIN_COMPATIBILITY_2_8 1
43720 _ACEOF
43721
43722 fi
43723
43724
43725 if test "$wxUSE_GUI" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_GUI 1
43728 _ACEOF
43729
43730
43731 fi
43732
43733
43734 if test "$wxUSE_UNIX" = "yes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_UNIX 1
43737 _ACEOF
43738
43739 fi
43740
43741
43742 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43743
43744 HAVE_DL_FUNCS=0
43745 HAVE_SHL_FUNCS=0
43746 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43747 if test "$USE_DARWIN" = 1; then
43748 HAVE_DL_FUNCS=1
43749 elif test "$USE_DOS" = 1; then
43750 HAVE_DL_FUNCS=0
43751 else
43752
43753 for ac_func in dlopen
43754 do
43755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43756 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43758 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43759 echo $ECHO_N "(cached) $ECHO_C" >&6
43760 else
43761 cat >conftest.$ac_ext <<_ACEOF
43762 /* confdefs.h. */
43763 _ACEOF
43764 cat confdefs.h >>conftest.$ac_ext
43765 cat >>conftest.$ac_ext <<_ACEOF
43766 /* end confdefs.h. */
43767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43769 #define $ac_func innocuous_$ac_func
43770
43771 /* System header to define __stub macros and hopefully few prototypes,
43772 which can conflict with char $ac_func (); below.
43773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43774 <limits.h> exists even on freestanding compilers. */
43775
43776 #ifdef __STDC__
43777 # include <limits.h>
43778 #else
43779 # include <assert.h>
43780 #endif
43781
43782 #undef $ac_func
43783
43784 /* Override any GCC internal prototype to avoid an error.
43785 Use char because int might match the return type of a GCC
43786 builtin and then its argument prototype would still apply. */
43787 #ifdef __cplusplus
43788 extern "C"
43789 #endif
43790 char $ac_func ();
43791 /* The GNU C library defines this for functions which it implements
43792 to always fail with ENOSYS. Some functions are actually named
43793 something starting with __ and the normal name is an alias. */
43794 #if defined __stub_$ac_func || defined __stub___$ac_func
43795 choke me
43796 #endif
43797
43798 int
43799 main ()
43800 {
43801 return $ac_func ();
43802 ;
43803 return 0;
43804 }
43805 _ACEOF
43806 rm -f conftest.$ac_objext conftest$ac_exeext
43807 if { (ac_try="$ac_link"
43808 case "(($ac_try" in
43809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43810 *) ac_try_echo=$ac_try;;
43811 esac
43812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43813 (eval "$ac_link") 2>conftest.er1
43814 ac_status=$?
43815 grep -v '^ *+' conftest.er1 >conftest.err
43816 rm -f conftest.er1
43817 cat conftest.err >&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } && {
43820 test -z "$ac_c_werror_flag" ||
43821 test ! -s conftest.err
43822 } && test -s conftest$ac_exeext &&
43823 $as_test_x conftest$ac_exeext; then
43824 eval "$as_ac_var=yes"
43825 else
43826 echo "$as_me: failed program was:" >&5
43827 sed 's/^/| /' conftest.$ac_ext >&5
43828
43829 eval "$as_ac_var=no"
43830 fi
43831
43832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43833 conftest$ac_exeext conftest.$ac_ext
43834 fi
43835 ac_res=`eval echo '${'$as_ac_var'}'`
43836 { echo "$as_me:$LINENO: result: $ac_res" >&5
43837 echo "${ECHO_T}$ac_res" >&6; }
43838 if test `eval echo '${'$as_ac_var'}'` = yes; then
43839 cat >>confdefs.h <<_ACEOF
43840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43841 _ACEOF
43842
43843 cat >>confdefs.h <<\_ACEOF
43844 #define HAVE_DLOPEN 1
43845 _ACEOF
43846
43847 HAVE_DL_FUNCS=1
43848
43849 else
43850
43851 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43852 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43853 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43854 echo $ECHO_N "(cached) $ECHO_C" >&6
43855 else
43856 ac_check_lib_save_LIBS=$LIBS
43857 LIBS="-ldl $LIBS"
43858 cat >conftest.$ac_ext <<_ACEOF
43859 /* confdefs.h. */
43860 _ACEOF
43861 cat confdefs.h >>conftest.$ac_ext
43862 cat >>conftest.$ac_ext <<_ACEOF
43863 /* end confdefs.h. */
43864
43865 /* Override any GCC internal prototype to avoid an error.
43866 Use char because int might match the return type of a GCC
43867 builtin and then its argument prototype would still apply. */
43868 #ifdef __cplusplus
43869 extern "C"
43870 #endif
43871 char dlopen ();
43872 int
43873 main ()
43874 {
43875 return dlopen ();
43876 ;
43877 return 0;
43878 }
43879 _ACEOF
43880 rm -f conftest.$ac_objext conftest$ac_exeext
43881 if { (ac_try="$ac_link"
43882 case "(($ac_try" in
43883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43884 *) ac_try_echo=$ac_try;;
43885 esac
43886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43887 (eval "$ac_link") 2>conftest.er1
43888 ac_status=$?
43889 grep -v '^ *+' conftest.er1 >conftest.err
43890 rm -f conftest.er1
43891 cat conftest.err >&5
43892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43893 (exit $ac_status); } && {
43894 test -z "$ac_c_werror_flag" ||
43895 test ! -s conftest.err
43896 } && test -s conftest$ac_exeext &&
43897 $as_test_x conftest$ac_exeext; then
43898 ac_cv_lib_dl_dlopen=yes
43899 else
43900 echo "$as_me: failed program was:" >&5
43901 sed 's/^/| /' conftest.$ac_ext >&5
43902
43903 ac_cv_lib_dl_dlopen=no
43904 fi
43905
43906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43907 conftest$ac_exeext conftest.$ac_ext
43908 LIBS=$ac_check_lib_save_LIBS
43909 fi
43910 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43911 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43912 if test $ac_cv_lib_dl_dlopen = yes; then
43913
43914 cat >>confdefs.h <<\_ACEOF
43915 #define HAVE_DLOPEN 1
43916 _ACEOF
43917
43918 HAVE_DL_FUNCS=1
43919 DL_LINK=" -ldl$DL_LINK"
43920
43921 else
43922
43923
43924 for ac_func in shl_load
43925 do
43926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43927 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43930 echo $ECHO_N "(cached) $ECHO_C" >&6
43931 else
43932 cat >conftest.$ac_ext <<_ACEOF
43933 /* confdefs.h. */
43934 _ACEOF
43935 cat confdefs.h >>conftest.$ac_ext
43936 cat >>conftest.$ac_ext <<_ACEOF
43937 /* end confdefs.h. */
43938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43940 #define $ac_func innocuous_$ac_func
43941
43942 /* System header to define __stub macros and hopefully few prototypes,
43943 which can conflict with char $ac_func (); below.
43944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43945 <limits.h> exists even on freestanding compilers. */
43946
43947 #ifdef __STDC__
43948 # include <limits.h>
43949 #else
43950 # include <assert.h>
43951 #endif
43952
43953 #undef $ac_func
43954
43955 /* Override any GCC internal prototype to avoid an error.
43956 Use char because int might match the return type of a GCC
43957 builtin and then its argument prototype would still apply. */
43958 #ifdef __cplusplus
43959 extern "C"
43960 #endif
43961 char $ac_func ();
43962 /* The GNU C library defines this for functions which it implements
43963 to always fail with ENOSYS. Some functions are actually named
43964 something starting with __ and the normal name is an alias. */
43965 #if defined __stub_$ac_func || defined __stub___$ac_func
43966 choke me
43967 #endif
43968
43969 int
43970 main ()
43971 {
43972 return $ac_func ();
43973 ;
43974 return 0;
43975 }
43976 _ACEOF
43977 rm -f conftest.$ac_objext conftest$ac_exeext
43978 if { (ac_try="$ac_link"
43979 case "(($ac_try" in
43980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43981 *) ac_try_echo=$ac_try;;
43982 esac
43983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43984 (eval "$ac_link") 2>conftest.er1
43985 ac_status=$?
43986 grep -v '^ *+' conftest.er1 >conftest.err
43987 rm -f conftest.er1
43988 cat conftest.err >&5
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); } && {
43991 test -z "$ac_c_werror_flag" ||
43992 test ! -s conftest.err
43993 } && test -s conftest$ac_exeext &&
43994 $as_test_x conftest$ac_exeext; then
43995 eval "$as_ac_var=yes"
43996 else
43997 echo "$as_me: failed program was:" >&5
43998 sed 's/^/| /' conftest.$ac_ext >&5
43999
44000 eval "$as_ac_var=no"
44001 fi
44002
44003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44004 conftest$ac_exeext conftest.$ac_ext
44005 fi
44006 ac_res=`eval echo '${'$as_ac_var'}'`
44007 { echo "$as_me:$LINENO: result: $ac_res" >&5
44008 echo "${ECHO_T}$ac_res" >&6; }
44009 if test `eval echo '${'$as_ac_var'}'` = yes; then
44010 cat >>confdefs.h <<_ACEOF
44011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44012 _ACEOF
44013
44014 cat >>confdefs.h <<\_ACEOF
44015 #define HAVE_SHL_LOAD 1
44016 _ACEOF
44017
44018 HAVE_SHL_FUNCS=1
44019
44020 else
44021
44022 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44023 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44024 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44025 echo $ECHO_N "(cached) $ECHO_C" >&6
44026 else
44027 ac_check_lib_save_LIBS=$LIBS
44028 LIBS="-lshl_load $LIBS"
44029 cat >conftest.$ac_ext <<_ACEOF
44030 /* confdefs.h. */
44031 _ACEOF
44032 cat confdefs.h >>conftest.$ac_ext
44033 cat >>conftest.$ac_ext <<_ACEOF
44034 /* end confdefs.h. */
44035
44036 /* Override any GCC internal prototype to avoid an error.
44037 Use char because int might match the return type of a GCC
44038 builtin and then its argument prototype would still apply. */
44039 #ifdef __cplusplus
44040 extern "C"
44041 #endif
44042 char dld ();
44043 int
44044 main ()
44045 {
44046 return dld ();
44047 ;
44048 return 0;
44049 }
44050 _ACEOF
44051 rm -f conftest.$ac_objext conftest$ac_exeext
44052 if { (ac_try="$ac_link"
44053 case "(($ac_try" in
44054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44055 *) ac_try_echo=$ac_try;;
44056 esac
44057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44058 (eval "$ac_link") 2>conftest.er1
44059 ac_status=$?
44060 grep -v '^ *+' conftest.er1 >conftest.err
44061 rm -f conftest.er1
44062 cat conftest.err >&5
44063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44064 (exit $ac_status); } && {
44065 test -z "$ac_c_werror_flag" ||
44066 test ! -s conftest.err
44067 } && test -s conftest$ac_exeext &&
44068 $as_test_x conftest$ac_exeext; then
44069 ac_cv_lib_shl_load_dld=yes
44070 else
44071 echo "$as_me: failed program was:" >&5
44072 sed 's/^/| /' conftest.$ac_ext >&5
44073
44074 ac_cv_lib_shl_load_dld=no
44075 fi
44076
44077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44078 conftest$ac_exeext conftest.$ac_ext
44079 LIBS=$ac_check_lib_save_LIBS
44080 fi
44081 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44082 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44083 if test $ac_cv_lib_shl_load_dld = yes; then
44084
44085 HAVE_SHL_FUNCS=1
44086 DL_LINK=" -ldld$DL_LINK"
44087
44088 fi
44089
44090
44091 fi
44092 done
44093
44094
44095 fi
44096
44097
44098 fi
44099 done
44100
44101
44102 if test "$HAVE_DL_FUNCS" = 1; then
44103
44104 for ac_func in dlerror
44105 do
44106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44110 echo $ECHO_N "(cached) $ECHO_C" >&6
44111 else
44112 cat >conftest.$ac_ext <<_ACEOF
44113 /* confdefs.h. */
44114 _ACEOF
44115 cat confdefs.h >>conftest.$ac_ext
44116 cat >>conftest.$ac_ext <<_ACEOF
44117 /* end confdefs.h. */
44118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44120 #define $ac_func innocuous_$ac_func
44121
44122 /* System header to define __stub macros and hopefully few prototypes,
44123 which can conflict with char $ac_func (); below.
44124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44125 <limits.h> exists even on freestanding compilers. */
44126
44127 #ifdef __STDC__
44128 # include <limits.h>
44129 #else
44130 # include <assert.h>
44131 #endif
44132
44133 #undef $ac_func
44134
44135 /* Override any GCC internal prototype to avoid an error.
44136 Use char because int might match the return type of a GCC
44137 builtin and then its argument prototype would still apply. */
44138 #ifdef __cplusplus
44139 extern "C"
44140 #endif
44141 char $ac_func ();
44142 /* The GNU C library defines this for functions which it implements
44143 to always fail with ENOSYS. Some functions are actually named
44144 something starting with __ and the normal name is an alias. */
44145 #if defined __stub_$ac_func || defined __stub___$ac_func
44146 choke me
44147 #endif
44148
44149 int
44150 main ()
44151 {
44152 return $ac_func ();
44153 ;
44154 return 0;
44155 }
44156 _ACEOF
44157 rm -f conftest.$ac_objext conftest$ac_exeext
44158 if { (ac_try="$ac_link"
44159 case "(($ac_try" in
44160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44161 *) ac_try_echo=$ac_try;;
44162 esac
44163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44164 (eval "$ac_link") 2>conftest.er1
44165 ac_status=$?
44166 grep -v '^ *+' conftest.er1 >conftest.err
44167 rm -f conftest.er1
44168 cat conftest.err >&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); } && {
44171 test -z "$ac_c_werror_flag" ||
44172 test ! -s conftest.err
44173 } && test -s conftest$ac_exeext &&
44174 $as_test_x conftest$ac_exeext; then
44175 eval "$as_ac_var=yes"
44176 else
44177 echo "$as_me: failed program was:" >&5
44178 sed 's/^/| /' conftest.$ac_ext >&5
44179
44180 eval "$as_ac_var=no"
44181 fi
44182
44183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44184 conftest$ac_exeext conftest.$ac_ext
44185 fi
44186 ac_res=`eval echo '${'$as_ac_var'}'`
44187 { echo "$as_me:$LINENO: result: $ac_res" >&5
44188 echo "${ECHO_T}$ac_res" >&6; }
44189 if test `eval echo '${'$as_ac_var'}'` = yes; then
44190 cat >>confdefs.h <<_ACEOF
44191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44192 _ACEOF
44193 cat >>confdefs.h <<\_ACEOF
44194 #define HAVE_DLERROR 1
44195 _ACEOF
44196
44197 else
44198
44199 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44200 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44201 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44202 echo $ECHO_N "(cached) $ECHO_C" >&6
44203 else
44204 ac_check_lib_save_LIBS=$LIBS
44205 LIBS="-ldl $LIBS"
44206 cat >conftest.$ac_ext <<_ACEOF
44207 /* confdefs.h. */
44208 _ACEOF
44209 cat confdefs.h >>conftest.$ac_ext
44210 cat >>conftest.$ac_ext <<_ACEOF
44211 /* end confdefs.h. */
44212
44213 /* Override any GCC internal prototype to avoid an error.
44214 Use char because int might match the return type of a GCC
44215 builtin and then its argument prototype would still apply. */
44216 #ifdef __cplusplus
44217 extern "C"
44218 #endif
44219 char dlerror ();
44220 int
44221 main ()
44222 {
44223 return dlerror ();
44224 ;
44225 return 0;
44226 }
44227 _ACEOF
44228 rm -f conftest.$ac_objext conftest$ac_exeext
44229 if { (ac_try="$ac_link"
44230 case "(($ac_try" in
44231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44232 *) ac_try_echo=$ac_try;;
44233 esac
44234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44235 (eval "$ac_link") 2>conftest.er1
44236 ac_status=$?
44237 grep -v '^ *+' conftest.er1 >conftest.err
44238 rm -f conftest.er1
44239 cat conftest.err >&5
44240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241 (exit $ac_status); } && {
44242 test -z "$ac_c_werror_flag" ||
44243 test ! -s conftest.err
44244 } && test -s conftest$ac_exeext &&
44245 $as_test_x conftest$ac_exeext; then
44246 ac_cv_lib_dl_dlerror=yes
44247 else
44248 echo "$as_me: failed program was:" >&5
44249 sed 's/^/| /' conftest.$ac_ext >&5
44250
44251 ac_cv_lib_dl_dlerror=no
44252 fi
44253
44254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44255 conftest$ac_exeext conftest.$ac_ext
44256 LIBS=$ac_check_lib_save_LIBS
44257 fi
44258 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44259 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44260 if test $ac_cv_lib_dl_dlerror = yes; then
44261 cat >>confdefs.h <<\_ACEOF
44262 #define HAVE_DLERROR 1
44263 _ACEOF
44264
44265 fi
44266
44267
44268
44269 fi
44270 done
44271
44272 fi
44273 fi
44274
44275 if test "$HAVE_DL_FUNCS" = 0; then
44276 if test "$HAVE_SHL_FUNCS" = 0; then
44277 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44278 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44279 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44280 wxUSE_DYNAMIC_LOADER=no
44281 wxUSE_DYNLIB_CLASS=no
44282 else
44283 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44284 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44285 fi
44286 fi
44287 fi
44288 fi
44289 fi
44290
44291 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44292 cat >>confdefs.h <<\_ACEOF
44293 #define wxUSE_DYNAMIC_LOADER 1
44294 _ACEOF
44295
44296 fi
44297 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44298 cat >>confdefs.h <<\_ACEOF
44299 #define wxUSE_DYNLIB_CLASS 1
44300 _ACEOF
44301
44302 fi
44303
44304
44305
44306 if test "$wxUSE_PLUGINS" = "yes" ; then
44307 if test "$wxUSE_SHARED" = "no" ; then
44308 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44309 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44310 wxUSE_PLUGINS=no
44311 fi
44312 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44313 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44314 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44315 wxUSE_PLUGINS=no
44316 fi
44317 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44318 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44319 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44320 wxUSE_PLUGINS=no
44321 fi
44322 if test "$wxUSE_PLUGINS" = "yes" ; then
44323 cat >>confdefs.h <<\_ACEOF
44324 #define wxUSE_PLUGINS 1
44325 _ACEOF
44326
44327 fi
44328 fi
44329
44330
44331 if test "$wxUSE_STL" = "yes"; then
44332 cat >>confdefs.h <<\_ACEOF
44333 #define wxUSE_STL 1
44334 _ACEOF
44335
44336 fi
44337
44338 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44339 cat >>confdefs.h <<\_ACEOF
44340 #define wxUSE_EXTENDED_RTTI 1
44341 _ACEOF
44342
44343 fi
44344
44345 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_APPLE_IEEE 1
44348 _ACEOF
44349
44350 fi
44351
44352 if test "$wxUSE_TIMER" = "yes"; then
44353 cat >>confdefs.h <<\_ACEOF
44354 #define wxUSE_TIMER 1
44355 _ACEOF
44356
44357 fi
44358
44359 if test "$USE_UNIX" = "1" ; then
44360 if test "$wxUSE_MGL" != 1; then
44361 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44362 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44363 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44364 echo $ECHO_N "(cached) $ECHO_C" >&6
44365 else
44366
44367 cat >conftest.$ac_ext <<_ACEOF
44368 /* confdefs.h. */
44369 _ACEOF
44370 cat confdefs.h >>conftest.$ac_ext
44371 cat >>conftest.$ac_ext <<_ACEOF
44372 /* end confdefs.h. */
44373
44374 #include <sys/ioctl.h>
44375 #include <sys/soundcard.h>
44376
44377 int
44378 main ()
44379 {
44380
44381 ioctl(0, SNDCTL_DSP_SPEED, 0);
44382
44383 ;
44384 return 0;
44385 }
44386 _ACEOF
44387 rm -f conftest.$ac_objext conftest$ac_exeext
44388 if { (ac_try="$ac_link"
44389 case "(($ac_try" in
44390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44391 *) ac_try_echo=$ac_try;;
44392 esac
44393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44394 (eval "$ac_link") 2>conftest.er1
44395 ac_status=$?
44396 grep -v '^ *+' conftest.er1 >conftest.err
44397 rm -f conftest.er1
44398 cat conftest.err >&5
44399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44400 (exit $ac_status); } && {
44401 test -z "$ac_c_werror_flag" ||
44402 test ! -s conftest.err
44403 } && test -s conftest$ac_exeext &&
44404 $as_test_x conftest$ac_exeext; then
44405 ac_cv_header_sys_soundcard=yes
44406 else
44407 echo "$as_me: failed program was:" >&5
44408 sed 's/^/| /' conftest.$ac_ext >&5
44409
44410
44411 saveLibs="$LIBS"
44412 LIBS="$saveLibs -lossaudio"
44413 cat >conftest.$ac_ext <<_ACEOF
44414 /* confdefs.h. */
44415 _ACEOF
44416 cat confdefs.h >>conftest.$ac_ext
44417 cat >>conftest.$ac_ext <<_ACEOF
44418 /* end confdefs.h. */
44419
44420 #include <sys/ioctl.h>
44421 #include <sys/soundcard.h>
44422
44423 int
44424 main ()
44425 {
44426
44427 ioctl(0, SNDCTL_DSP_SPEED, 0);
44428
44429 ;
44430 return 0;
44431 }
44432 _ACEOF
44433 rm -f conftest.$ac_objext conftest$ac_exeext
44434 if { (ac_try="$ac_link"
44435 case "(($ac_try" in
44436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44437 *) ac_try_echo=$ac_try;;
44438 esac
44439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44440 (eval "$ac_link") 2>conftest.er1
44441 ac_status=$?
44442 grep -v '^ *+' conftest.er1 >conftest.err
44443 rm -f conftest.er1
44444 cat conftest.err >&5
44445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44446 (exit $ac_status); } && {
44447 test -z "$ac_c_werror_flag" ||
44448 test ! -s conftest.err
44449 } && test -s conftest$ac_exeext &&
44450 $as_test_x conftest$ac_exeext; then
44451 ac_cv_header_sys_soundcard=yes
44452 else
44453 echo "$as_me: failed program was:" >&5
44454 sed 's/^/| /' conftest.$ac_ext >&5
44455
44456
44457 LIBS="$saveLibs"
44458 ac_cv_header_sys_soundcard=no
44459
44460
44461 fi
44462
44463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44464 conftest$ac_exeext conftest.$ac_ext
44465
44466
44467 fi
44468
44469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44470 conftest$ac_exeext conftest.$ac_ext
44471
44472 fi
44473 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44474 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44475 fi
44476
44477 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44478 cat >>confdefs.h <<\_ACEOF
44479 #define HAVE_SYS_SOUNDCARD_H 1
44480 _ACEOF
44481
44482 fi
44483 fi
44484
44485 WITH_PLUGIN_SDL=0
44486 if test "$wxUSE_SOUND" = "yes"; then
44487 if test "$USE_UNIX" = "1" ; then
44488 if test "$wxUSE_LIBSDL" != "no"; then
44489
44490 # Check whether --with-sdl-prefix was given.
44491 if test "${with_sdl_prefix+set}" = set; then
44492 withval=$with_sdl_prefix; sdl_prefix="$withval"
44493 else
44494 sdl_prefix=""
44495 fi
44496
44497
44498 # Check whether --with-sdl-exec-prefix was given.
44499 if test "${with_sdl_exec_prefix+set}" = set; then
44500 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44501 else
44502 sdl_exec_prefix=""
44503 fi
44504
44505 # Check whether --enable-sdltest was given.
44506 if test "${enable_sdltest+set}" = set; then
44507 enableval=$enable_sdltest;
44508 else
44509 enable_sdltest=yes
44510 fi
44511
44512
44513 if test x$sdl_exec_prefix != x ; then
44514 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44515 if test x${SDL_CONFIG+set} != xset ; then
44516 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44517 fi
44518 fi
44519 if test x$sdl_prefix != x ; then
44520 sdl_args="$sdl_args --prefix=$sdl_prefix"
44521 if test x${SDL_CONFIG+set} != xset ; then
44522 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44523 fi
44524 fi
44525
44526 if test "x$prefix" != xNONE; then
44527 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44528 fi
44529 # Extract the first word of "sdl-config", so it can be a program name with args.
44530 set dummy sdl-config; ac_word=$2
44531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44533 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44534 echo $ECHO_N "(cached) $ECHO_C" >&6
44535 else
44536 case $SDL_CONFIG in
44537 [\\/]* | ?:[\\/]*)
44538 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44539 ;;
44540 *)
44541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44542 for as_dir in $PATH
44543 do
44544 IFS=$as_save_IFS
44545 test -z "$as_dir" && as_dir=.
44546 for ac_exec_ext in '' $ac_executable_extensions; do
44547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44548 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44550 break 2
44551 fi
44552 done
44553 done
44554 IFS=$as_save_IFS
44555
44556 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44557 ;;
44558 esac
44559 fi
44560 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44561 if test -n "$SDL_CONFIG"; then
44562 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44563 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44564 else
44565 { echo "$as_me:$LINENO: result: no" >&5
44566 echo "${ECHO_T}no" >&6; }
44567 fi
44568
44569
44570 min_sdl_version=1.2.0
44571 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44572 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44573 no_sdl=""
44574 if test "$SDL_CONFIG" = "no" ; then
44575 no_sdl=yes
44576 else
44577 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44578 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44579
44580 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44582 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44584 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44586 if test "x$enable_sdltest" = "xyes" ; then
44587 ac_save_CFLAGS="$CFLAGS"
44588 ac_save_CXXFLAGS="$CXXFLAGS"
44589 ac_save_LIBS="$LIBS"
44590 CFLAGS="$CFLAGS $SDL_CFLAGS"
44591 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44592 LIBS="$LIBS $SDL_LIBS"
44593 rm -f conf.sdltest
44594 if test "$cross_compiling" = yes; then
44595 echo $ac_n "cross compiling; assumed OK... $ac_c"
44596 else
44597 cat >conftest.$ac_ext <<_ACEOF
44598 /* confdefs.h. */
44599 _ACEOF
44600 cat confdefs.h >>conftest.$ac_ext
44601 cat >>conftest.$ac_ext <<_ACEOF
44602 /* end confdefs.h. */
44603
44604 #include <stdio.h>
44605 #include <stdlib.h>
44606 #include <string.h>
44607 #include "SDL.h"
44608
44609 char*
44610 my_strdup (char *str)
44611 {
44612 char *new_str;
44613
44614 if (str)
44615 {
44616 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44617 strcpy (new_str, str);
44618 }
44619 else
44620 new_str = NULL;
44621
44622 return new_str;
44623 }
44624
44625 int main (int argc, char *argv[])
44626 {
44627 int major, minor, micro;
44628 char *tmp_version;
44629
44630 /* This hangs on some systems (?)
44631 system ("touch conf.sdltest");
44632 */
44633 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44634
44635 /* HP/UX 9 (%@#!) writes to sscanf strings */
44636 tmp_version = my_strdup("$min_sdl_version");
44637 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44638 printf("%s, bad version string\n", "$min_sdl_version");
44639 exit(1);
44640 }
44641
44642 if (($sdl_major_version > major) ||
44643 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44644 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44645 {
44646 return 0;
44647 }
44648 else
44649 {
44650 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44651 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44652 printf("*** best to upgrade to the required version.\n");
44653 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44654 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44655 printf("*** config.cache before re-running configure\n");
44656 return 1;
44657 }
44658 }
44659
44660
44661 _ACEOF
44662 rm -f conftest$ac_exeext
44663 if { (ac_try="$ac_link"
44664 case "(($ac_try" in
44665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44666 *) ac_try_echo=$ac_try;;
44667 esac
44668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44669 (eval "$ac_link") 2>&5
44670 ac_status=$?
44671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44673 { (case "(($ac_try" in
44674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44675 *) ac_try_echo=$ac_try;;
44676 esac
44677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44678 (eval "$ac_try") 2>&5
44679 ac_status=$?
44680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44681 (exit $ac_status); }; }; then
44682 :
44683 else
44684 echo "$as_me: program exited with status $ac_status" >&5
44685 echo "$as_me: failed program was:" >&5
44686 sed 's/^/| /' conftest.$ac_ext >&5
44687
44688 ( exit $ac_status )
44689 no_sdl=yes
44690 fi
44691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44692 fi
44693
44694
44695 CFLAGS="$ac_save_CFLAGS"
44696 CXXFLAGS="$ac_save_CXXFLAGS"
44697 LIBS="$ac_save_LIBS"
44698 fi
44699 fi
44700 if test "x$no_sdl" = x ; then
44701 { echo "$as_me:$LINENO: result: yes" >&5
44702 echo "${ECHO_T}yes" >&6; }
44703
44704 EXTRALIBS_SDL="$SDL_LIBS"
44705 CFLAGS="$SDL_CFLAGS $CFLAGS"
44706 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44707 cat >>confdefs.h <<\_ACEOF
44708 #define wxUSE_LIBSDL 1
44709 _ACEOF
44710
44711
44712 else
44713 { echo "$as_me:$LINENO: result: no" >&5
44714 echo "${ECHO_T}no" >&6; }
44715 if test "$SDL_CONFIG" = "no" ; then
44716 echo "*** The sdl-config script installed by SDL could not be found"
44717 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44718 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44719 echo "*** full path to sdl-config."
44720 else
44721 if test -f conf.sdltest ; then
44722 :
44723 else
44724 echo "*** Could not run SDL test program, checking why..."
44725 CFLAGS="$CFLAGS $SDL_CFLAGS"
44726 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44727 LIBS="$LIBS $SDL_LIBS"
44728 cat >conftest.$ac_ext <<_ACEOF
44729 /* confdefs.h. */
44730 _ACEOF
44731 cat confdefs.h >>conftest.$ac_ext
44732 cat >>conftest.$ac_ext <<_ACEOF
44733 /* end confdefs.h. */
44734
44735 #include <stdio.h>
44736 #include "SDL.h"
44737
44738 int main(int argc, char *argv[])
44739 { return 0; }
44740 #undef main
44741 #define main K_and_R_C_main
44742
44743 int
44744 main ()
44745 {
44746 return 0;
44747 ;
44748 return 0;
44749 }
44750 _ACEOF
44751 rm -f conftest.$ac_objext conftest$ac_exeext
44752 if { (ac_try="$ac_link"
44753 case "(($ac_try" in
44754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44755 *) ac_try_echo=$ac_try;;
44756 esac
44757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44758 (eval "$ac_link") 2>conftest.er1
44759 ac_status=$?
44760 grep -v '^ *+' conftest.er1 >conftest.err
44761 rm -f conftest.er1
44762 cat conftest.err >&5
44763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764 (exit $ac_status); } && {
44765 test -z "$ac_c_werror_flag" ||
44766 test ! -s conftest.err
44767 } && test -s conftest$ac_exeext &&
44768 $as_test_x conftest$ac_exeext; then
44769 echo "*** The test program compiled, but did not run. This usually means"
44770 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44771 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44772 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44773 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44774 echo "*** is required on your system"
44775 echo "***"
44776 echo "*** If you have an old version installed, it is best to remove it, although"
44777 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44778 else
44779 echo "$as_me: failed program was:" >&5
44780 sed 's/^/| /' conftest.$ac_ext >&5
44781
44782 echo "*** The test program failed to compile or link. See the file config.log for the"
44783 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44784 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44785 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44786 fi
44787
44788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44789 conftest$ac_exeext conftest.$ac_ext
44790 CFLAGS="$ac_save_CFLAGS"
44791 CXXFLAGS="$ac_save_CXXFLAGS"
44792 LIBS="$ac_save_LIBS"
44793 fi
44794 fi
44795 SDL_CFLAGS=""
44796 SDL_LIBS=""
44797 wxUSE_LIBSDL="no"
44798 fi
44799
44800
44801 rm -f conf.sdltest
44802
44803 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44804 WITH_PLUGIN_SDL=1
44805 fi
44806 fi
44807 else
44808 if test "$wxUSE_MGL" = 1; then
44809 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44810 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44811 wxUSE_SOUND="no"
44812 fi
44813 fi
44814 fi
44815
44816 if test "$wxUSE_SOUND" = "yes"; then
44817 cat >>confdefs.h <<\_ACEOF
44818 #define wxUSE_SOUND 1
44819 _ACEOF
44820
44821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44822 fi
44823
44824 if test "$WXGTK20" = 1; then
44825
44826
44827 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44828 if test -n "$ac_tool_prefix"; then
44829 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44830 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44833 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44834 echo $ECHO_N "(cached) $ECHO_C" >&6
44835 else
44836 case $PKG_CONFIG in
44837 [\\/]* | ?:[\\/]*)
44838 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44839 ;;
44840 *)
44841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44842 for as_dir in $PATH
44843 do
44844 IFS=$as_save_IFS
44845 test -z "$as_dir" && as_dir=.
44846 for ac_exec_ext in '' $ac_executable_extensions; do
44847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44848 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44850 break 2
44851 fi
44852 done
44853 done
44854 IFS=$as_save_IFS
44855
44856 ;;
44857 esac
44858 fi
44859 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44860 if test -n "$PKG_CONFIG"; then
44861 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44862 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44863 else
44864 { echo "$as_me:$LINENO: result: no" >&5
44865 echo "${ECHO_T}no" >&6; }
44866 fi
44867
44868
44869 fi
44870 if test -z "$ac_cv_path_PKG_CONFIG"; then
44871 ac_pt_PKG_CONFIG=$PKG_CONFIG
44872 # Extract the first word of "pkg-config", so it can be a program name with args.
44873 set dummy pkg-config; ac_word=$2
44874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44876 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44877 echo $ECHO_N "(cached) $ECHO_C" >&6
44878 else
44879 case $ac_pt_PKG_CONFIG in
44880 [\\/]* | ?:[\\/]*)
44881 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44882 ;;
44883 *)
44884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44885 for as_dir in $PATH
44886 do
44887 IFS=$as_save_IFS
44888 test -z "$as_dir" && as_dir=.
44889 for ac_exec_ext in '' $ac_executable_extensions; do
44890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44891 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44893 break 2
44894 fi
44895 done
44896 done
44897 IFS=$as_save_IFS
44898
44899 ;;
44900 esac
44901 fi
44902 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44903 if test -n "$ac_pt_PKG_CONFIG"; then
44904 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44905 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44906 else
44907 { echo "$as_me:$LINENO: result: no" >&5
44908 echo "${ECHO_T}no" >&6; }
44909 fi
44910
44911 if test "x$ac_pt_PKG_CONFIG" = x; then
44912 PKG_CONFIG=""
44913 else
44914 case $cross_compiling:$ac_tool_warned in
44915 yes:)
44916 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44917 whose name does not start with the host triplet. If you think this
44918 configuration is useful to you, please write to autoconf@gnu.org." >&5
44919 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44920 whose name does not start with the host triplet. If you think this
44921 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44922 ac_tool_warned=yes ;;
44923 esac
44924 PKG_CONFIG=$ac_pt_PKG_CONFIG
44925 fi
44926 else
44927 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44928 fi
44929
44930 fi
44931 if test -n "$PKG_CONFIG"; then
44932 _pkg_min_version=0.9.0
44933 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44934 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44935 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44936 { echo "$as_me:$LINENO: result: yes" >&5
44937 echo "${ECHO_T}yes" >&6; }
44938 else
44939 { echo "$as_me:$LINENO: result: no" >&5
44940 echo "${ECHO_T}no" >&6; }
44941 PKG_CONFIG=""
44942 fi
44943
44944 fi
44945
44946 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44947
44948 if test "$wxUSE_GTKPRINT" = "yes" ; then
44949
44950
44951 pkg_failed=no
44952 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44953 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44954
44955 if test -n "$PKG_CONFIG"; then
44956 if test -n "$GTKPRINT_CFLAGS"; then
44957 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44958 else
44959 if test -n "$PKG_CONFIG" && \
44960 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44961 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44962 ac_status=$?
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); }; then
44965 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44966 else
44967 pkg_failed=yes
44968 fi
44969 fi
44970 else
44971 pkg_failed=untried
44972 fi
44973 if test -n "$PKG_CONFIG"; then
44974 if test -n "$GTKPRINT_LIBS"; then
44975 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44976 else
44977 if test -n "$PKG_CONFIG" && \
44978 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44979 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44980 ac_status=$?
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); }; then
44983 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44984 else
44985 pkg_failed=yes
44986 fi
44987 fi
44988 else
44989 pkg_failed=untried
44990 fi
44991
44992
44993
44994 if test $pkg_failed = yes; then
44995
44996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44997 _pkg_short_errors_supported=yes
44998 else
44999 _pkg_short_errors_supported=no
45000 fi
45001 if test $_pkg_short_errors_supported = yes; then
45002 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45003 else
45004 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45005 fi
45006 # Put the nasty error message in config.log where it belongs
45007 echo "$GTKPRINT_PKG_ERRORS" >&5
45008
45009
45010 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45011 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45012 wxUSE_GTKPRINT="no"
45013
45014
45015 elif test $pkg_failed = untried; then
45016
45017 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45018 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45019 wxUSE_GTKPRINT="no"
45020
45021
45022 else
45023 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45024 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45025 { echo "$as_me:$LINENO: result: yes" >&5
45026 echo "${ECHO_T}yes" >&6; }
45027
45028 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45029 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_GTKPRINT 1
45032 _ACEOF
45033
45034
45035 fi
45036 fi
45037
45038 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45039
45040
45041 pkg_failed=no
45042 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45043 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45044
45045 if test -n "$PKG_CONFIG"; then
45046 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45047 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45048 else
45049 if test -n "$PKG_CONFIG" && \
45050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45051 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45052 ac_status=$?
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); }; then
45055 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45056 else
45057 pkg_failed=yes
45058 fi
45059 fi
45060 else
45061 pkg_failed=untried
45062 fi
45063 if test -n "$PKG_CONFIG"; then
45064 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45065 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45066 else
45067 if test -n "$PKG_CONFIG" && \
45068 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45069 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45070 ac_status=$?
45071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45072 (exit $ac_status); }; then
45073 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45074 else
45075 pkg_failed=yes
45076 fi
45077 fi
45078 else
45079 pkg_failed=untried
45080 fi
45081
45082
45083
45084 if test $pkg_failed = yes; then
45085
45086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45087 _pkg_short_errors_supported=yes
45088 else
45089 _pkg_short_errors_supported=no
45090 fi
45091 if test $_pkg_short_errors_supported = yes; then
45092 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45093 else
45094 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45095 fi
45096 # Put the nasty error message in config.log where it belongs
45097 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45098
45099
45100 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45101 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45102 wxUSE_LIBGNOMEPRINT="no"
45103
45104
45105 elif test $pkg_failed = untried; then
45106
45107 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45108 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45109 wxUSE_LIBGNOMEPRINT="no"
45110
45111
45112 else
45113 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45114 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45115 { echo "$as_me:$LINENO: result: yes" >&5
45116 echo "${ECHO_T}yes" >&6; }
45117
45118 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45119 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_LIBGNOMEPRINT 1
45122 _ACEOF
45123
45124
45125 fi
45126 fi
45127 fi
45128
45129 if test "$wxUSE_MIMETYPE" = "yes" ; then
45130 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45131
45132
45133 pkg_failed=no
45134 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45135 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45136
45137 if test -n "$PKG_CONFIG"; then
45138 if test -n "$GNOMEVFS_CFLAGS"; then
45139 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45140 else
45141 if test -n "$PKG_CONFIG" && \
45142 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45143 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45144 ac_status=$?
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); }; then
45147 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45148 else
45149 pkg_failed=yes
45150 fi
45151 fi
45152 else
45153 pkg_failed=untried
45154 fi
45155 if test -n "$PKG_CONFIG"; then
45156 if test -n "$GNOMEVFS_LIBS"; then
45157 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45158 else
45159 if test -n "$PKG_CONFIG" && \
45160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45161 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45162 ac_status=$?
45163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45164 (exit $ac_status); }; then
45165 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45166 else
45167 pkg_failed=yes
45168 fi
45169 fi
45170 else
45171 pkg_failed=untried
45172 fi
45173
45174
45175
45176 if test $pkg_failed = yes; then
45177
45178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45179 _pkg_short_errors_supported=yes
45180 else
45181 _pkg_short_errors_supported=no
45182 fi
45183 if test $_pkg_short_errors_supported = yes; then
45184 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45185 else
45186 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45187 fi
45188 # Put the nasty error message in config.log where it belongs
45189 echo "$GNOMEVFS_PKG_ERRORS" >&5
45190
45191
45192 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45193 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45194 wxUSE_LIBGNOMEVFS="no"
45195
45196
45197 elif test $pkg_failed = untried; then
45198
45199 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45200 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45201 wxUSE_LIBGNOMEVFS="no"
45202
45203
45204 else
45205 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45206 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45207 { echo "$as_me:$LINENO: result: yes" >&5
45208 echo "${ECHO_T}yes" >&6; }
45209
45210 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45211 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_LIBGNOMEVFS 1
45214 _ACEOF
45215
45216
45217 fi
45218 fi
45219 fi
45220
45221 if test "$wxUSE_LIBHILDON" = "yes" ; then
45222
45223 pkg_failed=no
45224 { echo "$as_me:$LINENO: checking for HILDON" >&5
45225 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45226
45227 if test -n "$PKG_CONFIG"; then
45228 if test -n "$HILDON_CFLAGS"; then
45229 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45230 else
45231 if test -n "$PKG_CONFIG" && \
45232 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45233 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45234 ac_status=$?
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); }; then
45237 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45238 else
45239 pkg_failed=yes
45240 fi
45241 fi
45242 else
45243 pkg_failed=untried
45244 fi
45245 if test -n "$PKG_CONFIG"; then
45246 if test -n "$HILDON_LIBS"; then
45247 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45248 else
45249 if test -n "$PKG_CONFIG" && \
45250 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45251 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45252 ac_status=$?
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); }; then
45255 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45256 else
45257 pkg_failed=yes
45258 fi
45259 fi
45260 else
45261 pkg_failed=untried
45262 fi
45263
45264
45265
45266 if test $pkg_failed = yes; then
45267
45268 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45269 _pkg_short_errors_supported=yes
45270 else
45271 _pkg_short_errors_supported=no
45272 fi
45273 if test $_pkg_short_errors_supported = yes; then
45274 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45275 else
45276 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45277 fi
45278 # Put the nasty error message in config.log where it belongs
45279 echo "$HILDON_PKG_ERRORS" >&5
45280
45281
45282 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45283 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45284 wxUSE_LIBHILDON="no"
45285
45286
45287 elif test $pkg_failed = untried; then
45288
45289 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45290 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45291 wxUSE_LIBHILDON="no"
45292
45293
45294 else
45295 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45296 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45297 { echo "$as_me:$LINENO: result: yes" >&5
45298 echo "${ECHO_T}yes" >&6; }
45299
45300 EXTRALIBS_HILDON="$HILDON_LIBS"
45301 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45302 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_LIBHILDON 1
45305 _ACEOF
45306
45307
45308 fi
45309 fi
45310 fi
45311
45312 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_CMDLINE_PARSER 1
45315 _ACEOF
45316
45317 fi
45318
45319 if test "$wxUSE_STOPWATCH" = "yes"; then
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_STOPWATCH 1
45322 _ACEOF
45323
45324 fi
45325
45326 if test "$wxUSE_DATETIME" = "yes"; then
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_DATETIME 1
45329 _ACEOF
45330
45331 fi
45332
45333 if test "$wxUSE_FILE" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_FILE 1
45336 _ACEOF
45337
45338 fi
45339
45340 if test "$wxUSE_FFILE" = "yes"; then
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_FFILE 1
45343 _ACEOF
45344
45345 fi
45346
45347 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45348 if test "$wxUSE_STREAMS" != yes; then
45349 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45350 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45351 wxUSE_ARCHIVE_STREAMS=no
45352 else
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_ARCHIVE_STREAMS 1
45355 _ACEOF
45356
45357 fi
45358 fi
45359
45360 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45361 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45362 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45363 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45364 elif test "$wxUSE_ZLIB" = "no"; then
45365 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45366 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45367 else
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_ZIPSTREAM 1
45370 _ACEOF
45371
45372 fi
45373 fi
45374
45375 if test "$wxUSE_TARSTREAM" = "yes"; then
45376 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45377 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45378 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45379 else
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_TARSTREAM 1
45382 _ACEOF
45383
45384 fi
45385 fi
45386
45387 if test "$wxUSE_FILESYSTEM" = "yes"; then
45388 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45389 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45390 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45391 wxUSE_FILESYSTEM=no
45392 else
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_FILESYSTEM 1
45395 _ACEOF
45396
45397 fi
45398 fi
45399
45400 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45401 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45402 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45403 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45404 else
45405 cat >>confdefs.h <<\_ACEOF
45406 #define wxUSE_FS_ARCHIVE 1
45407 _ACEOF
45408
45409 fi
45410 fi
45411
45412 if test "$wxUSE_FS_ZIP" = "yes"; then
45413 if test "$wxUSE_FS_ARCHIVE" != yes; then
45414 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45415 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45416 else
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_FS_ZIP 1
45419 _ACEOF
45420
45421 fi
45422 fi
45423
45424 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45425 if test "$USE_UNIX" != 1; then
45426 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45427 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45428 wxUSE_ON_FATAL_EXCEPTION=no
45429 else
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_ON_FATAL_EXCEPTION 1
45432 _ACEOF
45433
45434 fi
45435 fi
45436
45437 if test "$wxUSE_STACKWALKER" = "yes"; then
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_STACKWALKER 1
45440 _ACEOF
45441
45442 fi
45443
45444 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45445 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45446 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45447 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45448 wxUSE_DEBUGREPORT=no
45449 else
45450 cat >>confdefs.h <<\_ACEOF
45451 #define wxUSE_DEBUGREPORT 1
45452 _ACEOF
45453
45454 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45456 fi
45457 fi
45458 fi
45459
45460 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_SNGLINST_CHECKER 1
45463 _ACEOF
45464
45465 fi
45466
45467 if test "$wxUSE_BUSYINFO" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_BUSYINFO 1
45470 _ACEOF
45471
45472 fi
45473
45474 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_STD_IOSTREAM 1
45477 _ACEOF
45478
45479 fi
45480
45481 if test "$wxUSE_STD_STRING" = "yes"; then
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_STD_STRING 1
45484 _ACEOF
45485
45486 fi
45487
45488 if test "$wxUSE_STDPATHS" = "yes"; then
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_STDPATHS 1
45491 _ACEOF
45492
45493 fi
45494
45495 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_TEXTBUFFER 1
45498 _ACEOF
45499
45500 fi
45501
45502 if test "$wxUSE_TEXTFILE" = "yes"; then
45503 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45504 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45505 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45506 else
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_TEXTFILE 1
45509 _ACEOF
45510
45511 fi
45512 fi
45513
45514 if test "$wxUSE_CONFIG" = "yes" ; then
45515 if test "$wxUSE_TEXTFILE" != "yes"; then
45516 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45517 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45518 else
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_CONFIG 1
45521 _ACEOF
45522
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_CONFIG_NATIVE 1
45525 _ACEOF
45526
45527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45528 fi
45529 fi
45530
45531 if test "$wxUSE_INTL" = "yes" ; then
45532 if test "$wxUSE_FILE" != "yes"; then
45533 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45534 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45535 else
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_INTL 1
45538 _ACEOF
45539
45540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45541 GUIDIST="$GUIDIST INTL_DIST"
45542 fi
45543 fi
45544
45545 if test "$wxUSE_LOG" = "yes"; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_LOG 1
45548 _ACEOF
45549
45550
45551 if test "$wxUSE_LOGGUI" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_LOGGUI 1
45554 _ACEOF
45555
45556 fi
45557
45558 if test "$wxUSE_LOGWINDOW" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_LOGWINDOW 1
45561 _ACEOF
45562
45563 fi
45564
45565 if test "$wxUSE_LOGDIALOG" = "yes"; then
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_LOG_DIALOG 1
45568 _ACEOF
45569
45570 fi
45571
45572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45573 fi
45574
45575 if test "$wxUSE_LONGLONG" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_LONGLONG 1
45578 _ACEOF
45579
45580 fi
45581
45582 if test "$wxUSE_GEOMETRY" = "yes"; then
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_GEOMETRY 1
45585 _ACEOF
45586
45587 fi
45588
45589 if test "$wxUSE_BASE64" = "yes"; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_BASE64 1
45592 _ACEOF
45593
45594 fi
45595
45596 if test "$wxUSE_STREAMS" = "yes" ; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_STREAMS 1
45599 _ACEOF
45600
45601 fi
45602
45603 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_PRINTF_POS_PARAMS 1
45606 _ACEOF
45607
45608 fi
45609
45610 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_OBJC_UNIQUIFYING 1
45613 _ACEOF
45614
45615 fi
45616
45617
45618 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_CONSOLE_EVENTLOOP 1
45621 _ACEOF
45622
45623
45624 if test "$wxUSE_UNIX" = "yes"; then
45625 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_SELECT_DISPATCHER 1
45628 _ACEOF
45629
45630 fi
45631
45632 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45633
45634 for ac_header in sys/epoll.h
45635 do
45636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45640 echo $ECHO_N "(cached) $ECHO_C" >&6
45641 else
45642 cat >conftest.$ac_ext <<_ACEOF
45643 /* confdefs.h. */
45644 _ACEOF
45645 cat confdefs.h >>conftest.$ac_ext
45646 cat >>conftest.$ac_ext <<_ACEOF
45647 /* end confdefs.h. */
45648 $ac_includes_default
45649
45650 #include <$ac_header>
45651 _ACEOF
45652 rm -f conftest.$ac_objext
45653 if { (ac_try="$ac_compile"
45654 case "(($ac_try" in
45655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45656 *) ac_try_echo=$ac_try;;
45657 esac
45658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45659 (eval "$ac_compile") 2>conftest.er1
45660 ac_status=$?
45661 grep -v '^ *+' conftest.er1 >conftest.err
45662 rm -f conftest.er1
45663 cat conftest.err >&5
45664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45665 (exit $ac_status); } && {
45666 test -z "$ac_c_werror_flag" ||
45667 test ! -s conftest.err
45668 } && test -s conftest.$ac_objext; then
45669 eval "$as_ac_Header=yes"
45670 else
45671 echo "$as_me: failed program was:" >&5
45672 sed 's/^/| /' conftest.$ac_ext >&5
45673
45674 eval "$as_ac_Header=no"
45675 fi
45676
45677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45678 fi
45679 ac_res=`eval echo '${'$as_ac_Header'}'`
45680 { echo "$as_me:$LINENO: result: $ac_res" >&5
45681 echo "${ECHO_T}$ac_res" >&6; }
45682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45683 cat >>confdefs.h <<_ACEOF
45684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45685 _ACEOF
45686
45687 fi
45688
45689 done
45690
45691 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_EPOLL_DISPATCHER 1
45694 _ACEOF
45695
45696 else
45697 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45698 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45699 fi
45700 fi
45701 fi
45702 fi
45703
45704
45705
45706
45707 for ac_func in gettimeofday ftime
45708 do
45709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45713 echo $ECHO_N "(cached) $ECHO_C" >&6
45714 else
45715 cat >conftest.$ac_ext <<_ACEOF
45716 /* confdefs.h. */
45717 _ACEOF
45718 cat confdefs.h >>conftest.$ac_ext
45719 cat >>conftest.$ac_ext <<_ACEOF
45720 /* end confdefs.h. */
45721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45723 #define $ac_func innocuous_$ac_func
45724
45725 /* System header to define __stub macros and hopefully few prototypes,
45726 which can conflict with char $ac_func (); below.
45727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45728 <limits.h> exists even on freestanding compilers. */
45729
45730 #ifdef __STDC__
45731 # include <limits.h>
45732 #else
45733 # include <assert.h>
45734 #endif
45735
45736 #undef $ac_func
45737
45738 /* Override any GCC internal prototype to avoid an error.
45739 Use char because int might match the return type of a GCC
45740 builtin and then its argument prototype would still apply. */
45741 #ifdef __cplusplus
45742 extern "C"
45743 #endif
45744 char $ac_func ();
45745 /* The GNU C library defines this for functions which it implements
45746 to always fail with ENOSYS. Some functions are actually named
45747 something starting with __ and the normal name is an alias. */
45748 #if defined __stub_$ac_func || defined __stub___$ac_func
45749 choke me
45750 #endif
45751
45752 int
45753 main ()
45754 {
45755 return $ac_func ();
45756 ;
45757 return 0;
45758 }
45759 _ACEOF
45760 rm -f conftest.$ac_objext conftest$ac_exeext
45761 if { (ac_try="$ac_link"
45762 case "(($ac_try" in
45763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45764 *) ac_try_echo=$ac_try;;
45765 esac
45766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45767 (eval "$ac_link") 2>conftest.er1
45768 ac_status=$?
45769 grep -v '^ *+' conftest.er1 >conftest.err
45770 rm -f conftest.er1
45771 cat conftest.err >&5
45772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45773 (exit $ac_status); } && {
45774 test -z "$ac_c_werror_flag" ||
45775 test ! -s conftest.err
45776 } && test -s conftest$ac_exeext &&
45777 $as_test_x conftest$ac_exeext; then
45778 eval "$as_ac_var=yes"
45779 else
45780 echo "$as_me: failed program was:" >&5
45781 sed 's/^/| /' conftest.$ac_ext >&5
45782
45783 eval "$as_ac_var=no"
45784 fi
45785
45786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45787 conftest$ac_exeext conftest.$ac_ext
45788 fi
45789 ac_res=`eval echo '${'$as_ac_var'}'`
45790 { echo "$as_me:$LINENO: result: $ac_res" >&5
45791 echo "${ECHO_T}$ac_res" >&6; }
45792 if test `eval echo '${'$as_ac_var'}'` = yes; then
45793 cat >>confdefs.h <<_ACEOF
45794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45795 _ACEOF
45796 break
45797 fi
45798 done
45799
45800
45801 if test "$ac_cv_func_gettimeofday" = "yes"; then
45802 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45803 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45804 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45805 echo $ECHO_N "(cached) $ECHO_C" >&6
45806 else
45807
45808 cat >conftest.$ac_ext <<_ACEOF
45809 /* confdefs.h. */
45810 _ACEOF
45811 cat confdefs.h >>conftest.$ac_ext
45812 cat >>conftest.$ac_ext <<_ACEOF
45813 /* end confdefs.h. */
45814
45815 #include <sys/time.h>
45816 #include <unistd.h>
45817
45818 int
45819 main ()
45820 {
45821
45822 struct timeval tv;
45823 gettimeofday(&tv, NULL);
45824
45825 ;
45826 return 0;
45827 }
45828 _ACEOF
45829 rm -f conftest.$ac_objext
45830 if { (ac_try="$ac_compile"
45831 case "(($ac_try" in
45832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45833 *) ac_try_echo=$ac_try;;
45834 esac
45835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45836 (eval "$ac_compile") 2>conftest.er1
45837 ac_status=$?
45838 grep -v '^ *+' conftest.er1 >conftest.err
45839 rm -f conftest.er1
45840 cat conftest.err >&5
45841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45842 (exit $ac_status); } && {
45843 test -z "$ac_c_werror_flag" ||
45844 test ! -s conftest.err
45845 } && test -s conftest.$ac_objext; then
45846 wx_cv_func_gettimeofday_has_2_args=yes
45847 else
45848 echo "$as_me: failed program was:" >&5
45849 sed 's/^/| /' conftest.$ac_ext >&5
45850
45851 cat >conftest.$ac_ext <<_ACEOF
45852 /* confdefs.h. */
45853 _ACEOF
45854 cat confdefs.h >>conftest.$ac_ext
45855 cat >>conftest.$ac_ext <<_ACEOF
45856 /* end confdefs.h. */
45857
45858 #include <sys/time.h>
45859 #include <unistd.h>
45860
45861 int
45862 main ()
45863 {
45864
45865 struct timeval tv;
45866 gettimeofday(&tv);
45867
45868 ;
45869 return 0;
45870 }
45871 _ACEOF
45872 rm -f conftest.$ac_objext
45873 if { (ac_try="$ac_compile"
45874 case "(($ac_try" in
45875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45876 *) ac_try_echo=$ac_try;;
45877 esac
45878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45879 (eval "$ac_compile") 2>conftest.er1
45880 ac_status=$?
45881 grep -v '^ *+' conftest.er1 >conftest.err
45882 rm -f conftest.er1
45883 cat conftest.err >&5
45884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45885 (exit $ac_status); } && {
45886 test -z "$ac_c_werror_flag" ||
45887 test ! -s conftest.err
45888 } && test -s conftest.$ac_objext; then
45889 wx_cv_func_gettimeofday_has_2_args=no
45890 else
45891 echo "$as_me: failed program was:" >&5
45892 sed 's/^/| /' conftest.$ac_ext >&5
45893
45894
45895 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45896 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45897 wx_cv_func_gettimeofday_has_2_args=unknown
45898
45899
45900 fi
45901
45902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45903
45904 fi
45905
45906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45907
45908 fi
45909 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45910 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45911
45912 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45913 cat >>confdefs.h <<\_ACEOF
45914 #define WX_GETTIMEOFDAY_NO_TZ 1
45915 _ACEOF
45916
45917 fi
45918 fi
45919
45920 if test "$wxUSE_DATETIME" = "yes"; then
45921 { echo "$as_me:$LINENO: checking for strptime" >&5
45922 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45923 if test "${ac_cv_func_strptime+set}" = set; then
45924 echo $ECHO_N "(cached) $ECHO_C" >&6
45925 else
45926 cat >conftest.$ac_ext <<_ACEOF
45927 /* confdefs.h. */
45928 _ACEOF
45929 cat confdefs.h >>conftest.$ac_ext
45930 cat >>conftest.$ac_ext <<_ACEOF
45931 /* end confdefs.h. */
45932 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45934 #define strptime innocuous_strptime
45935
45936 /* System header to define __stub macros and hopefully few prototypes,
45937 which can conflict with char strptime (); below.
45938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45939 <limits.h> exists even on freestanding compilers. */
45940
45941 #ifdef __STDC__
45942 # include <limits.h>
45943 #else
45944 # include <assert.h>
45945 #endif
45946
45947 #undef strptime
45948
45949 /* Override any GCC internal prototype to avoid an error.
45950 Use char because int might match the return type of a GCC
45951 builtin and then its argument prototype would still apply. */
45952 #ifdef __cplusplus
45953 extern "C"
45954 #endif
45955 char strptime ();
45956 /* The GNU C library defines this for functions which it implements
45957 to always fail with ENOSYS. Some functions are actually named
45958 something starting with __ and the normal name is an alias. */
45959 #if defined __stub_strptime || defined __stub___strptime
45960 choke me
45961 #endif
45962
45963 int
45964 main ()
45965 {
45966 return strptime ();
45967 ;
45968 return 0;
45969 }
45970 _ACEOF
45971 rm -f conftest.$ac_objext conftest$ac_exeext
45972 if { (ac_try="$ac_link"
45973 case "(($ac_try" in
45974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45975 *) ac_try_echo=$ac_try;;
45976 esac
45977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45978 (eval "$ac_link") 2>conftest.er1
45979 ac_status=$?
45980 grep -v '^ *+' conftest.er1 >conftest.err
45981 rm -f conftest.er1
45982 cat conftest.err >&5
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); } && {
45985 test -z "$ac_c_werror_flag" ||
45986 test ! -s conftest.err
45987 } && test -s conftest$ac_exeext &&
45988 $as_test_x conftest$ac_exeext; then
45989 ac_cv_func_strptime=yes
45990 else
45991 echo "$as_me: failed program was:" >&5
45992 sed 's/^/| /' conftest.$ac_ext >&5
45993
45994 ac_cv_func_strptime=no
45995 fi
45996
45997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45998 conftest$ac_exeext conftest.$ac_ext
45999 fi
46000 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46001 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46002
46003 if test "$ac_cv_func_strptime" = "yes"; then
46004 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46005 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46006 if test "${wx_cv_func_strptime_decl+set}" = set; then
46007 echo $ECHO_N "(cached) $ECHO_C" >&6
46008 else
46009
46010 ac_ext=cpp
46011 ac_cpp='$CXXCPP $CPPFLAGS'
46012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46015
46016 cat >conftest.$ac_ext <<_ACEOF
46017 /* confdefs.h. */
46018 _ACEOF
46019 cat confdefs.h >>conftest.$ac_ext
46020 cat >>conftest.$ac_ext <<_ACEOF
46021 /* end confdefs.h. */
46022
46023 #include <time.h>
46024
46025 int
46026 main ()
46027 {
46028
46029 struct tm t;
46030 strptime("foo", "bar", &t);
46031
46032 ;
46033 return 0;
46034 }
46035 _ACEOF
46036 rm -f conftest.$ac_objext
46037 if { (ac_try="$ac_compile"
46038 case "(($ac_try" in
46039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46040 *) ac_try_echo=$ac_try;;
46041 esac
46042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46043 (eval "$ac_compile") 2>conftest.er1
46044 ac_status=$?
46045 grep -v '^ *+' conftest.er1 >conftest.err
46046 rm -f conftest.er1
46047 cat conftest.err >&5
46048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46049 (exit $ac_status); } && {
46050 test -z "$ac_cxx_werror_flag" ||
46051 test ! -s conftest.err
46052 } && test -s conftest.$ac_objext; then
46053 wx_cv_func_strptime_decl=yes
46054 else
46055 echo "$as_me: failed program was:" >&5
46056 sed 's/^/| /' conftest.$ac_ext >&5
46057
46058 wx_cv_func_strptime_decl=no
46059
46060 fi
46061
46062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46063 ac_ext=c
46064 ac_cpp='$CPP $CPPFLAGS'
46065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46068
46069
46070
46071 fi
46072 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46073 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46074 fi
46075 if test "$wx_cv_func_strptime_decl" = "yes"; then
46076 cat >>confdefs.h <<\_ACEOF
46077 #define HAVE_STRPTIME_DECL 1
46078 _ACEOF
46079
46080 else
46081 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46082 fi
46083 if test "$ac_cv_func_strptime" = "yes"; then
46084 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46085 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46086 if test "${wx_cv_func_strptime_ok+set}" = set; then
46087 echo $ECHO_N "(cached) $ECHO_C" >&6
46088 else
46089 if test "$cross_compiling" = yes; then
46090 wx_cv_func_strptime_ok=no
46091
46092 else
46093 cat >conftest.$ac_ext <<_ACEOF
46094
46095 #include <stdlib.h>
46096 #include <time.h>
46097 #include "confdefs.h"
46098
46099 $wx_strptime_decl
46100
46101 int main()
46102 {
46103 struct tm t;
46104 return !!strptime("", "%x", &t);
46105 }
46106
46107 _ACEOF
46108 rm -f conftest$ac_exeext
46109 if { (ac_try="$ac_link"
46110 case "(($ac_try" in
46111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46112 *) ac_try_echo=$ac_try;;
46113 esac
46114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46115 (eval "$ac_link") 2>&5
46116 ac_status=$?
46117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46118 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46119 { (case "(($ac_try" in
46120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46121 *) ac_try_echo=$ac_try;;
46122 esac
46123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46124 (eval "$ac_try") 2>&5
46125 ac_status=$?
46126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46127 (exit $ac_status); }; }; then
46128 wx_cv_func_strptime_ok=yes
46129 else
46130 echo "$as_me: program exited with status $ac_status" >&5
46131 echo "$as_me: failed program was:" >&5
46132 sed 's/^/| /' conftest.$ac_ext >&5
46133
46134 ( exit $ac_status )
46135 wx_cv_func_strptime_ok=no
46136 fi
46137 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46138 fi
46139
46140
46141
46142 fi
46143 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46144 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46145
46146 if test "$wx_cv_func_strptime_ok" = "yes"; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define HAVE_STRPTIME 1
46149 _ACEOF
46150
46151 fi
46152 fi
46153
46154 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46155 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46156 if test "${wx_cv_var_timezone+set}" = set; then
46157 echo $ECHO_N "(cached) $ECHO_C" >&6
46158 else
46159
46160 ac_ext=cpp
46161 ac_cpp='$CXXCPP $CPPFLAGS'
46162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46165
46166 cat >conftest.$ac_ext <<_ACEOF
46167 /* confdefs.h. */
46168 _ACEOF
46169 cat confdefs.h >>conftest.$ac_ext
46170 cat >>conftest.$ac_ext <<_ACEOF
46171 /* end confdefs.h. */
46172
46173 #include <time.h>
46174
46175 int
46176 main ()
46177 {
46178
46179 int tz;
46180 tz = timezone;
46181
46182 ;
46183 return 0;
46184 }
46185 _ACEOF
46186 rm -f conftest.$ac_objext
46187 if { (ac_try="$ac_compile"
46188 case "(($ac_try" in
46189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46190 *) ac_try_echo=$ac_try;;
46191 esac
46192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46193 (eval "$ac_compile") 2>conftest.er1
46194 ac_status=$?
46195 grep -v '^ *+' conftest.er1 >conftest.err
46196 rm -f conftest.er1
46197 cat conftest.err >&5
46198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46199 (exit $ac_status); } && {
46200 test -z "$ac_cxx_werror_flag" ||
46201 test ! -s conftest.err
46202 } && test -s conftest.$ac_objext; then
46203
46204 wx_cv_var_timezone=timezone
46205
46206 else
46207 echo "$as_me: failed program was:" >&5
46208 sed 's/^/| /' conftest.$ac_ext >&5
46209
46210
46211 cat >conftest.$ac_ext <<_ACEOF
46212 /* confdefs.h. */
46213 _ACEOF
46214 cat confdefs.h >>conftest.$ac_ext
46215 cat >>conftest.$ac_ext <<_ACEOF
46216 /* end confdefs.h. */
46217
46218 #include <time.h>
46219
46220 int
46221 main ()
46222 {
46223
46224 int tz;
46225 tz = _timezone;
46226
46227 ;
46228 return 0;
46229 }
46230 _ACEOF
46231 rm -f conftest.$ac_objext
46232 if { (ac_try="$ac_compile"
46233 case "(($ac_try" in
46234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46235 *) ac_try_echo=$ac_try;;
46236 esac
46237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46238 (eval "$ac_compile") 2>conftest.er1
46239 ac_status=$?
46240 grep -v '^ *+' conftest.er1 >conftest.err
46241 rm -f conftest.er1
46242 cat conftest.err >&5
46243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46244 (exit $ac_status); } && {
46245 test -z "$ac_cxx_werror_flag" ||
46246 test ! -s conftest.err
46247 } && test -s conftest.$ac_objext; then
46248
46249 wx_cv_var_timezone=_timezone
46250
46251 else
46252 echo "$as_me: failed program was:" >&5
46253 sed 's/^/| /' conftest.$ac_ext >&5
46254
46255
46256 cat >conftest.$ac_ext <<_ACEOF
46257 /* confdefs.h. */
46258 _ACEOF
46259 cat confdefs.h >>conftest.$ac_ext
46260 cat >>conftest.$ac_ext <<_ACEOF
46261 /* end confdefs.h. */
46262
46263 #include <time.h>
46264
46265 int
46266 main ()
46267 {
46268
46269 int tz;
46270 tz = __timezone;
46271
46272 ;
46273 return 0;
46274 }
46275 _ACEOF
46276 rm -f conftest.$ac_objext
46277 if { (ac_try="$ac_compile"
46278 case "(($ac_try" in
46279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46280 *) ac_try_echo=$ac_try;;
46281 esac
46282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46283 (eval "$ac_compile") 2>conftest.er1
46284 ac_status=$?
46285 grep -v '^ *+' conftest.er1 >conftest.err
46286 rm -f conftest.er1
46287 cat conftest.err >&5
46288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46289 (exit $ac_status); } && {
46290 test -z "$ac_cxx_werror_flag" ||
46291 test ! -s conftest.err
46292 } && test -s conftest.$ac_objext; then
46293
46294 wx_cv_var_timezone=__timezone
46295
46296 else
46297 echo "$as_me: failed program was:" >&5
46298 sed 's/^/| /' conftest.$ac_ext >&5
46299
46300
46301 if test "$USE_DOS" = 0 ; then
46302 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46303 echo "$as_me: WARNING: no timezone variable" >&2;}
46304 fi
46305
46306
46307 fi
46308
46309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46310
46311
46312 fi
46313
46314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46315
46316
46317 fi
46318
46319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46320 ac_ext=c
46321 ac_cpp='$CPP $CPPFLAGS'
46322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46325
46326
46327
46328 fi
46329 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46330 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46331
46332 if test "x$wx_cv_var_timezone" != x ; then
46333 cat >>confdefs.h <<_ACEOF
46334 #define WX_TIMEZONE $wx_cv_var_timezone
46335 _ACEOF
46336
46337 fi
46338
46339
46340 for ac_func in localtime
46341 do
46342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46343 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46345 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46346 echo $ECHO_N "(cached) $ECHO_C" >&6
46347 else
46348 cat >conftest.$ac_ext <<_ACEOF
46349 /* confdefs.h. */
46350 _ACEOF
46351 cat confdefs.h >>conftest.$ac_ext
46352 cat >>conftest.$ac_ext <<_ACEOF
46353 /* end confdefs.h. */
46354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46356 #define $ac_func innocuous_$ac_func
46357
46358 /* System header to define __stub macros and hopefully few prototypes,
46359 which can conflict with char $ac_func (); below.
46360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46361 <limits.h> exists even on freestanding compilers. */
46362
46363 #ifdef __STDC__
46364 # include <limits.h>
46365 #else
46366 # include <assert.h>
46367 #endif
46368
46369 #undef $ac_func
46370
46371 /* Override any GCC internal prototype to avoid an error.
46372 Use char because int might match the return type of a GCC
46373 builtin and then its argument prototype would still apply. */
46374 #ifdef __cplusplus
46375 extern "C"
46376 #endif
46377 char $ac_func ();
46378 /* The GNU C library defines this for functions which it implements
46379 to always fail with ENOSYS. Some functions are actually named
46380 something starting with __ and the normal name is an alias. */
46381 #if defined __stub_$ac_func || defined __stub___$ac_func
46382 choke me
46383 #endif
46384
46385 int
46386 main ()
46387 {
46388 return $ac_func ();
46389 ;
46390 return 0;
46391 }
46392 _ACEOF
46393 rm -f conftest.$ac_objext conftest$ac_exeext
46394 if { (ac_try="$ac_link"
46395 case "(($ac_try" in
46396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46397 *) ac_try_echo=$ac_try;;
46398 esac
46399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46400 (eval "$ac_link") 2>conftest.er1
46401 ac_status=$?
46402 grep -v '^ *+' conftest.er1 >conftest.err
46403 rm -f conftest.er1
46404 cat conftest.err >&5
46405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46406 (exit $ac_status); } && {
46407 test -z "$ac_c_werror_flag" ||
46408 test ! -s conftest.err
46409 } && test -s conftest$ac_exeext &&
46410 $as_test_x conftest$ac_exeext; then
46411 eval "$as_ac_var=yes"
46412 else
46413 echo "$as_me: failed program was:" >&5
46414 sed 's/^/| /' conftest.$ac_ext >&5
46415
46416 eval "$as_ac_var=no"
46417 fi
46418
46419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46420 conftest$ac_exeext conftest.$ac_ext
46421 fi
46422 ac_res=`eval echo '${'$as_ac_var'}'`
46423 { echo "$as_me:$LINENO: result: $ac_res" >&5
46424 echo "${ECHO_T}$ac_res" >&6; }
46425 if test `eval echo '${'$as_ac_var'}'` = yes; then
46426 cat >>confdefs.h <<_ACEOF
46427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46428 _ACEOF
46429
46430 fi
46431 done
46432
46433
46434 if test "$ac_cv_func_localtime" = "yes"; then
46435 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46436 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46437 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46438 echo $ECHO_N "(cached) $ECHO_C" >&6
46439 else
46440
46441 cat >conftest.$ac_ext <<_ACEOF
46442 /* confdefs.h. */
46443 _ACEOF
46444 cat confdefs.h >>conftest.$ac_ext
46445 cat >>conftest.$ac_ext <<_ACEOF
46446 /* end confdefs.h. */
46447
46448 #include <time.h>
46449
46450 int
46451 main ()
46452 {
46453
46454 struct tm tm;
46455 tm.tm_gmtoff++;
46456
46457 ;
46458 return 0;
46459 }
46460 _ACEOF
46461 rm -f conftest.$ac_objext
46462 if { (ac_try="$ac_compile"
46463 case "(($ac_try" in
46464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46465 *) ac_try_echo=$ac_try;;
46466 esac
46467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46468 (eval "$ac_compile") 2>conftest.er1
46469 ac_status=$?
46470 grep -v '^ *+' conftest.er1 >conftest.err
46471 rm -f conftest.er1
46472 cat conftest.err >&5
46473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46474 (exit $ac_status); } && {
46475 test -z "$ac_c_werror_flag" ||
46476 test ! -s conftest.err
46477 } && test -s conftest.$ac_objext; then
46478
46479 wx_cv_struct_tm_has_gmtoff=yes
46480
46481 else
46482 echo "$as_me: failed program was:" >&5
46483 sed 's/^/| /' conftest.$ac_ext >&5
46484
46485 wx_cv_struct_tm_has_gmtoff=no
46486
46487 fi
46488
46489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46490
46491 fi
46492 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46493 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46494 fi
46495
46496 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define WX_GMTOFF_IN_TM 1
46499 _ACEOF
46500
46501 fi
46502
46503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46504 fi
46505
46506
46507 if test "$wxUSE_SOCKETS" = "yes"; then
46508 if test "$wxUSE_MGL" = "1"; then
46509 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46510 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46511 wxUSE_SOCKETS="no"
46512 fi
46513 fi
46514
46515 if test "$wxUSE_SOCKETS" = "yes"; then
46516 if test "$TOOLKIT" != "MSW"; then
46517 { echo "$as_me:$LINENO: checking for socket" >&5
46518 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46519 if test "${ac_cv_func_socket+set}" = set; then
46520 echo $ECHO_N "(cached) $ECHO_C" >&6
46521 else
46522 cat >conftest.$ac_ext <<_ACEOF
46523 /* confdefs.h. */
46524 _ACEOF
46525 cat confdefs.h >>conftest.$ac_ext
46526 cat >>conftest.$ac_ext <<_ACEOF
46527 /* end confdefs.h. */
46528 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46530 #define socket innocuous_socket
46531
46532 /* System header to define __stub macros and hopefully few prototypes,
46533 which can conflict with char socket (); below.
46534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46535 <limits.h> exists even on freestanding compilers. */
46536
46537 #ifdef __STDC__
46538 # include <limits.h>
46539 #else
46540 # include <assert.h>
46541 #endif
46542
46543 #undef socket
46544
46545 /* Override any GCC internal prototype to avoid an error.
46546 Use char because int might match the return type of a GCC
46547 builtin and then its argument prototype would still apply. */
46548 #ifdef __cplusplus
46549 extern "C"
46550 #endif
46551 char socket ();
46552 /* The GNU C library defines this for functions which it implements
46553 to always fail with ENOSYS. Some functions are actually named
46554 something starting with __ and the normal name is an alias. */
46555 #if defined __stub_socket || defined __stub___socket
46556 choke me
46557 #endif
46558
46559 int
46560 main ()
46561 {
46562 return socket ();
46563 ;
46564 return 0;
46565 }
46566 _ACEOF
46567 rm -f conftest.$ac_objext conftest$ac_exeext
46568 if { (ac_try="$ac_link"
46569 case "(($ac_try" in
46570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46571 *) ac_try_echo=$ac_try;;
46572 esac
46573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46574 (eval "$ac_link") 2>conftest.er1
46575 ac_status=$?
46576 grep -v '^ *+' conftest.er1 >conftest.err
46577 rm -f conftest.er1
46578 cat conftest.err >&5
46579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46580 (exit $ac_status); } && {
46581 test -z "$ac_c_werror_flag" ||
46582 test ! -s conftest.err
46583 } && test -s conftest$ac_exeext &&
46584 $as_test_x conftest$ac_exeext; then
46585 ac_cv_func_socket=yes
46586 else
46587 echo "$as_me: failed program was:" >&5
46588 sed 's/^/| /' conftest.$ac_ext >&5
46589
46590 ac_cv_func_socket=no
46591 fi
46592
46593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46594 conftest$ac_exeext conftest.$ac_ext
46595 fi
46596 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46597 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46598 if test $ac_cv_func_socket = yes; then
46599 :
46600 else
46601
46602 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46603 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46604 if test "${ac_cv_lib_socket_socket+set}" = set; then
46605 echo $ECHO_N "(cached) $ECHO_C" >&6
46606 else
46607 ac_check_lib_save_LIBS=$LIBS
46608 LIBS="-lsocket $LIBS"
46609 cat >conftest.$ac_ext <<_ACEOF
46610 /* confdefs.h. */
46611 _ACEOF
46612 cat confdefs.h >>conftest.$ac_ext
46613 cat >>conftest.$ac_ext <<_ACEOF
46614 /* end confdefs.h. */
46615
46616 /* Override any GCC internal prototype to avoid an error.
46617 Use char because int might match the return type of a GCC
46618 builtin and then its argument prototype would still apply. */
46619 #ifdef __cplusplus
46620 extern "C"
46621 #endif
46622 char socket ();
46623 int
46624 main ()
46625 {
46626 return socket ();
46627 ;
46628 return 0;
46629 }
46630 _ACEOF
46631 rm -f conftest.$ac_objext conftest$ac_exeext
46632 if { (ac_try="$ac_link"
46633 case "(($ac_try" in
46634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46635 *) ac_try_echo=$ac_try;;
46636 esac
46637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46638 (eval "$ac_link") 2>conftest.er1
46639 ac_status=$?
46640 grep -v '^ *+' conftest.er1 >conftest.err
46641 rm -f conftest.er1
46642 cat conftest.err >&5
46643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46644 (exit $ac_status); } && {
46645 test -z "$ac_c_werror_flag" ||
46646 test ! -s conftest.err
46647 } && test -s conftest$ac_exeext &&
46648 $as_test_x conftest$ac_exeext; then
46649 ac_cv_lib_socket_socket=yes
46650 else
46651 echo "$as_me: failed program was:" >&5
46652 sed 's/^/| /' conftest.$ac_ext >&5
46653
46654 ac_cv_lib_socket_socket=no
46655 fi
46656
46657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46658 conftest$ac_exeext conftest.$ac_ext
46659 LIBS=$ac_check_lib_save_LIBS
46660 fi
46661 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46662 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46663 if test $ac_cv_lib_socket_socket = yes; then
46664 if test "$INET_LINK" != " -lsocket"; then
46665 INET_LINK="$INET_LINK -lsocket"
46666 fi
46667 else
46668
46669 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46670 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46671 wxUSE_SOCKETS=no
46672
46673
46674 fi
46675
46676
46677
46678 fi
46679
46680 fi
46681 fi
46682
46683 if test "$wxUSE_SOCKETS" = "yes" ; then
46684 if test "$TOOLKIT" != "MSW"; then
46685 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46686 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46687 if test "${wx_cv_type_getsockname3+set}" = set; then
46688 echo $ECHO_N "(cached) $ECHO_C" >&6
46689 else
46690
46691 ac_ext=cpp
46692 ac_cpp='$CXXCPP $CPPFLAGS'
46693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46696
46697 cat >conftest.$ac_ext <<_ACEOF
46698 /* confdefs.h. */
46699 _ACEOF
46700 cat confdefs.h >>conftest.$ac_ext
46701 cat >>conftest.$ac_ext <<_ACEOF
46702 /* end confdefs.h. */
46703
46704 #include <sys/types.h>
46705 #include <sys/socket.h>
46706
46707 int
46708 main ()
46709 {
46710
46711 socklen_t len;
46712 getsockname(0, 0, &len);
46713
46714 ;
46715 return 0;
46716 }
46717 _ACEOF
46718 rm -f conftest.$ac_objext
46719 if { (ac_try="$ac_compile"
46720 case "(($ac_try" in
46721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46722 *) ac_try_echo=$ac_try;;
46723 esac
46724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46725 (eval "$ac_compile") 2>conftest.er1
46726 ac_status=$?
46727 grep -v '^ *+' conftest.er1 >conftest.err
46728 rm -f conftest.er1
46729 cat conftest.err >&5
46730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46731 (exit $ac_status); } && {
46732 test -z "$ac_cxx_werror_flag" ||
46733 test ! -s conftest.err
46734 } && test -s conftest.$ac_objext; then
46735 wx_cv_type_getsockname3=socklen_t
46736 else
46737 echo "$as_me: failed program was:" >&5
46738 sed 's/^/| /' conftest.$ac_ext >&5
46739
46740
46741 CFLAGS_OLD="$CFLAGS"
46742 if test "$GCC" = yes ; then
46743 CFLAGS="-Werror $CFLAGS"
46744 fi
46745
46746 cat >conftest.$ac_ext <<_ACEOF
46747 /* confdefs.h. */
46748 _ACEOF
46749 cat confdefs.h >>conftest.$ac_ext
46750 cat >>conftest.$ac_ext <<_ACEOF
46751 /* end confdefs.h. */
46752
46753 #include <sys/types.h>
46754 #include <sys/socket.h>
46755
46756 int
46757 main ()
46758 {
46759
46760 size_t len;
46761 getsockname(0, 0, &len);
46762
46763 ;
46764 return 0;
46765 }
46766 _ACEOF
46767 rm -f conftest.$ac_objext
46768 if { (ac_try="$ac_compile"
46769 case "(($ac_try" in
46770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46771 *) ac_try_echo=$ac_try;;
46772 esac
46773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46774 (eval "$ac_compile") 2>conftest.er1
46775 ac_status=$?
46776 grep -v '^ *+' conftest.er1 >conftest.err
46777 rm -f conftest.er1
46778 cat conftest.err >&5
46779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46780 (exit $ac_status); } && {
46781 test -z "$ac_cxx_werror_flag" ||
46782 test ! -s conftest.err
46783 } && test -s conftest.$ac_objext; then
46784 wx_cv_type_getsockname3=size_t
46785 else
46786 echo "$as_me: failed program was:" >&5
46787 sed 's/^/| /' conftest.$ac_ext >&5
46788
46789 cat >conftest.$ac_ext <<_ACEOF
46790 /* confdefs.h. */
46791 _ACEOF
46792 cat confdefs.h >>conftest.$ac_ext
46793 cat >>conftest.$ac_ext <<_ACEOF
46794 /* end confdefs.h. */
46795
46796 #include <sys/types.h>
46797 #include <sys/socket.h>
46798
46799 int
46800 main ()
46801 {
46802
46803 int len;
46804 getsockname(0, 0, &len);
46805
46806 ;
46807 return 0;
46808 }
46809 _ACEOF
46810 rm -f conftest.$ac_objext
46811 if { (ac_try="$ac_compile"
46812 case "(($ac_try" in
46813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46814 *) ac_try_echo=$ac_try;;
46815 esac
46816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46817 (eval "$ac_compile") 2>conftest.er1
46818 ac_status=$?
46819 grep -v '^ *+' conftest.er1 >conftest.err
46820 rm -f conftest.er1
46821 cat conftest.err >&5
46822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46823 (exit $ac_status); } && {
46824 test -z "$ac_cxx_werror_flag" ||
46825 test ! -s conftest.err
46826 } && test -s conftest.$ac_objext; then
46827 wx_cv_type_getsockname3=int
46828 else
46829 echo "$as_me: failed program was:" >&5
46830 sed 's/^/| /' conftest.$ac_ext >&5
46831
46832 wx_cv_type_getsockname3=unknown
46833
46834 fi
46835
46836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46837
46838 fi
46839
46840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46841
46842 CFLAGS="$CFLAGS_OLD"
46843
46844
46845 fi
46846
46847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46848 ac_ext=c
46849 ac_cpp='$CPP $CPPFLAGS'
46850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46853
46854
46855 fi
46856 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46857 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46858
46859 if test "$wx_cv_type_getsockname3" = "unknown"; then
46860 wxUSE_SOCKETS=no
46861 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46862 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46863 else
46864 cat >>confdefs.h <<_ACEOF
46865 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46866 _ACEOF
46867
46868 fi
46869 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46870 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46871 if test "${wx_cv_type_getsockopt5+set}" = set; then
46872 echo $ECHO_N "(cached) $ECHO_C" >&6
46873 else
46874
46875 ac_ext=cpp
46876 ac_cpp='$CXXCPP $CPPFLAGS'
46877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46880
46881 cat >conftest.$ac_ext <<_ACEOF
46882 /* confdefs.h. */
46883 _ACEOF
46884 cat confdefs.h >>conftest.$ac_ext
46885 cat >>conftest.$ac_ext <<_ACEOF
46886 /* end confdefs.h. */
46887
46888 #include <sys/types.h>
46889 #include <sys/socket.h>
46890
46891 int
46892 main ()
46893 {
46894
46895 socklen_t len;
46896 getsockopt(0, 0, 0, 0, &len);
46897
46898 ;
46899 return 0;
46900 }
46901 _ACEOF
46902 rm -f conftest.$ac_objext
46903 if { (ac_try="$ac_compile"
46904 case "(($ac_try" in
46905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46906 *) ac_try_echo=$ac_try;;
46907 esac
46908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46909 (eval "$ac_compile") 2>conftest.er1
46910 ac_status=$?
46911 grep -v '^ *+' conftest.er1 >conftest.err
46912 rm -f conftest.er1
46913 cat conftest.err >&5
46914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46915 (exit $ac_status); } && {
46916 test -z "$ac_cxx_werror_flag" ||
46917 test ! -s conftest.err
46918 } && test -s conftest.$ac_objext; then
46919 wx_cv_type_getsockopt5=socklen_t
46920 else
46921 echo "$as_me: failed program was:" >&5
46922 sed 's/^/| /' conftest.$ac_ext >&5
46923
46924
46925 cat >conftest.$ac_ext <<_ACEOF
46926 /* confdefs.h. */
46927 _ACEOF
46928 cat confdefs.h >>conftest.$ac_ext
46929 cat >>conftest.$ac_ext <<_ACEOF
46930 /* end confdefs.h. */
46931
46932 #include <sys/types.h>
46933 #include <sys/socket.h>
46934
46935 int
46936 main ()
46937 {
46938
46939 size_t len;
46940 getsockopt(0, 0, 0, 0, &len);
46941
46942 ;
46943 return 0;
46944 }
46945 _ACEOF
46946 rm -f conftest.$ac_objext
46947 if { (ac_try="$ac_compile"
46948 case "(($ac_try" in
46949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46950 *) ac_try_echo=$ac_try;;
46951 esac
46952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46953 (eval "$ac_compile") 2>conftest.er1
46954 ac_status=$?
46955 grep -v '^ *+' conftest.er1 >conftest.err
46956 rm -f conftest.er1
46957 cat conftest.err >&5
46958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46959 (exit $ac_status); } && {
46960 test -z "$ac_cxx_werror_flag" ||
46961 test ! -s conftest.err
46962 } && test -s conftest.$ac_objext; then
46963 wx_cv_type_getsockopt5=size_t
46964 else
46965 echo "$as_me: failed program was:" >&5
46966 sed 's/^/| /' conftest.$ac_ext >&5
46967
46968 cat >conftest.$ac_ext <<_ACEOF
46969 /* confdefs.h. */
46970 _ACEOF
46971 cat confdefs.h >>conftest.$ac_ext
46972 cat >>conftest.$ac_ext <<_ACEOF
46973 /* end confdefs.h. */
46974
46975 #include <sys/types.h>
46976 #include <sys/socket.h>
46977
46978 int
46979 main ()
46980 {
46981
46982 int len;
46983 getsockopt(0, 0, 0, 0, &len);
46984
46985 ;
46986 return 0;
46987 }
46988 _ACEOF
46989 rm -f conftest.$ac_objext
46990 if { (ac_try="$ac_compile"
46991 case "(($ac_try" in
46992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46993 *) ac_try_echo=$ac_try;;
46994 esac
46995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46996 (eval "$ac_compile") 2>conftest.er1
46997 ac_status=$?
46998 grep -v '^ *+' conftest.er1 >conftest.err
46999 rm -f conftest.er1
47000 cat conftest.err >&5
47001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47002 (exit $ac_status); } && {
47003 test -z "$ac_cxx_werror_flag" ||
47004 test ! -s conftest.err
47005 } && test -s conftest.$ac_objext; then
47006 wx_cv_type_getsockopt5=int
47007 else
47008 echo "$as_me: failed program was:" >&5
47009 sed 's/^/| /' conftest.$ac_ext >&5
47010
47011 wx_cv_type_getsockopt5=unknown
47012
47013 fi
47014
47015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47016
47017 fi
47018
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020
47021
47022 fi
47023
47024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47025 ac_ext=c
47026 ac_cpp='$CPP $CPPFLAGS'
47027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030
47031
47032 fi
47033 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47034 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47035
47036 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47037 wxUSE_SOCKETS=no
47038 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47039 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47040 else
47041 cat >>confdefs.h <<_ACEOF
47042 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47043 _ACEOF
47044
47045 fi
47046 fi
47047 fi
47048
47049 if test "$wxUSE_SOCKETS" = "yes" ; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_SOCKETS 1
47052 _ACEOF
47053
47054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47055 fi
47056
47057 if test "$wxUSE_PROTOCOL" = "yes"; then
47058 if test "$wxUSE_SOCKETS" != "yes"; then
47059 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47060 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47061 wxUSE_PROTOCOL=no
47062 fi
47063 fi
47064
47065 if test "$wxUSE_PROTOCOL" = "yes"; then
47066 cat >>confdefs.h <<\_ACEOF
47067 #define wxUSE_PROTOCOL 1
47068 _ACEOF
47069
47070
47071 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_PROTOCOL_HTTP 1
47074 _ACEOF
47075
47076 fi
47077 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47078 cat >>confdefs.h <<\_ACEOF
47079 #define wxUSE_PROTOCOL_FTP 1
47080 _ACEOF
47081
47082 fi
47083 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47084 cat >>confdefs.h <<\_ACEOF
47085 #define wxUSE_PROTOCOL_FILE 1
47086 _ACEOF
47087
47088 fi
47089 else
47090 if test "$wxUSE_FS_INET" = "yes"; then
47091 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47092 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47093 wxUSE_FS_INET="no"
47094 fi
47095 fi
47096
47097 if test "$wxUSE_URL" = "yes"; then
47098 if test "$wxUSE_PROTOCOL" != "yes"; then
47099 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47100 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47101 wxUSE_URL=no
47102 fi
47103 if test "$wxUSE_URL" = "yes"; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_URL 1
47106 _ACEOF
47107
47108 fi
47109 fi
47110
47111 if test "$wxUSE_VARIANT" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_VARIANT 1
47114 _ACEOF
47115
47116 fi
47117
47118 if test "$wxUSE_FS_INET" = "yes"; then
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_FS_INET 1
47121 _ACEOF
47122
47123 fi
47124
47125
47126 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47127 wxUSE_JOYSTICK=no
47128
47129 if test "$TOOLKIT" = "MSW"; then
47130 wxUSE_JOYSTICK=yes
47131
47132 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47133 if test "$USE_DARWIN" = 1; then
47134 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47135 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47136 ac_ext=cpp
47137 ac_cpp='$CXXCPP $CPPFLAGS'
47138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47141
47142 cat >conftest.$ac_ext <<_ACEOF
47143 /* confdefs.h. */
47144 _ACEOF
47145 cat confdefs.h >>conftest.$ac_ext
47146 cat >>conftest.$ac_ext <<_ACEOF
47147 /* end confdefs.h. */
47148 #include <IOKit/hid/IOHIDLib.h>
47149 int
47150 main ()
47151 {
47152 IOHIDQueueInterface *qi = NULL;
47153 IOHIDCallbackFunction cb = NULL;
47154 qi->setEventCallout(NULL, cb, NULL, NULL);
47155 ;
47156 return 0;
47157 }
47158 _ACEOF
47159 rm -f conftest.$ac_objext
47160 if { (ac_try="$ac_compile"
47161 case "(($ac_try" in
47162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47163 *) ac_try_echo=$ac_try;;
47164 esac
47165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47166 (eval "$ac_compile") 2>conftest.er1
47167 ac_status=$?
47168 grep -v '^ *+' conftest.er1 >conftest.err
47169 rm -f conftest.er1
47170 cat conftest.err >&5
47171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47172 (exit $ac_status); } && {
47173 test -z "$ac_cxx_werror_flag" ||
47174 test ! -s conftest.err
47175 } && test -s conftest.$ac_objext; then
47176 wxUSE_JOYSTICK=yes
47177
47178 else
47179 echo "$as_me: failed program was:" >&5
47180 sed 's/^/| /' conftest.$ac_ext >&5
47181
47182
47183 fi
47184
47185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47186 ac_ext=c
47187 ac_cpp='$CPP $CPPFLAGS'
47188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47191
47192 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47193 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47194 fi
47195
47196 else
47197 if test "$wxUSE_MGL" != "1"; then
47198
47199 for ac_header in linux/joystick.h
47200 do
47201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47205 echo $ECHO_N "(cached) $ECHO_C" >&6
47206 else
47207 cat >conftest.$ac_ext <<_ACEOF
47208 /* confdefs.h. */
47209 _ACEOF
47210 cat confdefs.h >>conftest.$ac_ext
47211 cat >>conftest.$ac_ext <<_ACEOF
47212 /* end confdefs.h. */
47213 $ac_includes_default
47214
47215 #include <$ac_header>
47216 _ACEOF
47217 rm -f conftest.$ac_objext
47218 if { (ac_try="$ac_compile"
47219 case "(($ac_try" in
47220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47221 *) ac_try_echo=$ac_try;;
47222 esac
47223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47224 (eval "$ac_compile") 2>conftest.er1
47225 ac_status=$?
47226 grep -v '^ *+' conftest.er1 >conftest.err
47227 rm -f conftest.er1
47228 cat conftest.err >&5
47229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47230 (exit $ac_status); } && {
47231 test -z "$ac_c_werror_flag" ||
47232 test ! -s conftest.err
47233 } && test -s conftest.$ac_objext; then
47234 eval "$as_ac_Header=yes"
47235 else
47236 echo "$as_me: failed program was:" >&5
47237 sed 's/^/| /' conftest.$ac_ext >&5
47238
47239 eval "$as_ac_Header=no"
47240 fi
47241
47242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47243 fi
47244 ac_res=`eval echo '${'$as_ac_Header'}'`
47245 { echo "$as_me:$LINENO: result: $ac_res" >&5
47246 echo "${ECHO_T}$ac_res" >&6; }
47247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47248 cat >>confdefs.h <<_ACEOF
47249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47250 _ACEOF
47251 wxUSE_JOYSTICK=yes
47252 fi
47253
47254 done
47255
47256 fi
47257 fi
47258
47259 if test "$wxUSE_JOYSTICK" = "yes"; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_JOYSTICK 1
47262 _ACEOF
47263
47264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47265 else
47266 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47267 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47268 fi
47269 fi
47270
47271
47272
47273 if test "$wxUSE_FONTENUM" = "yes" ; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_FONTENUM 1
47276 _ACEOF
47277
47278 fi
47279
47280 if test "$wxUSE_FONTMAP" = "yes" ; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_FONTMAP 1
47283 _ACEOF
47284
47285 fi
47286
47287 if test "$wxUSE_UNICODE" = "yes" ; then
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_UNICODE 1
47290 _ACEOF
47291
47292
47293 if test "$USE_WIN32" != 1; then
47294 wxUSE_UNICODE_MSLU=no
47295 fi
47296
47297 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47298 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47299 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47300 if test "${ac_cv_lib_unicows_main+set}" = set; then
47301 echo $ECHO_N "(cached) $ECHO_C" >&6
47302 else
47303 ac_check_lib_save_LIBS=$LIBS
47304 LIBS="-lunicows $LIBS"
47305 cat >conftest.$ac_ext <<_ACEOF
47306 /* confdefs.h. */
47307 _ACEOF
47308 cat confdefs.h >>conftest.$ac_ext
47309 cat >>conftest.$ac_ext <<_ACEOF
47310 /* end confdefs.h. */
47311
47312
47313 int
47314 main ()
47315 {
47316 return main ();
47317 ;
47318 return 0;
47319 }
47320 _ACEOF
47321 rm -f conftest.$ac_objext conftest$ac_exeext
47322 if { (ac_try="$ac_link"
47323 case "(($ac_try" in
47324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47325 *) ac_try_echo=$ac_try;;
47326 esac
47327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47328 (eval "$ac_link") 2>conftest.er1
47329 ac_status=$?
47330 grep -v '^ *+' conftest.er1 >conftest.err
47331 rm -f conftest.er1
47332 cat conftest.err >&5
47333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47334 (exit $ac_status); } && {
47335 test -z "$ac_c_werror_flag" ||
47336 test ! -s conftest.err
47337 } && test -s conftest$ac_exeext &&
47338 $as_test_x conftest$ac_exeext; then
47339 ac_cv_lib_unicows_main=yes
47340 else
47341 echo "$as_me: failed program was:" >&5
47342 sed 's/^/| /' conftest.$ac_ext >&5
47343
47344 ac_cv_lib_unicows_main=no
47345 fi
47346
47347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47348 conftest$ac_exeext conftest.$ac_ext
47349 LIBS=$ac_check_lib_save_LIBS
47350 fi
47351 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47352 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47353 if test $ac_cv_lib_unicows_main = yes; then
47354
47355 cat >>confdefs.h <<\_ACEOF
47356 #define wxUSE_UNICODE_MSLU 1
47357 _ACEOF
47358
47359
47360 else
47361
47362 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47363 Applications will only run on Windows NT/2000/XP!" >&5
47364 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47365 Applications will only run on Windows NT/2000/XP!" >&2;}
47366 wxUSE_UNICODE_MSLU=no
47367
47368 fi
47369
47370 fi
47371 fi
47372
47373 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47374 cat >>confdefs.h <<\_ACEOF
47375 #define wxUSE_UNICODE_UTF8 1
47376 _ACEOF
47377
47378
47379 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47380 cat >>confdefs.h <<\_ACEOF
47381 #define wxUSE_UTF8_LOCALE_ONLY 1
47382 _ACEOF
47383
47384 fi
47385 fi
47386
47387
47388 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47389 cat >>confdefs.h <<\_ACEOF
47390 #define wxUSE_CONSTRAINTS 1
47391 _ACEOF
47392
47393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47394 fi
47395
47396 if test "$wxUSE_MDI" = "yes"; then
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_MDI 1
47399 _ACEOF
47400
47401
47402 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_MDI_ARCHITECTURE 1
47405 _ACEOF
47406
47407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47408 fi
47409 fi
47410
47411 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47412 cat >>confdefs.h <<\_ACEOF
47413 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47414 _ACEOF
47415
47416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47417 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47419 fi
47420 fi
47421
47422 if test "$wxUSE_HELP" = "yes"; then
47423 cat >>confdefs.h <<\_ACEOF
47424 #define wxUSE_HELP 1
47425 _ACEOF
47426
47427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47428
47429 if test "$wxUSE_MSW" = 1; then
47430 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_MS_HTML_HELP 1
47433 _ACEOF
47434
47435 fi
47436 fi
47437
47438 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47439 if test "$wxUSE_HTML" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_WXHTML_HELP 1
47442 _ACEOF
47443
47444 else
47445 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47446 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47447 wxUSE_WXHTML_HELP=no
47448 fi
47449 fi
47450 fi
47451
47452 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47453 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47454 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47455 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47456 else
47457 cat >>confdefs.h <<\_ACEOF
47458 #define wxUSE_PRINTING_ARCHITECTURE 1
47459 _ACEOF
47460
47461 fi
47462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47463 fi
47464
47465 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47466 cat >>confdefs.h <<\_ACEOF
47467 #define wxUSE_POSTSCRIPT 1
47468 _ACEOF
47469
47470 fi
47471
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47474 _ACEOF
47475
47476
47477 if test "$wxUSE_SVG" = "yes"; then
47478 cat >>confdefs.h <<\_ACEOF
47479 #define wxUSE_SVG 1
47480 _ACEOF
47481
47482 fi
47483
47484
47485 if test "$wxUSE_METAFILE" = "yes"; then
47486 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47487 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47488 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47489 wxUSE_METAFILE=no
47490 fi
47491 fi
47492
47493
47494 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47495 -o "$wxUSE_CLIPBOARD" = "yes" \
47496 -o "$wxUSE_OLE" = "yes" \
47497 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47498 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47499 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47500 if test "${ac_cv_header_ole2_h+set}" = set; then
47501 echo $ECHO_N "(cached) $ECHO_C" >&6
47502 else
47503 cat >conftest.$ac_ext <<_ACEOF
47504 /* confdefs.h. */
47505 _ACEOF
47506 cat confdefs.h >>conftest.$ac_ext
47507 cat >>conftest.$ac_ext <<_ACEOF
47508 /* end confdefs.h. */
47509
47510
47511 #include <ole2.h>
47512 _ACEOF
47513 rm -f conftest.$ac_objext
47514 if { (ac_try="$ac_compile"
47515 case "(($ac_try" in
47516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47517 *) ac_try_echo=$ac_try;;
47518 esac
47519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47520 (eval "$ac_compile") 2>conftest.er1
47521 ac_status=$?
47522 grep -v '^ *+' conftest.er1 >conftest.err
47523 rm -f conftest.er1
47524 cat conftest.err >&5
47525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47526 (exit $ac_status); } && {
47527 test -z "$ac_c_werror_flag" ||
47528 test ! -s conftest.err
47529 } && test -s conftest.$ac_objext; then
47530 ac_cv_header_ole2_h=yes
47531 else
47532 echo "$as_me: failed program was:" >&5
47533 sed 's/^/| /' conftest.$ac_ext >&5
47534
47535 ac_cv_header_ole2_h=no
47536 fi
47537
47538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539 fi
47540 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47541 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47542
47543
47544
47545 if test "$ac_cv_header_ole2_h" = "yes" ; then
47546 if test "$GCC" = yes ; then
47547 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47548 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47549 cat >conftest.$ac_ext <<_ACEOF
47550 /* confdefs.h. */
47551 _ACEOF
47552 cat confdefs.h >>conftest.$ac_ext
47553 cat >>conftest.$ac_ext <<_ACEOF
47554 /* end confdefs.h. */
47555 #include <windows.h>
47556 #include <ole2.h>
47557 int
47558 main ()
47559 {
47560
47561 ;
47562 return 0;
47563 }
47564 _ACEOF
47565 rm -f conftest.$ac_objext
47566 if { (ac_try="$ac_compile"
47567 case "(($ac_try" in
47568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47569 *) ac_try_echo=$ac_try;;
47570 esac
47571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47572 (eval "$ac_compile") 2>conftest.er1
47573 ac_status=$?
47574 grep -v '^ *+' conftest.er1 >conftest.err
47575 rm -f conftest.er1
47576 cat conftest.err >&5
47577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47578 (exit $ac_status); } && {
47579 test -z "$ac_c_werror_flag" ||
47580 test ! -s conftest.err
47581 } && test -s conftest.$ac_objext; then
47582 { echo "$as_me:$LINENO: result: no" >&5
47583 echo "${ECHO_T}no" >&6; }
47584 else
47585 echo "$as_me: failed program was:" >&5
47586 sed 's/^/| /' conftest.$ac_ext >&5
47587
47588 { echo "$as_me:$LINENO: result: yes" >&5
47589 echo "${ECHO_T}yes" >&6; }
47590 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47591 fi
47592
47593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47594 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47595 if test "$wxUSE_OLE" = "yes" ; then
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_OLE 1
47598 _ACEOF
47599
47600 cat >>confdefs.h <<\_ACEOF
47601 #define wxUSE_OLE_AUTOMATION 1
47602 _ACEOF
47603
47604 cat >>confdefs.h <<\_ACEOF
47605 #define wxUSE_ACTIVEX 1
47606 _ACEOF
47607
47608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47609 fi
47610 fi
47611
47612 if test "$wxUSE_DATAOBJ" = "yes" ; then
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_DATAOBJ 1
47615 _ACEOF
47616
47617 fi
47618 else
47619 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47620 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47621
47622 wxUSE_CLIPBOARD=no
47623 wxUSE_DRAG_AND_DROP=no
47624 wxUSE_DATAOBJ=no
47625 wxUSE_OLE=no
47626 fi
47627
47628 if test "$wxUSE_METAFILE" = "yes"; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_METAFILE 1
47631 _ACEOF
47632
47633
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_ENH_METAFILE 1
47636 _ACEOF
47637
47638 fi
47639 fi
47640
47641 if test "$wxUSE_IPC" = "yes"; then
47642 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47643 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47644 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47645 wxUSE_IPC=no
47646 fi
47647
47648 if test "$wxUSE_IPC" = "yes"; then
47649 cat >>confdefs.h <<\_ACEOF
47650 #define wxUSE_IPC 1
47651 _ACEOF
47652
47653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47654 fi
47655 fi
47656
47657 if test "$wxUSE_DATAOBJ" = "yes"; then
47658 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47659 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47660 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47661 wxUSE_DATAOBJ=no
47662 else
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_DATAOBJ 1
47665 _ACEOF
47666
47667 fi
47668 else
47669 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47670 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47671 wxUSE_CLIPBOARD=no
47672 wxUSE_DRAG_AND_DROP=no
47673 fi
47674
47675 if test "$wxUSE_CLIPBOARD" = "yes"; then
47676 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47677 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47678 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47679 wxUSE_CLIPBOARD=no
47680 fi
47681
47682 if test "$wxUSE_CLIPBOARD" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_CLIPBOARD 1
47685 _ACEOF
47686
47687 fi
47688 fi
47689
47690 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47691 if test "$wxUSE_GTK" = 1; then
47692 if test "$WXGTK12" != 1; then
47693 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47694 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47695 wxUSE_DRAG_AND_DROP=no
47696 fi
47697 fi
47698
47699 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47700 "$wxUSE_DFB" = 1; then
47701 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47702 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47703 wxUSE_DRAG_AND_DROP=no
47704 fi
47705
47706 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47707 cat >>confdefs.h <<\_ACEOF
47708 #define wxUSE_DRAG_AND_DROP 1
47709 _ACEOF
47710
47711 fi
47712
47713 fi
47714
47715 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47717 fi
47718
47719 if test "$wxUSE_SPLINES" = "yes" ; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_SPLINES 1
47722 _ACEOF
47723
47724 fi
47725
47726 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47727 cat >>confdefs.h <<\_ACEOF
47728 #define wxUSE_MOUSEWHEEL 1
47729 _ACEOF
47730
47731 fi
47732
47733
47734 USES_CONTROLS=0
47735 if test "$wxUSE_CONTROLS" = "yes"; then
47736 USES_CONTROLS=1
47737 fi
47738
47739 if test "$wxUSE_ACCEL" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_ACCEL 1
47742 _ACEOF
47743
47744 USES_CONTROLS=1
47745 fi
47746
47747 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47748 cat >>confdefs.h <<\_ACEOF
47749 #define wxUSE_ANIMATIONCTRL 1
47750 _ACEOF
47751
47752 USES_CONTROLS=1
47753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47754 fi
47755
47756 if test "$wxUSE_BUTTON" = "yes"; then
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_BUTTON 1
47759 _ACEOF
47760
47761 USES_CONTROLS=1
47762 fi
47763
47764 if test "$wxUSE_BMPBUTTON" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_BMPBUTTON 1
47767 _ACEOF
47768
47769 USES_CONTROLS=1
47770 fi
47771
47772 if test "$wxUSE_CALCTRL" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_CALENDARCTRL 1
47775 _ACEOF
47776
47777 USES_CONTROLS=1
47778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47779 fi
47780
47781 if test "$wxUSE_CARET" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_CARET 1
47784 _ACEOF
47785
47786 USES_CONTROLS=1
47787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47788 fi
47789
47790 if test "$wxUSE_COLLPANE" = "yes"; then
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_COLLPANE 1
47793 _ACEOF
47794
47795 USES_CONTROLS=1
47796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47797 fi
47798
47799 if test "$wxUSE_COMBOBOX" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_COMBOBOX 1
47802 _ACEOF
47803
47804 USES_CONTROLS=1
47805 fi
47806
47807 if test "$wxUSE_COMBOCTRL" = "yes"; then
47808 cat >>confdefs.h <<\_ACEOF
47809 #define wxUSE_COMBOCTRL 1
47810 _ACEOF
47811
47812 USES_CONTROLS=1
47813 fi
47814
47815 if test "$wxUSE_CHOICE" = "yes"; then
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_CHOICE 1
47818 _ACEOF
47819
47820 USES_CONTROLS=1
47821 fi
47822
47823 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_CHOICEBOOK 1
47826 _ACEOF
47827
47828 USES_CONTROLS=1
47829 fi
47830
47831 if test "$wxUSE_CHECKBOX" = "yes"; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_CHECKBOX 1
47834 _ACEOF
47835
47836 USES_CONTROLS=1
47837 fi
47838
47839 if test "$wxUSE_CHECKLST" = "yes"; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_CHECKLISTBOX 1
47842 _ACEOF
47843
47844 USES_CONTROLS=1
47845 fi
47846
47847 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47848 cat >>confdefs.h <<\_ACEOF
47849 #define wxUSE_COLOURPICKERCTRL 1
47850 _ACEOF
47851
47852 USES_CONTROLS=1
47853 fi
47854
47855 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47856 cat >>confdefs.h <<\_ACEOF
47857 #define wxUSE_DATEPICKCTRL 1
47858 _ACEOF
47859
47860 USES_CONTROLS=1
47861 fi
47862
47863 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47864 cat >>confdefs.h <<\_ACEOF
47865 #define wxUSE_DIRPICKERCTRL 1
47866 _ACEOF
47867
47868 USES_CONTROLS=1
47869 fi
47870
47871 if test "$wxUSE_FILECTRL" = "yes"; then
47872 cat >>confdefs.h <<\_ACEOF
47873 #define wxUSE_FILECTRL 1
47874 _ACEOF
47875
47876 USES_CONTROLS=1
47877 fi
47878
47879 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47880 cat >>confdefs.h <<\_ACEOF
47881 #define wxUSE_FILEPICKERCTRL 1
47882 _ACEOF
47883
47884 USES_CONTROLS=1
47885 fi
47886
47887 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_FONTPICKERCTRL 1
47890 _ACEOF
47891
47892 USES_CONTROLS=1
47893 fi
47894
47895 if test "$wxUSE_DISPLAY" = "yes"; then
47896 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47897 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47898 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47899 wxUSE_DISPLAY=no
47900 else
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_DISPLAY 1
47903 _ACEOF
47904
47905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47906 fi
47907 fi
47908
47909 if test "$wxUSE_DETECT_SM" = "yes"; then
47910 cat >>confdefs.h <<\_ACEOF
47911 #define wxUSE_DETECT_SM 1
47912 _ACEOF
47913
47914 fi
47915
47916 if test "$wxUSE_GAUGE" = "yes"; then
47917 cat >>confdefs.h <<\_ACEOF
47918 #define wxUSE_GAUGE 1
47919 _ACEOF
47920
47921 USES_CONTROLS=1
47922 fi
47923
47924 if test "$wxUSE_GRID" = "yes"; then
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_GRID 1
47927 _ACEOF
47928
47929 USES_CONTROLS=1
47930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47931 fi
47932
47933 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47934 cat >>confdefs.h <<\_ACEOF
47935 #define wxUSE_HYPERLINKCTRL 1
47936 _ACEOF
47937
47938 USES_CONTROLS=1
47939 fi
47940
47941 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_BITMAPCOMBOBOX 1
47944 _ACEOF
47945
47946 USES_CONTROLS=1
47947 fi
47948
47949 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_DATAVIEWCTRL 1
47952 _ACEOF
47953
47954 USES_CONTROLS=1
47955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47956 fi
47957
47958 if test "$wxUSE_IMAGLIST" = "yes"; then
47959 cat >>confdefs.h <<\_ACEOF
47960 #define wxUSE_IMAGLIST 1
47961 _ACEOF
47962
47963 fi
47964
47965 if test "$wxUSE_LISTBOOK" = "yes"; then
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_LISTBOOK 1
47968 _ACEOF
47969
47970 USES_CONTROLS=1
47971 fi
47972
47973 if test "$wxUSE_LISTBOX" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_LISTBOX 1
47976 _ACEOF
47977
47978 USES_CONTROLS=1
47979 fi
47980
47981 if test "$wxUSE_LISTCTRL" = "yes"; then
47982 if test "$wxUSE_IMAGLIST" = "yes"; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_LISTCTRL 1
47985 _ACEOF
47986
47987 USES_CONTROLS=1
47988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47989 else
47990 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47991 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47992 fi
47993 fi
47994
47995 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47996 cat >>confdefs.h <<\_ACEOF
47997 #define wxUSE_EDITABLELISTBOX 1
47998 _ACEOF
47999
48000 USES_CONTROLS=1
48001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48002 fi
48003
48004 if test "$wxUSE_NOTEBOOK" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_NOTEBOOK 1
48007 _ACEOF
48008
48009 USES_CONTROLS=1
48010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48011 fi
48012
48013 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48014 cat >>confdefs.h <<\_ACEOF
48015 #define wxUSE_ODCOMBOBOX 1
48016 _ACEOF
48017
48018 USES_CONTROLS=1
48019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48020 fi
48021
48022 if test "$wxUSE_RADIOBOX" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_RADIOBOX 1
48025 _ACEOF
48026
48027 USES_CONTROLS=1
48028 fi
48029
48030 if test "$wxUSE_RADIOBTN" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_RADIOBTN 1
48033 _ACEOF
48034
48035 USES_CONTROLS=1
48036 fi
48037
48038 if test "$wxUSE_SASH" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_SASH 1
48041 _ACEOF
48042
48043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48044 fi
48045
48046 if test "$wxUSE_SCROLLBAR" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_SCROLLBAR 1
48049 _ACEOF
48050
48051 USES_CONTROLS=1
48052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48053 fi
48054
48055 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_SEARCHCTRL 1
48058 _ACEOF
48059
48060 USES_CONTROLS=1
48061 fi
48062
48063 if test "$wxUSE_SLIDER" = "yes"; then
48064 cat >>confdefs.h <<\_ACEOF
48065 #define wxUSE_SLIDER 1
48066 _ACEOF
48067
48068 USES_CONTROLS=1
48069 fi
48070
48071 if test "$wxUSE_SPINBTN" = "yes"; then
48072 cat >>confdefs.h <<\_ACEOF
48073 #define wxUSE_SPINBTN 1
48074 _ACEOF
48075
48076 USES_CONTROLS=1
48077 fi
48078
48079 if test "$wxUSE_SPINCTRL" = "yes"; then
48080 cat >>confdefs.h <<\_ACEOF
48081 #define wxUSE_SPINCTRL 1
48082 _ACEOF
48083
48084 USES_CONTROLS=1
48085 fi
48086
48087 if test "$wxUSE_SPLITTER" = "yes"; then
48088 cat >>confdefs.h <<\_ACEOF
48089 #define wxUSE_SPLITTER 1
48090 _ACEOF
48091
48092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48093 fi
48094
48095 if test "$wxUSE_STATBMP" = "yes"; then
48096 cat >>confdefs.h <<\_ACEOF
48097 #define wxUSE_STATBMP 1
48098 _ACEOF
48099
48100 USES_CONTROLS=1
48101 fi
48102
48103 if test "$wxUSE_STATBOX" = "yes"; then
48104 cat >>confdefs.h <<\_ACEOF
48105 #define wxUSE_STATBOX 1
48106 _ACEOF
48107
48108 USES_CONTROLS=1
48109 fi
48110
48111 if test "$wxUSE_STATTEXT" = "yes"; then
48112 cat >>confdefs.h <<\_ACEOF
48113 #define wxUSE_STATTEXT 1
48114 _ACEOF
48115
48116 USES_CONTROLS=1
48117 fi
48118
48119 if test "$wxUSE_STATLINE" = "yes"; then
48120 cat >>confdefs.h <<\_ACEOF
48121 #define wxUSE_STATLINE 1
48122 _ACEOF
48123
48124 USES_CONTROLS=1
48125 fi
48126
48127 if test "$wxUSE_STATUSBAR" = "yes"; then
48128 cat >>confdefs.h <<\_ACEOF
48129 #define wxUSE_NATIVE_STATUSBAR 1
48130 _ACEOF
48131
48132 cat >>confdefs.h <<\_ACEOF
48133 #define wxUSE_STATUSBAR 1
48134 _ACEOF
48135
48136 USES_CONTROLS=1
48137
48138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48139 fi
48140
48141 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48142 cat >>confdefs.h <<\_ACEOF
48143 #define wxUSE_TAB_DIALOG 1
48144 _ACEOF
48145
48146 fi
48147
48148 if test "$wxUSE_TEXTCTRL" = "yes"; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_TEXTCTRL 1
48151 _ACEOF
48152
48153 USES_CONTROLS=1
48154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48155 fi
48156
48157 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48158 if test "$wxUSE_COCOA" = 1 ; then
48159 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48160 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48161 wxUSE_TOGGLEBTN=no
48162 fi
48163
48164 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_TOGGLEBTN 1
48167 _ACEOF
48168
48169 USES_CONTROLS=1
48170 fi
48171 fi
48172
48173 if test "$wxUSE_TOOLBAR" = "yes"; then
48174 cat >>confdefs.h <<\_ACEOF
48175 #define wxUSE_TOOLBAR 1
48176 _ACEOF
48177
48178 USES_CONTROLS=1
48179
48180 if test "$wxUSE_UNIVERSAL" = "yes"; then
48181 wxUSE_TOOLBAR_NATIVE="no"
48182 else
48183 wxUSE_TOOLBAR_NATIVE="yes"
48184 cat >>confdefs.h <<\_ACEOF
48185 #define wxUSE_TOOLBAR_NATIVE 1
48186 _ACEOF
48187
48188 fi
48189
48190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48191 fi
48192
48193 if test "$wxUSE_TOOLTIPS" = "yes"; then
48194 if test "$wxUSE_MOTIF" = 1; then
48195 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48196 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48197 else
48198 if test "$wxUSE_UNIVERSAL" = "yes"; then
48199 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48200 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48201 else
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_TOOLTIPS 1
48204 _ACEOF
48205
48206 fi
48207 fi
48208 fi
48209
48210 if test "$wxUSE_TREEBOOK" = "yes"; then
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_TREEBOOK 1
48213 _ACEOF
48214
48215 USES_CONTROLS=1
48216 fi
48217
48218 if test "$wxUSE_TOOLBOOK" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_TOOLBOOK 1
48221 _ACEOF
48222
48223 USES_CONTROLS=1
48224 fi
48225
48226 if test "$wxUSE_TREECTRL" = "yes"; then
48227 if test "$wxUSE_IMAGLIST" = "yes"; then
48228 cat >>confdefs.h <<\_ACEOF
48229 #define wxUSE_TREECTRL 1
48230 _ACEOF
48231
48232 USES_CONTROLS=1
48233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48234 else
48235 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48236 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48237 fi
48238 fi
48239
48240 if test "$wxUSE_POPUPWIN" = "yes"; then
48241 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48242 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48243 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48244 else
48245 if test "$wxUSE_PM" = 1; then
48246 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48247 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48248 else
48249 cat >>confdefs.h <<\_ACEOF
48250 #define wxUSE_POPUPWIN 1
48251 _ACEOF
48252
48253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48254
48255 USES_CONTROLS=1
48256 fi
48257 fi
48258 fi
48259
48260 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48261 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48262 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48263 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48264 else
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_DIALUP_MANAGER 1
48267 _ACEOF
48268
48269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48270 fi
48271 fi
48272
48273 if test "$wxUSE_TIPWINDOW" = "yes"; then
48274 if test "$wxUSE_PM" = 1; then
48275 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48276 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48277 else
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_TIPWINDOW 1
48280 _ACEOF
48281
48282 fi
48283 fi
48284
48285 if test "$USES_CONTROLS" = 1; then
48286 cat >>confdefs.h <<\_ACEOF
48287 #define wxUSE_CONTROLS 1
48288 _ACEOF
48289
48290 fi
48291
48292
48293 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_ACCESSIBILITY 1
48296 _ACEOF
48297
48298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48299 fi
48300
48301 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_DRAGIMAGE 1
48304 _ACEOF
48305
48306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48307 fi
48308
48309 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48310 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48311 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48312 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48313 else
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_EXCEPTIONS 1
48316 _ACEOF
48317
48318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48319 fi
48320 fi
48321
48322 USE_HTML=0
48323 if test "$wxUSE_HTML" = "yes"; then
48324 cat >>confdefs.h <<\_ACEOF
48325 #define wxUSE_HTML 1
48326 _ACEOF
48327
48328 USE_HTML=1
48329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48330 if test "$wxUSE_MAC" = 1; then
48331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48332 fi
48333 fi
48334 if test "$wxUSE_WEBKIT" = "yes"; then
48335 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48336 old_CPPFLAGS="$CPPFLAGS"
48337 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48338 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48339 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48340 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48341 echo $ECHO_N "(cached) $ECHO_C" >&6
48342 else
48343 cat >conftest.$ac_ext <<_ACEOF
48344 /* confdefs.h. */
48345 _ACEOF
48346 cat confdefs.h >>conftest.$ac_ext
48347 cat >>conftest.$ac_ext <<_ACEOF
48348 /* end confdefs.h. */
48349
48350 #include <Carbon/Carbon.h>
48351 #include <WebKit/WebKit.h>
48352
48353
48354 #include <WebKit/HIWebView.h>
48355 _ACEOF
48356 rm -f conftest.$ac_objext
48357 if { (ac_try="$ac_compile"
48358 case "(($ac_try" in
48359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48360 *) ac_try_echo=$ac_try;;
48361 esac
48362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48363 (eval "$ac_compile") 2>conftest.er1
48364 ac_status=$?
48365 grep -v '^ *+' conftest.er1 >conftest.err
48366 rm -f conftest.er1
48367 cat conftest.err >&5
48368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48369 (exit $ac_status); } && {
48370 test -z "$ac_c_werror_flag" ||
48371 test ! -s conftest.err
48372 } && test -s conftest.$ac_objext; then
48373 ac_cv_header_WebKit_HIWebView_h=yes
48374 else
48375 echo "$as_me: failed program was:" >&5
48376 sed 's/^/| /' conftest.$ac_ext >&5
48377
48378 ac_cv_header_WebKit_HIWebView_h=no
48379 fi
48380
48381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48382 fi
48383 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48384 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48385 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48386
48387 cat >>confdefs.h <<\_ACEOF
48388 #define wxUSE_WEBKIT 1
48389 _ACEOF
48390
48391 WEBKIT_LINK="-framework WebKit"
48392
48393 else
48394
48395 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48396 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48397 wxUSE_WEBKIT=no
48398
48399 fi
48400
48401
48402 CPPFLAGS="$old_CPPFLAGS"
48403 elif test "$wxUSE_COCOA" = 1; then
48404 cat >>confdefs.h <<\_ACEOF
48405 #define wxUSE_WEBKIT 1
48406 _ACEOF
48407
48408 else
48409 wxUSE_WEBKIT=no
48410 fi
48411 fi
48412
48413 USE_XRC=0
48414 if test "$wxUSE_XRC" = "yes"; then
48415 if test "$wxUSE_XML" != "yes"; then
48416 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48417 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48418 wxUSE_XRC=no
48419 else
48420 cat >>confdefs.h <<\_ACEOF
48421 #define wxUSE_XRC 1
48422 _ACEOF
48423
48424 USE_XRC=1
48425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48426 fi
48427 fi
48428
48429 USE_AUI=0
48430 if test "$wxUSE_AUI" = "yes"; then
48431 cat >>confdefs.h <<\_ACEOF
48432 #define wxUSE_AUI 1
48433 _ACEOF
48434
48435 USE_AUI=1
48436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48437 fi
48438
48439 USE_STC=0
48440 if test "$wxUSE_STC" = "yes"; then
48441 cat >>confdefs.h <<\_ACEOF
48442 #define wxUSE_STC 1
48443 _ACEOF
48444
48445 USE_STC=1
48446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48447 fi
48448
48449 if test "$wxUSE_MENUS" = "yes"; then
48450 cat >>confdefs.h <<\_ACEOF
48451 #define wxUSE_MENUS 1
48452 _ACEOF
48453
48454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48455 fi
48456
48457 if test "$wxUSE_METAFILE" = "yes"; then
48458 cat >>confdefs.h <<\_ACEOF
48459 #define wxUSE_METAFILE 1
48460 _ACEOF
48461
48462 fi
48463
48464 if test "$wxUSE_MIMETYPE" = "yes"; then
48465 cat >>confdefs.h <<\_ACEOF
48466 #define wxUSE_MIMETYPE 1
48467 _ACEOF
48468
48469 fi
48470
48471 if test "$wxUSE_MINIFRAME" = "yes"; then
48472 cat >>confdefs.h <<\_ACEOF
48473 #define wxUSE_MINIFRAME 1
48474 _ACEOF
48475
48476 fi
48477
48478 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_SYSTEM_OPTIONS 1
48481 _ACEOF
48482
48483 fi
48484
48485 if test "$wxUSE_TASKBARICON" = "yes"; then
48486 cat >>confdefs.h <<\_ACEOF
48487 #define wxUSE_TASKBARICON 1
48488 _ACEOF
48489
48490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48491 fi
48492
48493
48494 if test "$wxUSE_VALIDATORS" = "yes"; then
48495 cat >>confdefs.h <<\_ACEOF
48496 #define wxUSE_VALIDATORS 1
48497 _ACEOF
48498
48499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48500 fi
48501
48502 if test "$wxUSE_PALETTE" = "yes" ; then
48503 if test "$wxUSE_DFB" = 1; then
48504 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48505 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48506 wxUSE_PALETTE=no
48507 else
48508 cat >>confdefs.h <<\_ACEOF
48509 #define wxUSE_PALETTE 1
48510 _ACEOF
48511
48512 fi
48513 fi
48514
48515 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48516 LIBS=" -lunicows $LIBS"
48517 fi
48518
48519 USE_RICHTEXT=0
48520 if test "$wxUSE_RICHTEXT" = "yes"; then
48521 cat >>confdefs.h <<\_ACEOF
48522 #define wxUSE_RICHTEXT 1
48523 _ACEOF
48524
48525 USE_RICHTEXT=1
48526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48527 fi
48528
48529
48530 if test "$wxUSE_IMAGE" = "yes" ; then
48531 cat >>confdefs.h <<\_ACEOF
48532 #define wxUSE_IMAGE 1
48533 _ACEOF
48534
48535
48536 if test "$wxUSE_GIF" = "yes" ; then
48537 cat >>confdefs.h <<\_ACEOF
48538 #define wxUSE_GIF 1
48539 _ACEOF
48540
48541 fi
48542
48543 if test "$wxUSE_PCX" = "yes" ; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_PCX 1
48546 _ACEOF
48547
48548 fi
48549
48550 if test "$wxUSE_TGA" = "yes" ; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_TGA 1
48553 _ACEOF
48554
48555 fi
48556
48557 if test "$wxUSE_IFF" = "yes" ; then
48558 cat >>confdefs.h <<\_ACEOF
48559 #define wxUSE_IFF 1
48560 _ACEOF
48561
48562 fi
48563
48564 if test "$wxUSE_PNM" = "yes" ; then
48565 cat >>confdefs.h <<\_ACEOF
48566 #define wxUSE_PNM 1
48567 _ACEOF
48568
48569 fi
48570
48571 if test "$wxUSE_XPM" = "yes" ; then
48572 cat >>confdefs.h <<\_ACEOF
48573 #define wxUSE_XPM 1
48574 _ACEOF
48575
48576 fi
48577
48578 if test "$wxUSE_ICO_CUR" = "yes" ; then
48579 cat >>confdefs.h <<\_ACEOF
48580 #define wxUSE_ICO_CUR 1
48581 _ACEOF
48582
48583 fi
48584 fi
48585
48586
48587 if test "$wxUSE_ABOUTDLG" = "yes"; then
48588 cat >>confdefs.h <<\_ACEOF
48589 #define wxUSE_ABOUTDLG 1
48590 _ACEOF
48591
48592 fi
48593
48594 if test "$wxUSE_CHOICEDLG" = "yes"; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_CHOICEDLG 1
48597 _ACEOF
48598
48599 fi
48600
48601 if test "$wxUSE_COLOURDLG" = "yes"; then
48602 cat >>confdefs.h <<\_ACEOF
48603 #define wxUSE_COLOURDLG 1
48604 _ACEOF
48605
48606 fi
48607
48608 if test "$wxUSE_FILEDLG" = "yes"; then
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_FILEDLG 1
48611 _ACEOF
48612
48613 fi
48614
48615 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48616 cat >>confdefs.h <<\_ACEOF
48617 #define wxUSE_FINDREPLDLG 1
48618 _ACEOF
48619
48620 fi
48621
48622 if test "$wxUSE_FONTDLG" = "yes"; then
48623 cat >>confdefs.h <<\_ACEOF
48624 #define wxUSE_FONTDLG 1
48625 _ACEOF
48626
48627 fi
48628
48629 if test "$wxUSE_DIRDLG" = "yes"; then
48630 if test "$wxUSE_TREECTRL" != "yes"; then
48631 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48632 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48633 else
48634 cat >>confdefs.h <<\_ACEOF
48635 #define wxUSE_DIRDLG 1
48636 _ACEOF
48637
48638 fi
48639 fi
48640
48641 if test "$wxUSE_MSGDLG" = "yes"; then
48642 cat >>confdefs.h <<\_ACEOF
48643 #define wxUSE_MSGDLG 1
48644 _ACEOF
48645
48646 fi
48647
48648 if test "$wxUSE_NUMBERDLG" = "yes"; then
48649 cat >>confdefs.h <<\_ACEOF
48650 #define wxUSE_NUMBERDLG 1
48651 _ACEOF
48652
48653 fi
48654
48655 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48656 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48657 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48658 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48659 else
48660 cat >>confdefs.h <<\_ACEOF
48661 #define wxUSE_PROGRESSDLG 1
48662 _ACEOF
48663
48664 fi
48665 fi
48666
48667 if test "$wxUSE_SPLASH" = "yes"; then
48668 cat >>confdefs.h <<\_ACEOF
48669 #define wxUSE_SPLASH 1
48670 _ACEOF
48671
48672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48673 fi
48674
48675 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48676 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48677 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48678 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48679 else
48680 cat >>confdefs.h <<\_ACEOF
48681 #define wxUSE_STARTUP_TIPS 1
48682 _ACEOF
48683
48684 fi
48685 fi
48686
48687 if test "$wxUSE_TEXTDLG" = "yes"; then
48688 cat >>confdefs.h <<\_ACEOF
48689 #define wxUSE_TEXTDLG 1
48690 _ACEOF
48691
48692 fi
48693
48694 if test "$wxUSE_WIZARDDLG" = "yes"; then
48695 cat >>confdefs.h <<\_ACEOF
48696 #define wxUSE_WIZARDDLG 1
48697 _ACEOF
48698
48699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48700 fi
48701
48702
48703 if test "$wxUSE_MSW" = 1 ; then
48704
48705 if test "$wxUSE_DC_CACHEING" = "yes"; then
48706 cat >>confdefs.h <<\_ACEOF
48707 #define wxUSE_DC_CACHEING 1
48708 _ACEOF
48709
48710 fi
48711
48712 if test "$wxUSE_DIB" = "yes"; then
48713 cat >>confdefs.h <<\_ACEOF
48714 #define wxUSE_WXDIB 1
48715 _ACEOF
48716
48717 fi
48718
48719 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48720 cat >>confdefs.h <<\_ACEOF
48721 #define wxUSE_OWNER_DRAWN 1
48722 _ACEOF
48723
48724 fi
48725
48726 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48727 cat >>confdefs.h <<\_ACEOF
48728 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48729 _ACEOF
48730
48731 fi
48732
48733 if test "$wxUSE_UXTHEME" = "yes"; then
48734 cat >>confdefs.h <<\_ACEOF
48735 #define wxUSE_UXTHEME 1
48736 _ACEOF
48737
48738 fi
48739
48740 fi
48741
48742
48743 if test "$USE_WIN32" = 1 ; then
48744 if test "$wxUSE_INICONF" = "yes"; then
48745 cat >>confdefs.h <<\_ACEOF
48746 #define wxUSE_INICONF 1
48747 _ACEOF
48748
48749 fi
48750
48751 if test "$wxUSE_REGKEY" = "yes"; then
48752 cat >>confdefs.h <<\_ACEOF
48753 #define wxUSE_REGKEY 1
48754 _ACEOF
48755
48756 fi
48757 fi
48758
48759
48760 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48761 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48762 cat >>confdefs.h <<\_ACEOF
48763 #define wxUSE_GRAPHICS_CONTEXT 1
48764 _ACEOF
48765
48766 elif test "$wxUSE_GTK" != 1; then
48767 cat >>confdefs.h <<\_ACEOF
48768 #define wxUSE_GRAPHICS_CONTEXT 1
48769 _ACEOF
48770
48771 else
48772
48773 pkg_failed=no
48774 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48775 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48776
48777 if test -n "$PKG_CONFIG"; then
48778 if test -n "$CAIRO_CFLAGS"; then
48779 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48780 else
48781 if test -n "$PKG_CONFIG" && \
48782 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48783 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48784 ac_status=$?
48785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48786 (exit $ac_status); }; then
48787 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48788 else
48789 pkg_failed=yes
48790 fi
48791 fi
48792 else
48793 pkg_failed=untried
48794 fi
48795 if test -n "$PKG_CONFIG"; then
48796 if test -n "$CAIRO_LIBS"; then
48797 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48798 else
48799 if test -n "$PKG_CONFIG" && \
48800 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48801 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48802 ac_status=$?
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); }; then
48805 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48806 else
48807 pkg_failed=yes
48808 fi
48809 fi
48810 else
48811 pkg_failed=untried
48812 fi
48813
48814
48815
48816 if test $pkg_failed = yes; then
48817
48818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48819 _pkg_short_errors_supported=yes
48820 else
48821 _pkg_short_errors_supported=no
48822 fi
48823 if test $_pkg_short_errors_supported = yes; then
48824 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48825 else
48826 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48827 fi
48828 # Put the nasty error message in config.log where it belongs
48829 echo "$CAIRO_PKG_ERRORS" >&5
48830
48831 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48832 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48833
48834 elif test $pkg_failed = untried; then
48835 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48836 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48837
48838 else
48839 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48840 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48841 { echo "$as_me:$LINENO: result: yes" >&5
48842 echo "${ECHO_T}yes" >&6; }
48843 cat >>confdefs.h <<\_ACEOF
48844 #define wxUSE_GRAPHICS_CONTEXT 1
48845 _ACEOF
48846
48847 fi
48848 fi
48849 fi
48850
48851
48852 USE_MEDIA=0
48853
48854 if test "$wxUSE_MEDIACTRL" = "yes"; then
48855 USE_MEDIA=1
48856
48857 if test "$wxUSE_GTK" = 1; then
48858 wxUSE_GSTREAMER="no"
48859
48860 GST_VERSION_MAJOR=0
48861 GST_VERSION_MINOR=10
48862 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48863
48864 if test "$wxUSE_GSTREAMER8" = "no"; then
48865
48866 pkg_failed=no
48867 { echo "$as_me:$LINENO: checking for GST" >&5
48868 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48869
48870 if test -n "$PKG_CONFIG"; then
48871 if test -n "$GST_CFLAGS"; then
48872 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48873 else
48874 if test -n "$PKG_CONFIG" && \
48875 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48876 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48877 ac_status=$?
48878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48879 (exit $ac_status); }; then
48880 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48881 else
48882 pkg_failed=yes
48883 fi
48884 fi
48885 else
48886 pkg_failed=untried
48887 fi
48888 if test -n "$PKG_CONFIG"; then
48889 if test -n "$GST_LIBS"; then
48890 pkg_cv_GST_LIBS="$GST_LIBS"
48891 else
48892 if test -n "$PKG_CONFIG" && \
48893 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48894 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48895 ac_status=$?
48896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48897 (exit $ac_status); }; then
48898 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48899 else
48900 pkg_failed=yes
48901 fi
48902 fi
48903 else
48904 pkg_failed=untried
48905 fi
48906
48907
48908
48909 if test $pkg_failed = yes; then
48910
48911 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48912 _pkg_short_errors_supported=yes
48913 else
48914 _pkg_short_errors_supported=no
48915 fi
48916 if test $_pkg_short_errors_supported = yes; then
48917 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48918 else
48919 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48920 fi
48921 # Put the nasty error message in config.log where it belongs
48922 echo "$GST_PKG_ERRORS" >&5
48923
48924
48925 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48926 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48927 GST_VERSION_MINOR=8
48928
48929
48930 elif test $pkg_failed = untried; then
48931
48932 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48933 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48934 GST_VERSION_MINOR=8
48935
48936
48937 else
48938 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48939 GST_LIBS=$pkg_cv_GST_LIBS
48940 { echo "$as_me:$LINENO: result: yes" >&5
48941 echo "${ECHO_T}yes" >&6; }
48942
48943 wxUSE_GSTREAMER="yes"
48944 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48945
48946 fi
48947 else
48948 GST_VERSION_MINOR=8
48949 fi
48950
48951 if test $GST_VERSION_MINOR = "8"; then
48952 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48953
48954 pkg_failed=no
48955 { echo "$as_me:$LINENO: checking for GST" >&5
48956 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48957
48958 if test -n "$PKG_CONFIG"; then
48959 if test -n "$GST_CFLAGS"; then
48960 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48961 else
48962 if test -n "$PKG_CONFIG" && \
48963 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48964 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48965 ac_status=$?
48966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48967 (exit $ac_status); }; then
48968 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48969 else
48970 pkg_failed=yes
48971 fi
48972 fi
48973 else
48974 pkg_failed=untried
48975 fi
48976 if test -n "$PKG_CONFIG"; then
48977 if test -n "$GST_LIBS"; then
48978 pkg_cv_GST_LIBS="$GST_LIBS"
48979 else
48980 if test -n "$PKG_CONFIG" && \
48981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48982 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48983 ac_status=$?
48984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48985 (exit $ac_status); }; then
48986 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48987 else
48988 pkg_failed=yes
48989 fi
48990 fi
48991 else
48992 pkg_failed=untried
48993 fi
48994
48995
48996
48997 if test $pkg_failed = yes; then
48998
48999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49000 _pkg_short_errors_supported=yes
49001 else
49002 _pkg_short_errors_supported=no
49003 fi
49004 if test $_pkg_short_errors_supported = yes; then
49005 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49006 else
49007 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49008 fi
49009 # Put the nasty error message in config.log where it belongs
49010 echo "$GST_PKG_ERRORS" >&5
49011
49012
49013 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49014 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49015
49016 elif test $pkg_failed = untried; then
49017
49018 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49019 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49020
49021 else
49022 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49023 GST_LIBS=$pkg_cv_GST_LIBS
49024 { echo "$as_me:$LINENO: result: yes" >&5
49025 echo "${ECHO_T}yes" >&6; }
49026 wxUSE_GSTREAMER="yes"
49027 fi
49028 fi
49029
49030
49031 if test "$wxUSE_GSTREAMER" = "yes"; then
49032 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49033 LIBS="$GST_LIBS $LIBS"
49034
49035 cat >>confdefs.h <<\_ACEOF
49036 #define wxUSE_GSTREAMER 1
49037 _ACEOF
49038
49039 else
49040 USE_MEDIA=0
49041 fi
49042 fi
49043
49044 if test $USE_MEDIA = 1; then
49045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49046 cat >>confdefs.h <<\_ACEOF
49047 #define wxUSE_MEDIACTRL 1
49048 _ACEOF
49049
49050 fi
49051 fi
49052
49053
49054 if test "$cross_compiling" = "yes"; then
49055 OSINFO="\"$host\""
49056 else
49057 OSINFO=`uname -s -r -m`
49058 OSINFO="\"$OSINFO\""
49059 fi
49060
49061 cat >>confdefs.h <<_ACEOF
49062 #define WXWIN_OS_DESCRIPTION $OSINFO
49063 _ACEOF
49064
49065
49066
49067 if test "x$prefix" != "xNONE"; then
49068 wxPREFIX=$prefix
49069 else
49070 wxPREFIX=$ac_default_prefix
49071 fi
49072
49073 cat >>confdefs.h <<_ACEOF
49074 #define wxINSTALL_PREFIX "$wxPREFIX"
49075 _ACEOF
49076
49077
49078
49079
49080 STD_BASE_LIBS="base"
49081 STD_GUI_LIBS=""
49082 BUILT_WX_LIBS="base"
49083 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49084
49085 if test "$wxUSE_SOCKETS" = "yes" ; then
49086 STD_BASE_LIBS="net $STD_BASE_LIBS"
49087 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49088 fi
49089 if test "$wxUSE_XML" = "yes" ; then
49090 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49091 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49092 fi
49093
49094 if test "$wxUSE_GUI" = "yes"; then
49095 STD_GUI_LIBS="adv core"
49096 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49097
49098 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49099 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49100 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49101 fi
49102 if test "$wxUSE_HTML" = "yes" ; then
49103 STD_GUI_LIBS="html $STD_GUI_LIBS"
49104 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49105 fi
49106 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49107 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49108 fi
49109 if test "$wxUSE_OPENGL" = "yes" ; then
49110 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49111 fi
49112 if test "$wxUSE_AUI" = "yes" ; then
49113 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49114 fi
49115 if test "$wxUSE_STC" = "yes" ; then
49116 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49117 fi
49118 if test "$wxUSE_XRC" = "yes" ; then
49119 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49120 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49121 fi
49122 fi
49123
49124
49125
49126
49127
49128
49129
49130
49131 if test "$wxUSE_MAC" = 1 ; then
49132 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49133 if test "$USE_DARWIN" = 1; then
49134 LDFLAGS="$LDFLAGS -framework QuickTime"
49135 else
49136 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49137 fi
49138 fi
49139 if test "$USE_DARWIN" = 1; then
49140 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49141 else
49142 LDFLAGS="$LDFLAGS -lCarbonLib"
49143 fi
49144 fi
49145 if test "$wxUSE_COCOA" = 1 ; then
49146 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49147 if test "$wxUSE_MEDIACTRL" = "yes"; then
49148 LDFLAGS="$LDFLAGS -framework QuickTime"
49149 fi
49150 fi
49151 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49152 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49153 fi
49154
49155 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49156
49157 if test "$wxUSE_GUI" = "yes"; then
49158
49159
49160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49161 erase event exec font image minimal mobile \
49162 mobile/wxedit mobile/styles render \
49163 shaped svg taborder vscroll widgets"
49164
49165 if test "$wxUSE_MONOLITHIC" != "yes"; then
49166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49167 fi
49168 if test "$TOOLKIT" = "MSW"; then
49169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49170 if test "$wxUSE_UNIVERSAL" != "yes"; then
49171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49172 fi
49173 fi
49174 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49176 fi
49177 else
49178 SAMPLES_SUBDIRS="console"
49179 fi
49180
49181
49182 if test "x$INTELCC" = "xyes" ; then
49183 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49184 elif test "$GCC" = yes ; then
49185 CWARNINGS="-Wall -Wundef"
49186 fi
49187
49188 if test "x$INTELCXX" = "xyes" ; then
49189 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49190 elif test "$GXX" = yes ; then
49191 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49192 fi
49193
49194
49195 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49196 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49197
49198
49199 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49200 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49201 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49202 $CPPFLAGS `
49203
49204 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49205 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49206 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49207
49208 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49209
49210
49211 if test "x$MWCC" = "xyes"; then
49212
49213 CC="$CC -cwd source -I-"
49214 CXX="$CXX -cwd source -I-"
49215 fi
49216
49217
49218 LIBS=`echo $LIBS`
49219 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49220 EXTRALIBS_XML="$EXPAT_LINK"
49221 EXTRALIBS_HTML="$MSPACK_LINK"
49222 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49223 if test "$wxUSE_GUI" = "yes"; then
49224 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49225 fi
49226 if test "$wxUSE_OPENGL" = "yes"; then
49227 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49228 fi
49229
49230 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49231
49232 WXCONFIG_LIBS="$LIBS"
49233
49234 if test "$wxUSE_REGEX" = "builtin" ; then
49235 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49236 fi
49237 if test "$wxUSE_EXPAT" = "builtin" ; then
49238 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49239 fi
49240 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49241 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49242 fi
49243 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49244 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49245 fi
49246 if test "$wxUSE_LIBPNG" = "builtin" ; then
49247 wxconfig_3rdparty="png $wxconfig_3rdparty"
49248 fi
49249 if test "$wxUSE_ZLIB" = "builtin" ; then
49250 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49251 fi
49252
49253 for i in $wxconfig_3rdparty ; do
49254 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49255 done
49256
49257
49258 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49259 WXUNIV=1
49260
49261 case "$wxUNIV_THEMES" in
49262 ''|all)
49263 cat >>confdefs.h <<\_ACEOF
49264 #define wxUSE_ALL_THEMES 1
49265 _ACEOF
49266
49267 ;;
49268
49269 *)
49270 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49271 cat >>confdefs.h <<_ACEOF
49272 #define wxUSE_THEME_$t 1
49273 _ACEOF
49274
49275 done
49276 esac
49277 else
49278 WXUNIV=0
49279 fi
49280
49281
49282
49283
49284
49285
49286
49287
49288 if test $wxUSE_MONOLITHIC = "yes" ; then
49289 MONOLITHIC=1
49290 else
49291 MONOLITHIC=0
49292 fi
49293
49294 if test $wxUSE_PLUGINS = "yes" ; then
49295 USE_PLUGINS=1
49296 else
49297 USE_PLUGINS=0
49298 fi
49299
49300 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49301 USE_QA=1
49302 else
49303 USE_QA=0
49304 fi
49305
49306 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49307 OFFICIAL_BUILD=1
49308 else
49309 OFFICIAL_BUILD=0
49310 fi
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49338
49339
49340
49341
49342
49343
49344
49345
49346 case "$TOOLKIT" in
49347 GTK)
49348 TOOLKIT_DESC="GTK+"
49349 if test "$WXGTK20" = 1; then
49350 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49351 if test "$wxUSE_GTKPRINT" = "yes" ; then
49352 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49353 fi
49354 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49355 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49356 fi
49357 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49358 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49359 fi
49360 if test "$wxUSE_LIBHILDON" = "yes"; then
49361 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49362 fi
49363
49364 if test "$TOOLKIT_EXTRA" != ""; then
49365 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49366 fi
49367 fi
49368 ;;
49369
49370 ?*)
49371 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49372 ;;
49373
49374 *)
49375 TOOLKIT_DESC="base only"
49376 ;;
49377 esac
49378
49379 if test "$wxUSE_WINE" = "yes"; then
49380 BAKEFILE_FORCE_PLATFORM=win32
49381 fi
49382
49383 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49384 then
49385 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49386 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49387 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49388 echo $ECHO_N "(cached) $ECHO_C" >&6
49389 else
49390
49391 echo '#include <stdio.h>
49392 const wchar_t test_var[] = L"awidetest";' > conftest.h
49393
49394 echo '#include "conftest.h"
49395 int main()
49396 {
49397 printf("%ls", test_var);
49398 return 0;
49399 }' > conftest.cpp
49400
49401 wx_cv_gcc_pch_bug="pch not supported"
49402
49403 if $CXX conftest.h >/dev/null 2>&1
49404 then
49405 wx_cv_gcc_pch_bug=
49406
49407 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49408 then
49409 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49410 grep awidetest >/dev/null
49411 then
49412 wx_cv_gcc_pch_bug=no
49413 else
49414 wx_cv_gcc_pch_bug=yes
49415 fi
49416 fi
49417 fi
49418
49419 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49420
49421 fi
49422 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49423 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49424
49425 if test "$wx_cv_gcc_pch_bug" = yes; then
49426 bk_use_pch=no
49427 fi
49428 fi
49429
49430
49431
49432
49433 if test "x$BAKEFILE_HOST" = "x"; then
49434 if test "x${host}" = "x" ; then
49435 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49436 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49437 { (exit 1); exit 1; }; }
49438 fi
49439
49440 BAKEFILE_HOST="${host}"
49441 fi
49442
49443 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49444
49445 if test -n "$ac_tool_prefix"; then
49446 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49447 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49450 if test "${ac_cv_prog_RANLIB+set}" = set; then
49451 echo $ECHO_N "(cached) $ECHO_C" >&6
49452 else
49453 if test -n "$RANLIB"; then
49454 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49455 else
49456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49457 for as_dir in $PATH
49458 do
49459 IFS=$as_save_IFS
49460 test -z "$as_dir" && as_dir=.
49461 for ac_exec_ext in '' $ac_executable_extensions; do
49462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49463 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49465 break 2
49466 fi
49467 done
49468 done
49469 IFS=$as_save_IFS
49470
49471 fi
49472 fi
49473 RANLIB=$ac_cv_prog_RANLIB
49474 if test -n "$RANLIB"; then
49475 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49476 echo "${ECHO_T}$RANLIB" >&6; }
49477 else
49478 { echo "$as_me:$LINENO: result: no" >&5
49479 echo "${ECHO_T}no" >&6; }
49480 fi
49481
49482
49483 fi
49484 if test -z "$ac_cv_prog_RANLIB"; then
49485 ac_ct_RANLIB=$RANLIB
49486 # Extract the first word of "ranlib", so it can be a program name with args.
49487 set dummy ranlib; ac_word=$2
49488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49490 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49491 echo $ECHO_N "(cached) $ECHO_C" >&6
49492 else
49493 if test -n "$ac_ct_RANLIB"; then
49494 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49495 else
49496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49497 for as_dir in $PATH
49498 do
49499 IFS=$as_save_IFS
49500 test -z "$as_dir" && as_dir=.
49501 for ac_exec_ext in '' $ac_executable_extensions; do
49502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49503 ac_cv_prog_ac_ct_RANLIB="ranlib"
49504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49505 break 2
49506 fi
49507 done
49508 done
49509 IFS=$as_save_IFS
49510
49511 fi
49512 fi
49513 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49514 if test -n "$ac_ct_RANLIB"; then
49515 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49516 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49517 else
49518 { echo "$as_me:$LINENO: result: no" >&5
49519 echo "${ECHO_T}no" >&6; }
49520 fi
49521
49522 if test "x$ac_ct_RANLIB" = x; then
49523 RANLIB=":"
49524 else
49525 case $cross_compiling:$ac_tool_warned in
49526 yes:)
49527 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49528 whose name does not start with the host triplet. If you think this
49529 configuration is useful to you, please write to autoconf@gnu.org." >&5
49530 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49531 whose name does not start with the host triplet. If you think this
49532 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49533 ac_tool_warned=yes ;;
49534 esac
49535 RANLIB=$ac_ct_RANLIB
49536 fi
49537 else
49538 RANLIB="$ac_cv_prog_RANLIB"
49539 fi
49540
49541 # Find a good install program. We prefer a C program (faster),
49542 # so one script is as good as another. But avoid the broken or
49543 # incompatible versions:
49544 # SysV /etc/install, /usr/sbin/install
49545 # SunOS /usr/etc/install
49546 # IRIX /sbin/install
49547 # AIX /bin/install
49548 # AmigaOS /C/install, which installs bootblocks on floppy discs
49549 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49550 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49551 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49552 # OS/2's system install, which has a completely different semantic
49553 # ./install, which can be erroneously created by make from ./install.sh.
49554 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49555 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49556 if test -z "$INSTALL"; then
49557 if test "${ac_cv_path_install+set}" = set; then
49558 echo $ECHO_N "(cached) $ECHO_C" >&6
49559 else
49560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49561 for as_dir in $PATH
49562 do
49563 IFS=$as_save_IFS
49564 test -z "$as_dir" && as_dir=.
49565 # Account for people who put trailing slashes in PATH elements.
49566 case $as_dir/ in
49567 ./ | .// | /cC/* | \
49568 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49569 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49570 /usr/ucb/* ) ;;
49571 *)
49572 # OSF1 and SCO ODT 3.0 have their own names for install.
49573 # Don't use installbsd from OSF since it installs stuff as root
49574 # by default.
49575 for ac_prog in ginstall scoinst install; do
49576 for ac_exec_ext in '' $ac_executable_extensions; do
49577 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49578 if test $ac_prog = install &&
49579 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49580 # AIX install. It has an incompatible calling convention.
49581 :
49582 elif test $ac_prog = install &&
49583 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49584 # program-specific install script used by HP pwplus--don't use.
49585 :
49586 else
49587 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49588 break 3
49589 fi
49590 fi
49591 done
49592 done
49593 ;;
49594 esac
49595 done
49596 IFS=$as_save_IFS
49597
49598
49599 fi
49600 if test "${ac_cv_path_install+set}" = set; then
49601 INSTALL=$ac_cv_path_install
49602 else
49603 # As a last resort, use the slow shell script. Don't cache a
49604 # value for INSTALL within a source directory, because that will
49605 # break other packages using the cache if that directory is
49606 # removed, or if the value is a relative name.
49607 INSTALL=$ac_install_sh
49608 fi
49609 fi
49610 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49611 echo "${ECHO_T}$INSTALL" >&6; }
49612
49613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49614 # It thinks the first close brace ends the variable substitution.
49615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49616
49617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49618
49619 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49620
49621 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49622 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49623 LN_S=$as_ln_s
49624 if test "$LN_S" = "ln -s"; then
49625 { echo "$as_me:$LINENO: result: yes" >&5
49626 echo "${ECHO_T}yes" >&6; }
49627 else
49628 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49629 echo "${ECHO_T}no, using $LN_S" >&6; }
49630 fi
49631
49632
49633 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49634 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49635 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49636 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49637 echo $ECHO_N "(cached) $ECHO_C" >&6
49638 else
49639 cat >conftest.make <<\_ACEOF
49640 SHELL = /bin/sh
49641 all:
49642 @echo '@@@%%%=$(MAKE)=@@@%%%'
49643 _ACEOF
49644 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49645 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49646 *@@@%%%=?*=@@@%%%*)
49647 eval ac_cv_prog_make_${ac_make}_set=yes;;
49648 *)
49649 eval ac_cv_prog_make_${ac_make}_set=no;;
49650 esac
49651 rm -f conftest.make
49652 fi
49653 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49654 { echo "$as_me:$LINENO: result: yes" >&5
49655 echo "${ECHO_T}yes" >&6; }
49656 SET_MAKE=
49657 else
49658 { echo "$as_me:$LINENO: result: no" >&5
49659 echo "${ECHO_T}no" >&6; }
49660 SET_MAKE="MAKE=${MAKE-make}"
49661 fi
49662
49663
49664
49665 if test "x$SUNCXX" = "xyes"; then
49666 AR=$CXX
49667 AROPTIONS="-xar -o"
49668
49669 elif test "x$SGICC" = "xyes"; then
49670 AR=$CXX
49671 AROPTIONS="-ar -o"
49672
49673 else
49674 if test -n "$ac_tool_prefix"; then
49675 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49676 set dummy ${ac_tool_prefix}ar; ac_word=$2
49677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49679 if test "${ac_cv_prog_AR+set}" = set; then
49680 echo $ECHO_N "(cached) $ECHO_C" >&6
49681 else
49682 if test -n "$AR"; then
49683 ac_cv_prog_AR="$AR" # Let the user override the test.
49684 else
49685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49686 for as_dir in $PATH
49687 do
49688 IFS=$as_save_IFS
49689 test -z "$as_dir" && as_dir=.
49690 for ac_exec_ext in '' $ac_executable_extensions; do
49691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49692 ac_cv_prog_AR="${ac_tool_prefix}ar"
49693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49694 break 2
49695 fi
49696 done
49697 done
49698 IFS=$as_save_IFS
49699
49700 fi
49701 fi
49702 AR=$ac_cv_prog_AR
49703 if test -n "$AR"; then
49704 { echo "$as_me:$LINENO: result: $AR" >&5
49705 echo "${ECHO_T}$AR" >&6; }
49706 else
49707 { echo "$as_me:$LINENO: result: no" >&5
49708 echo "${ECHO_T}no" >&6; }
49709 fi
49710
49711
49712 fi
49713 if test -z "$ac_cv_prog_AR"; then
49714 ac_ct_AR=$AR
49715 # Extract the first word of "ar", so it can be a program name with args.
49716 set dummy ar; ac_word=$2
49717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49719 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49720 echo $ECHO_N "(cached) $ECHO_C" >&6
49721 else
49722 if test -n "$ac_ct_AR"; then
49723 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49724 else
49725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49726 for as_dir in $PATH
49727 do
49728 IFS=$as_save_IFS
49729 test -z "$as_dir" && as_dir=.
49730 for ac_exec_ext in '' $ac_executable_extensions; do
49731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49732 ac_cv_prog_ac_ct_AR="ar"
49733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49734 break 2
49735 fi
49736 done
49737 done
49738 IFS=$as_save_IFS
49739
49740 fi
49741 fi
49742 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49743 if test -n "$ac_ct_AR"; then
49744 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49745 echo "${ECHO_T}$ac_ct_AR" >&6; }
49746 else
49747 { echo "$as_me:$LINENO: result: no" >&5
49748 echo "${ECHO_T}no" >&6; }
49749 fi
49750
49751 if test "x$ac_ct_AR" = x; then
49752 AR="ar"
49753 else
49754 case $cross_compiling:$ac_tool_warned in
49755 yes:)
49756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49757 whose name does not start with the host triplet. If you think this
49758 configuration is useful to you, please write to autoconf@gnu.org." >&5
49759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49760 whose name does not start with the host triplet. If you think this
49761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49762 ac_tool_warned=yes ;;
49763 esac
49764 AR=$ac_ct_AR
49765 fi
49766 else
49767 AR="$ac_cv_prog_AR"
49768 fi
49769
49770 AROPTIONS=rcu
49771 fi
49772
49773
49774 if test -n "$ac_tool_prefix"; then
49775 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49776 set dummy ${ac_tool_prefix}strip; ac_word=$2
49777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49779 if test "${ac_cv_prog_STRIP+set}" = set; then
49780 echo $ECHO_N "(cached) $ECHO_C" >&6
49781 else
49782 if test -n "$STRIP"; then
49783 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49784 else
49785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49786 for as_dir in $PATH
49787 do
49788 IFS=$as_save_IFS
49789 test -z "$as_dir" && as_dir=.
49790 for ac_exec_ext in '' $ac_executable_extensions; do
49791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49792 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49794 break 2
49795 fi
49796 done
49797 done
49798 IFS=$as_save_IFS
49799
49800 fi
49801 fi
49802 STRIP=$ac_cv_prog_STRIP
49803 if test -n "$STRIP"; then
49804 { echo "$as_me:$LINENO: result: $STRIP" >&5
49805 echo "${ECHO_T}$STRIP" >&6; }
49806 else
49807 { echo "$as_me:$LINENO: result: no" >&5
49808 echo "${ECHO_T}no" >&6; }
49809 fi
49810
49811
49812 fi
49813 if test -z "$ac_cv_prog_STRIP"; then
49814 ac_ct_STRIP=$STRIP
49815 # Extract the first word of "strip", so it can be a program name with args.
49816 set dummy strip; ac_word=$2
49817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49819 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49820 echo $ECHO_N "(cached) $ECHO_C" >&6
49821 else
49822 if test -n "$ac_ct_STRIP"; then
49823 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49824 else
49825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49826 for as_dir in $PATH
49827 do
49828 IFS=$as_save_IFS
49829 test -z "$as_dir" && as_dir=.
49830 for ac_exec_ext in '' $ac_executable_extensions; do
49831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49832 ac_cv_prog_ac_ct_STRIP="strip"
49833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49834 break 2
49835 fi
49836 done
49837 done
49838 IFS=$as_save_IFS
49839
49840 fi
49841 fi
49842 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49843 if test -n "$ac_ct_STRIP"; then
49844 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49845 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49846 else
49847 { echo "$as_me:$LINENO: result: no" >&5
49848 echo "${ECHO_T}no" >&6; }
49849 fi
49850
49851 if test "x$ac_ct_STRIP" = x; then
49852 STRIP=":"
49853 else
49854 case $cross_compiling:$ac_tool_warned in
49855 yes:)
49856 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49857 whose name does not start with the host triplet. If you think this
49858 configuration is useful to you, please write to autoconf@gnu.org." >&5
49859 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49860 whose name does not start with the host triplet. If you think this
49861 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49862 ac_tool_warned=yes ;;
49863 esac
49864 STRIP=$ac_ct_STRIP
49865 fi
49866 else
49867 STRIP="$ac_cv_prog_STRIP"
49868 fi
49869
49870 if test -n "$ac_tool_prefix"; then
49871 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49872 set dummy ${ac_tool_prefix}nm; ac_word=$2
49873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49875 if test "${ac_cv_prog_NM+set}" = set; then
49876 echo $ECHO_N "(cached) $ECHO_C" >&6
49877 else
49878 if test -n "$NM"; then
49879 ac_cv_prog_NM="$NM" # Let the user override the test.
49880 else
49881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49882 for as_dir in $PATH
49883 do
49884 IFS=$as_save_IFS
49885 test -z "$as_dir" && as_dir=.
49886 for ac_exec_ext in '' $ac_executable_extensions; do
49887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49888 ac_cv_prog_NM="${ac_tool_prefix}nm"
49889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49890 break 2
49891 fi
49892 done
49893 done
49894 IFS=$as_save_IFS
49895
49896 fi
49897 fi
49898 NM=$ac_cv_prog_NM
49899 if test -n "$NM"; then
49900 { echo "$as_me:$LINENO: result: $NM" >&5
49901 echo "${ECHO_T}$NM" >&6; }
49902 else
49903 { echo "$as_me:$LINENO: result: no" >&5
49904 echo "${ECHO_T}no" >&6; }
49905 fi
49906
49907
49908 fi
49909 if test -z "$ac_cv_prog_NM"; then
49910 ac_ct_NM=$NM
49911 # Extract the first word of "nm", so it can be a program name with args.
49912 set dummy nm; ac_word=$2
49913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49915 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49916 echo $ECHO_N "(cached) $ECHO_C" >&6
49917 else
49918 if test -n "$ac_ct_NM"; then
49919 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49920 else
49921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49922 for as_dir in $PATH
49923 do
49924 IFS=$as_save_IFS
49925 test -z "$as_dir" && as_dir=.
49926 for ac_exec_ext in '' $ac_executable_extensions; do
49927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49928 ac_cv_prog_ac_ct_NM="nm"
49929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49930 break 2
49931 fi
49932 done
49933 done
49934 IFS=$as_save_IFS
49935
49936 fi
49937 fi
49938 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49939 if test -n "$ac_ct_NM"; then
49940 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49941 echo "${ECHO_T}$ac_ct_NM" >&6; }
49942 else
49943 { echo "$as_me:$LINENO: result: no" >&5
49944 echo "${ECHO_T}no" >&6; }
49945 fi
49946
49947 if test "x$ac_ct_NM" = x; then
49948 NM=":"
49949 else
49950 case $cross_compiling:$ac_tool_warned in
49951 yes:)
49952 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49953 whose name does not start with the host triplet. If you think this
49954 configuration is useful to you, please write to autoconf@gnu.org." >&5
49955 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49956 whose name does not start with the host triplet. If you think this
49957 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49958 ac_tool_warned=yes ;;
49959 esac
49960 NM=$ac_ct_NM
49961 fi
49962 else
49963 NM="$ac_cv_prog_NM"
49964 fi
49965
49966
49967 case ${BAKEFILE_HOST} in
49968 *-hp-hpux* )
49969 INSTALL_DIR="mkdir -p"
49970 ;;
49971 * )
49972 INSTALL_DIR='$(INSTALL) -d'
49973 ;;
49974 esac
49975
49976
49977 LDFLAGS_GUI=
49978 case ${BAKEFILE_HOST} in
49979 *-*-cygwin* | *-*-mingw32* )
49980 LDFLAGS_GUI="-mwindows"
49981 esac
49982
49983
49984 fi
49985
49986 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49987 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49988 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49989 echo $ECHO_N "(cached) $ECHO_C" >&6
49990 else
49991
49992 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49993 egrep -s GNU > /dev/null); then
49994 bakefile_cv_prog_makeisgnu="yes"
49995 else
49996 bakefile_cv_prog_makeisgnu="no"
49997 fi
49998
49999 fi
50000 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50001 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50002
50003 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50004 IF_GNU_MAKE=""
50005 else
50006 IF_GNU_MAKE="#"
50007 fi
50008
50009
50010
50011 PLATFORM_UNIX=0
50012 PLATFORM_WIN32=0
50013 PLATFORM_MSDOS=0
50014 PLATFORM_MAC=0
50015 PLATFORM_MACOS=0
50016 PLATFORM_MACOSX=0
50017 PLATFORM_OS2=0
50018 PLATFORM_BEOS=0
50019
50020 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50021 case "${BAKEFILE_HOST}" in
50022 *-*-mingw32* )
50023 PLATFORM_WIN32=1
50024 ;;
50025 *-pc-msdosdjgpp )
50026 PLATFORM_MSDOS=1
50027 ;;
50028 *-pc-os2_emx | *-pc-os2-emx )
50029 PLATFORM_OS2=1
50030 ;;
50031 *-*-darwin* )
50032 PLATFORM_MAC=1
50033 PLATFORM_MACOSX=1
50034 ;;
50035 *-*-beos* )
50036 PLATFORM_BEOS=1
50037 ;;
50038 powerpc-apple-macos* )
50039 PLATFORM_MAC=1
50040 PLATFORM_MACOS=1
50041 ;;
50042 * )
50043 PLATFORM_UNIX=1
50044 ;;
50045 esac
50046 else
50047 case "$BAKEFILE_FORCE_PLATFORM" in
50048 win32 )
50049 PLATFORM_WIN32=1
50050 ;;
50051 msdos )
50052 PLATFORM_MSDOS=1
50053 ;;
50054 os2 )
50055 PLATFORM_OS2=1
50056 ;;
50057 darwin )
50058 PLATFORM_MAC=1
50059 PLATFORM_MACOSX=1
50060 ;;
50061 unix )
50062 PLATFORM_UNIX=1
50063 ;;
50064 beos )
50065 PLATFORM_BEOS=1
50066 ;;
50067 * )
50068 ;;
50069 esac
50070 fi
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080
50081
50082 # Check whether --enable-omf was given.
50083 if test "${enable_omf+set}" = set; then
50084 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50085 fi
50086
50087
50088 case "${BAKEFILE_HOST}" in
50089 *-*-darwin* )
50090 if test "x$GCC" = "xyes"; then
50091 CFLAGS="$CFLAGS -fno-common"
50092 CXXFLAGS="$CXXFLAGS -fno-common"
50093 fi
50094 if test "x$XLCC" = "xyes"; then
50095 CFLAGS="$CFLAGS -qnocommon"
50096 CXXFLAGS="$CXXFLAGS -qnocommon"
50097 fi
50098 ;;
50099
50100 *-pc-os2_emx | *-pc-os2-emx )
50101 if test "x$bk_os2_use_omf" = "xyes" ; then
50102 AR=emxomfar
50103 RANLIB=:
50104 LDFLAGS="-Zomf $LDFLAGS"
50105 CFLAGS="-Zomf $CFLAGS"
50106 CXXFLAGS="-Zomf $CXXFLAGS"
50107 OS2_LIBEXT="lib"
50108 else
50109 OS2_LIBEXT="a"
50110 fi
50111 ;;
50112
50113 i*86-*-beos* )
50114 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50115 ;;
50116 esac
50117
50118
50119 SO_SUFFIX="so"
50120 SO_SUFFIX_MODULE="so"
50121 EXEEXT=""
50122 LIBPREFIX="lib"
50123 LIBEXT=".a"
50124 DLLPREFIX="lib"
50125 DLLPREFIX_MODULE=""
50126 DLLIMP_SUFFIX=""
50127 dlldir="$libdir"
50128
50129 case "${BAKEFILE_HOST}" in
50130 *-hp-hpux* )
50131 SO_SUFFIX="sl"
50132 SO_SUFFIX_MODULE="sl"
50133 ;;
50134 *-*-aix* )
50135 SO_SUFFIX="a"
50136 SO_SUFFIX_MODULE="a"
50137 ;;
50138 *-*-cygwin* )
50139 SO_SUFFIX="dll"
50140 SO_SUFFIX_MODULE="dll"
50141 DLLIMP_SUFFIX="dll.a"
50142 EXEEXT=".exe"
50143 DLLPREFIX="cyg"
50144 dlldir="$bindir"
50145 ;;
50146 *-*-mingw32* )
50147 SO_SUFFIX="dll"
50148 SO_SUFFIX_MODULE="dll"
50149 DLLIMP_SUFFIX="dll.a"
50150 EXEEXT=".exe"
50151 DLLPREFIX=""
50152 dlldir="$bindir"
50153 ;;
50154 *-pc-msdosdjgpp )
50155 EXEEXT=".exe"
50156 DLLPREFIX=""
50157 dlldir="$bindir"
50158 ;;
50159 *-pc-os2_emx | *-pc-os2-emx )
50160 SO_SUFFIX="dll"
50161 SO_SUFFIX_MODULE="dll"
50162 DLLIMP_SUFFIX=$OS2_LIBEXT
50163 EXEEXT=".exe"
50164 DLLPREFIX=""
50165 LIBPREFIX=""
50166 LIBEXT=".$OS2_LIBEXT"
50167 dlldir="$bindir"
50168 ;;
50169 *-*-darwin* )
50170 SO_SUFFIX="dylib"
50171 SO_SUFFIX_MODULE="bundle"
50172 ;;
50173 esac
50174
50175 if test "x$DLLIMP_SUFFIX" = "x" ; then
50176 DLLIMP_SUFFIX="$SO_SUFFIX"
50177 fi
50178
50179
50180
50181
50182
50183
50184
50185
50186
50187
50188
50189
50190 PIC_FLAG=""
50191 if test "x$GCC" = "xyes"; then
50192 PIC_FLAG="-fPIC"
50193 fi
50194
50195 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50196 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50197 WINDOWS_IMPLIB=0
50198
50199 case "${BAKEFILE_HOST}" in
50200 *-hp-hpux* )
50201 if test "x$GCC" != "xyes"; then
50202 LDFLAGS="$LDFLAGS -L/usr/lib"
50203
50204 SHARED_LD_CC="${CC} -b -o"
50205 SHARED_LD_CXX="${CXX} -b -o"
50206 PIC_FLAG="+Z"
50207 fi
50208 ;;
50209
50210 *-*-linux* )
50211 if test "$INTELCC" = "yes"; then
50212 PIC_FLAG="-KPIC"
50213 elif test "x$SUNCXX" = "xyes"; then
50214 SHARED_LD_CC="${CC} -G -o"
50215 SHARED_LD_CXX="${CXX} -G -o"
50216 PIC_FLAG="-KPIC"
50217 fi
50218 ;;
50219
50220 *-*-solaris2* )
50221 if test "x$SUNCXX" = xyes ; then
50222 SHARED_LD_CC="${CC} -G -o"
50223 SHARED_LD_CXX="${CXX} -G -o"
50224 PIC_FLAG="-KPIC"
50225 fi
50226 ;;
50227
50228 *-*-darwin* )
50229
50230 D='$'
50231 cat <<EOF >shared-ld-sh
50232 #!/bin/sh
50233 #-----------------------------------------------------------------------------
50234 #-- Name: distrib/mac/shared-ld-sh
50235 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50236 #-- Author: Gilles Depeyrot
50237 #-- Copyright: (c) 2002 Gilles Depeyrot
50238 #-- Licence: any use permitted
50239 #-----------------------------------------------------------------------------
50240
50241 verbose=0
50242 args=""
50243 objects=""
50244 linking_flag="-dynamiclib"
50245 ldargs="-r -keep_private_externs -nostdlib"
50246
50247 while test ${D}# -gt 0; do
50248 case ${D}1 in
50249
50250 -v)
50251 verbose=1
50252 ;;
50253
50254 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50255 # collect these options and values
50256 args="${D}{args} ${D}1 ${D}2"
50257 shift
50258 ;;
50259
50260 -s|-Wl,*)
50261 # collect these load args
50262 ldargs="${D}{ldargs} ${D}1"
50263 ;;
50264
50265 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50266 # collect these options
50267 args="${D}{args} ${D}1"
50268 ;;
50269
50270 -dynamiclib|-bundle)
50271 linking_flag="${D}1"
50272 ;;
50273
50274 -*)
50275 echo "shared-ld: unhandled option '${D}1'"
50276 exit 1
50277 ;;
50278
50279 *.o | *.a | *.dylib)
50280 # collect object files
50281 objects="${D}{objects} ${D}1"
50282 ;;
50283
50284 *)
50285 echo "shared-ld: unhandled argument '${D}1'"
50286 exit 1
50287 ;;
50288
50289 esac
50290 shift
50291 done
50292
50293 status=0
50294
50295 #
50296 # Link one module containing all the others
50297 #
50298 if test ${D}{verbose} = 1; then
50299 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50300 fi
50301 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50302 status=${D}?
50303
50304 #
50305 # Link the shared library from the single module created, but only if the
50306 # previous command didn't fail:
50307 #
50308 if test ${D}{status} = 0; then
50309 if test ${D}{verbose} = 1; then
50310 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50311 fi
50312 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50313 status=${D}?
50314 fi
50315
50316 #
50317 # Remove intermediate module
50318 #
50319 rm -f master.${D}${D}.o
50320
50321 exit ${D}status
50322 EOF
50323
50324 chmod +x shared-ld-sh
50325
50326 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50327 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50328
50329
50330 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50331 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50332 if test "${bakefile_cv_gcc31+set}" = set; then
50333 echo $ECHO_N "(cached) $ECHO_C" >&6
50334 else
50335
50336 cat >conftest.$ac_ext <<_ACEOF
50337 /* confdefs.h. */
50338 _ACEOF
50339 cat confdefs.h >>conftest.$ac_ext
50340 cat >>conftest.$ac_ext <<_ACEOF
50341 /* end confdefs.h. */
50342
50343 int
50344 main ()
50345 {
50346
50347 #if (__GNUC__ < 3) || \
50348 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50349 This is old gcc
50350 #endif
50351
50352 ;
50353 return 0;
50354 }
50355 _ACEOF
50356 rm -f conftest.$ac_objext
50357 if { (ac_try="$ac_compile"
50358 case "(($ac_try" in
50359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50360 *) ac_try_echo=$ac_try;;
50361 esac
50362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50363 (eval "$ac_compile") 2>conftest.er1
50364 ac_status=$?
50365 grep -v '^ *+' conftest.er1 >conftest.err
50366 rm -f conftest.er1
50367 cat conftest.err >&5
50368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50369 (exit $ac_status); } && {
50370 test -z "$ac_c_werror_flag" ||
50371 test ! -s conftest.err
50372 } && test -s conftest.$ac_objext; then
50373
50374 bakefile_cv_gcc31=yes
50375
50376 else
50377 echo "$as_me: failed program was:" >&5
50378 sed 's/^/| /' conftest.$ac_ext >&5
50379
50380
50381 bakefile_cv_gcc31=no
50382
50383
50384 fi
50385
50386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50387
50388 fi
50389 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50390 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50391 if test "$bakefile_cv_gcc31" = "no"; then
50392 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50393 SHARED_LD_CXX="$SHARED_LD_CC"
50394 else
50395 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50396 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50397 fi
50398
50399 if test "x$GCC" == "xyes"; then
50400 PIC_FLAG="-dynamic -fPIC"
50401 fi
50402 if test "x$XLCC" = "xyes"; then
50403 PIC_FLAG="-dynamic -DPIC"
50404 fi
50405 ;;
50406
50407 *-*-aix* )
50408 if test "x$GCC" = "xyes"; then
50409 PIC_FLAG=""
50410
50411 case "${BAKEFILE_HOST}" in
50412 *-*-aix5* )
50413 LD_EXPFULL="-Wl,-bexpfull"
50414 ;;
50415 esac
50416
50417 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50418 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50419 else
50420 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50421 set dummy makeC++SharedLib; ac_word=$2
50422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50424 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50425 echo $ECHO_N "(cached) $ECHO_C" >&6
50426 else
50427 if test -n "$AIX_CXX_LD"; then
50428 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50429 else
50430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50431 for as_dir in $PATH
50432 do
50433 IFS=$as_save_IFS
50434 test -z "$as_dir" && as_dir=.
50435 for ac_exec_ext in '' $ac_executable_extensions; do
50436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50437 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50439 break 2
50440 fi
50441 done
50442 done
50443 IFS=$as_save_IFS
50444
50445 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50446 fi
50447 fi
50448 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50449 if test -n "$AIX_CXX_LD"; then
50450 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50451 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50452 else
50453 { echo "$as_me:$LINENO: result: no" >&5
50454 echo "${ECHO_T}no" >&6; }
50455 fi
50456
50457
50458 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50459 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50460 fi
50461 ;;
50462
50463 *-*-beos* )
50464 SHARED_LD_CC="${LD} -nostart -o"
50465 SHARED_LD_CXX="${LD} -nostart -o"
50466 ;;
50467
50468 *-*-irix* )
50469 if test "x$GCC" != "xyes"; then
50470 PIC_FLAG="-KPIC"
50471 fi
50472 ;;
50473
50474 *-*-cygwin* | *-*-mingw32* )
50475 PIC_FLAG=""
50476 SHARED_LD_CC="\$(CC) -shared -o"
50477 SHARED_LD_CXX="\$(CXX) -shared -o"
50478 WINDOWS_IMPLIB=1
50479 ;;
50480
50481 *-pc-os2_emx | *-pc-os2-emx )
50482 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50483 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50484 PIC_FLAG=""
50485
50486 D='$'
50487 cat <<EOF >dllar.sh
50488 #!/bin/sh
50489 #
50490 # dllar - a tool to build both a .dll and an .a file
50491 # from a set of object (.o) files for EMX/OS2.
50492 #
50493 # Written by Andrew Zabolotny, bit@freya.etu.ru
50494 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50495 #
50496 # This script will accept a set of files on the command line.
50497 # All the public symbols from the .o files will be exported into
50498 # a .DEF file, then linker will be run (through gcc) against them to
50499 # build a shared library consisting of all given .o files. All libraries
50500 # (.a) will be first decompressed into component .o files then act as
50501 # described above. You can optionally give a description (-d "description")
50502 # which will be put into .DLL. To see the list of accepted options (as well
50503 # as command-line format) simply run this program without options. The .DLL
50504 # is built to be imported by name (there is no guarantee that new versions
50505 # of the library you build will have same ordinals for same symbols).
50506 #
50507 # dllar is free software; you can redistribute it and/or modify
50508 # it under the terms of the GNU General Public License as published by
50509 # the Free Software Foundation; either version 2, or (at your option)
50510 # any later version.
50511 #
50512 # dllar is distributed in the hope that it will be useful,
50513 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50514 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50515 # GNU General Public License for more details.
50516 #
50517 # You should have received a copy of the GNU General Public License
50518 # along with dllar; see the file COPYING. If not, write to the Free
50519 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50520 # 02111-1307, USA.
50521
50522 # To successfuly run this program you will need:
50523 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50524 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50525 # - gcc
50526 # (used to build the .dll)
50527 # - emxexp
50528 # (used to create .def file from .o files)
50529 # - emximp
50530 # (used to create .a file from .def file)
50531 # - GNU text utilites (cat, sort, uniq)
50532 # used to process emxexp output
50533 # - GNU file utilities (mv, rm)
50534 # - GNU sed
50535 # - lxlite (optional, see flag below)
50536 # (used for general .dll cleanup)
50537 #
50538
50539 flag_USE_LXLITE=1;
50540
50541 #
50542 # helper functions
50543 # basnam, variant of basename, which does _not_ remove the path, _iff_
50544 # second argument (suffix to remove) is given
50545 basnam(){
50546 case ${D}# in
50547 1)
50548 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50549 ;;
50550 2)
50551 echo ${D}1 | sed 's/'${D}2'${D}//'
50552 ;;
50553 *)
50554 echo "error in basnam ${D}*"
50555 exit 8
50556 ;;
50557 esac
50558 }
50559
50560 # Cleanup temporary files and output
50561 CleanUp() {
50562 cd ${D}curDir
50563 for i in ${D}inputFiles ; do
50564 case ${D}i in
50565 *!)
50566 rm -rf \`basnam ${D}i !\`
50567 ;;
50568 *)
50569 ;;
50570 esac
50571 done
50572
50573 # Kill result in case of failure as there is just to many stupid make/nmake
50574 # things out there which doesn't do this.
50575 if [ ${D}# -eq 0 ]; then
50576 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50577 fi
50578 }
50579
50580 # Print usage and exit script with rc=1.
50581 PrintHelp() {
50582 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50583 echo ' [-name-mangler-script script.sh]'
50584 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50585 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50586 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50587 echo ' [*.o] [*.a]'
50588 echo '*> "output_file" should have no extension.'
50589 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50590 echo ' The import library name is derived from this and is set to "name".a,'
50591 echo ' unless overridden by -import'
50592 echo '*> "importlib_name" should have no extension.'
50593 echo ' If it has the .o, or .a extension, it is automatically removed.'
50594 echo ' This name is used as the import library name and may be longer and'
50595 echo ' more descriptive than the DLL name which has to follow the old '
50596 echo ' 8.3 convention of FAT.'
50597 echo '*> "script.sh may be given to override the output_file name by a'
50598 echo ' different name. It is mainly useful if the regular make process'
50599 echo ' of some package does not take into account OS/2 restriction of'
50600 echo ' DLL name lengths. It takes the importlib name as input and is'
50601 echo ' supposed to procude a shorter name as output. The script should'
50602 echo ' expect to get importlib_name without extension and should produce'
50603 echo ' a (max.) 8 letter name without extension.'
50604 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50605 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50606 echo ' These flags will be put at the start of GCC command line.'
50607 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50608 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50609 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50610 echo ' If the last character of a symbol is "*", all symbols beginning'
50611 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50612 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50613 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50614 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50615 echo ' C runtime DLLs.'
50616 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50617 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50618 echo ' unchanged to GCC at the end of command line.'
50619 echo '*> If you create a DLL from a library and you do not specify -o,'
50620 echo ' the basename for DLL and import library will be set to library name,'
50621 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50622 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50623 echo ' library will be renamed into gcc_s.a.'
50624 echo '--------'
50625 echo 'Example:'
50626 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50627 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50628 CleanUp
50629 exit 1
50630 }
50631
50632 # Execute a command.
50633 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50634 # @Uses Whatever CleanUp() uses.
50635 doCommand() {
50636 echo "${D}*"
50637 eval ${D}*
50638 rcCmd=${D}?
50639
50640 if [ ${D}rcCmd -ne 0 ]; then
50641 echo "command failed, exit code="${D}rcCmd
50642 CleanUp
50643 exit ${D}rcCmd
50644 fi
50645 }
50646
50647 # main routine
50648 # setup globals
50649 cmdLine=${D}*
50650 outFile=""
50651 outimpFile=""
50652 inputFiles=""
50653 renameScript=""
50654 description=""
50655 CC=gcc.exe
50656 CFLAGS="-s -Zcrtdll"
50657 EXTRA_CFLAGS=""
50658 EXPORT_BY_ORDINALS=0
50659 exclude_symbols=""
50660 library_flags=""
50661 curDir=\`pwd\`
50662 curDirS=curDir
50663 case ${D}curDirS in
50664 */)
50665 ;;
50666 *)
50667 curDirS=${D}{curDirS}"/"
50668 ;;
50669 esac
50670 # Parse commandline
50671 libsToLink=0
50672 omfLinking=0
50673 while [ ${D}1 ]; do
50674 case ${D}1 in
50675 -ord*)
50676 EXPORT_BY_ORDINALS=1;
50677 ;;
50678 -o*)
50679 shift
50680 outFile=${D}1
50681 ;;
50682 -i*)
50683 shift
50684 outimpFile=${D}1
50685 ;;
50686 -name-mangler-script)
50687 shift
50688 renameScript=${D}1
50689 ;;
50690 -d*)
50691 shift
50692 description=${D}1
50693 ;;
50694 -f*)
50695 shift
50696 CFLAGS=${D}1
50697 ;;
50698 -c*)
50699 shift
50700 CC=${D}1
50701 ;;
50702 -h*)
50703 PrintHelp
50704 ;;
50705 -ex*)
50706 shift
50707 exclude_symbols=${D}{exclude_symbols}${D}1" "
50708 ;;
50709 -libf*)
50710 shift
50711 library_flags=${D}{library_flags}${D}1" "
50712 ;;
50713 -nocrt*)
50714 CFLAGS="-s"
50715 ;;
50716 -nolxl*)
50717 flag_USE_LXLITE=0
50718 ;;
50719 -* | /*)
50720 case ${D}1 in
50721 -L* | -l*)
50722 libsToLink=1
50723 ;;
50724 -Zomf)
50725 omfLinking=1
50726 ;;
50727 *)
50728 ;;
50729 esac
50730 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50731 ;;
50732 *.dll)
50733 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50734 if [ ${D}omfLinking -eq 1 ]; then
50735 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50736 else
50737 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50738 fi
50739 ;;
50740 *)
50741 found=0;
50742 if [ ${D}libsToLink -ne 0 ]; then
50743 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50744 else
50745 for file in ${D}1 ; do
50746 if [ -f ${D}file ]; then
50747 inputFiles="${D}{inputFiles} ${D}file"
50748 found=1
50749 fi
50750 done
50751 if [ ${D}found -eq 0 ]; then
50752 echo "ERROR: No file(s) found: "${D}1
50753 exit 8
50754 fi
50755 fi
50756 ;;
50757 esac
50758 shift
50759 done # iterate cmdline words
50760
50761 #
50762 if [ -z "${D}inputFiles" ]; then
50763 echo "dllar: no input files"
50764 PrintHelp
50765 fi
50766
50767 # Now extract all .o files from .a files
50768 newInputFiles=""
50769 for file in ${D}inputFiles ; do
50770 case ${D}file in
50771 *.a | *.lib)
50772 case ${D}file in
50773 *.a)
50774 suffix=".a"
50775 AR="ar"
50776 ;;
50777 *.lib)
50778 suffix=".lib"
50779 AR="emxomfar"
50780 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50781 ;;
50782 *)
50783 ;;
50784 esac
50785 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50786 mkdir ${D}dirname
50787 if [ ${D}? -ne 0 ]; then
50788 echo "Failed to create subdirectory ./${D}dirname"
50789 CleanUp
50790 exit 8;
50791 fi
50792 # Append '!' to indicate archive
50793 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50794 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50795 cd ${D}curDir
50796 found=0;
50797 for subfile in ${D}dirname/*.o* ; do
50798 if [ -f ${D}subfile ]; then
50799 found=1
50800 if [ -s ${D}subfile ]; then
50801 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50802 newInputFiles="${D}newInputFiles ${D}subfile"
50803 fi
50804 fi
50805 done
50806 if [ ${D}found -eq 0 ]; then
50807 echo "WARNING: there are no files in archive \\'${D}file\\'"
50808 fi
50809 ;;
50810 *)
50811 newInputFiles="${D}{newInputFiles} ${D}file"
50812 ;;
50813 esac
50814 done
50815 inputFiles="${D}newInputFiles"
50816
50817 # Output filename(s).
50818 do_backup=0;
50819 if [ -z ${D}outFile ]; then
50820 do_backup=1;
50821 set outFile ${D}inputFiles; outFile=${D}2
50822 fi
50823
50824 # If it is an archive, remove the '!' and the '_%' suffixes
50825 case ${D}outFile in
50826 *_%!)
50827 outFile=\`basnam ${D}outFile _%!\`
50828 ;;
50829 *)
50830 ;;
50831 esac
50832 case ${D}outFile in
50833 *.dll)
50834 outFile=\`basnam ${D}outFile .dll\`
50835 ;;
50836 *.DLL)
50837 outFile=\`basnam ${D}outFile .DLL\`
50838 ;;
50839 *.o)
50840 outFile=\`basnam ${D}outFile .o\`
50841 ;;
50842 *.obj)
50843 outFile=\`basnam ${D}outFile .obj\`
50844 ;;
50845 *.a)
50846 outFile=\`basnam ${D}outFile .a\`
50847 ;;
50848 *.lib)
50849 outFile=\`basnam ${D}outFile .lib\`
50850 ;;
50851 *)
50852 ;;
50853 esac
50854 case ${D}outimpFile in
50855 *.a)
50856 outimpFile=\`basnam ${D}outimpFile .a\`
50857 ;;
50858 *.lib)
50859 outimpFile=\`basnam ${D}outimpFile .lib\`
50860 ;;
50861 *)
50862 ;;
50863 esac
50864 if [ -z ${D}outimpFile ]; then
50865 outimpFile=${D}outFile
50866 fi
50867 defFile="${D}{outFile}.def"
50868 arcFile="${D}{outimpFile}.a"
50869 arcFile2="${D}{outimpFile}.lib"
50870
50871 #create ${D}dllFile as something matching 8.3 restrictions,
50872 if [ -z ${D}renameScript ] ; then
50873 dllFile="${D}outFile"
50874 else
50875 dllFile=\`${D}renameScript ${D}outimpFile\`
50876 fi
50877
50878 if [ ${D}do_backup -ne 0 ] ; then
50879 if [ -f ${D}arcFile ] ; then
50880 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50881 fi
50882 if [ -f ${D}arcFile2 ] ; then
50883 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50884 fi
50885 fi
50886
50887 # Extract public symbols from all the object files.
50888 tmpdefFile=${D}{defFile}_%
50889 rm -f ${D}tmpdefFile
50890 for file in ${D}inputFiles ; do
50891 case ${D}file in
50892 *!)
50893 ;;
50894 *)
50895 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50896 ;;
50897 esac
50898 done
50899
50900 # Create the def file.
50901 rm -f ${D}defFile
50902 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50903 dllFile="${D}{dllFile}.dll"
50904 if [ ! -z ${D}description ]; then
50905 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50906 fi
50907 echo "EXPORTS" >> ${D}defFile
50908
50909 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50910 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50911
50912 # Checks if the export is ok or not.
50913 for word in ${D}exclude_symbols; do
50914 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50915 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50916 done
50917
50918
50919 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50920 sed "=" < ${D}tmpdefFile | \\
50921 sed '
50922 N
50923 : loop
50924 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50925 t loop
50926 ' > ${D}{tmpdefFile}%
50927 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50928 else
50929 rm -f ${D}{tmpdefFile}%
50930 fi
50931 cat ${D}tmpdefFile >> ${D}defFile
50932 rm -f ${D}tmpdefFile
50933
50934 # Do linking, create implib, and apply lxlite.
50935 gccCmdl="";
50936 for file in ${D}inputFiles ; do
50937 case ${D}file in
50938 *!)
50939 ;;
50940 *)
50941 gccCmdl="${D}gccCmdl ${D}file"
50942 ;;
50943 esac
50944 done
50945 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50946 touch "${D}{outFile}.dll"
50947
50948 doCommand "emximp -o ${D}arcFile ${D}defFile"
50949 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50950 add_flags="";
50951 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50952 add_flags="-ynd"
50953 fi
50954 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50955 fi
50956 doCommand "emxomf -s -l ${D}arcFile"
50957
50958 # Successful exit.
50959 CleanUp 1
50960 exit 0
50961 EOF
50962
50963 chmod +x dllar.sh
50964 ;;
50965
50966 powerpc-apple-macos* | \
50967 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50968 *-*-mirbsd* | \
50969 *-*-sunos4* | \
50970 *-*-osf* | \
50971 *-*-dgux5* | \
50972 *-*-sysv5* | \
50973 *-pc-msdosdjgpp )
50974 ;;
50975
50976 *)
50977 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50978 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50979 { (exit 1); exit 1; }; }
50980 esac
50981
50982 if test "x$PIC_FLAG" != "x" ; then
50983 PIC_FLAG="$PIC_FLAG -DPIC"
50984 fi
50985
50986 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50987 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50988 fi
50989 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50990 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50991 fi
50992
50993
50994
50995
50996
50997
50998
50999
51000
51001 USE_SOVERSION=0
51002 USE_SOVERLINUX=0
51003 USE_SOVERSOLARIS=0
51004 USE_SOVERCYGWIN=0
51005 USE_SOSYMLINKS=0
51006 USE_MACVERSION=0
51007 SONAME_FLAG=
51008
51009 case "${BAKEFILE_HOST}" in
51010 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51011 if test "x$SUNCXX" = "xyes"; then
51012 SONAME_FLAG="-h "
51013 else
51014 SONAME_FLAG="-Wl,-soname,"
51015 fi
51016 USE_SOVERSION=1
51017 USE_SOVERLINUX=1
51018 USE_SOSYMLINKS=1
51019 ;;
51020
51021 *-*-solaris2* )
51022 SONAME_FLAG="-h "
51023 USE_SOVERSION=1
51024 USE_SOVERSOLARIS=1
51025 USE_SOSYMLINKS=1
51026 ;;
51027
51028 *-*-darwin* )
51029 USE_MACVERSION=1
51030 USE_SOVERSION=1
51031 USE_SOSYMLINKS=1
51032 ;;
51033
51034 *-*-cygwin* )
51035 USE_SOVERSION=1
51036 USE_SOVERCYGWIN=1
51037 ;;
51038 esac
51039
51040
51041
51042
51043
51044
51045
51046
51047
51048
51049 # Check whether --enable-dependency-tracking was given.
51050 if test "${enable_dependency_tracking+set}" = set; then
51051 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51052 fi
51053
51054
51055 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51056 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51057
51058 BK_DEPS=""
51059 if test "x$bk_use_trackdeps" = "xno" ; then
51060 DEPS_TRACKING=0
51061 { echo "$as_me:$LINENO: result: disabled" >&5
51062 echo "${ECHO_T}disabled" >&6; }
51063 else
51064 DEPS_TRACKING=1
51065
51066 if test "x$GCC" = "xyes"; then
51067 DEPSMODE=gcc
51068 case "${BAKEFILE_HOST}" in
51069 *-*-darwin* )
51070 DEPSFLAG="-no-cpp-precomp -MMD"
51071 ;;
51072 * )
51073 DEPSFLAG="-MMD"
51074 ;;
51075 esac
51076 { echo "$as_me:$LINENO: result: gcc" >&5
51077 echo "${ECHO_T}gcc" >&6; }
51078 elif test "x$MWCC" = "xyes"; then
51079 DEPSMODE=mwcc
51080 DEPSFLAG="-MM"
51081 { echo "$as_me:$LINENO: result: mwcc" >&5
51082 echo "${ECHO_T}mwcc" >&6; }
51083 elif test "x$SUNCC" = "xyes"; then
51084 DEPSMODE=unixcc
51085 DEPSFLAG="-xM1"
51086 { echo "$as_me:$LINENO: result: Sun cc" >&5
51087 echo "${ECHO_T}Sun cc" >&6; }
51088 elif test "x$SGICC" = "xyes"; then
51089 DEPSMODE=unixcc
51090 DEPSFLAG="-M"
51091 { echo "$as_me:$LINENO: result: SGI cc" >&5
51092 echo "${ECHO_T}SGI cc" >&6; }
51093 elif test "x$HPCC" = "xyes"; then
51094 DEPSMODE=unixcc
51095 DEPSFLAG="+make"
51096 { echo "$as_me:$LINENO: result: HP cc" >&5
51097 echo "${ECHO_T}HP cc" >&6; }
51098 elif test "x$COMPAQCC" = "xyes"; then
51099 DEPSMODE=gcc
51100 DEPSFLAG="-MD"
51101 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51102 echo "${ECHO_T}Compaq cc" >&6; }
51103 else
51104 DEPS_TRACKING=0
51105 { echo "$as_me:$LINENO: result: none" >&5
51106 echo "${ECHO_T}none" >&6; }
51107 fi
51108
51109 if test $DEPS_TRACKING = 1 ; then
51110
51111 D='$'
51112 cat <<EOF >bk-deps
51113 #!/bin/sh
51114
51115 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51116 # script. It is used to track C/C++ files dependencies in portable way.
51117 #
51118 # Permission is given to use this file in any way.
51119
51120 DEPSMODE=${DEPSMODE}
51121 DEPSDIR=.deps
51122 DEPSFLAG="${DEPSFLAG}"
51123
51124 mkdir -p ${D}DEPSDIR
51125
51126 if test ${D}DEPSMODE = gcc ; then
51127 ${D}* ${D}{DEPSFLAG}
51128 status=${D}?
51129 if test ${D}{status} != 0 ; then
51130 exit ${D}{status}
51131 fi
51132 # move created file to the location we want it in:
51133 while test ${D}# -gt 0; do
51134 case "${D}1" in
51135 -o )
51136 shift
51137 objfile=${D}1
51138 ;;
51139 -* )
51140 ;;
51141 * )
51142 srcfile=${D}1
51143 ;;
51144 esac
51145 shift
51146 done
51147 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51148 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51149 if test -f ${D}depfile ; then
51150 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51151 rm -f ${D}depfile
51152 else
51153 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51154 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51155 if test ! -f ${D}depfile ; then
51156 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51157 depfile="${D}objfile.d"
51158 fi
51159 if test -f ${D}depfile ; then
51160 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51161 rm -f ${D}depfile
51162 fi
51163 fi
51164 exit 0
51165 elif test ${D}DEPSMODE = mwcc ; then
51166 ${D}* || exit ${D}?
51167 # Run mwcc again with -MM and redirect into the dep file we want
51168 # NOTE: We can't use shift here because we need ${D}* to be valid
51169 prevarg=
51170 for arg in ${D}* ; do
51171 if test "${D}prevarg" = "-o"; then
51172 objfile=${D}arg
51173 else
51174 case "${D}arg" in
51175 -* )
51176 ;;
51177 * )
51178 srcfile=${D}arg
51179 ;;
51180 esac
51181 fi
51182 prevarg="${D}arg"
51183 done
51184 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51185 exit 0
51186 elif test ${D}DEPSMODE = unixcc; then
51187 ${D}* || exit ${D}?
51188 # Run compiler again with deps flag and redirect into the dep file.
51189 # It doesn't work if the '-o FILE' option is used, but without it the
51190 # dependency file will contain the wrong name for the object. So it is
51191 # removed from the command line, and the dep file is fixed with sed.
51192 cmd=""
51193 while test ${D}# -gt 0; do
51194 case "${D}1" in
51195 -o )
51196 shift
51197 objfile=${D}1
51198 ;;
51199 * )
51200 eval arg${D}#=\\${D}1
51201 cmd="${D}cmd \\${D}arg${D}#"
51202 ;;
51203 esac
51204 shift
51205 done
51206 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51207 exit 0
51208 else
51209 ${D}*
51210 exit ${D}?
51211 fi
51212 EOF
51213
51214 chmod +x bk-deps
51215 BK_DEPS="`pwd`/bk-deps"
51216 fi
51217 fi
51218
51219
51220
51221
51222
51223 case ${BAKEFILE_HOST} in
51224 *-*-cygwin* | *-*-mingw32* )
51225 if test -n "$ac_tool_prefix"; then
51226 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51227 set dummy ${ac_tool_prefix}windres; ac_word=$2
51228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51230 if test "${ac_cv_prog_WINDRES+set}" = set; then
51231 echo $ECHO_N "(cached) $ECHO_C" >&6
51232 else
51233 if test -n "$WINDRES"; then
51234 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51235 else
51236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51237 for as_dir in $PATH
51238 do
51239 IFS=$as_save_IFS
51240 test -z "$as_dir" && as_dir=.
51241 for ac_exec_ext in '' $ac_executable_extensions; do
51242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51243 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51245 break 2
51246 fi
51247 done
51248 done
51249 IFS=$as_save_IFS
51250
51251 fi
51252 fi
51253 WINDRES=$ac_cv_prog_WINDRES
51254 if test -n "$WINDRES"; then
51255 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51256 echo "${ECHO_T}$WINDRES" >&6; }
51257 else
51258 { echo "$as_me:$LINENO: result: no" >&5
51259 echo "${ECHO_T}no" >&6; }
51260 fi
51261
51262
51263 fi
51264 if test -z "$ac_cv_prog_WINDRES"; then
51265 ac_ct_WINDRES=$WINDRES
51266 # Extract the first word of "windres", so it can be a program name with args.
51267 set dummy windres; ac_word=$2
51268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51270 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51271 echo $ECHO_N "(cached) $ECHO_C" >&6
51272 else
51273 if test -n "$ac_ct_WINDRES"; then
51274 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51275 else
51276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51277 for as_dir in $PATH
51278 do
51279 IFS=$as_save_IFS
51280 test -z "$as_dir" && as_dir=.
51281 for ac_exec_ext in '' $ac_executable_extensions; do
51282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51283 ac_cv_prog_ac_ct_WINDRES="windres"
51284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51285 break 2
51286 fi
51287 done
51288 done
51289 IFS=$as_save_IFS
51290
51291 fi
51292 fi
51293 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51294 if test -n "$ac_ct_WINDRES"; then
51295 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51296 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51297 else
51298 { echo "$as_me:$LINENO: result: no" >&5
51299 echo "${ECHO_T}no" >&6; }
51300 fi
51301
51302 if test "x$ac_ct_WINDRES" = x; then
51303 WINDRES=""
51304 else
51305 case $cross_compiling:$ac_tool_warned in
51306 yes:)
51307 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51308 whose name does not start with the host triplet. If you think this
51309 configuration is useful to you, please write to autoconf@gnu.org." >&5
51310 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51311 whose name does not start with the host triplet. If you think this
51312 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51313 ac_tool_warned=yes ;;
51314 esac
51315 WINDRES=$ac_ct_WINDRES
51316 fi
51317 else
51318 WINDRES="$ac_cv_prog_WINDRES"
51319 fi
51320
51321 ;;
51322
51323 *-*-darwin* | powerpc-apple-macos* )
51324 # Extract the first word of "Rez", so it can be a program name with args.
51325 set dummy Rez; ac_word=$2
51326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51328 if test "${ac_cv_prog_REZ+set}" = set; then
51329 echo $ECHO_N "(cached) $ECHO_C" >&6
51330 else
51331 if test -n "$REZ"; then
51332 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51333 else
51334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51335 for as_dir in $PATH
51336 do
51337 IFS=$as_save_IFS
51338 test -z "$as_dir" && as_dir=.
51339 for ac_exec_ext in '' $ac_executable_extensions; do
51340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51341 ac_cv_prog_REZ="Rez"
51342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51343 break 2
51344 fi
51345 done
51346 done
51347 IFS=$as_save_IFS
51348
51349 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51350 fi
51351 fi
51352 REZ=$ac_cv_prog_REZ
51353 if test -n "$REZ"; then
51354 { echo "$as_me:$LINENO: result: $REZ" >&5
51355 echo "${ECHO_T}$REZ" >&6; }
51356 else
51357 { echo "$as_me:$LINENO: result: no" >&5
51358 echo "${ECHO_T}no" >&6; }
51359 fi
51360
51361
51362 # Extract the first word of "SetFile", so it can be a program name with args.
51363 set dummy SetFile; ac_word=$2
51364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51366 if test "${ac_cv_prog_SETFILE+set}" = set; then
51367 echo $ECHO_N "(cached) $ECHO_C" >&6
51368 else
51369 if test -n "$SETFILE"; then
51370 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51371 else
51372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51373 for as_dir in $PATH
51374 do
51375 IFS=$as_save_IFS
51376 test -z "$as_dir" && as_dir=.
51377 for ac_exec_ext in '' $ac_executable_extensions; do
51378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51379 ac_cv_prog_SETFILE="SetFile"
51380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51381 break 2
51382 fi
51383 done
51384 done
51385 IFS=$as_save_IFS
51386
51387 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51388 fi
51389 fi
51390 SETFILE=$ac_cv_prog_SETFILE
51391 if test -n "$SETFILE"; then
51392 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51393 echo "${ECHO_T}$SETFILE" >&6; }
51394 else
51395 { echo "$as_me:$LINENO: result: no" >&5
51396 echo "${ECHO_T}no" >&6; }
51397 fi
51398
51399
51400 ;;
51401 esac
51402
51403
51404
51405
51406
51407
51408 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51409
51410
51411 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51412
51413
51414
51415 # Check whether --enable-precomp-headers was given.
51416 if test "${enable_precomp_headers+set}" = set; then
51417 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51418 fi
51419
51420
51421 GCC_PCH=0
51422 ICC_PCH=0
51423 USE_PCH=0
51424 BK_MAKE_PCH=""
51425
51426 case ${BAKEFILE_HOST} in
51427 *-*-cygwin* )
51428 bk_use_pch="no"
51429 ;;
51430 esac
51431
51432 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51433 if test "x$GCC" = "xyes"; then
51434 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51435 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51436 cat >conftest.$ac_ext <<_ACEOF
51437 /* confdefs.h. */
51438 _ACEOF
51439 cat confdefs.h >>conftest.$ac_ext
51440 cat >>conftest.$ac_ext <<_ACEOF
51441 /* end confdefs.h. */
51442
51443 int
51444 main ()
51445 {
51446
51447 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51448 There is no PCH support
51449 #endif
51450 #if (__GNUC__ < 3)
51451 There is no PCH support
51452 #endif
51453 #if (__GNUC__ == 3) && \
51454 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51455 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51456 ( defined(__INTEL_COMPILER) )
51457 There is no PCH support
51458 #endif
51459
51460 ;
51461 return 0;
51462 }
51463 _ACEOF
51464 rm -f conftest.$ac_objext
51465 if { (ac_try="$ac_compile"
51466 case "(($ac_try" in
51467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51468 *) ac_try_echo=$ac_try;;
51469 esac
51470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51471 (eval "$ac_compile") 2>conftest.er1
51472 ac_status=$?
51473 grep -v '^ *+' conftest.er1 >conftest.err
51474 rm -f conftest.er1
51475 cat conftest.err >&5
51476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51477 (exit $ac_status); } && {
51478 test -z "$ac_c_werror_flag" ||
51479 test ! -s conftest.err
51480 } && test -s conftest.$ac_objext; then
51481
51482 { echo "$as_me:$LINENO: result: yes" >&5
51483 echo "${ECHO_T}yes" >&6; }
51484 GCC_PCH=1
51485
51486 else
51487 echo "$as_me: failed program was:" >&5
51488 sed 's/^/| /' conftest.$ac_ext >&5
51489
51490
51491 cat >conftest.$ac_ext <<_ACEOF
51492 /* confdefs.h. */
51493 _ACEOF
51494 cat confdefs.h >>conftest.$ac_ext
51495 cat >>conftest.$ac_ext <<_ACEOF
51496 /* end confdefs.h. */
51497
51498 int
51499 main ()
51500 {
51501
51502 #if !defined(__INTEL_COMPILER) || \
51503 (__INTEL_COMPILER < 800)
51504 There is no PCH support
51505 #endif
51506
51507 ;
51508 return 0;
51509 }
51510 _ACEOF
51511 rm -f conftest.$ac_objext
51512 if { (ac_try="$ac_compile"
51513 case "(($ac_try" in
51514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51515 *) ac_try_echo=$ac_try;;
51516 esac
51517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51518 (eval "$ac_compile") 2>conftest.er1
51519 ac_status=$?
51520 grep -v '^ *+' conftest.er1 >conftest.err
51521 rm -f conftest.er1
51522 cat conftest.err >&5
51523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51524 (exit $ac_status); } && {
51525 test -z "$ac_c_werror_flag" ||
51526 test ! -s conftest.err
51527 } && test -s conftest.$ac_objext; then
51528
51529 { echo "$as_me:$LINENO: result: yes" >&5
51530 echo "${ECHO_T}yes" >&6; }
51531 ICC_PCH=1
51532
51533 else
51534 echo "$as_me: failed program was:" >&5
51535 sed 's/^/| /' conftest.$ac_ext >&5
51536
51537
51538 { echo "$as_me:$LINENO: result: no" >&5
51539 echo "${ECHO_T}no" >&6; }
51540
51541 fi
51542
51543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51544
51545 fi
51546
51547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51548 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51549 USE_PCH=1
51550
51551 D='$'
51552 cat <<EOF >bk-make-pch
51553 #!/bin/sh
51554
51555 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51556 # script. It is used to generated precompiled headers.
51557 #
51558 # Permission is given to use this file in any way.
51559
51560 outfile="${D}{1}"
51561 header="${D}{2}"
51562 shift
51563 shift
51564
51565 compiler=""
51566 headerfile=""
51567
51568 while test ${D}{#} -gt 0; do
51569 add_to_cmdline=1
51570 case "${D}{1}" in
51571 -I* )
51572 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51573 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51574 headerfile="${D}{incdir}/${D}{header}"
51575 fi
51576 ;;
51577 -use-pch|-use_pch )
51578 shift
51579 add_to_cmdline=0
51580 ;;
51581 esac
51582 if test ${D}add_to_cmdline = 1 ; then
51583 compiler="${D}{compiler} ${D}{1}"
51584 fi
51585 shift
51586 done
51587
51588 if test "x${D}{headerfile}" = "x" ; then
51589 echo "error: can't find header ${D}{header} in include paths" >&2
51590 else
51591 if test -f ${D}{outfile} ; then
51592 rm -f ${D}{outfile}
51593 else
51594 mkdir -p \`dirname ${D}{outfile}\`
51595 fi
51596 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51597 mkdir -p .deps
51598 if test "x${GCC_PCH}" = "x1" ; then
51599 # can do this because gcc is >= 3.4:
51600 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51601 elif test "x${ICC_PCH}" = "x1" ; then
51602 filename=pch_gen-${D}${D}
51603 file=${D}{filename}.c
51604 dfile=${D}{filename}.d
51605 cat > ${D}file <<EOT
51606 #include "${D}header"
51607 EOT
51608 # using -MF icc complains about differing command lines in creation/use
51609 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51610 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51611 rm -f ${D}file ${D}dfile ${D}{filename}.o
51612 fi
51613 exit ${D}{?}
51614 fi
51615 EOF
51616
51617 chmod +x bk-make-pch
51618 BK_MAKE_PCH="`pwd`/bk-make-pch"
51619 fi
51620 fi
51621 fi
51622
51623
51624
51625
51626
51627 COND_BUILD_DEBUG="#"
51628 if test "x$BUILD" = "xdebug" ; then
51629 COND_BUILD_DEBUG=""
51630 fi
51631
51632 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51633 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51634 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51635 fi
51636
51637 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51638 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51639 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51640 fi
51641
51642 COND_BUILD_DEBUG_UNICODE_0="#"
51643 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51644 COND_BUILD_DEBUG_UNICODE_0=""
51645 fi
51646
51647 COND_BUILD_DEBUG_UNICODE_1="#"
51648 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51649 COND_BUILD_DEBUG_UNICODE_1=""
51650 fi
51651
51652 COND_BUILD_RELEASE="#"
51653 if test "x$BUILD" = "xrelease" ; then
51654 COND_BUILD_RELEASE=""
51655 fi
51656
51657 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51658 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51659 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51660 fi
51661
51662 COND_BUILD_RELEASE_UNICODE_0="#"
51663 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51664 COND_BUILD_RELEASE_UNICODE_0=""
51665 fi
51666
51667 COND_BUILD_RELEASE_UNICODE_1="#"
51668 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51669 COND_BUILD_RELEASE_UNICODE_1=""
51670 fi
51671
51672 COND_DEBUG_FLAG_1="#"
51673 if test "x$DEBUG_FLAG" = "x1" ; then
51674 COND_DEBUG_FLAG_1=""
51675 fi
51676
51677 COND_DEBUG_INFO_0="#"
51678 if test "x$DEBUG_INFO" = "x0" ; then
51679 COND_DEBUG_INFO_0=""
51680 fi
51681
51682 COND_DEBUG_INFO_1="#"
51683 if test "x$DEBUG_INFO" = "x1" ; then
51684 COND_DEBUG_INFO_1=""
51685 fi
51686
51687 COND_DEPS_TRACKING_0="#"
51688 if test "x$DEPS_TRACKING" = "x0" ; then
51689 COND_DEPS_TRACKING_0=""
51690 fi
51691
51692 COND_DEPS_TRACKING_1="#"
51693 if test "x$DEPS_TRACKING" = "x1" ; then
51694 COND_DEPS_TRACKING_1=""
51695 fi
51696
51697 COND_GCC_PCH_1="#"
51698 if test "x$GCC_PCH" = "x1" ; then
51699 COND_GCC_PCH_1=""
51700 fi
51701
51702 COND_ICC_PCH_1="#"
51703 if test "x$ICC_PCH" = "x1" ; then
51704 COND_ICC_PCH_1=""
51705 fi
51706
51707 COND_MONOLITHIC_0="#"
51708 if test "x$MONOLITHIC" = "x0" ; then
51709 COND_MONOLITHIC_0=""
51710 fi
51711
51712 COND_MONOLITHIC_0_SHARED_0="#"
51713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51714 COND_MONOLITHIC_0_SHARED_0=""
51715 fi
51716
51717 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51719 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51720 fi
51721
51722 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51724 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51725 fi
51726
51727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51730 fi
51731
51732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51734 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51735 fi
51736
51737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51739 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51740 fi
51741
51742 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51744 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51745 fi
51746
51747 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51749 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51750 fi
51751
51752 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51754 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51755 fi
51756
51757 COND_MONOLITHIC_0_SHARED_1="#"
51758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51759 COND_MONOLITHIC_0_SHARED_1=""
51760 fi
51761
51762 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51764 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51765 fi
51766
51767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51770 fi
51771
51772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51774 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51775 fi
51776
51777 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51779 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51780 fi
51781
51782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51785 fi
51786
51787 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51789 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51790 fi
51791
51792 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51794 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51795 fi
51796
51797 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51799 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51800 fi
51801
51802 COND_MONOLITHIC_0_USE_AUI_1="#"
51803 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51804 COND_MONOLITHIC_0_USE_AUI_1=""
51805 fi
51806
51807 COND_MONOLITHIC_0_USE_GUI_1="#"
51808 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51809 COND_MONOLITHIC_0_USE_GUI_1=""
51810 fi
51811
51812 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51813 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51814 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51815 fi
51816
51817 COND_MONOLITHIC_0_USE_HTML_1="#"
51818 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51819 COND_MONOLITHIC_0_USE_HTML_1=""
51820 fi
51821
51822 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51823 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51824 COND_MONOLITHIC_0_USE_MEDIA_1=""
51825 fi
51826
51827 COND_MONOLITHIC_0_USE_QA_1="#"
51828 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51829 COND_MONOLITHIC_0_USE_QA_1=""
51830 fi
51831
51832 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51833 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51834 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51835 fi
51836
51837 COND_MONOLITHIC_0_USE_STC_1="#"
51838 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51839 COND_MONOLITHIC_0_USE_STC_1=""
51840 fi
51841
51842 COND_MONOLITHIC_0_USE_XRC_1="#"
51843 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51844 COND_MONOLITHIC_0_USE_XRC_1=""
51845 fi
51846
51847 COND_MONOLITHIC_1="#"
51848 if test "x$MONOLITHIC" = "x1" ; then
51849 COND_MONOLITHIC_1=""
51850 fi
51851
51852 COND_MONOLITHIC_1_SHARED_0="#"
51853 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51854 COND_MONOLITHIC_1_SHARED_0=""
51855 fi
51856
51857 COND_MONOLITHIC_1_SHARED_1="#"
51858 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51859 COND_MONOLITHIC_1_SHARED_1=""
51860 fi
51861
51862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51863 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51865 fi
51866
51867 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51868 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51869 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51870 fi
51871
51872 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51873 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51875 fi
51876
51877 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51878 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51879 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51880 fi
51881
51882 COND_PLATFORM_MACOSX_1="#"
51883 if test "x$PLATFORM_MACOSX" = "x1" ; then
51884 COND_PLATFORM_MACOSX_1=""
51885 fi
51886
51887 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51888 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51889 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51890 fi
51891
51892 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51893 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51894 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51895 fi
51896
51897 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51898 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51899 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51900 fi
51901
51902 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51903 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51904 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51905 fi
51906
51907 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51908 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51909 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51910 fi
51911
51912 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51913 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51914 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51915 fi
51916
51917 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51918 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51919 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51920 fi
51921
51922 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51923 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51924 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51925 fi
51926
51927 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51928 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51929 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51930 fi
51931
51932 COND_PLATFORM_MACOS_1="#"
51933 if test "x$PLATFORM_MACOS" = "x1" ; then
51934 COND_PLATFORM_MACOS_1=""
51935 fi
51936
51937 COND_PLATFORM_MAC_1="#"
51938 if test "x$PLATFORM_MAC" = "x1" ; then
51939 COND_PLATFORM_MAC_1=""
51940 fi
51941
51942 COND_PLATFORM_MSDOS_1="#"
51943 if test "x$PLATFORM_MSDOS" = "x1" ; then
51944 COND_PLATFORM_MSDOS_1=""
51945 fi
51946
51947 COND_PLATFORM_OS2_1="#"
51948 if test "x$PLATFORM_OS2" = "x1" ; then
51949 COND_PLATFORM_OS2_1=""
51950 fi
51951
51952 COND_PLATFORM_UNIX_0="#"
51953 if test "x$PLATFORM_UNIX" = "x0" ; then
51954 COND_PLATFORM_UNIX_0=""
51955 fi
51956
51957 COND_PLATFORM_UNIX_1="#"
51958 if test "x$PLATFORM_UNIX" = "x1" ; then
51959 COND_PLATFORM_UNIX_1=""
51960 fi
51961
51962 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51963 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51964 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51965 fi
51966
51967 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51968 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51969 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51970 fi
51971
51972 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51973 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51974 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51975 fi
51976
51977 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51978 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51979 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51980 fi
51981
51982 COND_PLATFORM_WIN32_0="#"
51983 if test "x$PLATFORM_WIN32" = "x0" ; then
51984 COND_PLATFORM_WIN32_0=""
51985 fi
51986
51987 COND_PLATFORM_WIN32_1="#"
51988 if test "x$PLATFORM_WIN32" = "x1" ; then
51989 COND_PLATFORM_WIN32_1=""
51990 fi
51991
51992 COND_SHARED_0="#"
51993 if test "x$SHARED" = "x0" ; then
51994 COND_SHARED_0=""
51995 fi
51996
51997 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51998 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51999 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52000 fi
52001
52002 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52003 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52004 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52005 fi
52006
52007 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52008 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52009 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52010 fi
52011
52012 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52013 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52014 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52015 fi
52016
52017 COND_SHARED_0_USE_STC_1="#"
52018 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52019 COND_SHARED_0_USE_STC_1=""
52020 fi
52021
52022 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52023 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52024 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52025 fi
52026
52027 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52028 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52029 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52030 fi
52031
52032 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52033 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52034 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52035 fi
52036
52037 COND_SHARED_1="#"
52038 if test "x$SHARED" = "x1" ; then
52039 COND_SHARED_1=""
52040 fi
52041
52042 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52043 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52044 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52045 fi
52046
52047 COND_TOOLKIT_="#"
52048 if test "x$TOOLKIT" = "x" ; then
52049 COND_TOOLKIT_=""
52050 fi
52051
52052 COND_TOOLKIT_COCOA="#"
52053 if test "x$TOOLKIT" = "xCOCOA" ; then
52054 COND_TOOLKIT_COCOA=""
52055 fi
52056
52057 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52058 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52059 COND_TOOLKIT_COCOA_USE_GUI_1=""
52060 fi
52061
52062 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52063 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52064 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52065 fi
52066
52067 COND_TOOLKIT_DFB="#"
52068 if test "x$TOOLKIT" = "xDFB" ; then
52069 COND_TOOLKIT_DFB=""
52070 fi
52071
52072 COND_TOOLKIT_DFB_USE_GUI_1="#"
52073 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52074 COND_TOOLKIT_DFB_USE_GUI_1=""
52075 fi
52076
52077 COND_TOOLKIT_GTK="#"
52078 if test "x$TOOLKIT" = "xGTK" ; then
52079 COND_TOOLKIT_GTK=""
52080 fi
52081
52082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52083 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52084 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52085 fi
52086
52087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52090 fi
52091
52092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52093 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52094 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52095 fi
52096
52097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52098 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52099 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52100 fi
52101
52102 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52103 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52104 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52105 fi
52106
52107 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52108 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52109 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52110 fi
52111
52112 COND_TOOLKIT_GTK_USE_GUI_1="#"
52113 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52114 COND_TOOLKIT_GTK_USE_GUI_1=""
52115 fi
52116
52117 COND_TOOLKIT_MAC="#"
52118 if test "x$TOOLKIT" = "xMAC" ; then
52119 COND_TOOLKIT_MAC=""
52120 fi
52121
52122 COND_TOOLKIT_MAC_USE_GUI_1="#"
52123 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52124 COND_TOOLKIT_MAC_USE_GUI_1=""
52125 fi
52126
52127 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52128 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52129 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52130 fi
52131
52132 COND_TOOLKIT_MGL="#"
52133 if test "x$TOOLKIT" = "xMGL" ; then
52134 COND_TOOLKIT_MGL=""
52135 fi
52136
52137 COND_TOOLKIT_MGL_USE_GUI_1="#"
52138 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52139 COND_TOOLKIT_MGL_USE_GUI_1=""
52140 fi
52141
52142 COND_TOOLKIT_MOTIF="#"
52143 if test "x$TOOLKIT" = "xMOTIF" ; then
52144 COND_TOOLKIT_MOTIF=""
52145 fi
52146
52147 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52148 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52149 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52150 fi
52151
52152 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52153 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52154 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52155 fi
52156
52157 COND_TOOLKIT_MSW="#"
52158 if test "x$TOOLKIT" = "xMSW" ; then
52159 COND_TOOLKIT_MSW=""
52160 fi
52161
52162 COND_TOOLKIT_MSW_USE_GUI_1="#"
52163 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52164 COND_TOOLKIT_MSW_USE_GUI_1=""
52165 fi
52166
52167 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52168 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52169 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52170 fi
52171
52172 COND_TOOLKIT_MSW_WXUNIV_0="#"
52173 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52174 COND_TOOLKIT_MSW_WXUNIV_0=""
52175 fi
52176
52177 COND_TOOLKIT_PM="#"
52178 if test "x$TOOLKIT" = "xPM" ; then
52179 COND_TOOLKIT_PM=""
52180 fi
52181
52182 COND_TOOLKIT_PM_USE_GUI_1="#"
52183 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52184 COND_TOOLKIT_PM_USE_GUI_1=""
52185 fi
52186
52187 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52188 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52189 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52190 fi
52191
52192 COND_TOOLKIT_WINCE="#"
52193 if test "x$TOOLKIT" = "xWINCE" ; then
52194 COND_TOOLKIT_WINCE=""
52195 fi
52196
52197 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52198 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52199 COND_TOOLKIT_WINCE_USE_GUI_1=""
52200 fi
52201
52202 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52203 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52204 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52205 fi
52206
52207 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52208 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52209 COND_TOOLKIT_WINCE_WXUNIV_0=""
52210 fi
52211
52212 COND_TOOLKIT_X11="#"
52213 if test "x$TOOLKIT" = "xX11" ; then
52214 COND_TOOLKIT_X11=""
52215 fi
52216
52217 COND_TOOLKIT_X11_USE_GUI_1="#"
52218 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52219 COND_TOOLKIT_X11_USE_GUI_1=""
52220 fi
52221
52222 COND_UNICODE_1="#"
52223 if test "x$UNICODE" = "x1" ; then
52224 COND_UNICODE_1=""
52225 fi
52226
52227 COND_USE_EXCEPTIONS_0="#"
52228 if test "x$USE_EXCEPTIONS" = "x0" ; then
52229 COND_USE_EXCEPTIONS_0=""
52230 fi
52231
52232 COND_USE_EXCEPTIONS_1="#"
52233 if test "x$USE_EXCEPTIONS" = "x1" ; then
52234 COND_USE_EXCEPTIONS_1=""
52235 fi
52236
52237 COND_USE_GUI_0="#"
52238 if test "x$USE_GUI" = "x0" ; then
52239 COND_USE_GUI_0=""
52240 fi
52241
52242 COND_USE_GUI_1="#"
52243 if test "x$USE_GUI" = "x1" ; then
52244 COND_USE_GUI_1=""
52245 fi
52246
52247 COND_USE_GUI_1_USE_OPENGL_1="#"
52248 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52249 COND_USE_GUI_1_USE_OPENGL_1=""
52250 fi
52251
52252 COND_USE_GUI_1_WXUNIV_0="#"
52253 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52254 COND_USE_GUI_1_WXUNIV_0=""
52255 fi
52256
52257 COND_USE_GUI_1_WXUNIV_1="#"
52258 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52259 COND_USE_GUI_1_WXUNIV_1=""
52260 fi
52261
52262 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52263 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52264 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52265 fi
52266
52267 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52268 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52269 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52270 fi
52271
52272 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52273 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52274 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52275 fi
52276
52277 COND_USE_PCH_1="#"
52278 if test "x$USE_PCH" = "x1" ; then
52279 COND_USE_PCH_1=""
52280 fi
52281
52282 COND_USE_PLUGINS_0="#"
52283 if test "x$USE_PLUGINS" = "x0" ; then
52284 COND_USE_PLUGINS_0=""
52285 fi
52286
52287 COND_USE_RTTI_0="#"
52288 if test "x$USE_RTTI" = "x0" ; then
52289 COND_USE_RTTI_0=""
52290 fi
52291
52292 COND_USE_RTTI_1="#"
52293 if test "x$USE_RTTI" = "x1" ; then
52294 COND_USE_RTTI_1=""
52295 fi
52296
52297 COND_USE_SOSYMLINKS_1="#"
52298 if test "x$USE_SOSYMLINKS" = "x1" ; then
52299 COND_USE_SOSYMLINKS_1=""
52300 fi
52301
52302 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52303 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52304 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52305 fi
52306
52307 COND_USE_SOVERLINUX_1="#"
52308 if test "x$USE_SOVERLINUX" = "x1" ; then
52309 COND_USE_SOVERLINUX_1=""
52310 fi
52311
52312 COND_USE_SOVERSION_0="#"
52313 if test "x$USE_SOVERSION" = "x0" ; then
52314 COND_USE_SOVERSION_0=""
52315 fi
52316
52317 COND_USE_SOVERSOLARIS_1="#"
52318 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52319 COND_USE_SOVERSOLARIS_1=""
52320 fi
52321
52322 COND_USE_STC_1="#"
52323 if test "x$USE_STC" = "x1" ; then
52324 COND_USE_STC_1=""
52325 fi
52326
52327 COND_USE_THREADS_0="#"
52328 if test "x$USE_THREADS" = "x0" ; then
52329 COND_USE_THREADS_0=""
52330 fi
52331
52332 COND_USE_THREADS_1="#"
52333 if test "x$USE_THREADS" = "x1" ; then
52334 COND_USE_THREADS_1=""
52335 fi
52336
52337 COND_USE_XRC_1="#"
52338 if test "x$USE_XRC" = "x1" ; then
52339 COND_USE_XRC_1=""
52340 fi
52341
52342 COND_WINDOWS_IMPLIB_1="#"
52343 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52344 COND_WINDOWS_IMPLIB_1=""
52345 fi
52346
52347 COND_WITH_PLUGIN_SDL_1="#"
52348 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52349 COND_WITH_PLUGIN_SDL_1=""
52350 fi
52351
52352 COND_WXUNIV_0="#"
52353 if test "x$WXUNIV" = "x0" ; then
52354 COND_WXUNIV_0=""
52355 fi
52356
52357 COND_WXUNIV_1="#"
52358 if test "x$WXUNIV" = "x1" ; then
52359 COND_WXUNIV_1=""
52360 fi
52361
52362 COND_WXUSE_EXPAT_BUILTIN="#"
52363 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52364 COND_WXUSE_EXPAT_BUILTIN=""
52365 fi
52366
52367 COND_WXUSE_LIBJPEG_BUILTIN="#"
52368 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52369 COND_WXUSE_LIBJPEG_BUILTIN=""
52370 fi
52371
52372 COND_WXUSE_LIBPNG_BUILTIN="#"
52373 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52374 COND_WXUSE_LIBPNG_BUILTIN=""
52375 fi
52376
52377 COND_WXUSE_LIBTIFF_BUILTIN="#"
52378 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52379 COND_WXUSE_LIBTIFF_BUILTIN=""
52380 fi
52381
52382 COND_WXUSE_REGEX_BUILTIN="#"
52383 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52384 COND_WXUSE_REGEX_BUILTIN=""
52385 fi
52386
52387 COND_WXUSE_ZLIB_BUILTIN="#"
52388 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52389 COND_WXUSE_ZLIB_BUILTIN=""
52390 fi
52391
52392
52393
52394 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52395 { { 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
52396 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;}
52397 { (exit 1); exit 1; }; }
52398 fi
52399
52400 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52401 { { 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
52402 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;}
52403 { (exit 1); exit 1; }; }
52404 fi
52405
52406
52407 case ${INSTALL} in
52408 /* ) # Absolute
52409 ;;
52410 ?:* ) # Drive letter, considered as absolute.
52411 ;;
52412 *)
52413 INSTALL=`pwd`/${INSTALL} ;;
52414 esac
52415
52416 if test "$wxUSE_GUI" = "yes"; then
52417
52418 if test "$wxUSE_MSW" = 1 ; then
52419 if test "x$WINDRES" = "x"; then
52420 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52421 echo "$as_me: error: Required windres program not found" >&2;}
52422 { (exit 1); exit 1; }; }
52423 fi
52424
52425 RESCOMP="$WINDRES"
52426 fi
52427
52428 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52429 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52430 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52431
52432 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52433
52434 # Extract the first word of "DeRez", so it can be a program name with args.
52435 set dummy DeRez; ac_word=$2
52436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52438 if test "${ac_cv_prog_DEREZ+set}" = set; then
52439 echo $ECHO_N "(cached) $ECHO_C" >&6
52440 else
52441 if test -n "$DEREZ"; then
52442 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52443 else
52444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52445 for as_dir in $PATH
52446 do
52447 IFS=$as_save_IFS
52448 test -z "$as_dir" && as_dir=.
52449 for ac_exec_ext in '' $ac_executable_extensions; do
52450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52451 ac_cv_prog_DEREZ="DeRez"
52452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52453 break 2
52454 fi
52455 done
52456 done
52457 IFS=$as_save_IFS
52458
52459 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52460 fi
52461 fi
52462 DEREZ=$ac_cv_prog_DEREZ
52463 if test -n "$DEREZ"; then
52464 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52465 echo "${ECHO_T}$DEREZ" >&6; }
52466 else
52467 { echo "$as_me:$LINENO: result: no" >&5
52468 echo "${ECHO_T}no" >&6; }
52469 fi
52470
52471
52472
52473 MACSETFILE="\$(SETFILE)"
52474
52475 if test "$wxUSE_MAC" = 1; then
52476 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52477 RESCOMP="$REZ"
52478 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52479 else
52480 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52481 RESCOMP="cat /dev/null \| $REZ"
52482 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52483 fi
52484
52485 else
52486 MACSETFILE="@true"
52487
52488 if test "$wxUSE_PM" = 1; then
52489 RESCOMP="emxbind"
52490 WXCONFIG_RESFLAGS="-ep"
52491
52492 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52493 else
52494 POSTLINK_COMMAND="@true"
52495 fi
52496 fi
52497
52498 fi
52499
52500
52501 if test $GCC_PCH = 1
52502 then
52503 if test "$wx_cv_gcc_pch_bug" = yes; then
52504 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52505 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52506 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52507 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52508 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52509 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52510 fi
52511
52512 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52513 fi
52514
52515
52516 if test "$wxUSE_MAC" = 1 ; then
52517 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52518 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52519 mv temp bk-deps
52520 chmod +x bk-deps
52521 fi
52522 fi
52523
52524 if test "$wxUSE_SHARED" = "yes"; then
52525 case "${host}" in
52526 *-pc-os2_emx | *-pc-os2-emx )
52527 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52528 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52529 cp -p ${srcdir}/src/os2/dllnames.sh .
52530 cp -p ${srcdir}/src/os2/dllar.sh .
52531 ;;
52532 esac
52533 fi
52534 if test "$wxUSE_OMF" = "yes"; then
52535 case "${host}" in
52536 *-pc-os2_emx | *-pc-os2-emx )
52537 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52538 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52539 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52540 ;;
52541 esac
52542 fi
52543
52544 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52545
52546
52547 case "${host}" in
52548 *-*-solaris2* )
52549 if test "$GCC" = yes; then
52550 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52551 LIBS=`echo $LIBS | sed 's/-mt//'`
52552 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52553 fi
52554 ;;
52555
52556 *-*-linux* )
52557 if test "x$SUNCXX" = xyes; then
52558 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52559 LIBS=`echo $LIBS | sed 's/-pthread//'`
52560 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52561 fi
52562 ;;
52563 esac
52564
52565 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52566 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52567
52568 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52569
52570
52571
52572
52573
52574
52575
52576
52577
52578
52579
52580
52581
52582
52583
52584
52585
52586
52587
52588
52589
52590
52591
52592
52593
52594
52595
52596
52597
52598
52599
52600
52601
52602
52603
52604
52605
52606
52607
52608
52609
52610
52611
52612
52613
52614
52615
52616
52617
52618
52619
52620
52621
52622
52623
52624
52625
52626
52627
52628
52629 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52630 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52631 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52632 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52633 echo $ECHO_N "(cached) $ECHO_C" >&6
52634 else
52635 cat >conftest.make <<\_ACEOF
52636 SHELL = /bin/sh
52637 all:
52638 @echo '@@@%%%=$(MAKE)=@@@%%%'
52639 _ACEOF
52640 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52641 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52642 *@@@%%%=?*=@@@%%%*)
52643 eval ac_cv_prog_make_${ac_make}_set=yes;;
52644 *)
52645 eval ac_cv_prog_make_${ac_make}_set=no;;
52646 esac
52647 rm -f conftest.make
52648 fi
52649 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52650 { echo "$as_me:$LINENO: result: yes" >&5
52651 echo "${ECHO_T}yes" >&6; }
52652 SET_MAKE=
52653 else
52654 { echo "$as_me:$LINENO: result: no" >&5
52655 echo "${ECHO_T}no" >&6; }
52656 SET_MAKE="MAKE=${MAKE-make}"
52657 fi
52658
52659
52660
52661 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52662
52663
52664 if test "$USE_WIN32" = 1; then
52665 ac_config_commands="$ac_config_commands
52666 rcdefs.h
52667 "
52668
52669 fi
52670
52671 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52672
52673
52674 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52675
52676
52677 if test "$wx_cv_version_script" = "yes"; then
52678 ac_config_files="$ac_config_files version-script"
52679
52680 fi
52681 ac_config_files="$ac_config_files Makefile"
52682
52683
52684 ac_config_commands="$ac_config_commands wx-config"
52685
52686
52687
52688 if test "$wxWITH_SUBDIRS" != "no"; then
52689 if test "$wxUSE_GUI" = "yes"; then
52690 SUBDIRS="samples demos utils"
52691 else SUBDIRS="samples utils"
52692 fi
52693
52694
52695
52696 # Check whether --with-cppunit-prefix was given.
52697 if test "${with_cppunit_prefix+set}" = set; then
52698 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52699 else
52700 cppunit_config_prefix=""
52701 fi
52702
52703
52704 # Check whether --with-cppunit-exec-prefix was given.
52705 if test "${with_cppunit_exec_prefix+set}" = set; then
52706 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52707 else
52708 cppunit_config_exec_prefix=""
52709 fi
52710
52711
52712 if test x$cppunit_config_exec_prefix != x ; then
52713 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52714 if test x${CPPUNIT_CONFIG+set} != xset ; then
52715 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52716 fi
52717 fi
52718 if test x$cppunit_config_prefix != x ; then
52719 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52720 if test x${CPPUNIT_CONFIG+set} != xset ; then
52721 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52722 fi
52723 fi
52724
52725 # Extract the first word of "cppunit-config", so it can be a program name with args.
52726 set dummy cppunit-config; ac_word=$2
52727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52729 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52730 echo $ECHO_N "(cached) $ECHO_C" >&6
52731 else
52732 case $CPPUNIT_CONFIG in
52733 [\\/]* | ?:[\\/]*)
52734 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52735 ;;
52736 *)
52737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52738 for as_dir in $PATH
52739 do
52740 IFS=$as_save_IFS
52741 test -z "$as_dir" && as_dir=.
52742 for ac_exec_ext in '' $ac_executable_extensions; do
52743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52744 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52746 break 2
52747 fi
52748 done
52749 done
52750 IFS=$as_save_IFS
52751
52752 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52753 ;;
52754 esac
52755 fi
52756 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52757 if test -n "$CPPUNIT_CONFIG"; then
52758 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52759 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52760 else
52761 { echo "$as_me:$LINENO: result: no" >&5
52762 echo "${ECHO_T}no" >&6; }
52763 fi
52764
52765
52766 cppunit_version_min=1.8.0
52767
52768 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52769 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52770 no_cppunit=""
52771 if test "$CPPUNIT_CONFIG" = "no" ; then
52772 { echo "$as_me:$LINENO: result: no" >&5
52773 echo "${ECHO_T}no" >&6; }
52774 no_cppunit=yes
52775 else
52776 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52777 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52778 cppunit_version=`$CPPUNIT_CONFIG --version`
52779
52780 cppunit_major_version=`echo $cppunit_version | \
52781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52782 cppunit_minor_version=`echo $cppunit_version | \
52783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52784 cppunit_micro_version=`echo $cppunit_version | \
52785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52786
52787 cppunit_major_min=`echo $cppunit_version_min | \
52788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52789 cppunit_minor_min=`echo $cppunit_version_min | \
52790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52791 cppunit_micro_min=`echo $cppunit_version_min | \
52792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52793
52794 cppunit_version_proper=`expr \
52795 $cppunit_major_version \> $cppunit_major_min \| \
52796 $cppunit_major_version \= $cppunit_major_min \& \
52797 $cppunit_minor_version \> $cppunit_minor_min \| \
52798 $cppunit_major_version \= $cppunit_major_min \& \
52799 $cppunit_minor_version \= $cppunit_minor_min \& \
52800 $cppunit_micro_version \>= $cppunit_micro_min `
52801
52802 if test "$cppunit_version_proper" = "1" ; then
52803 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52804 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52805 else
52806 { echo "$as_me:$LINENO: result: no" >&5
52807 echo "${ECHO_T}no" >&6; }
52808 no_cppunit=yes
52809 fi
52810 fi
52811
52812 if test "x$no_cppunit" = x ; then
52813 SUBDIRS="$SUBDIRS tests"
52814 else
52815 CPPUNIT_CFLAGS=""
52816 CPPUNIT_LIBS=""
52817 :
52818 fi
52819
52820
52821
52822
52823
52824 for subdir in `echo $SUBDIRS`; do
52825 if test -d ${srcdir}/${subdir} ; then
52826 if test "$wxUSE_GUI" = "yes"; then
52827 if test ${subdir} = "samples"; then
52828 makefiles="samples/Makefile.in $makefiles"
52829 for sample in `echo $SAMPLES_SUBDIRS`; do
52830 if test -d $srcdir/samples/$sample; then
52831 makefiles="samples/$sample/Makefile.in $makefiles"
52832 fi
52833 done
52834 else
52835 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52836 eval "disabled=\$$disabled_var"
52837 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52838 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52839 fi
52840 else if test ${subdir} = "samples"; then
52841 makefiles="samples/Makefile.in samples/console/Makefile.in"
52842 elif test ${subdir} = "utils"; then
52843 makefiles=""
52844 for util in HelpGen tex2rtf ; do
52845 if test -d $srcdir/utils/$util ; then
52846 makefiles="utils/$util/Makefile.in \
52847 utils/$util/src/Makefile.in \
52848 $makefiles"
52849 fi
52850 done
52851 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52852 fi
52853 fi
52854
52855 for mkin in $makefiles ; do
52856 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52857 ac_config_files="$ac_config_files $mk"
52858
52859 done
52860 fi
52861 done
52862 fi
52863 cat >confcache <<\_ACEOF
52864 # This file is a shell script that caches the results of configure
52865 # tests run on this system so they can be shared between configure
52866 # scripts and configure runs, see configure's option --config-cache.
52867 # It is not useful on other systems. If it contains results you don't
52868 # want to keep, you may remove or edit it.
52869 #
52870 # config.status only pays attention to the cache file if you give it
52871 # the --recheck option to rerun configure.
52872 #
52873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52875 # following values.
52876
52877 _ACEOF
52878
52879 # The following way of writing the cache mishandles newlines in values,
52880 # but we know of no workaround that is simple, portable, and efficient.
52881 # So, we kill variables containing newlines.
52882 # Ultrix sh set writes to stderr and can't be redirected directly,
52883 # and sets the high bit in the cache file unless we assign to the vars.
52884 (
52885 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52886 eval ac_val=\$$ac_var
52887 case $ac_val in #(
52888 *${as_nl}*)
52889 case $ac_var in #(
52890 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52891 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52892 esac
52893 case $ac_var in #(
52894 _ | IFS | as_nl) ;; #(
52895 *) $as_unset $ac_var ;;
52896 esac ;;
52897 esac
52898 done
52899
52900 (set) 2>&1 |
52901 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52902 *${as_nl}ac_space=\ *)
52903 # `set' does not quote correctly, so add quotes (double-quote
52904 # substitution turns \\\\ into \\, and sed turns \\ into \).
52905 sed -n \
52906 "s/'/'\\\\''/g;
52907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52908 ;; #(
52909 *)
52910 # `set' quotes correctly as required by POSIX, so do not add quotes.
52911 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52912 ;;
52913 esac |
52914 sort
52915 ) |
52916 sed '
52917 /^ac_cv_env_/b end
52918 t clear
52919 :clear
52920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52921 t end
52922 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52923 :end' >>confcache
52924 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52925 if test -w "$cache_file"; then
52926 test "x$cache_file" != "x/dev/null" &&
52927 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52928 echo "$as_me: updating cache $cache_file" >&6;}
52929 cat confcache >$cache_file
52930 else
52931 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52932 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52933 fi
52934 fi
52935 rm -f confcache
52936
52937 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52938 # Let make expand exec_prefix.
52939 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52940
52941 DEFS=-DHAVE_CONFIG_H
52942
52943 ac_libobjs=
52944 ac_ltlibobjs=
52945 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52946 # 1. Remove the extension, and $U if already installed.
52947 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52948 ac_i=`echo "$ac_i" | sed "$ac_script"`
52949 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52950 # will be set to the directory where LIBOBJS objects are built.
52951 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52952 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52953 done
52954 LIBOBJS=$ac_libobjs
52955
52956 LTLIBOBJS=$ac_ltlibobjs
52957
52958
52959
52960 : ${CONFIG_STATUS=./config.status}
52961 ac_clean_files_save=$ac_clean_files
52962 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52963 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52964 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52965 cat >$CONFIG_STATUS <<_ACEOF
52966 #! $SHELL
52967 # Generated by $as_me.
52968 # Run this file to recreate the current configuration.
52969 # Compiler output produced by configure, useful for debugging
52970 # configure, is in config.log if it exists.
52971
52972 debug=false
52973 ac_cs_recheck=false
52974 ac_cs_silent=false
52975 SHELL=\${CONFIG_SHELL-$SHELL}
52976 _ACEOF
52977
52978 cat >>$CONFIG_STATUS <<\_ACEOF
52979 ## --------------------- ##
52980 ## M4sh Initialization. ##
52981 ## --------------------- ##
52982
52983 # Be more Bourne compatible
52984 DUALCASE=1; export DUALCASE # for MKS sh
52985 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52986 emulate sh
52987 NULLCMD=:
52988 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52989 # is contrary to our usage. Disable this feature.
52990 alias -g '${1+"$@"}'='"$@"'
52991 setopt NO_GLOB_SUBST
52992 else
52993 case `(set -o) 2>/dev/null` in
52994 *posix*) set -o posix ;;
52995 esac
52996
52997 fi
52998
52999
53000
53001
53002 # PATH needs CR
53003 # Avoid depending upon Character Ranges.
53004 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53005 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53006 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53007 as_cr_digits='0123456789'
53008 as_cr_alnum=$as_cr_Letters$as_cr_digits
53009
53010 # The user is always right.
53011 if test "${PATH_SEPARATOR+set}" != set; then
53012 echo "#! /bin/sh" >conf$$.sh
53013 echo "exit 0" >>conf$$.sh
53014 chmod +x conf$$.sh
53015 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53016 PATH_SEPARATOR=';'
53017 else
53018 PATH_SEPARATOR=:
53019 fi
53020 rm -f conf$$.sh
53021 fi
53022
53023 # Support unset when possible.
53024 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53025 as_unset=unset
53026 else
53027 as_unset=false
53028 fi
53029
53030
53031 # IFS
53032 # We need space, tab and new line, in precisely that order. Quoting is
53033 # there to prevent editors from complaining about space-tab.
53034 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53035 # splitting by setting IFS to empty value.)
53036 as_nl='
53037 '
53038 IFS=" "" $as_nl"
53039
53040 # Find who we are. Look in the path if we contain no directory separator.
53041 case $0 in
53042 *[\\/]* ) as_myself=$0 ;;
53043 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53044 for as_dir in $PATH
53045 do
53046 IFS=$as_save_IFS
53047 test -z "$as_dir" && as_dir=.
53048 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53049 done
53050 IFS=$as_save_IFS
53051
53052 ;;
53053 esac
53054 # We did not find ourselves, most probably we were run as `sh COMMAND'
53055 # in which case we are not to be found in the path.
53056 if test "x$as_myself" = x; then
53057 as_myself=$0
53058 fi
53059 if test ! -f "$as_myself"; then
53060 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53061 { (exit 1); exit 1; }
53062 fi
53063
53064 # Work around bugs in pre-3.0 UWIN ksh.
53065 for as_var in ENV MAIL MAILPATH
53066 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53067 done
53068 PS1='$ '
53069 PS2='> '
53070 PS4='+ '
53071
53072 # NLS nuisances.
53073 for as_var in \
53074 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53075 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53076 LC_TELEPHONE LC_TIME
53077 do
53078 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53079 eval $as_var=C; export $as_var
53080 else
53081 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53082 fi
53083 done
53084
53085 # Required to use basename.
53086 if expr a : '\(a\)' >/dev/null 2>&1 &&
53087 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53088 as_expr=expr
53089 else
53090 as_expr=false
53091 fi
53092
53093 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53094 as_basename=basename
53095 else
53096 as_basename=false
53097 fi
53098
53099
53100 # Name of the executable.
53101 as_me=`$as_basename -- "$0" ||
53102 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53103 X"$0" : 'X\(//\)$' \| \
53104 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53105 echo X/"$0" |
53106 sed '/^.*\/\([^/][^/]*\)\/*$/{
53107 s//\1/
53108 q
53109 }
53110 /^X\/\(\/\/\)$/{
53111 s//\1/
53112 q
53113 }
53114 /^X\/\(\/\).*/{
53115 s//\1/
53116 q
53117 }
53118 s/.*/./; q'`
53119
53120 # CDPATH.
53121 $as_unset CDPATH
53122
53123
53124
53125 as_lineno_1=$LINENO
53126 as_lineno_2=$LINENO
53127 test "x$as_lineno_1" != "x$as_lineno_2" &&
53128 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53129
53130 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53131 # uniformly replaced by the line number. The first 'sed' inserts a
53132 # line-number line after each line using $LINENO; the second 'sed'
53133 # does the real work. The second script uses 'N' to pair each
53134 # line-number line with the line containing $LINENO, and appends
53135 # trailing '-' during substitution so that $LINENO is not a special
53136 # case at line end.
53137 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53138 # scripts with optimization help from Paolo Bonzini. Blame Lee
53139 # E. McMahon (1931-1989) for sed's syntax. :-)
53140 sed -n '
53141 p
53142 /[$]LINENO/=
53143 ' <$as_myself |
53144 sed '
53145 s/[$]LINENO.*/&-/
53146 t lineno
53147 b
53148 :lineno
53149 N
53150 :loop
53151 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53152 t loop
53153 s/-\n.*//
53154 ' >$as_me.lineno &&
53155 chmod +x "$as_me.lineno" ||
53156 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53157 { (exit 1); exit 1; }; }
53158
53159 # Don't try to exec as it changes $[0], causing all sort of problems
53160 # (the dirname of $[0] is not the place where we might find the
53161 # original and so on. Autoconf is especially sensitive to this).
53162 . "./$as_me.lineno"
53163 # Exit status is that of the last command.
53164 exit
53165 }
53166
53167
53168 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53169 as_dirname=dirname
53170 else
53171 as_dirname=false
53172 fi
53173
53174 ECHO_C= ECHO_N= ECHO_T=
53175 case `echo -n x` in
53176 -n*)
53177 case `echo 'x\c'` in
53178 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53179 *) ECHO_C='\c';;
53180 esac;;
53181 *)
53182 ECHO_N='-n';;
53183 esac
53184
53185 if expr a : '\(a\)' >/dev/null 2>&1 &&
53186 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53187 as_expr=expr
53188 else
53189 as_expr=false
53190 fi
53191
53192 rm -f conf$$ conf$$.exe conf$$.file
53193 if test -d conf$$.dir; then
53194 rm -f conf$$.dir/conf$$.file
53195 else
53196 rm -f conf$$.dir
53197 mkdir conf$$.dir
53198 fi
53199 echo >conf$$.file
53200 if ln -s conf$$.file conf$$ 2>/dev/null; then
53201 as_ln_s='ln -s'
53202 # ... but there are two gotchas:
53203 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53204 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53205 # In both cases, we have to default to `cp -p'.
53206 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53207 as_ln_s='cp -p'
53208 elif ln conf$$.file conf$$ 2>/dev/null; then
53209 as_ln_s=ln
53210 else
53211 as_ln_s='cp -p'
53212 fi
53213 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53214 rmdir conf$$.dir 2>/dev/null
53215
53216 if mkdir -p . 2>/dev/null; then
53217 as_mkdir_p=:
53218 else
53219 test -d ./-p && rmdir ./-p
53220 as_mkdir_p=false
53221 fi
53222
53223 if test -x / >/dev/null 2>&1; then
53224 as_test_x='test -x'
53225 else
53226 if ls -dL / >/dev/null 2>&1; then
53227 as_ls_L_option=L
53228 else
53229 as_ls_L_option=
53230 fi
53231 as_test_x='
53232 eval sh -c '\''
53233 if test -d "$1"; then
53234 test -d "$1/.";
53235 else
53236 case $1 in
53237 -*)set "./$1";;
53238 esac;
53239 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53240 ???[sx]*):;;*)false;;esac;fi
53241 '\'' sh
53242 '
53243 fi
53244 as_executable_p=$as_test_x
53245
53246 # Sed expression to map a string onto a valid CPP name.
53247 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53248
53249 # Sed expression to map a string onto a valid variable name.
53250 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53251
53252
53253 exec 6>&1
53254
53255 # Save the log message, to keep $[0] and so on meaningful, and to
53256 # report actual input values of CONFIG_FILES etc. instead of their
53257 # values after options handling.
53258 ac_log="
53259 This file was extended by wxWidgets $as_me 2.9.0, which was
53260 generated by GNU Autoconf 2.61. Invocation command line was
53261
53262 CONFIG_FILES = $CONFIG_FILES
53263 CONFIG_HEADERS = $CONFIG_HEADERS
53264 CONFIG_LINKS = $CONFIG_LINKS
53265 CONFIG_COMMANDS = $CONFIG_COMMANDS
53266 $ $0 $@
53267
53268 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53269 "
53270
53271 _ACEOF
53272
53273 cat >>$CONFIG_STATUS <<_ACEOF
53274 # Files that config.status was made for.
53275 config_files="$ac_config_files"
53276 config_headers="$ac_config_headers"
53277 config_commands="$ac_config_commands"
53278
53279 _ACEOF
53280
53281 cat >>$CONFIG_STATUS <<\_ACEOF
53282 ac_cs_usage="\
53283 \`$as_me' instantiates files from templates according to the
53284 current configuration.
53285
53286 Usage: $0 [OPTIONS] [FILE]...
53287
53288 -h, --help print this help, then exit
53289 -V, --version print version number and configuration settings, then exit
53290 -q, --quiet do not print progress messages
53291 -d, --debug don't remove temporary files
53292 --recheck update $as_me by reconfiguring in the same conditions
53293 --file=FILE[:TEMPLATE]
53294 instantiate the configuration file FILE
53295 --header=FILE[:TEMPLATE]
53296 instantiate the configuration header FILE
53297
53298 Configuration files:
53299 $config_files
53300
53301 Configuration headers:
53302 $config_headers
53303
53304 Configuration commands:
53305 $config_commands
53306
53307 Report bugs to <bug-autoconf@gnu.org>."
53308
53309 _ACEOF
53310 cat >>$CONFIG_STATUS <<_ACEOF
53311 ac_cs_version="\\
53312 wxWidgets config.status 2.9.0
53313 configured by $0, generated by GNU Autoconf 2.61,
53314 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53315
53316 Copyright (C) 2006 Free Software Foundation, Inc.
53317 This config.status script is free software; the Free Software Foundation
53318 gives unlimited permission to copy, distribute and modify it."
53319
53320 ac_pwd='$ac_pwd'
53321 srcdir='$srcdir'
53322 INSTALL='$INSTALL'
53323 _ACEOF
53324
53325 cat >>$CONFIG_STATUS <<\_ACEOF
53326 # If no file are specified by the user, then we need to provide default
53327 # value. By we need to know if files were specified by the user.
53328 ac_need_defaults=:
53329 while test $# != 0
53330 do
53331 case $1 in
53332 --*=*)
53333 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53334 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53335 ac_shift=:
53336 ;;
53337 *)
53338 ac_option=$1
53339 ac_optarg=$2
53340 ac_shift=shift
53341 ;;
53342 esac
53343
53344 case $ac_option in
53345 # Handling of the options.
53346 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53347 ac_cs_recheck=: ;;
53348 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53349 echo "$ac_cs_version"; exit ;;
53350 --debug | --debu | --deb | --de | --d | -d )
53351 debug=: ;;
53352 --file | --fil | --fi | --f )
53353 $ac_shift
53354 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53355 ac_need_defaults=false;;
53356 --header | --heade | --head | --hea )
53357 $ac_shift
53358 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53359 ac_need_defaults=false;;
53360 --he | --h)
53361 # Conflict between --help and --header
53362 { echo "$as_me: error: ambiguous option: $1
53363 Try \`$0 --help' for more information." >&2
53364 { (exit 1); exit 1; }; };;
53365 --help | --hel | -h )
53366 echo "$ac_cs_usage"; exit ;;
53367 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53368 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53369 ac_cs_silent=: ;;
53370
53371 # This is an error.
53372 -*) { echo "$as_me: error: unrecognized option: $1
53373 Try \`$0 --help' for more information." >&2
53374 { (exit 1); exit 1; }; } ;;
53375
53376 *) ac_config_targets="$ac_config_targets $1"
53377 ac_need_defaults=false ;;
53378
53379 esac
53380 shift
53381 done
53382
53383 ac_configure_extra_args=
53384
53385 if $ac_cs_silent; then
53386 exec 6>/dev/null
53387 ac_configure_extra_args="$ac_configure_extra_args --silent"
53388 fi
53389
53390 _ACEOF
53391 cat >>$CONFIG_STATUS <<_ACEOF
53392 if \$ac_cs_recheck; then
53393 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53394 CONFIG_SHELL=$SHELL
53395 export CONFIG_SHELL
53396 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53397 fi
53398
53399 _ACEOF
53400 cat >>$CONFIG_STATUS <<\_ACEOF
53401 exec 5>>config.log
53402 {
53403 echo
53404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53405 ## Running $as_me. ##
53406 _ASBOX
53407 echo "$ac_log"
53408 } >&5
53409
53410 _ACEOF
53411 cat >>$CONFIG_STATUS <<_ACEOF
53412 #
53413 # INIT-COMMANDS
53414 #
53415
53416 CPP="$CPP"
53417 infile="$srcdir/include/wx/msw/genrcdefs.h"
53418 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53419
53420
53421 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53422 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53423 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53424 LN_S="${LN_S}"
53425
53426
53427 _ACEOF
53428
53429 cat >>$CONFIG_STATUS <<\_ACEOF
53430
53431 # Handling of arguments.
53432 for ac_config_target in $ac_config_targets
53433 do
53434 case $ac_config_target in
53435 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53436 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53437 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53438 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53439 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53440 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53441 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53442 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53443
53444 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53445 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53446 { (exit 1); exit 1; }; };;
53447 esac
53448 done
53449
53450
53451 # If the user did not use the arguments to specify the items to instantiate,
53452 # then the envvar interface is used. Set only those that are not.
53453 # We use the long form for the default assignment because of an extremely
53454 # bizarre bug on SunOS 4.1.3.
53455 if $ac_need_defaults; then
53456 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53457 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53458 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53459 fi
53460
53461 # Have a temporary directory for convenience. Make it in the build tree
53462 # simply because there is no reason against having it here, and in addition,
53463 # creating and moving files from /tmp can sometimes cause problems.
53464 # Hook for its removal unless debugging.
53465 # Note that there is a small window in which the directory will not be cleaned:
53466 # after its creation but before its name has been assigned to `$tmp'.
53467 $debug ||
53468 {
53469 tmp=
53470 trap 'exit_status=$?
53471 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53472 ' 0
53473 trap '{ (exit 1); exit 1; }' 1 2 13 15
53474 }
53475 # Create a (secure) tmp directory for tmp files.
53476
53477 {
53478 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53479 test -n "$tmp" && test -d "$tmp"
53480 } ||
53481 {
53482 tmp=./conf$$-$RANDOM
53483 (umask 077 && mkdir "$tmp")
53484 } ||
53485 {
53486 echo "$me: cannot create a temporary directory in ." >&2
53487 { (exit 1); exit 1; }
53488 }
53489
53490 #
53491 # Set up the sed scripts for CONFIG_FILES section.
53492 #
53493
53494 # No need to generate the scripts if there are no CONFIG_FILES.
53495 # This happens for instance when ./config.status config.h
53496 if test -n "$CONFIG_FILES"; then
53497
53498 _ACEOF
53499
53500
53501
53502 ac_delim='%!_!# '
53503 for ac_last_try in false false false false false :; do
53504 cat >conf$$subs.sed <<_ACEOF
53505 SHELL!$SHELL$ac_delim
53506 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53507 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53508 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53509 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53510 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53511 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53512 exec_prefix!$exec_prefix$ac_delim
53513 prefix!$prefix$ac_delim
53514 program_transform_name!$program_transform_name$ac_delim
53515 bindir!$bindir$ac_delim
53516 sbindir!$sbindir$ac_delim
53517 libexecdir!$libexecdir$ac_delim
53518 datarootdir!$datarootdir$ac_delim
53519 datadir!$datadir$ac_delim
53520 sysconfdir!$sysconfdir$ac_delim
53521 sharedstatedir!$sharedstatedir$ac_delim
53522 localstatedir!$localstatedir$ac_delim
53523 includedir!$includedir$ac_delim
53524 oldincludedir!$oldincludedir$ac_delim
53525 docdir!$docdir$ac_delim
53526 infodir!$infodir$ac_delim
53527 htmldir!$htmldir$ac_delim
53528 dvidir!$dvidir$ac_delim
53529 pdfdir!$pdfdir$ac_delim
53530 psdir!$psdir$ac_delim
53531 libdir!$libdir$ac_delim
53532 localedir!$localedir$ac_delim
53533 mandir!$mandir$ac_delim
53534 DEFS!$DEFS$ac_delim
53535 ECHO_C!$ECHO_C$ac_delim
53536 ECHO_N!$ECHO_N$ac_delim
53537 ECHO_T!$ECHO_T$ac_delim
53538 LIBS!$LIBS$ac_delim
53539 build_alias!$build_alias$ac_delim
53540 host_alias!$host_alias$ac_delim
53541 target_alias!$target_alias$ac_delim
53542 build!$build$ac_delim
53543 build_cpu!$build_cpu$ac_delim
53544 build_vendor!$build_vendor$ac_delim
53545 build_os!$build_os$ac_delim
53546 host!$host$ac_delim
53547 host_cpu!$host_cpu$ac_delim
53548 host_vendor!$host_vendor$ac_delim
53549 host_os!$host_os$ac_delim
53550 target!$target$ac_delim
53551 target_cpu!$target_cpu$ac_delim
53552 target_vendor!$target_vendor$ac_delim
53553 target_os!$target_os$ac_delim
53554 wx_top_builddir!$wx_top_builddir$ac_delim
53555 CC!$CC$ac_delim
53556 CFLAGS!$CFLAGS$ac_delim
53557 LDFLAGS!$LDFLAGS$ac_delim
53558 CPPFLAGS!$CPPFLAGS$ac_delim
53559 ac_ct_CC!$ac_ct_CC$ac_delim
53560 EXEEXT!$EXEEXT$ac_delim
53561 OBJEXT!$OBJEXT$ac_delim
53562 CPP!$CPP$ac_delim
53563 GREP!$GREP$ac_delim
53564 EGREP!$EGREP$ac_delim
53565 CXX!$CXX$ac_delim
53566 CXXFLAGS!$CXXFLAGS$ac_delim
53567 ac_ct_CXX!$ac_ct_CXX$ac_delim
53568 AR!$AR$ac_delim
53569 subdirs!$subdirs$ac_delim
53570 PKG_CONFIG!$PKG_CONFIG$ac_delim
53571 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53572 GTK_LIBS!$GTK_LIBS$ac_delim
53573 GTK_CONFIG!$GTK_CONFIG$ac_delim
53574 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53575 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53576 XMKMF!$XMKMF$ac_delim
53577 X_CFLAGS!$X_CFLAGS$ac_delim
53578 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53579 X_LIBS!$X_LIBS$ac_delim
53580 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53581 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53582 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53583 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53584 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53585 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53586 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53587 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53588 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53589 LIBICONV!$LIBICONV$ac_delim
53590 SDL_CONFIG!$SDL_CONFIG$ac_delim
53591 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53592 SDL_LIBS!$SDL_LIBS$ac_delim
53593 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53594 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53595 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53596 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53597 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53598 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53599 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53600 HILDON_LIBS!$HILDON_LIBS$ac_delim
53601 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53602 _ACEOF
53603
53604 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53605 break
53606 elif $ac_last_try; then
53607 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53608 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53609 { (exit 1); exit 1; }; }
53610 else
53611 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53612 fi
53613 done
53614
53615 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53616 if test -n "$ac_eof"; then
53617 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53618 ac_eof=`expr $ac_eof + 1`
53619 fi
53620
53621 cat >>$CONFIG_STATUS <<_ACEOF
53622 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53624 _ACEOF
53625 sed '
53626 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53627 s/^/s,@/; s/!/@,|#_!!_#|/
53628 :n
53629 t n
53630 s/'"$ac_delim"'$/,g/; t
53631 s/$/\\/; p
53632 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53633 ' >>$CONFIG_STATUS <conf$$subs.sed
53634 rm -f conf$$subs.sed
53635 cat >>$CONFIG_STATUS <<_ACEOF
53636 CEOF$ac_eof
53637 _ACEOF
53638
53639
53640 ac_delim='%!_!# '
53641 for ac_last_try in false false false false false :; do
53642 cat >conf$$subs.sed <<_ACEOF
53643 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53644 GST_CFLAGS!$GST_CFLAGS$ac_delim
53645 GST_LIBS!$GST_LIBS$ac_delim
53646 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53647 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53648 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53649 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53650 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53651 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53652 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53653 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53654 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53655 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53656 VENDOR!$VENDOR$ac_delim
53657 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53658 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53659 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53660 WXUNIV!$WXUNIV$ac_delim
53661 MONOLITHIC!$MONOLITHIC$ac_delim
53662 USE_PLUGINS!$USE_PLUGINS$ac_delim
53663 CXXWARNINGS!$CXXWARNINGS$ac_delim
53664 EXTRALIBS!$EXTRALIBS$ac_delim
53665 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53666 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53667 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53668 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53669 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53670 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53671 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53672 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53673 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53674 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53675 UNICODE!$UNICODE$ac_delim
53676 BUILD!$BUILD$ac_delim
53677 DEBUG_INFO!$DEBUG_INFO$ac_delim
53678 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53679 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53680 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53681 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53682 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53683 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53684 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53685 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53686 RANLIB!$RANLIB$ac_delim
53687 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53688 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53689 INSTALL_DATA!$INSTALL_DATA$ac_delim
53690 LN_S!$LN_S$ac_delim
53691 SET_MAKE!$SET_MAKE$ac_delim
53692 MAKE_SET!$MAKE_SET$ac_delim
53693 AROPTIONS!$AROPTIONS$ac_delim
53694 STRIP!$STRIP$ac_delim
53695 NM!$NM$ac_delim
53696 INSTALL_DIR!$INSTALL_DIR$ac_delim
53697 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53698 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53699 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53700 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53701 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53702 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53703 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53704 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53705 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53706 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53707 SO_SUFFIX!$SO_SUFFIX$ac_delim
53708 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53709 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53710 LIBPREFIX!$LIBPREFIX$ac_delim
53711 LIBEXT!$LIBEXT$ac_delim
53712 DLLPREFIX!$DLLPREFIX$ac_delim
53713 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53714 dlldir!$dlldir$ac_delim
53715 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53716 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53717 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53718 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53719 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53720 PIC_FLAG!$PIC_FLAG$ac_delim
53721 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53722 USE_SOVERSION!$USE_SOVERSION$ac_delim
53723 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53724 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53725 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53726 USE_MACVERSION!$USE_MACVERSION$ac_delim
53727 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53728 SONAME_FLAG!$SONAME_FLAG$ac_delim
53729 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53730 BK_DEPS!$BK_DEPS$ac_delim
53731 WINDRES!$WINDRES$ac_delim
53732 REZ!$REZ$ac_delim
53733 SETFILE!$SETFILE$ac_delim
53734 GCC_PCH!$GCC_PCH$ac_delim
53735 ICC_PCH!$ICC_PCH$ac_delim
53736 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53737 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53738 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53739 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53740 _ACEOF
53741
53742 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53743 break
53744 elif $ac_last_try; then
53745 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53746 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53747 { (exit 1); exit 1; }; }
53748 else
53749 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53750 fi
53751 done
53752
53753 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53754 if test -n "$ac_eof"; then
53755 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53756 ac_eof=`expr $ac_eof + 1`
53757 fi
53758
53759 cat >>$CONFIG_STATUS <<_ACEOF
53760 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53762 _ACEOF
53763 sed '
53764 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53765 s/^/s,@/; s/!/@,|#_!!_#|/
53766 :n
53767 t n
53768 s/'"$ac_delim"'$/,g/; t
53769 s/$/\\/; p
53770 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53771 ' >>$CONFIG_STATUS <conf$$subs.sed
53772 rm -f conf$$subs.sed
53773 cat >>$CONFIG_STATUS <<_ACEOF
53774 CEOF$ac_eof
53775 _ACEOF
53776
53777
53778 ac_delim='%!_!# '
53779 for ac_last_try in false false false false false :; do
53780 cat >conf$$subs.sed <<_ACEOF
53781 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53782 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53783 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53784 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53785 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53786 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53787 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53788 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53789 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53790 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53791 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53792 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53793 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53794 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53795 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53796 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53797 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53801 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53802 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53803 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53804 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53805 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53806 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53807 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53808 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53810 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53811 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53812 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53813 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53814 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53815 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53816 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53817 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53818 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53819 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53820 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53821 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53822 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53823 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53824 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53825 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53826 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53827 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53828 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53829 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53830 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53831 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53832 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53833 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53834 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53835 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53836 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53837 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53838 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53839 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53840 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53841 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53842 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53843 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53844 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53845 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53846 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53847 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53848 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53849 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53850 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53851 COND_SHARED_0!$COND_SHARED_0$ac_delim
53852 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53853 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53854 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53855 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53856 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53857 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53858 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53859 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53860 COND_SHARED_1!$COND_SHARED_1$ac_delim
53861 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53862 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53863 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53864 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53865 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53866 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53867 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53868 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53869 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53870 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53871 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53872 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53873 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53874 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53875 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53876 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53877 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53878 _ACEOF
53879
53880 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53881 break
53882 elif $ac_last_try; then
53883 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53884 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53885 { (exit 1); exit 1; }; }
53886 else
53887 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53888 fi
53889 done
53890
53891 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53892 if test -n "$ac_eof"; then
53893 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53894 ac_eof=`expr $ac_eof + 1`
53895 fi
53896
53897 cat >>$CONFIG_STATUS <<_ACEOF
53898 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53899 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53900 _ACEOF
53901 sed '
53902 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53903 s/^/s,@/; s/!/@,|#_!!_#|/
53904 :n
53905 t n
53906 s/'"$ac_delim"'$/,g/; t
53907 s/$/\\/; p
53908 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53909 ' >>$CONFIG_STATUS <conf$$subs.sed
53910 rm -f conf$$subs.sed
53911 cat >>$CONFIG_STATUS <<_ACEOF
53912 CEOF$ac_eof
53913 _ACEOF
53914
53915
53916 ac_delim='%!_!# '
53917 for ac_last_try in false false false false false :; do
53918 cat >conf$$subs.sed <<_ACEOF
53919 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53920 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53921 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53922 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53923 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53924 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53925 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53926 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53927 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53928 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53929 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53930 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53932 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53933 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53935 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53936 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53937 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53938 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53939 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53940 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53941 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53942 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53943 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53944 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53945 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53946 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53947 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53948 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53949 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53950 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53951 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53952 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53953 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53955 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53956 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53957 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53958 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53959 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53960 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53961 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53962 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53963 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53964 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53965 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53966 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53967 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53968 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53969 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53970 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53971 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53972 DEREZ!$DEREZ$ac_delim
53973 SHARED!$SHARED$ac_delim
53974 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53975 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53976 USE_GUI!$USE_GUI$ac_delim
53977 AFMINSTALL!$AFMINSTALL$ac_delim
53978 WIN32INSTALL!$WIN32INSTALL$ac_delim
53979 TOOLKIT!$TOOLKIT$ac_delim
53980 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53981 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53982 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53983 cross_compiling!$cross_compiling$ac_delim
53984 WIDGET_SET!$WIDGET_SET$ac_delim
53985 WX_RELEASE!$WX_RELEASE$ac_delim
53986 WX_VERSION!$WX_VERSION$ac_delim
53987 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53988 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53989 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53990 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53991 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53992 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53993 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53994 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53995 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53996 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53997 GUIDIST!$GUIDIST$ac_delim
53998 DISTDIR!$DISTDIR$ac_delim
53999 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54000 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54001 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54002 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54003 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54004 RESCOMP!$RESCOMP$ac_delim
54005 RESFLAGS!$RESFLAGS$ac_delim
54006 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54007 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54008 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54009 LIBWXMACRES!$LIBWXMACRES$ac_delim
54010 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54011 MACSETFILE!$MACSETFILE$ac_delim
54012 GCC!$GCC$ac_delim
54013 DLLTOOL!$DLLTOOL$ac_delim
54014 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54015 LIBOBJS!$LIBOBJS$ac_delim
54016 _ACEOF
54017
54018 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54019 break
54020 elif $ac_last_try; then
54021 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54022 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54023 { (exit 1); exit 1; }; }
54024 else
54025 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54026 fi
54027 done
54028
54029 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54030 if test -n "$ac_eof"; then
54031 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54032 ac_eof=`expr $ac_eof + 1`
54033 fi
54034
54035 cat >>$CONFIG_STATUS <<_ACEOF
54036 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54038 _ACEOF
54039 sed '
54040 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54041 s/^/s,@/; s/!/@,|#_!!_#|/
54042 :n
54043 t n
54044 s/'"$ac_delim"'$/,g/; t
54045 s/$/\\/; p
54046 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54047 ' >>$CONFIG_STATUS <conf$$subs.sed
54048 rm -f conf$$subs.sed
54049 cat >>$CONFIG_STATUS <<_ACEOF
54050 CEOF$ac_eof
54051 _ACEOF
54052
54053
54054 ac_delim='%!_!# '
54055 for ac_last_try in false false false false false :; do
54056 cat >conf$$subs.sed <<_ACEOF
54057 LTLIBOBJS!$LTLIBOBJS$ac_delim
54058 _ACEOF
54059
54060 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then
54061 break
54062 elif $ac_last_try; then
54063 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54064 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54065 { (exit 1); exit 1; }; }
54066 else
54067 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54068 fi
54069 done
54070
54071 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54072 if test -n "$ac_eof"; then
54073 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54074 ac_eof=`expr $ac_eof + 1`
54075 fi
54076
54077 cat >>$CONFIG_STATUS <<_ACEOF
54078 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54079 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54080 _ACEOF
54081 sed '
54082 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54083 s/^/s,@/; s/!/@,|#_!!_#|/
54084 :n
54085 t n
54086 s/'"$ac_delim"'$/,g/; t
54087 s/$/\\/; p
54088 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54089 ' >>$CONFIG_STATUS <conf$$subs.sed
54090 rm -f conf$$subs.sed
54091 cat >>$CONFIG_STATUS <<_ACEOF
54092 :end
54093 s/|#_!!_#|//g
54094 CEOF$ac_eof
54095 _ACEOF
54096
54097
54098 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54099 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54100 # trailing colons and then remove the whole line if VPATH becomes empty
54101 # (actually we leave an empty line to preserve line numbers).
54102 if test "x$srcdir" = x.; then
54103 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54104 s/:*\$(srcdir):*/:/
54105 s/:*\${srcdir}:*/:/
54106 s/:*@srcdir@:*/:/
54107 s/^\([^=]*=[ ]*\):*/\1/
54108 s/:*$//
54109 s/^[^=]*=[ ]*$//
54110 }'
54111 fi
54112
54113 cat >>$CONFIG_STATUS <<\_ACEOF
54114 fi # test -n "$CONFIG_FILES"
54115
54116
54117 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54118 do
54119 case $ac_tag in
54120 :[FHLC]) ac_mode=$ac_tag; continue;;
54121 esac
54122 case $ac_mode$ac_tag in
54123 :[FHL]*:*);;
54124 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54125 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54126 { (exit 1); exit 1; }; };;
54127 :[FH]-) ac_tag=-:-;;
54128 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54129 esac
54130 ac_save_IFS=$IFS
54131 IFS=:
54132 set x $ac_tag
54133 IFS=$ac_save_IFS
54134 shift
54135 ac_file=$1
54136 shift
54137
54138 case $ac_mode in
54139 :L) ac_source=$1;;
54140 :[FH])
54141 ac_file_inputs=
54142 for ac_f
54143 do
54144 case $ac_f in
54145 -) ac_f="$tmp/stdin";;
54146 *) # Look for the file first in the build tree, then in the source tree
54147 # (if the path is not absolute). The absolute path cannot be DOS-style,
54148 # because $ac_f cannot contain `:'.
54149 test -f "$ac_f" ||
54150 case $ac_f in
54151 [\\/$]*) false;;
54152 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54153 esac ||
54154 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54155 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54156 { (exit 1); exit 1; }; };;
54157 esac
54158 ac_file_inputs="$ac_file_inputs $ac_f"
54159 done
54160
54161 # Let's still pretend it is `configure' which instantiates (i.e., don't
54162 # use $as_me), people would be surprised to read:
54163 # /* config.h. Generated by config.status. */
54164 configure_input="Generated from "`IFS=:
54165 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54166 if test x"$ac_file" != x-; then
54167 configure_input="$ac_file. $configure_input"
54168 { echo "$as_me:$LINENO: creating $ac_file" >&5
54169 echo "$as_me: creating $ac_file" >&6;}
54170 fi
54171
54172 case $ac_tag in
54173 *:-:* | *:-) cat >"$tmp/stdin";;
54174 esac
54175 ;;
54176 esac
54177
54178 ac_dir=`$as_dirname -- "$ac_file" ||
54179 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54180 X"$ac_file" : 'X\(//\)[^/]' \| \
54181 X"$ac_file" : 'X\(//\)$' \| \
54182 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54183 echo X"$ac_file" |
54184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54185 s//\1/
54186 q
54187 }
54188 /^X\(\/\/\)[^/].*/{
54189 s//\1/
54190 q
54191 }
54192 /^X\(\/\/\)$/{
54193 s//\1/
54194 q
54195 }
54196 /^X\(\/\).*/{
54197 s//\1/
54198 q
54199 }
54200 s/.*/./; q'`
54201 { as_dir="$ac_dir"
54202 case $as_dir in #(
54203 -*) as_dir=./$as_dir;;
54204 esac
54205 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54206 as_dirs=
54207 while :; do
54208 case $as_dir in #(
54209 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54210 *) as_qdir=$as_dir;;
54211 esac
54212 as_dirs="'$as_qdir' $as_dirs"
54213 as_dir=`$as_dirname -- "$as_dir" ||
54214 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54215 X"$as_dir" : 'X\(//\)[^/]' \| \
54216 X"$as_dir" : 'X\(//\)$' \| \
54217 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54218 echo X"$as_dir" |
54219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54220 s//\1/
54221 q
54222 }
54223 /^X\(\/\/\)[^/].*/{
54224 s//\1/
54225 q
54226 }
54227 /^X\(\/\/\)$/{
54228 s//\1/
54229 q
54230 }
54231 /^X\(\/\).*/{
54232 s//\1/
54233 q
54234 }
54235 s/.*/./; q'`
54236 test -d "$as_dir" && break
54237 done
54238 test -z "$as_dirs" || eval "mkdir $as_dirs"
54239 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54240 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54241 { (exit 1); exit 1; }; }; }
54242 ac_builddir=.
54243
54244 case "$ac_dir" in
54245 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54246 *)
54247 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54248 # A ".." for each directory in $ac_dir_suffix.
54249 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54250 case $ac_top_builddir_sub in
54251 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54252 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54253 esac ;;
54254 esac
54255 ac_abs_top_builddir=$ac_pwd
54256 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54257 # for backward compatibility:
54258 ac_top_builddir=$ac_top_build_prefix
54259
54260 case $srcdir in
54261 .) # We are building in place.
54262 ac_srcdir=.
54263 ac_top_srcdir=$ac_top_builddir_sub
54264 ac_abs_top_srcdir=$ac_pwd ;;
54265 [\\/]* | ?:[\\/]* ) # Absolute name.
54266 ac_srcdir=$srcdir$ac_dir_suffix;
54267 ac_top_srcdir=$srcdir
54268 ac_abs_top_srcdir=$srcdir ;;
54269 *) # Relative name.
54270 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54271 ac_top_srcdir=$ac_top_build_prefix$srcdir
54272 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54273 esac
54274 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54275
54276
54277 case $ac_mode in
54278 :F)
54279 #
54280 # CONFIG_FILE
54281 #
54282
54283 case $INSTALL in
54284 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54285 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54286 esac
54287 _ACEOF
54288
54289 cat >>$CONFIG_STATUS <<\_ACEOF
54290 # If the template does not know about datarootdir, expand it.
54291 # FIXME: This hack should be removed a few years after 2.60.
54292 ac_datarootdir_hack=; ac_datarootdir_seen=
54293
54294 case `sed -n '/datarootdir/ {
54295 p
54296 q
54297 }
54298 /@datadir@/p
54299 /@docdir@/p
54300 /@infodir@/p
54301 /@localedir@/p
54302 /@mandir@/p
54303 ' $ac_file_inputs` in
54304 *datarootdir*) ac_datarootdir_seen=yes;;
54305 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54306 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54307 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54308 _ACEOF
54309 cat >>$CONFIG_STATUS <<_ACEOF
54310 ac_datarootdir_hack='
54311 s&@datadir@&$datadir&g
54312 s&@docdir@&$docdir&g
54313 s&@infodir@&$infodir&g
54314 s&@localedir@&$localedir&g
54315 s&@mandir@&$mandir&g
54316 s&\\\${datarootdir}&$datarootdir&g' ;;
54317 esac
54318 _ACEOF
54319
54320 # Neutralize VPATH when `$srcdir' = `.'.
54321 # Shell code in configure.ac might set extrasub.
54322 # FIXME: do we really want to maintain this feature?
54323 cat >>$CONFIG_STATUS <<_ACEOF
54324 sed "$ac_vpsub
54325 $extrasub
54326 _ACEOF
54327 cat >>$CONFIG_STATUS <<\_ACEOF
54328 :t
54329 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54330 s&@configure_input@&$configure_input&;t t
54331 s&@top_builddir@&$ac_top_builddir_sub&;t t
54332 s&@srcdir@&$ac_srcdir&;t t
54333 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54334 s&@top_srcdir@&$ac_top_srcdir&;t t
54335 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54336 s&@builddir@&$ac_builddir&;t t
54337 s&@abs_builddir@&$ac_abs_builddir&;t t
54338 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54339 s&@INSTALL@&$ac_INSTALL&;t t
54340 $ac_datarootdir_hack
54341 " $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
54342
54343 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54344 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54345 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54346 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54347 which seems to be undefined. Please make sure it is defined." >&5
54348 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54349 which seems to be undefined. Please make sure it is defined." >&2;}
54350
54351 rm -f "$tmp/stdin"
54352 case $ac_file in
54353 -) cat "$tmp/out"; rm -f "$tmp/out";;
54354 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54355 esac
54356 ;;
54357 :H)
54358 #
54359 # CONFIG_HEADER
54360 #
54361 _ACEOF
54362
54363 # Transform confdefs.h into a sed script `conftest.defines', that
54364 # substitutes the proper values into config.h.in to produce config.h.
54365 rm -f conftest.defines conftest.tail
54366 # First, append a space to every undef/define line, to ease matching.
54367 echo 's/$/ /' >conftest.defines
54368 # Then, protect against being on the right side of a sed subst, or in
54369 # an unquoted here document, in config.status. If some macros were
54370 # called several times there might be several #defines for the same
54371 # symbol, which is useless. But do not sort them, since the last
54372 # AC_DEFINE must be honored.
54373 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54374 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54375 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54376 # PARAMS is the parameter list in the macro definition--in most cases, it's
54377 # just an empty string.
54378 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54379 ac_dB='\\)[ (].*,\\1define\\2'
54380 ac_dC=' '
54381 ac_dD=' ,'
54382
54383 uniq confdefs.h |
54384 sed -n '
54385 t rset
54386 :rset
54387 s/^[ ]*#[ ]*define[ ][ ]*//
54388 t ok
54389 d
54390 :ok
54391 s/[\\&,]/\\&/g
54392 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54393 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54394 ' >>conftest.defines
54395
54396 # Remove the space that was appended to ease matching.
54397 # Then replace #undef with comments. This is necessary, for
54398 # example, in the case of _POSIX_SOURCE, which is predefined and required
54399 # on some systems where configure will not decide to define it.
54400 # (The regexp can be short, since the line contains either #define or #undef.)
54401 echo 's/ $//
54402 s,^[ #]*u.*,/* & */,' >>conftest.defines
54403
54404 # Break up conftest.defines:
54405 ac_max_sed_lines=50
54406
54407 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54408 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54409 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54410 # et cetera.
54411 ac_in='$ac_file_inputs'
54412 ac_out='"$tmp/out1"'
54413 ac_nxt='"$tmp/out2"'
54414
54415 while :
54416 do
54417 # Write a here document:
54418 cat >>$CONFIG_STATUS <<_ACEOF
54419 # First, check the format of the line:
54420 cat >"\$tmp/defines.sed" <<\\CEOF
54421 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54422 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54423 b
54424 :def
54425 _ACEOF
54426 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54427 echo 'CEOF
54428 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54429 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54430 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54431 grep . conftest.tail >/dev/null || break
54432 rm -f conftest.defines
54433 mv conftest.tail conftest.defines
54434 done
54435 rm -f conftest.defines conftest.tail
54436
54437 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54438 cat >>$CONFIG_STATUS <<\_ACEOF
54439 if test x"$ac_file" != x-; then
54440 echo "/* $configure_input */" >"$tmp/config.h"
54441 cat "$ac_result" >>"$tmp/config.h"
54442 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54443 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54444 echo "$as_me: $ac_file is unchanged" >&6;}
54445 else
54446 rm -f $ac_file
54447 mv "$tmp/config.h" $ac_file
54448 fi
54449 else
54450 echo "/* $configure_input */"
54451 cat "$ac_result"
54452 fi
54453 rm -f "$tmp/out12"
54454 ;;
54455
54456 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54457 echo "$as_me: executing $ac_file commands" >&6;}
54458 ;;
54459 esac
54460
54461
54462 case $ac_file$ac_mode in
54463 "rcdefs.h":C)
54464 mkdir -p $outdir &&
54465 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54466 ;;
54467 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54468 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54469 "wx-config":C) rm -f wx-config
54470 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54471 ;;
54472
54473 esac
54474 done # for ac_tag
54475
54476
54477 { (exit 0); exit 0; }
54478 _ACEOF
54479 chmod +x $CONFIG_STATUS
54480 ac_clean_files=$ac_clean_files_save
54481
54482
54483 # configure is writing to config.log, and then calls config.status.
54484 # config.status does its own redirection, appending to config.log.
54485 # Unfortunately, on DOS this fails, as config.log is still kept open
54486 # by configure, so config.status won't be able to write to it; its
54487 # output is simply discarded. So we exec the FD to /dev/null,
54488 # effectively closing config.log, so it can be properly (re)opened and
54489 # appended to by config.status. When coming back to configure, we
54490 # need to make the FD available again.
54491 if test "$no_create" != yes; then
54492 ac_cs_success=:
54493 ac_config_status_args=
54494 test "$silent" = yes &&
54495 ac_config_status_args="$ac_config_status_args --quiet"
54496 exec 5>/dev/null
54497 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54498 exec 5>>config.log
54499 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54500 # would make configure fail if this is the last instruction.
54501 $ac_cs_success || { (exit 1); exit 1; }
54502 fi
54503
54504 #
54505 # CONFIG_SUBDIRS section.
54506 #
54507 if test "$no_recursion" != yes; then
54508
54509 # Remove --cache-file and --srcdir arguments so they do not pile up.
54510 ac_sub_configure_args=
54511 ac_prev=
54512 eval "set x $ac_configure_args"
54513 shift
54514 for ac_arg
54515 do
54516 if test -n "$ac_prev"; then
54517 ac_prev=
54518 continue
54519 fi
54520 case $ac_arg in
54521 -cache-file | --cache-file | --cache-fil | --cache-fi \
54522 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54523 ac_prev=cache_file ;;
54524 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54525 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54526 | --c=*)
54527 ;;
54528 --config-cache | -C)
54529 ;;
54530 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54531 ac_prev=srcdir ;;
54532 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54533 ;;
54534 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54535 ac_prev=prefix ;;
54536 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54537 ;;
54538 *)
54539 case $ac_arg in
54540 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54541 esac
54542 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54543 esac
54544 done
54545
54546 # Always prepend --prefix to ensure using the same prefix
54547 # in subdir configurations.
54548 ac_arg="--prefix=$prefix"
54549 case $ac_arg in
54550 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54551 esac
54552 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54553
54554 # Pass --silent
54555 if test "$silent" = yes; then
54556 ac_sub_configure_args="--silent $ac_sub_configure_args"
54557 fi
54558
54559 ac_popdir=`pwd`
54560 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54561
54562 # Do not complain, so a configure script can configure whichever
54563 # parts of a large source tree are present.
54564 test -d "$srcdir/$ac_dir" || continue
54565
54566 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54567 echo "$as_me:$LINENO: $ac_msg" >&5
54568 echo "$ac_msg" >&6
54569 { as_dir="$ac_dir"
54570 case $as_dir in #(
54571 -*) as_dir=./$as_dir;;
54572 esac
54573 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54574 as_dirs=
54575 while :; do
54576 case $as_dir in #(
54577 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54578 *) as_qdir=$as_dir;;
54579 esac
54580 as_dirs="'$as_qdir' $as_dirs"
54581 as_dir=`$as_dirname -- "$as_dir" ||
54582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54583 X"$as_dir" : 'X\(//\)[^/]' \| \
54584 X"$as_dir" : 'X\(//\)$' \| \
54585 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54586 echo X"$as_dir" |
54587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54588 s//\1/
54589 q
54590 }
54591 /^X\(\/\/\)[^/].*/{
54592 s//\1/
54593 q
54594 }
54595 /^X\(\/\/\)$/{
54596 s//\1/
54597 q
54598 }
54599 /^X\(\/\).*/{
54600 s//\1/
54601 q
54602 }
54603 s/.*/./; q'`
54604 test -d "$as_dir" && break
54605 done
54606 test -z "$as_dirs" || eval "mkdir $as_dirs"
54607 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54608 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54609 { (exit 1); exit 1; }; }; }
54610 ac_builddir=.
54611
54612 case "$ac_dir" in
54613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54614 *)
54615 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54616 # A ".." for each directory in $ac_dir_suffix.
54617 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54618 case $ac_top_builddir_sub in
54619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54621 esac ;;
54622 esac
54623 ac_abs_top_builddir=$ac_pwd
54624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54625 # for backward compatibility:
54626 ac_top_builddir=$ac_top_build_prefix
54627
54628 case $srcdir in
54629 .) # We are building in place.
54630 ac_srcdir=.
54631 ac_top_srcdir=$ac_top_builddir_sub
54632 ac_abs_top_srcdir=$ac_pwd ;;
54633 [\\/]* | ?:[\\/]* ) # Absolute name.
54634 ac_srcdir=$srcdir$ac_dir_suffix;
54635 ac_top_srcdir=$srcdir
54636 ac_abs_top_srcdir=$srcdir ;;
54637 *) # Relative name.
54638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54639 ac_top_srcdir=$ac_top_build_prefix$srcdir
54640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54641 esac
54642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54643
54644
54645 cd "$ac_dir"
54646
54647 # Check for guested configure; otherwise get Cygnus style configure.
54648 if test -f "$ac_srcdir/configure.gnu"; then
54649 ac_sub_configure=$ac_srcdir/configure.gnu
54650 elif test -f "$ac_srcdir/configure"; then
54651 ac_sub_configure=$ac_srcdir/configure
54652 elif test -f "$ac_srcdir/configure.in"; then
54653 # This should be Cygnus configure.
54654 ac_sub_configure=$ac_aux_dir/configure
54655 else
54656 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54657 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54658 ac_sub_configure=
54659 fi
54660
54661 # The recursion is here.
54662 if test -n "$ac_sub_configure"; then
54663 # Make the cache file name correct relative to the subdirectory.
54664 case $cache_file in
54665 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54666 *) # Relative name.
54667 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54668 esac
54669
54670 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54671 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54672 # The eval makes quoting arguments work.
54673 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54674 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54675 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54676 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54677 { (exit 1); exit 1; }; }
54678 fi
54679
54680 cd "$ac_popdir"
54681 done
54682 fi
54683
54684
54685 echo
54686 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54687 echo ""
54688 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54689 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54690
54691 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54692 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54693 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54694 if test "$wxUSE_UNICODE" = "yes"; then
54695 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54696 echo " (using UTF-8)"
54697 else
54698 echo " (using wchar_t)"
54699 fi
54700 else
54701 echo
54702 fi
54703
54704 echo " What level of wxWidgets compatibility should be enabled?"
54705 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54706 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54707
54708 echo " Which libraries should wxWidgets use?"
54709 echo " STL ${wxUSE_STL}"
54710 echo " jpeg ${wxUSE_LIBJPEG-none}"
54711 echo " png ${wxUSE_LIBPNG-none}"
54712 echo " regex ${wxUSE_REGEX}"
54713 echo " tiff ${wxUSE_LIBTIFF-none}"
54714 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54715 echo " xpm ${wxUSE_LIBXPM-none}"
54716 fi
54717 echo " zlib ${wxUSE_ZLIB}"
54718 echo " expat ${wxUSE_EXPAT}"
54719 echo " libmspack ${wxUSE_LIBMSPACK}"
54720 echo " sdl ${wxUSE_LIBSDL}"
54721
54722 echo ""
54723